Batch summary
get_batch_summaryAggregated state of a batch: counts by state, cost, durations and the first failures; report=true adds one row per job (state, exit code, cost, result files). Use it once waiting for the batch has returned; for the details of one job, look at that job.
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": {
"batch_id": "<batch_id>"
},
"name": "get_batch_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| report | No | Include one row per job. | |
| batch_id | Yes | Batch ID (bat_…) returned by run_batch. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobs | No | With report=true: one row per job (index, job_id, status, exit_code, duration_s, cost, artifacts, error). | |
| summary | Yes |