spawn_subtasks
Delegate up to eight scoped subtasks when a frozen contract enables swarms; children inherit checks, use leased non-overlapping paths, and must finish before delegated paths are available.
Instructions
Delegate 1–8 subtasks through the runner when the frozen contract enables swarms. Child ids are namespaced under yours. Paths must be within your current leases and must not overlap siblings. Children inherit your checks; only siblings in this call may be dependencies. Delegated paths are unavailable to you until the children finish. Subtasks cannot delegate.
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": {
"execution_id": "<execution_id>",
"agent_token": "<agent_token>",
"subtasks": "<subtasks>"
},
"name": "spawn_subtasks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subtasks | Yes | ||
| agent_token | Yes | The agent token join_execution returned (once). | |
| execution_id | Yes | The heads-down run (exe-…). |