{
  "notice": "bxzxxr MCP archive: a record of what public MCP servers declared when we listed them (we never call their tools). It is data, not a rating: nothing here says a server is safe, secure, verified or trustworthy, and a server can change after we looked. Secrets we detected are redacted; redacted tool lists are withheld and only their hash is shown.",
  "infrastructure": {
    "host": "mcp.retrodiffusion.ai",
    "site": "retrodiffusion.ai",
    "addresses": [
      {
        "address": "153.52.255.103",
        "endpoints": 11,
        "shared_infrastructure": false,
        "network": {
          "asn": 400940,
          "name": "RAILWAY - Railway",
          "prefix": "153.52.255.0/24",
          "country": "US"
        }
      }
    ],
    "addresses_recorded": true,
    "address_history": [
      {
        "addresses": [
          "153.52.255.103"
        ],
        "first_seen": "2026-11-22T06:47:02.728Z",
        "last_seen": "2026-11-22T06:47:02.728Z",
        "checks": 1
      }
    ],
    "hosting": [
      {
        "value": "Railway",
        "evidence": "Server header \"railway-hikari\""
      }
    ],
    "software": [],
    "server_info": {
      "name": "retrodiffusion-api",
      "version": "2.14.7",
      "protocol_version": "2025-06-18"
    },
    "headers": {
      "server": "railway-hikari"
    },
    "auth": null
  },
  "related": {
    "same_address": {
      "total": 10,
      "sample": [
        {
          "id": "4842",
          "url": "https://dilligence.ia.br/mcp",
          "server_name": "br.ia.dilligence/certidoes",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T07:20:04.324Z"
        },
        {
          "id": "24005",
          "url": "https://agentcraft.greglab.net/mcp",
          "server_name": "io.github.CipherClaw/agent-craft",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T13:45:02.150Z"
        },
        {
          "id": "45730",
          "url": "https://api.tradermatrix.pro/api/mcp/free",
          "server_name": "pro.tradermatrix/free",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T19:25:02.985Z"
        },
        {
          "id": "21721",
          "url": "https://www.fuci.family/api/mcp",
          "server_name": "family.fuci.www/fuci",
          "last_state": "unreachable",
          "last_checked_at": "2026-11-21T12:53:01.003Z"
        },
        {
          "id": "27084",
          "url": "https://trendhub-remote-production.up.railway.app/mcp",
          "server_name": "io.github.Zachary-1012/trendhub",
          "last_state": "error",
          "last_checked_at": "2026-11-21T15:17:01.013Z"
        },
        {
          "id": "27813",
          "url": "https://aetherx.aether-grid.io/mcp",
          "server_name": "io.github.belegante-byte/aetherx-mcp",
          "last_state": "timeout",
          "last_checked_at": "2026-11-21T14:58:01.868Z"
        },
        {
          "id": "30281",
          "url": "https://api.mailsnail.dev/mcp",
          "server_name": "io.github.iancollins27/mailsnail",
          "last_state": "auth_required",
          "last_checked_at": "2026-11-21T15:47:03.369Z"
        },
        {
          "id": "30830",
          "url": "https://mcp.ordan.io/mcp",
          "server_name": "io.github.joshluberisse/ordan",
          "last_state": "auth_required",
          "last_checked_at": "2026-11-21T15:59:02.185Z"
        },
        {
          "id": "43835",
          "url": "https://mcp.letsvibe.love/mcp",
          "server_name": "love.letsvibe/vibe",
          "last_state": "error",
          "last_checked_at": "2026-11-21T18:27:02.317Z"
        },
        {
          "id": "45731",
          "url": "https://api.tradermatrix.pro/api/v1/mcp",
          "server_name": "pro.tradermatrix/mcp",
          "last_state": "auth_required",
          "last_checked_at": "2026-11-21T19:26:00.850Z"
        }
      ]
    },
    "same_site": {
      "total": 0,
      "sample": []
    },
    "same_tool_list": {
      "total": 0,
      "sample": []
    },
    "same_publisher": {
      "publisher": "ai.retrodiffusion",
      "total": 0,
      "sample": []
    },
    "same_repository": {
      "repository_url": "https://github.com/Retro-Diffusion/retro-diffusion-mcp",
      "total": 0,
      "sample": []
    },
    "note": "Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators."
  },
  "endpoint": {
    "id": "1971",
    "server_name": "ai.retrodiffusion/pixel-art",
    "url": "https://mcp.retrodiffusion.ai/mcp",
    "host": "mcp.retrodiffusion.ai",
    "transport": "streamable-http",
    "last_checked_at": "2026-11-22T06:47:02.728Z",
    "last_state": "listed",
    "last_detail": null,
    "consecutive_failures": 0,
    "current_sha": "dc143348524660529f3d27440a06afa256c9f79b3ac0715a288517a47b88ab92",
    "first_listed_at": "2026-11-21T05:16:02.232Z",
    "created_at": "2026-11-21T04:35:23.935Z",
    "resolved_addresses": [
      "153.52.255.103"
    ]
  },
  "server": {
    "name": "ai.retrodiffusion/pixel-art",
    "title": "Retro Diffusion Pixel Art",
    "description": "Generate authentic pixel art - sprites, animations, and tilesets - from any MCP client",
    "version": "1.1.0",
    "registry_status": "active",
    "repository_url": "https://github.com/Retro-Diffusion/retro-diffusion-mcp",
    "website_url": "https://retrodiffusion.ai",
    "published_at": "2026-07-10T16:06:45.185Z",
    "updated_at": "2026-07-10T16:06:45.185Z",
    "first_seen": "2026-11-21T04:35:23.371Z"
  },
  "other_endpoints": [],
  "intel": {
    "capabilities": [
      "reads-chain"
    ],
    "evm_addresses": [],
    "chains": [],
    "tokens": [],
    "computed_at": "2026-11-22T14:54:05.628Z"
  },
  "needs_sign_in": false,
  "reachability": {
    "window_days": 30,
    "checks": 2,
    "answered": 2,
    "answered_percent": 100,
    "avg_listing_latency_ms": 280,
    "first_check_in_window": "2026-11-21T05:16:02.232Z",
    "consecutive_failures_now": 0,
    "days": [
      {
        "day": "2026-11-21",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-22",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      }
    ]
  },
  "tool_list": {
    "sha256": "dc143348524660529f3d27440a06afa256c9f79b3ac0715a288517a47b88ab92",
    "tools": 33,
    "resources": 0,
    "prompts": 0,
    "first_seen": "2026-11-21T05:16:02.473Z",
    "tool_names": [
      "authenticate",
      "logout",
      "create_user_style",
      "update_user_style",
      "delete_user_style",
      "list_available_styles",
      "list_available_models",
      "get_style_usage",
      "get_balance",
      "estimate_inference_cost",
      "create_inference",
      "list_edit_tools",
      "fix_pixel_art",
      "run_edit_tool",
      "estimate_edit_tool_cost",
      "get_inference_result",
      "start_inference_job",
      "get_inference_job",
      "list_inference_jobs",
      "get_service_status",
      "get_lowpoly_pricing",
      "estimate_lowpoly_cost",
      "start_lowpoly_generate",
      "start_lowpoly_revise",
      "start_lowpoly_animate",
      "start_lowpoly_split",
      "start_lowpoly_rerig",
      "get_lowpoly_job",
      "get_lowpoly_model",
      "list_lowpoly_models",
      "export_lowpoly_model",
      "recolor_lowpoly_model",
      "delete_lowpoly_animation"
    ],
    "declared": {
      "tools": [
        {
          "name": "authenticate",
          "title": "Authenticate",
          "description": "Authenticate this MCP session with a RetroDiffusion public API key.",
          "inputSchema": {
            "type": "object",
            "required": [
              "api_key"
            ],
            "properties": {
              "api_key": {
                "type": "string",
                "description": "RetroDiffusion API key (rdpk-...), created free at https://retrodiffusion.ai/app/devtools."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Authenticate",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "logout",
          "title": "Log Out",
          "description": "Clear the authenticated RetroDiffusion API key for this MCP session.",
          "inputSchema": {
            "type": "object",
            "properties": {}
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Log Out",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "create_user_style",
          "title": "Create Custom Style",
          "description": "Create a user style from the public RD Pro template using /v2/styles.\n\nUse `style_reference_images` and `style_reference_caption` for style-level references.\nThese are baked into the custom style and are not the same as per-inference `reference_images`.",
          "inputSchema": {
            "type": "object",
            "required": [
              "name"
            ],
            "properties": {
              "name": {
                "type": "string",
                "description": "Display name for the custom style."
              },
              "min_width": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Force a fixed width (96-256); must be provided together with min_height."
              },
              "min_height": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Force a fixed height (96-256); must be provided together with min_width."
              },
              "rd_api_key": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "RetroDiffusion API key (rdpk-...) for this call only; overrides session or header auth."
              },
              "style_icon": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Icon name for the style (e.g. 'sparkles')."
              },
              "description": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Short description of the custom style."
              },
              "force_palette": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Always apply palette constraining for this style."
              },
              "force_bg_removal": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Always remove backgrounds for this style."
              },
              "llm_instructions": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Instructions for the prompt-expansion LLM when this style is used."
              },
              "reference_images": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Alias for style_reference_images on this tool; prefer style_reference_images and never provide both."
              },
              "reference_caption": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Alias for style_reference_caption on this tool; prefer style_reference_caption and never provide both."
              },
              "apply_prompt_fixer": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Let the API tidy prompts automatically for this style (default true)."
              },
              "user_prompt_template": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Prompt template for the style; must contain the {prompt} token."
              },
              "style_reference_images": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Style-level reference image(s), base64, baked into the custom style (max 1 via the public API)."
              },
              "style_reference_caption": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Caption describing the style reference image(s)."
              },
              "expanded_llm_instructions": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Extended instructions for the prompt-expansion LLM."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Create Custom Style",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "update_user_style",
          "title": "Update Custom Style",
          "description": "Update a public RD Pro user style using /v2/styles/{style_id}.\n\nUse `style_reference_images` and `style_reference_caption` for style-level references.\nThese are baked into the custom style and are not the same as per-inference `reference_images`.",
          "inputSchema": {
            "type": "object",
            "required": [
              "style_id"
            ],
            "properties": {
              "name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "New display name for the custom style."
              },
              "style_id": {
                "type": "string",
                "description": "Style id — the internal id or the prompt_style/public id (e.g. user__mystyle_ab12)."
              },
              "min_width": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Force a fixed width (96-256); must be provided together with min_height."
              },
              "min_height": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Force a fixed height (96-256); must be provided together with min_width."
              },
              "rd_api_key": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "RetroDiffusion API key (rdpk-...) for this call only; overrides session or header auth."
              },
              "style_icon": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Icon name for the style (e.g. 'sparkles')."
              },
              "description": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Short description of the custom style."
              },
              "force_palette": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Always apply palette constraining for this style."
              },
              "force_bg_removal": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Always remove backgrounds for this style."
              },
              "llm_instructions": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Instructions for the prompt-expansion LLM when this style is used."
              },
              "reference_images": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Alias for style_reference_images on this tool; prefer style_reference_images and never provide both."
              },
              "reference_caption": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Alias for style_reference_caption on this tool; prefer style_reference_caption and never provide both."
              },
              "apply_prompt_fixer": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Let the API tidy prompts automatically for this style (default true)."
              },
              "user_prompt_template": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Prompt template for the style; must contain the {prompt} token."
              },
              "style_reference_images": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Style-level reference image(s), base64, baked into the custom style (max 1 via the public API)."
              },
              "reset_forced_dimensions": {
                "type": "boolean",
                "default": false,
                "description": "Clear previously forced dimensions; do not combine with min_width/min_height."
              },
              "style_reference_caption": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Caption describing the style reference image(s)."
              },
              "expanded_llm_instructions": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Extended instructions for the prompt-expansion LLM."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Update Custom Style",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "delete_user_style",
          "title": "Delete Custom Style",
          "description": "Delete a user style using /v2/styles/{style_id}.\nstyle_id can be either internal id or prompt_style/public_id.",
          "inputSchema": {
            "type": "object",
            "required": [
              "style_id"
            ],
            "properties": {
              "style_id": {
                "type": "string",
                "description": "Style id — the internal id or the prompt_style/public id (e.g. user__mystyle_ab12)."
              },
              "rd_api_key": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "RetroDiffusion API key (rdpk-...) for this call only; overrides session or header auth."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Delete Custom Style",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "list_available_styles",
          "title": "List Styles",
          "description": "List publicly available styles from /v2/styles/selector.\nUse this to discover valid prompt_style values plus style metadata such as require_input_image and supports_reference_images.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "tab": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Filter styles by tab: tab:image, tab:animation, tab:advanced-animation, or tab:tileset."
              },
              "model": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Filter styles by model: rd_lite, rd_core, rd_pro, rd_fast (API only), rd_plus (API only), or rd_mini."
              },
              "rd_api_key": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "RetroDiffusion API key (rdpk-...) for this call only; overrides session or header auth."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "List Styles",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "list_available_models",
          "title": "List Models",
          "description": "Return unique public model identifiers available in /v2/styles/selector.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "rd_api_key": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "RetroDiffusion API key (rdpk-...) for this call only; overrides session or header auth."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "List Models",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_style_usage",
          "title": "Get Style Usage",
          "description": "Explain how to use a public prompt_style from the RetroDiffusion API.\n\nUse this before create_inference if you are unsure whether a style expects `input_image`,\nsupports per-inference `reference_images`, or whether you meant style-level `style_reference_images`.",
          "inputSchema": {
            "type": "object",
            "required": [
              "prompt_style"
            ],
            "properties": {
              "rd_api_key": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "RetroDiffusion API key (rdpk-...) for this call only; overrides session or header auth."
              },
              "prompt_style": {
                "type": "string",
                "description": "Style id from list_available_styles (e.g. 'rd_core__default', 'rd_pro__isometric', or a custom 'user__...' style)."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Get Style Usage",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_balance",
          "title": "Get Balance",
          "description": "Get your balance, plan usage left (%) and API job slots in use.\n\nReads /v2/inferences/credits plus the account usage (GET /usage). On a plan, 2 API jobs run at\nonce on plan usage; usage.api_job_slots shows how many are busy.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "rd_api_key": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "RetroDiffusion API key (rdpk-...) for this call only; overrides session or header auth."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Get Balance",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "estimate_inference_cost",
          "title": "Estimate Cost (Free)",
          "description": "Estimate generation cost using the public /v2/inferences endpoint with check_cost=true.\n\nUse `input_image` for the main source image, `reference_images` for extra per-inference guidance,\nand `style_reference_images` only on create_user_style/update_user_style.",
          "inputSchema": {
            "type": "object",
            "required": [
              "prompt",
              "prompt_style",
              "width",
              "height"
            ],
            "properties": {
              "width": {
                "type": "integer",
                "description": "Output width in pixels. Each style enforces its own limits; check list_available_styles or get_style_usage. Genre-native sizes per item: Minecraft 16; items/icons/props 32-64; character sprites 16-48 retro or 96-128 showcase; tiles 16-32; portraits 96-128; full scenes 256 (16:9 scenes = 256x144; RD Core goes to 512, RD Pro to 256 — pixel art integer-upscales losslessly)."
              },
              "height": {
                "type": "integer",
                "description": "Output height in pixels. Each style enforces its own limits; check list_available_styles or get_style_usage."
              },
              "prompt": {
                "type": "string",
                "description": "Describe the SUBJECT only, richly and concretely ('a squat round flask of glowing crimson liquid, cork stopper, bright highlight on the upper-left rim' beats 'a potion'). Never write 'pixel art' — the selected style handles all rendering. For standalone assets, state a flat background color that contrasts the subject (default 'on a plain white background') and pair with remove_bg=true; never write 'transparent background' (that is remove_bg's job), and never leave the background unstated (it drifts to drab dark gray). Scenes instead describe their real environment. For rd_advanced_animation__rotate the prompt is only an optional hint describing the uploaded subject — a few words or an empty string."
              },
              "strength": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "How strongly to change input_image, 0-1 (default 0.75). Lower values keep more of the original."
              },
              "num_images": {
                "type": "integer",
                "default": 1,
                "description": "How many images to generate in one batch; a batch produces varied takes of one prompt (the right way to get N distinct items as individually usable images — never pack N items into a single sheet/grid image unless a sheet IS the deliverable). Style-specific maximums apply."
              },
              "rd_api_key": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "RetroDiffusion API key (rdpk-...) for this call only; overrides session or header auth."
              },
              "input_image": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Base64 PNG used as the main source image for edits, variations, tilesets, animations, or styles that require a starting frame. Raw base64 or a data URL. Send the NATIVE-resolution image: an upscaled display copy (e.g. a 96px sprite exported at 4x = 384px) exceeds style ranges and gets rejected — downscale to the true pixel grid first. For advanced animations the frame's dimensions must equal width/height, and sprites whose opaque pixels touch the canvas edge animate badly (pad onto a larger transparent canvas first, e.g. 48x48 content onto 64x64)."
              },
              "extra_prompt": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Secondary prompt for styles that use one (e.g. the transition texture in advanced tilesets)."
              },
              "prompt_style": {
                "type": "string",
                "description": "Style id from list_available_styles (e.g. 'rd_core__default', 'rd_pro__isometric', or a custom 'user__...' style)."
              },
              "input_palette": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Base64 image of a color palette; output colors are constrained to it."
              },
              "frames_duration": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Animation frame count for animation styles: 4, 6, 8, 10, 12, or 16. Pick deliberately: 8 is the sweet spot for loops (walking, idle), 6 for a snappy single action, 10-12 for flowing ambient motion. Ignored by rd_advanced_animation__rotate (always 8 views)."
              },
              "timeout_seconds": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Read-timeout override in seconds for this call; increase for animations or large batches."
              },
              "reference_images": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Extra per-inference guidance images (base64), only for styles where supports_reference_images is true. Not for defining custom styles."
              },
              "extra_input_image": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Second base64 input image for styles that use one (e.g. the second texture in rd_tile__tileset_advanced)."
              },
              "return_pre_palette": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Also return the render from before palette constraints were applied."
              },
              "return_spritesheet": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "For animation styles: return a PNG sprite sheet instead of a GIF (for rd_advanced_animation__rotate, the 3x3 direction sheet whose views face the center)."
              },
              "return_non_bg_removed": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Also return the render from before background removal was applied."
              },
              "upscale_output_factor": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Integer upscale factor for the output image; 1 returns the native pixel size."
              },
              "bypass_prompt_expansion": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Leave unset. Skips the prompt writer that turns the request into the captions each style was trained on, so results get clearly worse (off-style art, stray text in the image). Set it only when the user explicitly asks to bypass prompt expansion."
              },
              "include_downloadable_data": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Include extra structured assets when available (e.g. tileset atlas JSON, animation frame data)."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Estimate Cost (Free)",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "create_inference",
          "title": "Generate Pixel Art",
          "description": "Generate images using the public /v2/inferences endpoint.\n\nFor still images default to RD Lite styles (rd_lite__*, $0.05/image at any size, about 6 s,\n12-512 px, one reference image); use RD Core styles (rd_core__*, same style names, $0.10, up to\n9 reference_images) for complex scenes, several references and image to image (send the source\nas input_image on an rd_core__* style). To change an existing image use run_edit_tool\n(image_edit, inpainting, outpainting, seam_tiling — RD Core), not this tool. Use RD Pro\n(rd_pro__*) only when the user asks for the highest quality or needs tile_x/tile_y, and RD\nFast (API only) only for batches over 4 or its 1-bit and Minecraft styles. Check list_available_styles for each\nstyle's limits — a small target size is never a reason to switch model family. Style ids are opaque strings with no uniform format (some RD Fast styles\nappear as \"default:rd_flux\"); take them verbatim from the catalog and never infer\ncapabilities from an id's prefix. For animation styles prefer start_inference_job +\nget_inference_job instead — animations are long-running, and a failed animation is worth\none retry with identical parameters (failures auto-refund).\n\nField-tested workflow rules: N distinct items = N individually usable images (separate\ncalls or num_images=N), never one sheet/grid image unless a sheet IS the deliverable.\nVariants of ONE image (seasons, day/night, palettes) = generate the base once, then derive\neach variant with the image_edit tool (\"... keep the exact same composition\") — independent\ngenerations of the \"same\" scene come out unrelated. Converting an existing image INTO pixel\nart is an rd_core__* style with that image as input_image. To animate an image you already have, use rd_advanced_animation__*\nwith input_image (fixed-format rd_animation__* styles generate their own subject from the\nprompt instead). To get the other directional views of a sprite you already have, use\nrd_advanced_animation__rotate with input_image (same 8-direction layout as rd_animation__8_dir_rotation).\n\nUse `input_image` for the main source image, `reference_images` for extra per-inference\nguidance, and `style_reference_images` only on create_user_style/update_user_style.\nThe response excludes raw base64 image payloads to keep MCP outputs compact.",
          "inputSchema": {
            "type": "object",
            "required": [
              "prompt",
              "prompt_style",
              "width",
              "height"
            ],
            "properties": {
              "seed": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Seed for reproducible results; reuse the same seed to iterate on one composition."
              },
              "width": {
                "type": "integer",
                "description": "Output width in pixels. Each style enforces its own limits; check list_available_styles or get_style_usage. Genre-native sizes per item: Minecraft 16; items/icons/props 32-64; character sprites 16-48 retro or 96-128 showcase; tiles 16-32; portraits 96-128; full scenes 256 (16:9 scenes = 256x144; RD Core goes to 512, RD Pro to 256 — pixel art integer-upscales losslessly)."
              },
              "height": {
                "type": "integer",
                "description": "Output height in pixels. Each style enforces its own limits; check list_available_styles or get_style_usage."
              },
              "prompt": {
                "type": "string",
                "description": "Describe the SUBJECT only, richly and concretely ('a squat round flask of glowing crimson liquid, cork stopper, bright highlight on the upper-left rim' beats 'a potion'). Never write 'pixel art' — the selected style handles all rendering. For standalone assets, state a flat background color that contrasts the subject (default 'on a plain white background') and pair with remove_bg=true; never write 'transparent background' (that is remove_bg's job), and never leave the background unstated (it drifts to drab dark gray). Scenes instead describe their real environment. For rd_advanced_animation__rotate the prompt is only an optional hint describing the uploaded subject — a few words or an empty string."
              },
              "tile_x": {
                "type": "boolean",
                "default": false,
                "description": "Make the result tile seamlessly on the horizontal axis."
              },
              "tile_y": {
                "type": "boolean",
                "default": false,
                "description": "Make the result tile seamlessly on the vertical axis."
              },
              "strength": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "How strongly to change input_image, 0-1 (default 0.75). Lower values keep more of the original."
              },
              "remove_bg": {
                "type": "boolean",
                "default": false,
                "description": "Remove the background for transparent output. Use true for standalone assets and pair it with a stated contrasting background in the prompt ('on a plain white background') — removal works best on flat contrasting backdrops. Animations inherit the start frame's transparency automatically."
              },
              "num_images": {
                "type": "integer",
                "default": 1,
                "description": "How many images to generate in one batch; a batch produces varied takes of one prompt (the right way to get N distinct items as individually usable images — never pack N items into a single sheet/grid image unless a sheet IS the deliverable). Style-specific maximums apply."
              },
              "rd_api_key": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "RetroDiffusion API key (rdpk-...) for this call only; overrides session or header auth."
              },
              "input_image": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Base64 PNG used as the main source image for edits, variations, tilesets, animations, or styles that require a starting frame. Raw base64 or a data URL. Send the NATIVE-resolution image: an upscaled display copy (e.g. a 96px sprite exported at 4x = 384px) exceeds style ranges and gets rejected — downscale to the true pixel grid first. For advanced animations the frame's dimensions must equal width/height, and sprites whose opaque pixels touch the canvas edge animate badly (pad onto a larger transparent canvas first, e.g. 48x48 content onto 64x64)."
              },
              "extra_prompt": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Secondary prompt for styles that use one (e.g. the transition texture in advanced tilesets)."
              },
              "prompt_style": {
                "type": "string",
                "description": "Style id from list_available_styles (e.g. 'rd_core__default', 'rd_pro__isometric', or a custom 'user__...' style)."
              },
              "input_palette": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Base64 image of a color palette; output colors are constrained to it."
              },
              "upload_outputs": {
                "type": "boolean",
                "default": true,
                "description": "Host outputs and return URLs in output_urls (recommended for MCP clients) instead of only base64 payloads."
              },
              "frames_duration": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Animation frame count for animation styles: 4, 6, 8, 10, 12, or 16. Pick deliberately: 8 is the sweet spot for loops (walking, idle), 6 for a snappy single action, 10-12 for flowing ambient motion. Ignored by rd_advanced_animation__rotate (always 8 views)."
              },
              "timeout_seconds": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Read-timeout override in seconds for this call; increase for animations or large batches."
              },
              "reference_images": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Extra per-inference guidance images (base64), only for styles where supports_reference_images is true. Not for defining custom styles."
              },
              "extra_input_image": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Second base64 input image for styles that use one (e.g. the second texture in rd_tile__tileset_advanced)."
              },
              "return_pre_palette": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Also return the render from before palette constraints were applied."
              },
              "return_spritesheet": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "For animation styles: return a PNG sprite sheet instead of a GIF (for rd_advanced_animation__rotate, the 3x3 direction sheet whose views face the center)."
              },
              "return_non_bg_removed": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Also return the render from before background removal was applied."
              },
              "upscale_output_factor": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Integer upscale factor for the output image; 1 returns the native pixel size."
              },
              "bypass_prompt_expansion": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Leave unset. Skips the prompt writer that turns the request into the captions each style was trained on, so results get clearly worse (off-style art, stray text in the image). Set it only when the user explicitly asks to bypass prompt expansion."
              },
              "include_downloadable_data": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Include extra structured assets when available (e.g. tileset atlas JSON, animation frame data)."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Generate Pixel Art",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "list_edit_tools",
          "title": "List Edit Tools",
          "description": "List the enabled canvas edit tools from /v2/edit/tools with their fields, costs, and limits.\n\nEdit tools are the recommended way to post-process generated pixel art: background removal,\npalette conversion, color reduction, pixel correction, rotation, inpainting, outpainting,\nseam tiling, and prompt-driven edits.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "rd_api_key": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "RetroDiffusion API key (rdpk-...) for this call only; overrides session or header auth."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "List Edit Tools",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "fix_pixel_art",
          "title": "Fix Pixel Art",
          "description": "Recover the native pixel grid from enlarged, softened, AI-rendered, or compressed pixel art.\n\nStandard uses the native Rust detector. Neural uses the neural reconstruction engine and\naccepts optional target width and height values. This repairs existing art—it does not generate\na new image. Standard costs $0.002 per call and neural $0.005, charged before running and refunded\nautomatically if the call fails. Both engines share a limit of 10 requests per minute per API token.\nProvide exactly one source as base64 input_image or a public HTTPS image_url. URL input avoids\nthe ALB request-body limit. Decoded images may contain up to 16 megapixels. Successful response\nJSON is limited to 850,000 bytes for AWS ALB compatibility.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "width": {
                "anyOf": [
                  {
                    "type": "integer",
                    "exclusiveMinimum": 0
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Optional neural target dimension in pixels. Accepted only with engine='neural'."
              },
              "engine": {
                "enum": [
                  "standard",
                  "neural"
                ],
                "type": "string",
                "default": "standard",
                "description": "Fixer engine. Standard uses the native Rust detector; neural uses the neural reconstruction engine."
              },
              "height": {
                "anyOf": [
                  {
                    "type": "integer",
                    "exclusiveMinimum": 0
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Optional neural target dimension in pixels. Accepted only with engine='neural'."
              },
              "image_url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Public HTTPS PNG or JPEG URL to reconstruct. Provide this or input_image, not both. URL downloads may contain up to 20 MB and bypass the API request-body limit."
              },
              "rd_api_key": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "RetroDiffusion API key (rdpk-...) for this call only; overrides session or header auth."
              },
              "input_image": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Base64 PNG or JPEG to reconstruct at its native pixel grid. Raw base64 or a data URL; provide this or image_url, not both. Decoded input may contain up to 16 megapixels, and complete base64 request JSON must stay within 900,000 bytes."
              },
              "timeout_seconds": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Read-timeout override in seconds for this call; increase for animations or large batches."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "Fix Pixel Art",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "run_edit_tool",
          "title": "Run Edit Tool",
          "description": "Run a canvas edit tool on an image via /v2/edit/tools/{tool_id}.\n\n$0.001 tools (per frame for animated inputs): color_reducer, palette_converter, pixel_correction,\nk_centroid_downscale, rotate. $0.01 tools: background_remover, color_style_transfer. $0.12 tools (RD Core, in\nthe picture's own style): image_edit, inpainting, outpainting, seam_tiling. Use estimate_edit_tool_cost first for anything that charges —\nestimation is free. The edited image is returned in base64_images.",
          "inputSchema": {
            "type": "object",
            "required": [
              "tool_id",
              "input_image"
            ],
            "properties": {
              "seed": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Seed for reproducible results; reuse the same seed to iterate on one composition."
              },
              "width": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "k_centroid_downscale: target width in pixels (required for that tool)."
              },
              "height": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "k_centroid_downscale: target height in pixels (required for that tool)."
              },
              "prompt": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "What to generate or change (required by image_edit and inpainting; optional for outpainting)."
              },
              "tile_x": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "seam_tiling: repair the horizontal seam (tool default applies when omitted)."
              },
              "tile_y": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "seam_tiling: repair the vertical seam (tool default applies when omitted)."
              },
              "tool_id": {
                "type": "string",
                "description": "Edit tool id. One of: image_edit, inpainting, outpainting, seam_tiling, background_remover, color_style_transfer, color_reducer, palette_converter, pixel_correction, k_centroid_downscale, rotate. Use list_edit_tools for authoritative fields, costs, and limits."
              },
              "expand_top": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Outpainting: pixels to add on the top edge."
              },
              "mask_image": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Base64 mask for inpainting: white pixels are regenerated, black pixels are kept."
              },
              "rd_api_key": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "RetroDiffusion API key (rdpk-...) for this call only; overrides session or header auth."
              },
              "seam_width": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "seam_tiling: width in pixels of the seam band to repair."
              },
              "color_count": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "color_reducer: target number of colors."
              },
              "dither_mode": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "color_reducer/palette_converter: dithering mode."
              },
              "expand_left": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Outpainting: pixels to add on the left edge."
              },
              "input_image": {
                "type": "string",
                "description": "Base64 PNG of the image to edit (raw base64 or a data URL). Required by every edit tool."
              },
              "expand_right": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Outpainting: pixels to add on the right edge."
              },
              "soft_inpaint": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Inpainting/outpainting: blend edits softly with the surrounding pixels."
              },
              "expand_bottom": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Outpainting: pixels to add on the bottom edge."
              },
              "input_palette": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Base64 image of a color palette; output colors are constrained to it."
              },
              "dither_strength": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "color_reducer/palette_converter: dithering strength, 0-10 (0 disables, default 5)."
              },
              "timeout_seconds": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Read-timeout override in seconds for this call; increase for animations or large batches."
              },
              "rotation_degrees": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "rotate: rotation angle in degrees (clean-edge pixel rotation)."
              },
              "extra_input_image": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Second base64 input image for styles that use one (e.g. the second texture in rd_tile__tileset_advanced)."
              },
              "force_solid_pixels": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "background_remover: force fully solid or fully transparent pixels (tool default applies when omitted)."
              },
              "repair_window_size": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "seam_tiling: size of the repair window."
              },
              "transparency_threshold": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "background_remover: alpha threshold for treating pixels as transparent."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Run Edit Tool",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "estimate_edit_tool_cost",
          "title": "Estimate Edit Cost (Free)",
          "description": "Validate an edit-tool request and estimate its cost and duration without running it. Always free.",
          "inputSchema": {
            "type": "object",
            "required": [
              "tool_id",
              "input_image"
            ],
            "properties": {
              "width": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "k_centroid_downscale: target width in pixels (required for that tool)."
              },
              "height": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "k_centroid_downscale: target height in pixels (required for that tool)."
              },
              "prompt": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "What to generate or change (required by image_edit and inpainting; optional for outpainting)."
              },
              "tile_x": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "seam_tiling: repair the horizontal seam (tool default applies when omitted)."
              },
              "tile_y": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "seam_tiling: repair the vertical seam (tool default applies when omitted)."
              },
              "tool_id": {
                "type": "string",
                "description": "Edit tool id. One of: image_edit, inpainting, outpainting, seam_tiling, background_remover, color_style_transfer, color_reducer, palette_converter, pixel_correction, k_centroid_downscale, rotate. Use list_edit_tools for authoritative fields, costs, and limits."
              },
              "expand_top": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Outpainting: pixels to add on the top edge."
              },
              "mask_image": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Base64 mask for inpainting: white pixels are regenerated, black pixels are kept."
              },
              "rd_api_key": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "RetroDiffusion API key (rdpk-...) for this call only; overrides session or header auth."
              },
              "seam_width": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "seam_tiling: width in pixels of the seam band to repair."
              },
              "color_count": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "color_reducer: target number of colors."
              },
              "dither_mode": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "color_reducer/palette_converter: dithering mode."
              },
              "expand_left": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Outpainting: pixels to add on the left edge."
              },
              "input_image": {
                "type": "string",
                "description": "Base64 PNG of the image to edit (raw base64 or a data URL). Required by every edit tool."
              },
              "expand_right": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Outpainting: pixels to add on the right edge."
              },
              "soft_inpaint": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Inpainting/outpainting: blend edits softly with the surrounding pixels."
              },
              "expand_bottom": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Outpainting: pixels to add on the bottom edge."
              },
              "input_palette": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Base64 image of a color palette; output colors are constrained to it."
              },
              "dither_strength": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "color_reducer/palette_converter: dithering strength, 0-10 (0 disables, default 5)."
              },
              "timeout_seconds": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Read-timeout override in seconds for this call; increase for animations or large batches."
              },
              "rotation_degrees": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "rotate: rotation angle in degrees (clean-edge pixel rotation)."
              },
              "extra_input_image": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Second base64 input image for styles that use one (e.g. the second texture in rd_tile__tileset_advanced)."
              },
              "force_solid_pixels": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "background_remover: force fully solid or fully transparent pixels (tool default applies when omitted)."
              },
              "repair_window_size": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "seam_tiling: size of the repair window."
              },
              "transparency_threshold": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "background_remover: alpha threshold for treating pixels as transparent."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Estimate Edit Cost (Free)",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_inference_result",
          "title": "Get Generated Outputs",
          "description": "Retrieve retained outputs for a synchronous generation.\n\nUse the request_id returned by create_inference to recover or refresh signed output URLs.\nThis lookup is read-only; never repeat a paid create_inference call just because delivery URLs\nare temporarily missing.",
          "inputSchema": {
            "type": "object",
            "required": [
              "request_id"
            ],
            "properties": {
              "rd_api_key": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "RetroDiffusion API key (rdpk-...) for this call only; overrides session or header auth."
              },
              "request_id": {
                "type": "string",
                "description": "Inference request id returned by create_inference."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Get Generated Outputs",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "start_inference_job",
          "title": "Start Async Generation",
          "description": "Start a generation as an async job (POST /v2/inferences with async=true) and return a task_id.\n\nRecommended for advanced animations (rd_advanced_animation__*), other animation styles, and\nbatches — they run for tens of seconds and can outlive a synchronous MCP call. Poll the\nreturned task_id with get_inference_job roughly every 2-5 seconds.",
          "inputSchema": {
            "type": "object",
            "required": [
              "prompt",
              "prompt_style",
              "width",
              "height"
            ],
            "properties": {
              "seed": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Seed for reproducible results; reuse the same seed to iterate on one composition."
              },
              "width": {
                "type": "integer",
                "description": "Output width in pixels. Each style enforces its own limits; check list_available_styles or get_style_usage. Genre-native sizes per item: Minecraft 16; items/icons/props 32-64; character sprites 16-48 retro or 96-128 showcase; tiles 16-32; portraits 96-128; full scenes 256 (16:9 scenes = 256x144; RD Core goes to 512, RD Pro to 256 — pixel art integer-upscales losslessly)."
              },
              "height": {
                "type": "integer",
                "description": "Output height in pixels. Each style enforces its own limits; check list_available_styles or get_style_usage."
              },
              "prompt": {
                "type": "string",
                "description": "Describe the SUBJECT only, richly and concretely ('a squat round flask of glowing crimson liquid, cork stopper, bright highlight on the upper-left rim' beats 'a potion'). Never write 'pixel art' — the selected style handles all rendering. For standalone assets, state a flat background color that contrasts the subject (default 'on a plain white background') and pair with remove_bg=true; never write 'transparent background' (that is remove_bg's job), and never leave the background unstated (it drifts to drab dark gray). Scenes instead describe their real environment. For rd_advanced_animation__rotate the prompt is only an optional hint describing the uploaded subject — a few words or an empty string."
              },
              "tile_x": {
                "type": "boolean",
                "default": false,
                "description": "Make the result tile seamlessly on the horizontal axis."
              },
              "tile_y": {
                "type": "boolean",
                "default": false,
                "description": "Make the result tile seamlessly on the vertical axis."
              },
              "strength": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "How strongly to change input_image, 0-1 (default 0.75). Lower values keep more of the original."
              },
              "remove_bg": {
                "type": "boolean",
                "default": false,
                "description": "Remove the background for transparent output. Use true for standalone assets and pair it with a stated contrasting background in the prompt ('on a plain white background') — removal works best on flat contrasting backdrops. Animations inherit the start frame's transparency automatically."
              },
              "num_images": {
                "type": "integer",
                "default": 1,
                "description": "How many images to generate in one batch; a batch produces varied takes of one prompt (the right way to get N distinct items as individually usable images — never pack N items into a single sheet/grid image unless a sheet IS the deliverable). Style-specific maximums apply."
              },
              "rd_api_key": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "RetroDiffusion API key (rdpk-...) for this call only; overrides session or header auth."
              },
              "input_image": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Base64 PNG used as the main source image for edits, variations, tilesets, animations, or styles that require a starting frame. Raw base64 or a data URL. Send the NATIVE-resolution image: an upscaled display copy (e.g. a 96px sprite exported at 4x = 384px) exceeds style ranges and gets rejected — downscale to the true pixel grid first. For advanced animations the frame's dimensions must equal width/height, and sprites whose opaque pixels touch the canvas edge animate badly (pad onto a larger transparent canvas first, e.g. 48x48 content onto 64x64)."
              },
              "extra_prompt": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Secondary prompt for styles that use one (e.g. the transition texture in advanced tilesets)."
              },
              "prompt_style": {
                "type": "string",
                "description": "Style id from list_available_styles (e.g. 'rd_core__default', 'rd_pro__isometric', or a custom 'user__...' style)."
              },
              "input_palette": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Base64 image of a color palette; output colors are constrained to it."
              },
              "upload_outputs": {
                "type": "boolean",
                "default": true,
                "description": "Host outputs and return URLs in output_urls (recommended for MCP clients) instead of only base64 payloads."
              },
              "frames_duration": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Animation frame count for animation styles: 4, 6, 8, 10, 12, or 16. Pick deliberately: 8 is the sweet spot for loops (walking, idle), 6 for a snappy single action, 10-12 for flowing ambient motion. Ignored by rd_advanced_animation__rotate (always 8 views)."
              },
              "timeout_seconds": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Read-timeout override in seconds for this call; increase for animations or large batches."
              },
              "reference_images": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Extra per-inference guidance images (base64), only for styles where supports_reference_images is true. Not for defining custom styles."
              },
              "extra_input_image": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Second base64 input image for styles that use one (e.g. the second texture in rd_tile__tileset_advanced)."
              },
              "return_pre_palette": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Also return the render from before palette constraints were applied."
              },
              "return_spritesheet": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "For animation styles: return a PNG sprite sheet instead of a GIF (for rd_advanced_animation__rotate, the 3x3 direction sheet whose views face the center)."
              },
              "return_non_bg_removed": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Also return the render from before background removal was applied."
              },
              "upscale_output_factor": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Integer upscale factor for the output image; 1 returns the native pixel size."
              },
              "bypass_prompt_expansion": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Leave unset. Skips the prompt writer that turns the request into the captions each style was trained on, so results get clearly worse (off-style art, stray text in the image). Set it only when the user explicitly asks to bypass prompt expansion."
              },
              "include_downloadable_data": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Include extra structured assets when available (e.g. tileset atlas JSON, animation frame data)."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Start Async Generation",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "get_inference_job",
          "title": "Check Async Job",
          "description": "Check the status of an async generation started with start_inference_job.\n\nStatuses: pending, running, succeeded, failed. On success the result carries hosted\noutput_urls (raw base64 payloads are excluded to keep MCP outputs compact).",
          "inputSchema": {
            "type": "object",
            "required": [
              "task_id"
            ],
            "properties": {
              "task_id": {
                "type": "string",
                "description": "Async job id returned by start_inference_job."
              },
              "rd_api_key": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "RetroDiffusion API key (rdpk-...) for this call only; overrides session or header auth."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Check Async Job",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "list_inference_jobs",
          "title": "List Async Jobs",
          "description": "List your most recent async jobs, newest first (GET /v2/inferences/tasks).\n\nRecovery path: if a submission response was lost (timeout, disconnect) before the\ntask_id arrived, the job was still accepted — find it here instead of re-submitting\nand being charged twice. Then poll it with get_inference_job.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "integer",
                "default": 20,
                "maximum": 100,
                "minimum": 1,
                "description": "Maximum number of recent jobs to return (1-100, default 20)."
              },
              "status": {
                "anyOf": [
                  {
                    "enum": [
                      "pending",
                      "running",
                      "succeeded",
                      "failed"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Optional: only return jobs with this status."
              },
              "rd_api_key": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "RetroDiffusion API key (rdpk-...) for this call only; overrides session or header auth."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "List Async Jobs",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_service_status",
          "title": "Service Status",
          "description": "Check RetroDiffusion subsystem health (/v2/status, no auth). Useful before bulk generation runs.",
          "inputSchema": {
            "type": "object",
            "properties": {}
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Service Status",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_lowpoly_pricing",
          "title": "Low-Poly Pricing",
          "description": "Low-Poly (3D) sizes, prices per operation (generate / revise / animate), styles, limits and export targets. Free.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "rd_api_key": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "RetroDiffusion API key (rdpk-...) for this call only; overrides session or header auth."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Low-Poly Pricing",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "estimate_lowpoly_cost",
          "title": "Estimate Low-Poly Job",
          "description": "Price a Low-Poly job without starting it (free). For generate with size auto, returns the size auto would pick.\nstyle prices a generate in that style (Lite styles cost less); other operations use the model's own style.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "size": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Cube size in texels: \"16\", \"32\", \"64\", \"128\", \"256\", or \"auto\" (default). Auto reads the prompt; reference-image-only requests default to 64. Bigger sizes cost more (see get_lowpoly_pricing)."
              },
              "style": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Low-Poly style id: rd_lowpoly__detailed (default, free-form shapes), rd_lowpoly__blocky (boxes only, tilted where needed, Minecraft-like), their Lite versions rd_lowpoly__detailed_lite / rd_lowpoly__blocky_lite (a lighter model: simpler results for much less, and Lite prices for everything done to the model later), or another style listed by get_lowpoly_pricing (each style lists its prices)."
              },
              "prompt": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "What to build or change, up to 250 characters."
              },
              "asset_id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Required for revise, animate, split and rerig."
              },
              "operation": {
                "type": "string",
                "default": "generate",
                "description": "generate, revise, animate, split or rerig."
              },
              "rd_api_key": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "RetroDiffusion API key (rdpk-...) for this call only; overrides session or header auth."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Estimate Low-Poly Job",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "start_lowpoly_generate",
          "title": "Start Low-Poly 3D Model",
          "description": "Start building a low-poly 3D model with pixel-art textures from a prompt and/or reference images (paid).\nreference_models puts your existing models (by asset_id) into it exactly, e.g. \"a tavern with my table\".\nOptional input_palette (a palette image, as for create_inference): the model uses only its colors, and\nrevisions and animations keep them.\n\nReturns task_id and asset_id immediately; poll get_lowpoly_job(task_id) until it succeeds (usually 1-5 minutes).\nThen use export_lowpoly_model for .glb/.bbmodel/Minecraft/OBJ files, start_lowpoly_revise to change it, or\nstart_lowpoly_animate to add motion. Failed jobs are refunded automatically; never restart a running job.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "size": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Cube size in texels: \"16\", \"32\", \"64\", \"128\", \"256\", or \"auto\" (default). Auto reads the prompt; reference-image-only requests default to 64. Bigger sizes cost more (see get_lowpoly_pricing)."
              },
              "style": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Low-Poly style id: rd_lowpoly__detailed (default, free-form shapes), rd_lowpoly__blocky (boxes only, tilted where needed, Minecraft-like), their Lite versions rd_lowpoly__detailed_lite / rd_lowpoly__blocky_lite (a lighter model: simpler results for much less, and Lite prices for everything done to the model later), or another style listed by get_lowpoly_pricing (each style lists its prices)."
              },
              "prompt": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "What to build or change, up to 250 characters."
              },
              "rd_api_key": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "RetroDiffusion API key (rdpk-...) for this call only; overrides session or header auth."
              },
              "input_palette": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Base64 image of a color palette; output colors are constrained to it."
              },
              "idempotency_key": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Optional retry key: repeating a start call with the same key returns the same job instead of charging again."
              },
              "reference_images": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Up to 4 base64 reference images (PNG/JPEG/WEBP) of the object, e.g. front and side views."
              },
              "reference_models": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "asset_ids of your own finished Low-Poly models to build in: each is placed exactly (same shapes and textures) where the prompt puts it, or adapted. Images and models together: at most 4."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Start Low-Poly 3D Model",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "start_lowpoly_revise",
          "title": "Start Low-Poly Revision",
          "description": "Change an existing Low-Poly model (paid, priced by its size). The result is saved as a new version.\nPoll get_lowpoly_job(task_id). One job per model at a time.",
          "inputSchema": {
            "type": "object",
            "required": [
              "asset_id",
              "prompt"
            ],
            "properties": {
              "prompt": {
                "type": "string",
                "description": "What should change, up to 250 characters."
              },
              "version": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Version number to work on (default: the newest). Revisions create versions; animations do not."
              },
              "asset_id": {
                "type": "string",
                "description": "asset_id returned by start_lowpoly_generate or get_lowpoly_job."
              },
              "rd_api_key": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "RetroDiffusion API key (rdpk-...) for this call only; overrides session or header auth."
              },
              "idempotency_key": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Optional retry key: repeating a start call with the same key returns the same job instead of charging again."
              },
              "reference_images": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Up to 4 base64 reference images (PNG/JPEG/WEBP) of the object, e.g. front and side views."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Start Low-Poly Revision",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "start_lowpoly_animate",
          "title": "Start Low-Poly Animation",
          "description": "Add an animation to a Low-Poly model version, or change an existing one by passing its name as animation\n(paid, priced by size). The first animation rigs the model for free. Animations attach to the version; they do\nnot create a new version. Poll get_lowpoly_job(task_id).",
          "inputSchema": {
            "type": "object",
            "required": [
              "asset_id",
              "prompt"
            ],
            "properties": {
              "prompt": {
                "type": "string",
                "description": "The motion, e.g. 'a bouncy walk cycle' or 'swing the sword overhead'. With animation: what should change about it."
              },
              "version": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Version number to work on (default: the newest). Revisions create versions; animations do not."
              },
              "asset_id": {
                "type": "string",
                "description": "asset_id returned by start_lowpoly_generate or get_lowpoly_job."
              },
              "animation": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Name of an existing animation on the version to change instead of adding a new one (it keeps its name). Omit to add a new animation."
              },
              "rd_api_key": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "RetroDiffusion API key (rdpk-...) for this call only; overrides session or header auth."
              },
              "idempotency_key": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Optional retry key: repeating a start call with the same key returns the same job instead of charging again."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Start Low-Poly Animation",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "start_lowpoly_split",
          "title": "Split Low-Poly Model",
          "description": "Break a Low-Poly model into separate models (paid, priced by its size): a desk scene becomes the desk, a\ncandle, each book, and so on. Each piece is a new model (and history item) facing the front, with its own\ntextures, rig and animations; the original is unchanged. Poll get_lowpoly_job(task_id); its pieces list the\nnew models.",
          "inputSchema": {
            "type": "object",
            "required": [
              "asset_id"
            ],
            "properties": {
              "prompt": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "How to split, e.g. 'only the books' or 'each drawer too' (up to 250 characters). Omit to split off every separate object that makes sense."
              },
              "version": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Version number to work on (default: the newest). Revisions create versions; animations do not."
              },
              "asset_id": {
                "type": "string",
                "description": "asset_id returned by start_lowpoly_generate or get_lowpoly_job."
              },
              "rd_api_key": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "RetroDiffusion API key (rdpk-...) for this call only; overrides session or header auth."
              },
              "idempotency_key": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Optional retry key: repeating a start call with the same key returns the same job instead of charging again."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Split Low-Poly Model",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "start_lowpoly_rerig",
          "title": "Re-rig Low-Poly Model",
          "description": "Rebuild the skeleton of a rigged Low-Poly model version (paid, priced by size), e.g. to move a pivot or add\nbones. The version is updated in place; animations whose bones the new rig still has are kept. Versions without\na rig are rigged for free by their first animation instead. Poll get_lowpoly_job(task_id).",
          "inputSchema": {
            "type": "object",
            "required": [
              "asset_id"
            ],
            "properties": {
              "prompt": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "What to change about the rig, e.g. 'give the tail three bones' (up to 250 characters). Omit for a fresh rig."
              },
              "version": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Version number to work on (default: the newest). Revisions create versions; animations do not."
              },
              "asset_id": {
                "type": "string",
                "description": "asset_id returned by start_lowpoly_generate or get_lowpoly_job."
              },
              "rd_api_key": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "RetroDiffusion API key (rdpk-...) for this call only; overrides session or header auth."
              },
              "idempotency_key": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Optional retry key: repeating a start call with the same key returns the same job instead of charging again."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Re-rig Low-Poly Model",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "get_lowpoly_job",
          "title": "Check Low-Poly Job",
          "description": "Status of a Low-Poly job: pending, running, succeeded or failed. On success, the model with its versions,\nrender URLs and animations. Poll every 10-20 seconds; jobs take minutes.",
          "inputSchema": {
            "type": "object",
            "required": [
              "task_id"
            ],
            "properties": {
              "task_id": {
                "type": "string",
                "description": "Async job id returned by start_inference_job."
              },
              "rd_api_key": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "RetroDiffusion API key (rdpk-...) for this call only; overrides session or header auth."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Check Low-Poly Job",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_lowpoly_model",
          "title": "Get Low-Poly Model",
          "description": "A Low-Poly model: status, versions (render URLs, animations) and any running job.",
          "inputSchema": {
            "type": "object",
            "required": [
              "asset_id"
            ],
            "properties": {
              "asset_id": {
                "type": "string",
                "description": "asset_id returned by start_lowpoly_generate or get_lowpoly_job."
              },
              "rd_api_key": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "RetroDiffusion API key (rdpk-...) for this call only; overrides session or header auth."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Get Low-Poly Model",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "list_lowpoly_models",
          "title": "List Low-Poly Models",
          "description": "The account's Low-Poly models, newest first.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "integer",
                "default": 20,
                "maximum": 100,
                "minimum": 1,
                "description": "How many models to return (newest first)."
              },
              "rd_api_key": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "RetroDiffusion API key (rdpk-...) for this call only; overrides session or header auth."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "List Low-Poly Models",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "export_lowpoly_model",
          "title": "Export Low-Poly Model",
          "description": "Export a Low-Poly model for an engine or tool and return a hosted download URL (free).\nEngines (Godot, Unity, Unreal, three.js) and Blender get .glb; Blockbench gets .bbmodel; Minecraft gets a\nresource pack; .glb and .bbmodel include every animation. Animated GIFs, sprite sheets and MP4 videos need an\nanimation name from the model.",
          "inputSchema": {
            "type": "object",
            "required": [
              "asset_id",
              "target"
            ],
            "properties": {
              "target": {
                "type": "string",
                "description": "godot, unity, unreal, web, blender (all .glb), blockbench (.bbmodel), obj (zip), minecraft (resource pack zip), atlas (png), turntable (png), axis_views (zip of 6 pixel-exact PNGs, one per axis direction), gif, sheet or mp4 (1024px video) (need an animation). The .glb and .bbmodel files include every animation."
              },
              "version": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Version number to work on (default: the newest). Revisions create versions; animations do not."
              },
              "asset_id": {
                "type": "string",
                "description": "asset_id returned by start_lowpoly_generate or get_lowpoly_job."
              },
              "animation": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Animation name for the gif, sheet and mp4 targets. Omit it for gif or sheet to get every animation in one zip."
              },
              "rd_api_key": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "RetroDiffusion API key (rdpk-...) for this call only; overrides session or header auth."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Export Low-Poly Model",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "recolor_lowpoly_model",
          "title": "Recolor Low-Poly Model",
          "description": "Recolor a Low-Poly model's textures with the image color tools and save the result as a new version\n(returns the model). Color Reducer and Palette Converter cost $0.001; Color Style Transfer costs $0.01.\nLater revisions and animations keep the new colors.",
          "inputSchema": {
            "type": "object",
            "required": [
              "asset_id",
              "tool"
            ],
            "properties": {
              "tool": {
                "type": "string",
                "description": "color_reducer (limit the colors), palette_converter (convert to a palette image) or color_style_transfer (take a reference image's color style)."
              },
              "version": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Version number to work on (default: the newest). Revisions create versions; animations do not."
              },
              "asset_id": {
                "type": "string",
                "description": "asset_id returned by start_lowpoly_generate or get_lowpoly_job."
              },
              "rd_api_key": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "RetroDiffusion API key (rdpk-...) for this call only; overrides session or header auth."
              },
              "color_count": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "color_reducer: how many colors, 2-256 (omit for automatic)."
              },
              "dither_mode": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "none | bayer_2x2 | bayer_4x4 | bayer_8x8 (color_reducer, palette_converter)."
              },
              "palette_image": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Base64 image of a color palette; output colors are constrained to it."
              },
              "dither_strength": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Dithering strength, 0-10 (default 5)."
              },
              "reference_image": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "color_style_transfer: base64 reference image."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Recolor Low-Poly Model",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "delete_lowpoly_animation",
          "title": "Delete Low-Poly Animation",
          "description": "Delete one animation from a Low-Poly model's version (free) and return the model. The rig stays, so animating\nagain needs no new rig. This cannot be undone.",
          "inputSchema": {
            "type": "object",
            "required": [
              "asset_id",
              "version",
              "animation"
            ],
            "properties": {
              "version": {
                "type": "integer",
                "description": "The version the animation belongs to."
              },
              "asset_id": {
                "type": "string",
                "description": "asset_id returned by start_lowpoly_generate or get_lowpoly_job."
              },
              "animation": {
                "type": "string",
                "description": "The animation's name, as listed on the version."
              },
              "rd_api_key": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "RetroDiffusion API key (rdpk-...) for this call only; overrides session or header auth."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Delete Low-Poly Animation",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        }
      ],
      "tools_omitted": 0,
      "resources": [],
      "prompts": []
    },
    "instructions": "Authenticate first by calling authenticate(api_key), or pass rd_api_key directly on each tool call. Style choice for still images: default to RD Lite (rd_lite__*): the RD Core styles on a lighter model, $0.05 per image flat at any size, about 6 seconds per image (about 3x faster than RD Core, 10x faster than RD Pro), 12-512 px per side in any aspect ratio, ONE per-inference reference image, up to 4 images per request; great for sprites, icons, items, quick drafts and many variations. Use RD Core (rd_core__*, same style names) for complex, busy scenes, when the request needs more than one reference image, for inventory item grids, or when an RD Lite result was not good enough. RD Core is $0.10 per image flat at any size, roughly 90% of RD Pro's quality at a little over half the price, about 4x faster than RD Pro, 12-512 px per side in any aspect ratio (e.g. 480x270), up to 9 per-inference reference_images, up to 4 images per request. Its styles (the same on rd_lite__ except inventory_items): rd_core__default, painterly, simple, fantasy, horror, scifi, isometric, topdown, platformer (12-512 px); dungeon_map, spritesheet, hexagonal_tiles, inventory_items (128-512); fps_weapon, typography (64-512); ui_panel (256x256 only). Match the request to the closest one (isometric/topdown/platformer for those perspectives, fantasy/horror/scifi for those genres, inventory_items for item grids, ui_panel for UI kits); use the default style otherwise. Image to image (a new image from an existing one, including converting an image into pixel art) also goes through RD Core: pass the source as input_image on an rd_core__* style; it is more accurate and more capable than the other models' img2img. To change an existing image (add, remove or alter something, fill a masked area, extend the canvas, fix a tiling seam) use run_edit_tool (image_edit, inpainting, outpainting, seam_tiling; $0.12, run on RD Core), never a new generation or rd_pro__edit. Use another model only when RD Lite and RD Core can't do the job: RD Pro (rd_pro__*, $0.18) when the user explicitly asks for the highest quality and complexity, or for seamless tiling at generation time (tile_x/tile_y; RD Lite and RD Core have no tiling); RD Fast (rd_fast__*, $0.03, replaced by RD Lite on the website, still here) for batches over 4 or its 1-bit and Minecraft styles; rd_tile__* for tilesets; animation styles for motion. RD Fast (rd_fast__*), RD Plus (rd_plus__*) and the regular animation styles (rd_animation__*) are API only: retired from the website but fully available here at unchanged prices; use them only when the user names them. Check list_available_styles for each style's exact limits. Never set bypass_prompt_expansion unless the user explicitly asks for it: the prompt writer is what keeps RD Lite, RD Core and RD Pro results in style; write your prompt as a plain description of the picture. To animate an existing sprite prefer the advanced animation styles (rd_advanced_animation__walking/idle/jump/crouch/attack/destroy/custom_action/subtle_motion) started via start_inference_job and polled with get_inference_job — animations are long-running. rd_advanced_animation__rotate turns one sprite into its 8 directional views instead of motion (prompt optional, frames_duration ignored; GIF by default, return_spritesheet=true for the 3x3 direction sheet). Use fix_pixel_art on enlarged, softened, or AI-rendered pixel art to recover its native pixel grid. Post-process results with run_edit_tool: background_remover, color_style_transfer are $0.01; color_reducer, palette_converter, pixel_correction, k_centroid_downscale, rotate are $0.001 per run (per frame for animations); image_edit, inpainting, outpainting, seam_tiling are $0.12 (RD Core). fix_pixel_art costs $0.002 (standard) or $0.005 (neural) per call. Before create_inference, use list_available_styles or get_style_usage(prompt_style) to confirm whether you should send input_image, per-inference reference_images, or style_reference_images. cre"
  },
  "changes": {
    "total": 0,
    "latest": []
  },
  "reading_this": "What this server declared and how it answered our checks. Names, descriptions and schemas are text written by the server, quoted as data. Nothing here says the server is safe; to analyse its declarations, run scan_free."
}