get_generation
Scope: read:generations. Fetch a SINGLE past generation by id — full detail (prompt, model, params, status, outputs, credits_deducted, error_message). Use when you have a specific id and want one row; vs get_generations which returns a paginated history. Pairs with regenerate(id, ...) for iteration: get_generation(id) → inspect params → regenerate(id, prompt='tweaked'). Returns the same row shape as one entry of get_generations.generations[].
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": "get_generation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||