Skip to main content

Check Generation Status

Immutable Catalog + Curated Guide

This lossless descriptor comes from the active Portal catalog and is enhanced with reviewed examples.

READleonardo-ai.leonardo_check_generation_status
  • Contract tier: agent_ready
  • Risk: read
  • Catalog version: leonardo-ai-2026.07.12.1
  • Descriptor hash: a62b45651f97ecbaa079de0b7fc95f29f9eef8f5a20e76636d7359f76868c4a8

Inspect a submitted generation by identifier without creating or retrying work.

Request Body

{
"jsonrpc": "2.0",
"id": "leonardo-ai-leonardo-check-generation-status-example",
"method": "tools/call",
"params": {
"name": "leonardo-ai.leonardo_check_generation_status",
"arguments": {
"generation_id": "generation_id_123",
"include_payload": false
}
}
}

Arguments Schema

{
"type": "object",
"required": [
"generation_id"
],
"properties": {
"generation_id": {
"type": "string",
"description": "Leonardo generation ID returned by an async submit tool or callback."
},
"include_payload": {
"type": "boolean",
"default": false,
"description": "Include sanitized stored submit and callback payloads."
}
},
"additionalProperties": false
}

Output Schema

{
"type": "object",
"description": "Leonardo MCP result. ok=false, provider_ok=false, a failed status, or an error field represents a semantic failure even when transport delivery succeeded.",
"additionalProperties": true
}

Code Examples

curl -X POST 'https://portal.madpanda3d.com/api/mcp' \
-H 'Authorization: Bearer mad_live_***' \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": "leonardo-ai-leonardo-check-generation-status-example",
"method": "tools/call",
"params": {
"name": "leonardo-ai.leonardo_check_generation_status",
"arguments": {
"generation_id": "generation_id_123",
"include_payload": false
}
}
}'

Example Responses

{
"ok": true,
"data": {
"status": "COMPLETE"
},
"error": null
}