Batch Prompt CLI Agents
batch_promptSend multiple prompts in parallel to CLI runners, with configurable concurrency and automatic retries for batch workflows.
Instructions
Send multiple prompts to CLI runners in parallel (primary tool).
Fans out tasks server-side with asyncio.gather and a semaphore, enabling true parallel runner execution within a single MCP call. Single-task usage is perfectly valid — use prompt for convenience when sending one task.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tasks | Yes | List of AgentTask objects, each with cli, prompt, and optional fields. | |
| max_concurrency | No | Max parallel runner invocations (default: 3). | |
| elicit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results | Yes | ||
| total | Yes | ||
| succeeded | Yes | ||
| failed | Yes |