Skip to main content

List Generation Jobs

Immutable Catalog Entry

This descriptor comes from the active versioned Portal catalog.

READleonardo-ai.leonardo_list_generation_jobs
  • Contract tier: agent_ready
  • Risk: read
  • Catalog version: leonardo-ai-2026.07.12.1
  • Descriptor hash: 2bcf75addd9c3016ceef8c084068766349b6d9362e4619f4ae76b4f1f098710d

List recent locally stored Leonardo jobs from the webhook-backed registry. Runs locally and does not contact Leonardo.Ai.

Request Body

{
"jsonrpc": "2.0",
"id": "leonardo-ai-leonardo-list-generation-jobs-example",
"method": "tools/call",
"params": {
"name": "leonardo-ai.leonardo_list_generation_jobs",
"arguments": {
"limit": 1,
"status": ""
}
}
}

Arguments Schema

{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 20,
"description": "Maximum number of jobs to return, capped at 100."
},
"status": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional exact status filter such as SUBMITTED, COMPLETE, or FAILED."
}
},
"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-list-generation-jobs-example",
"method": "tools/call",
"params": {
"name": "leonardo-ai.leonardo_list_generation_jobs",
"arguments": {
"limit": 1,
"status": ""
}
}
}'

Example Responses

{
"ok": true,
"message": "Tool leonardo-ai.leonardo_list_generation_jobs executed successfully.",
"note": "Response shape varies by MCP tool. Inspect live responses for exact fields."
}