benchmarkSqlResults
benchmarkSqlResults[ExoBench server version: 1.4.29]
Retrieve results from a running or completed benchmarkSql job.
When benchmarkSql() returns a "still running" message with a workerId, call this endpoint with that workerId to wait for and retrieve the results.
Each call will wait up to 60 seconds (by default; adjust with benchmarkSql's waitTimeoutSeconds, 10-110) for the benchmark to complete. If it hasn't finished, you'll receive the same "still running" message — which means you MUST call this endpoint AGAIN, immediately, with the same workerId. NEVER treat a "still running" response as a stopping point.
IMPORTANT: This endpoint only works for benchmarkSql jobs. If the workerId belongs to a benchmarkSqlGeneric job, use benchmarkSqlGenericResults() instead.
The underlying database is ephemeral to the original benchmarkSql call and is destroyed
when its worker completes. workerId does NOT let you query that database afterwards.
planStyle and includeSamples were fixed by that benchmarkSql call and stored with the worker.
This tool does not take them. The result is rendered the way the job was started, including the
full copy at fullResultUrl.
PARTIAL RESULTS: When the benchmark is still running, the "still running" error response
MAY include a data field with partial results (scale points that completed before the
timeout). Partial results are BEST EFFORT — they are NOT guaranteed and may be unavailable
even during normal operation due to internal timing or transient errors. Do NOT depend on
their presence. They are a convenience when available, not a contract.
If rowsAreTooWide: true: total result size exceeded inline limits (distinct from rowsAreCapped which caps row count).
Result is head+tail truncated with a break marker. Fetch the full output from fullResultUrl (ephemeral, ~20 min).
================================================================================ ⚠️ POLL UNTIL TERMINAL — READ THIS BEFORE YOU DO ANYTHING ELSE
A "still running" response is NOT a result. It is a command to call this tool AGAIN, with the same workerId, as your VERY NEXT action. Keep calling it until it returns a terminal result (completed OR failed).
Until this worker reaches a terminal result you MUST NOT: • end your turn, • summarize or state any conclusion, • write any analysis or "the benchmark shows…" claim, • launch another benchmark, or move on to other work.
Results are INCOMPLETE until every outstanding worker reaches a terminal state. Reporting incomplete results as if they were final misleads the user about what was actually measured. If you launched multiple workers, EVERY one of them must be polled to a terminal result before you report anything.
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": {
"workerId": "<workerId>"
},
"name": "benchmarkSqlResults"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workerId | Yes | The worker UUID returned by a previous benchmarkSql() call. This is the unique identifier for the benchmark execution. | |
| correlationId | No | [TRACKING ONLY — does NOT preserve DB state, schema, or settings between calls.] Echo the correlationId from the previous ExoBench response so the ExoBench team can correlate your workflow for analytics. Omitted = a new one is created. Each tool call still provisions a fresh ephemeral DB from its own schema parameter. | |
| exobenchServerVersion | No | ExoBench server version — copy the X.X.X from the [ExoBench server version: X.X.X] tag at the top of this tool's description. |