Execute Batch
origingrid_execute_batchExecute multiple search plan steps in batch. Accepts steps (array of step objects from origingrid_plan) and optional parallel_groups (array of arrays of step indices). Steps within the same parallel_group run concurrently on the server — the agent doesn't need to manage concurrency. Supports per-step timeout, automatic retry (default 1), and error isolation (one step failing doesn't affect others). Concurrency is limited to 8 by default for VPS memory safety. Returns structured results with elapsed timing per step. Combine with origingrid_plan: plan → execute_batch → agent reads the results. [ASRP: Call AFTER origingrid_plan. Steps in same parallel_group run concurrently.]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps | Yes | Array of step objects (from origingrid_plan steps) | |
| retry_count | No | Number of retry attempts per step | |
| step_timeout | No | Per-step timeout in seconds | |
| batch_timeout | No | Total batch timeout in seconds (max 90) | |
| parallel_groups | No | Optional: groups of step indices to run in parallel. Each group waits for the previous to finish. Default: one step per group (serial). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| failed | No | ||
| results | No | ||
| completed | No | ||
| total_elapsed_ms | No | ||
| concurrency_limit | No |