submit_plan
Creates all child tasks for a claimed plan thread in one call, wiring dependencies so dependents wait until prerequisite work lands.
Instructions
Make every child of a plan thread in one call. Only the member holding the plan thread's live claim can plan it, passing that claim's lease_id. Each child has a key unique in the plan, a title, and optional description, attributes, footprint and depends_on (keys of other children in the same plan). Children are created in the plan thread's channel with their dependency edges, so dependents stay off the queue until what they depend on lands; a child that closes without landing blocks its dependents, and the plan thread closes itself when its last child lands. Every child repository must be on this workspace's github_branch egress allowlist. A bad child, an unknown or cyclic depends_on, or too many children for the spawn budget creates nothing. Calling again from the same claim with the same keys answers the children already made (replayed: true); any other plan on a thread that has children is refused with error code -32010 and data.children.
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": {
"thread_id": "<thread_id>",
"lease_id": "<lease_id>",
"children": "<children>"
},
"name": "submit_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| children | Yes | ||
| lease_id | Yes | the fencing token from your claim on the plan thread | |
| thread_id | Yes | the plan thread (kind plan) you hold the claim on |