Wait for a batch
wait_batchWait up to timeoutMs (default 30000, at most 55000) for a batch to finish and return its status; at the timeout it returns the status so far. Its rate (pagesPerMinute, etaSeconds) says how long the rest should take, so wait again or read get_batch_items.
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": {
"id": "<id>"
},
"name": "wait_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| timeoutMs | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| taskId | No |