Get a draft
get_generationFetch one past generation in full: lifecycle status ('outline' = structure only, no draft yet; 'generating' = a long draft still being written in the background, content holds the sections delivered so far; 'drafted'; 'edited' = the user saved a final version), content, outline, brief, word count, word_count_target, voice-match score and notes, plus a job object (progress, credits charged) when a background job wrote it. Check status before acting on the content — an 'outline' generation has no draft to polish or edit, and a 'generating' one is not finished.
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": {
"generation_id": "<generation_id>"
},
"name": "get_generation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| generation_id | Yes | Generation id from list_generations or generate_content. |