claude_code_mention
MCP tools › Window and UI driver
Send lines of a project file to Claude Code connected to this window (at_mentioned, SPEC-0358 v2 behaviour 24): path, line_start, optional line_end (1-based). Claude Code puts a reference into its prompt; nothing is sent to the model until the person sends it. Refused for files outside the project, without the window, or when Claude Code is not connected.
| Capability | ui.claude_code_mention |
|---|---|
| Area | Window and UI driver |
| Access | reads only |
| Reaches | — |
| Rights | none |
| Dry run | none |
Arguments
| Argument | Type | Description |
|---|---|---|
pathrequired | string | A file of the project: absolute, or relative to the project folder. |
line_startrequired | integer | First line, 1-based.minimum 0 |
line_end | integer | Last line, 1-based (default: line_start).minimum 0 |
Call it from a shell
ferris-idea call runs one tool with the rights and safe mode of ferris-idea mcp. Replace the folder and the placeholder values.
ferris-idea call ~/my-project claude_code_mention '{"path":"<string>","line_start":1}'Input schema as JSON
{ "properties": { "path": { "description": "A file of the project: absolute, or relative to the project folder.", "type": "string" }, "line_start": { "description": "First line, 1-based.", "type": "integer", "minimum": 0 }, "line_end": { "description": "Last line, 1-based (default: `line_start`).", "type": [ "integer", "null" ], "minimum": 0 } }, "required": [ "path", "line_start" ], "additionalProperties": false, "type": "object"}