Skip to content

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.

Capabilityui.claude_code_mention
AreaWindow and UI driver
Accessreads only
Reaches—
Rightsnone
Dry runnone

Arguments

ArgumentTypeDescription
pathrequiredstringA file of the project: absolute, or relative to the project folder.
line_startrequiredintegerFirst line, 1-based.minimum 0
line_endintegerLast 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.

Terminal window
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"
}