task_add_dependency
Mark a task as blocked by another task. The task will appear in unblocked task lists only after all its dependencies reach completed status.
Instructions
Mark a task as blocked by another task.
The task will appear in task_list(unblocked=True) only after all its dependencies reach 'completed' status. Use to model prerequisite chains before claiming downstream work.
Args: task_id: The task that is blocked. depends_on: The task it must wait 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": {
"task_id": "<task_id>",
"depends_on": "<depends_on>"
},
"name": "task_add_dependency"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | The task that is blocked. | |
| depends_on | Yes | The task it must wait for. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |