Check a batch
get_batchA batch's status, its cost, and each task's status, job id, cost and the start of its answer (get_job on a job id gives the whole result). wait_seconds waits for the batch to end first. Without id: your recent batches.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | The batch (bat_…). Omitted: list your recent batches. | |
| wait_seconds | No | Wait up to this long for the batch to end (keep it under 60 s if your client gives up on a call after a minute). |