launch_sessions
Launch multiple Claude Code sessions in parallel with one call, each blocking until ready; failures stay isolated while remaining sessions start, with a max parallel cap.
Instructions
Launch several sessions at once, in parallel. One call for a whole fleet.
Each entry takes the same fields as launch_session: agent_profile,
session_name, working_directory, model, initial_message,
use_worktree. Every launch still blocks until its Claude is ready, so a
failure is reported against its own entry and the rest still start;
max_parallel (1-8) caps how many start at the same time.
Ten sessions launched one by one cost ten calls and several minutes of waiting; this is one call and about as long as the slowest one.
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": {
"sessions": "<sessions>"
},
"name": "launch_sessions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessions | Yes | ||
| max_parallel | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||