Run SELECT parallel
run_select_parallelExecute multiple read-only SELECT statements concurrently with per-query safety validation and isolated error outcomes, so dashboard fan-out queries return indexed results even if one query fails.
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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"statements": "<statements>"
},
"name": "run_select_parallel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | No | Optional: a database id from list_databases, to target a configured secondary (read-only) database; omit for the primary. Database names that are not configured ids are rejected. | |
| max_rows | No | ||
| statements | Yes | ||
| parallel_limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| outcomes | Yes |