agent_spawn_many
Start several agent sessions at once, either one per prompt or N clones of one prompt, and return created and failed IDs so partial fan-out is visible.
Instructions
Start several sessions at once — one per prompt, or N clones of one prompt. Returns the ids it created and any that failed, so a partial fan-out is visible instead of silent.
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": {
"harness": "<harness>"
},
"name": "agent_spawn_many"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | ||
| count | No | If prompts is omitted, start this many clones of `prompt` | |
| model | No | ||
| effort | No | ||
| prompt | No | Prompt used with count | |
| harness | Yes | ||
| prompts | No | One session per prompt | |
| stagger_ms | No | Gap between starts (default 800) | |
| name_prefix | No |