Get a generation
get_generationReturns the drafts of a generate_content or edit_carousel job by its job_id, with their status (running or done), the cost and the credits left. Use it to check on a job that was still running; for one saved item use get_library_item. Returns the same shape as generate_content. Uses no credits.
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_id": "<job_id>"
},
"name": "get_generation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | The job_id returned by generate_content, such as batch_mcp_3f2a. |