Link two tasks
link_tasksRelate two tasks by adding or removing dependency links such as blocked, blocking, subtask, related, precedes, or duplicate. Updates both tasks so dependencies stay in sync.
Instructions
Relate two tasks, read as "id is other": blocked means id waits on other, blocking means id holds other up. The matching relation is added to the other task too (blocked <-> blocking, subtask <-> parenttask, precedes <-> follows, duplicateof <-> duplicates, related both ways). Adding one that exists changes nothing; remove=true deletes the pair. Needs editor access to both tasks. Returns id's task line with its relations.
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": {
"id": "<id>",
"other": "<other>",
"kind": "<kind>"
},
"name": "link_tasks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | task the relation is read from | |
| kind | Yes | id is <kind> other: blocked, blocking, subtask, parenttask, related, precedes, follows, duplicateof, duplicates; the same kind when removing | |
| other | Yes | the other task | |
| remove | No | true removes the relation instead of adding it |