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.
| Capability | workspace.todo_items |
|---|---|
| Area | Workspace and files |
| Access | reads only |
| Reaches | — |
| Rights | none |
| Dry run | none |
Arguments
| Argument | Type | Description |
|---|---|---|
scope | string | project (default): the project's own files; file: the file named by path. |
path | string | With scope: "file": the file, relative to the workspace. |
pattern | string | Only the items of this pattern: todo or fixme (default: both). |
limit | integer | Most 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.
ferris-idea call ~/my-project todo_itemsInput 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 } }}