task_depends
Change the dependencies of a draft or planned task by setting, adding, or removing prerequisite IDs; use it to enforce ordering before the task and keep plans valid.
Instructions
Change the dependencies of a draft/planned task: set (replace; [] clears), add and/or remove ids. Each dependency must exist and be placed before the task (use task_move first). Planners only.
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>",
"by": "<by>"
},
"name": "task_depends"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | Yes | ||
| id | Yes | ||
| add | No | ||
| set | No | ||
| remove | No |