collector_run_status
Retrieve the status, result count, cost, and rows of an asynchronous Collector run by run_id. Optionally get rows as CSV.
Instructions
Fetch a Collector run by run_id: status (queued|running|done|failed), result count, cost, partial flag and the result rows. Use after run_collector returned 202/async. Pass format 'csv' to get the rows as CSV text.
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": {
"run_id": "<run_id>"
},
"name": "collector_run_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Return rows as JSON (default) or CSV text | |
| run_id | Yes | The run id returned by run_collector |