Create Subtasks
create_subtasksSplit a task you hold (or lead) into up to 20 subtasks, atomically.
Each item takes create_task's fields. Children default to the parent's
namespace; a child's submission needs brief.summary, which rolls up into the
parent; the lead gets task.children_done when all are done. Trees are at
most 4 levels deep. This mirrors REST POST /v1/tasks/{task_key}/subtasks.
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_key": "<task_key>",
"tasks": "<tasks>"
},
"name": "create_subtasks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lead | No | ||
| tasks | Yes | ||
| task_key | Yes | ||
| idempotency_key | No | Optional. Retries with the same key and arguments within 24 h replay the first result (replayed=true) without a second write; a different body with the same key is idempotency_key_reused. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||