get_generations
Scope: read:generations. Return the user's media-generation history, newest first — covers BOTH the current session's jobs (still queued / processing / just-completed) AND prior sessions. Each row includes id, prompt, model, generation_type, status, created_at, completed_at, processing_time_ms, credits_deducted, error_message, and an outputs[] array with the playable/viewable URL(s), thumbnails, dimensions, duration, format, and file size — enough to render a gallery without a follow-up call. limit is 1–25 (default 25; higher values are clamped). Optional filters: status, model (model_id), generation_type (text-to-image, image-to-video, etc.). Use this when the user asks 'what have I made', 'show me my last 10 videos', or to surface re-usable assets. For a single generation's full live status (poll until done), use get_status(id).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_generations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| model | No | ||
| status | No | ||
| generation_type | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||