add_task_dependency
Add a dependency between tasks. Use this to express that a task is blocked by another task (must complete first) or relates to it. This prevents context contamination: when Task B depends on Task A, agents working on Task B will be warned if Task A is still in progress.
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": {
"task_id": "<task_id>",
"depends_on_task_id": "<depends_on_task_id>"
},
"name": "add_task_dependency"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | The task that is blocked (depends on the other task) | |
| dependency_type | No | Dependency type: 'blocks' (must complete before) or 'relates_to' (informational link). Default: blocks | |
| depends_on_task_id | Yes | The task that blocks (the dependency / prerequisite) |