Link files to a task or a note
link_filesAttach file paths or URLs to a task or note so todox can track them, warn when linked files on this machine change, and find the task or note from any path.
Instructions
Attach file paths to a task (task_id) or a note (context_id), one or the other -- the files the work touches, and the plan it follows, wherever that lives: a path outside the repository is fine and a URL (a claude.ai artifact, say) is kept as written. todox can then warn when a linked file on this machine changes (a URL is never checked), and get_file_context can find the task or note from the path.
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": {
"paths": "<paths>"
},
"name": "link_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Your model id, e.g. 'claude-opus-5'. | |
| paths | Yes | ||
| task_id | No | ||
| context_id | No | Attach the files to a context note instead of a task. Pass one or the other. |