Check a generation
get_jobGet the status and result of a generation job by its job_ref (returned by run).
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": {
"job_ref": "<job_ref>"
},
"name": "get_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_ref | Yes | the opaque job_ref returned by the run tool |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | ||
| error | No | ||
| model | Yes | ||
| status | Yes | ||
| job_ref | Yes | ||
| outputs | No | ||
| category | Yes | ||
| cost_usd | No | ||
| thumb_url | No | ||
| output_url | No | ||
| result_text | No | ||
| cost_credits | No |