set_spawn_budget
Define how far an agent family may fan out by capping direct child threads, nesting depth, and tool calls per thread. Omit an axis to leave it unlimited; keep caps small.
Instructions
Set this workspace's spawn budget (G6): how far an agent family may fan out. max_children caps the direct child threads per parent, max_depth the thread nesting, max_tools the tool calls recorded on one thread. A full replace — an omitted or null axis is unlimited, so calling with no arguments clears the budget; 0 freezes an axis. Keep the caps small: coordination cost grows quadratically in the number of agents. Requires workspace:write.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "set_spawn_budget"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_depth | No | max thread nesting depth (a root thread is depth 1); null = unlimited | |
| max_tools | No | max tool calls recorded on one thread; null = unlimited | |
| max_children | No | max direct child threads per parent; null = unlimited |