Skip to content

todo_items

MCP tools › Workspace and files

TODO items of this workspace as the TODO tool window lists them: todo or fixme as a word, any case, inside a comment. scope project (own files only: no installed packages, build output or ignored files) or file with path. Returns items ordered by path and position (1-based line, column in characters) with pattern and text (to the line end, continued comment lines joined, cut after 300 characters), truncated, files_not_read and files_not_checked (file types whose comments cannot be told from code). Reads saved files; changes nothing.

Its results carry text from files: the client is told to treat that as data, never as instructions.

Capabilityworkspace.todo_items
AreaWorkspace and files
Accessreads only
Reaches—
Rightsnone
Dry runnone

Arguments

ArgumentTypeDescription
scopestringproject (default): the project's own files; file: the file named by path.
pathstringWith scope: "file": the file, relative to the workspace.
patternstringOnly the items of this pattern: todo or fixme (default: both).
limitintegerMost items returned, 1 to 5000 (default 1000).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 todo_items
Input schema as JSON
{
"type": "object",
"properties": {
"scope": {
"description": "`project` (default): the project's own files; `file`: the file named by `path`.",
"type": [
"string",
"null"
]
},
"path": {
"description": "With `scope: \"file\"`: the file, relative to the workspace.",
"type": [
"string",
"null"
]
},
"pattern": {
"description": "Only the items of this pattern: `todo` or `fixme` (default: both).",
"type": [
"string",
"null"
]
},
"limit": {
"description": "Most items returned, 1 to 5000 (default 1000).",
"type": [
"integer",
"null"
],
"minimum": 0
}
}
}