execute_batch
Execute multiple tool calls in parallel and aggregate outcomes. Supports plan outputs or raw call lists, isolating errors per step to keep batch operations running.
Instructions
Execute multiple tool calls in parallel and return aggregated results.
Accepts either a plan_query output (dict with 'steps' key) or a raw list of tool call objects. Runs all valid steps in parallel using asyncio.gather with per-step error isolation — one failed step does not cancel others.
Use for: running multiple tool calls at once, executing a plan from plan_query, batch queries across multiple APIs, parallel data fetching, multi-source aggregation.
Keywords: batch, execute, parallel, multiple tools, run plan, aggregate, multi-step, concurrent, simultaneous, gather, dispatch, bulk, workflow
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | en | |
| calls | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||