Create a task from a TODO
taskhold_create_from_todoCreate a task from a TODO comment in code, keeping the file path and line number (label todo-from-code plus any labels you pass; priority as in taskhold_create; use taskhold_create for anything else). Returns the new task with its id and code location. Fails at the account's task ceiling or on an invalid project name.
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": {
"title": "<title>",
"file_path": "<file_path>",
"line_number": "<line_number>"
},
"name": "taskhold_create_from_todo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Task title from the TODO | |
| labels | No | More labels besides todo-from-code, e.g. ["bug"] | |
| project | No | Project name, e.g. the repo folder ("api-server"). Any case; created on first use. Easier than project_id. | |
| priority | No | Priority (default medium; low unless it's a real bug) | |
| file_path | Yes | Path of the file containing the TODO | |
| description | No | Extra context from the code | |
| line_number | Yes | Line number of the TODO |