batch_add_subtasks
Create several tasks in one call — the fast path when planning reveals a chunk of work at once, instead of one add_subtask round trip per task. Tasks are created in order; depends_on may reference a task's index within this batch (0-based, must point at an EARLIER task) or an existing node ID. Every input is validated before anything is inserted, so a bad reference creates nothing. Returns each created node and how many dependency edges were wired.
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": {
"project_id": "<project_id>",
"tasks": "<tasks>"
},
"name": "batch_add_subtasks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tasks | Yes | The tasks to create, in build order. | |
| project_id | Yes | The project ID. |