tool_batch
tool_batchBatch multiple independent read-only Mako lookups into a single request to reduce round-trips. Returns labeled sub-results with per-op duration and supports compact summaries.
Instructions
Read-only batching wrapper for independent Mako lookups. The input schema only accepts batchable read-only tools; runtime also rejects mutation tools and recursive tool_batch calls defensively. Returns labeled sub-results with per-op duration. Use verbosity: "compact" or per-op resultMode: "summary" to return compact summaries instead of full payloads; per-op resultMode: "full" keeps the full output. Each sub-op's projectId is overridden with the parent batch's resolved project, so all ops run against one project. Use to reduce round-trips after a context_packet recommends several expansions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | No | ||
| projectRef | No | ||
| ops | Yes | ||
| continueOnError | No | ||
| maxOps | No | ||
| verbosity | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| toolName | Yes | ||
| projectId | Yes | ||
| projectRoot | Yes | ||
| results | Yes | ||
| summary | Yes | ||
| warnings | Yes | ||
| _hints | Yes |