Todo Comments
todoCommentsFind and locate TODO, FIXME, HACK, and other comment markers in source files. Returns each marker's file location and text for code review and task tracking.
Instructions
Find all TODO, FIXME, HACK, and other configured comment markers in a file. Returns the location and text of each matching comment. You must provide the descriptors array specifying which markers to search for.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"file": "<file>",
"descriptors": "<descriptors>"
},
"name": "todoComments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | File path (absolute or relative to cwd) | |
| descriptors | Yes | Array of comment markers to search for |