Run SELECT parallel
run_select_parallelRun multiple read-only SELECT statements concurrently to reduce round-trip latency when fetching data from several tables. Validates each query with a safety allowlist and isolates errors per statement.
Instructions
Run up to parallel_limit read-only SELECTs concurrently. Each statement is validated by the same safety allowlist as run_select; one bad query does not abort the others — its error is captured in its own outcome slot. Useful for dashboard-style fan-out where round-trip latency dominates (e.g. fetching counters / aggregates from several tables at once). Each outcome includes an index so the caller can correlate results without relying on ordering.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | No | Optional: target a configured secondary (read-only) database by name; omit for the primary. Call list_databases to see the configured ids. | |
| max_rows | No | ||
| statements | Yes | ||
| parallel_limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| outcomes | Yes |