get_generation

Get generation

Get current status and signed media URL for one generation. A generate tool answers with a quick image already finished and with anything slower at once. For a row still queued or generating, call this once: it waits up to 40 seconds and answers the moment the generation is ready or failed. Call it again only while the status is still queued or generating; ready_in_seconds says roughly how long is left. wait_seconds: 0 reads the status without waiting. include adds detail the plain read leaves out: attempts — every attempt behind a retried row, newest first — and members, the generations inside a group (refused on a row that is not a group).

Scope

Behaviour

Read-only
Reads the caller's own account and changes nothing.
Stays in the account
Stays inside the caller's private Kuro account: any media provider it calls acts on Kuro's account, and the result is visible to no one else.
Idempotent
Calling it again with the same arguments has no further effect.

Inputs

Example call

A tools/call request with the required arguments only, each a placeholder read off the schema. Replace them before sending.

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_generation",
    "arguments": {
      "generation_id": "00000000-0000-4000-8000-000000000000"
    }
  }
}

Input schema

As the server sends it in tools/list.

{
  "type": "object",
  "properties": {
    "generation_id": {
      "type": "string",
      "format": "uuid"
    },
    "wait_seconds": {
      "type": "integer",
      "minimum": 0,
      "maximum": 40
    },
    "include": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "attempts",
          "members"
        ]
      },
      "maxItems": 2
    }
  },
  "required": [
    "generation_id"
  ],
  "additionalProperties": false
}

Related tools

Every tool· This page as Markdown