Skip to main content

Leonardo Get Blueprint By Id

Immutable Catalog Entry

This descriptor comes from the active versioned Portal catalog.

READleonardo-ai.leonardo_get_blueprint_by_id
  • Contract tier: agent_ready
  • Risk: read
  • Catalog version: leonardo-ai-2026.07.12.1
  • Descriptor hash: 75283e294dcc3dd6a2b9057202929276a00b2a0bc5c9f64f35c4e9b0519cb48b

Use this to call Leonardo.Ai Blueprints endpoint GET /blueprints/{id}. Get a blueprint by ID. Contacts Leonardo.Ai using the BYOK x-leonardo-api-key portal header. Provide path_params for: id. Returns a compact, sanitized provider response.

Request Body

{
"jsonrpc": "2.0",
"id": "leonardo-ai-leonardo-get-blueprint-by-id-example",
"method": "tools/call",
"params": {
"name": "leonardo-ai.leonardo_get_blueprint_by_id",
"arguments": {
"body": "",
"query": "",
"confirm": false,
"path_params": "",
"query_params": "",
"request_body": ""
}
}
}

Arguments Schema

{
"type": "object",
"properties": {
"body": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"default": null,
"description": "JSON request body for the Leonardo endpoint. Use provider parameter names exactly, including casing such as `modelId`, `num_images`, or `init_image_id`."
},
"query": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"default": null,
"description": "Query string parameters for the Leonardo endpoint. Omit when unused."
},
"confirm": {
"type": "boolean",
"default": false,
"description": "Must be true for destructive DELETE tools. Ignored for non-destructive tools."
},
"path_params": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"default": null,
"description": "Values for path placeholders in the endpoint path, such as `{'id': '...'}` or `{'datasetId': '...'}`. Omit when the endpoint has no placeholders."
},
"query_params": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"default": null,
"description": "Query string parameters for the Leonardo endpoint. Omit when unused."
},
"request_body": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"default": null,
"description": "JSON request body for the Leonardo endpoint. Use provider parameter names exactly, including casing such as `modelId`, `num_images`, or `init_image_id`."
}
},
"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-get-blueprint-by-id-example",
"method": "tools/call",
"params": {
"name": "leonardo-ai.leonardo_get_blueprint_by_id",
"arguments": {
"body": "",
"query": "",
"confirm": false,
"path_params": "",
"query_params": "",
"request_body": ""
}
}
}'

Example Responses

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