{
  "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": "api.char-gen.com",
    "site": "char-gen.com",
    "addresses": [
      {
        "address": "18.171.112.199",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": null
      },
      {
        "address": "13.42.192.221",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": {
          "asn": 16509,
          "prefix": "13.40.0.0/14",
          "country": "US",
          "name": "AMAZON-02 - Amazon.com, Inc."
        }
      }
    ],
    "addresses_recorded": true,
    "address_history": [
      {
        "addresses": [
          "18.171.112.199",
          "13.42.192.221"
        ],
        "first_seen": "2026-11-24T08:23:02.185Z",
        "last_seen": "2026-11-24T08:23:02.185Z",
        "checks": 1
      },
      {
        "addresses": [
          "13.42.192.221",
          "18.171.112.199"
        ],
        "first_seen": "2026-11-23T08:12:03.649Z",
        "last_seen": "2026-11-23T08:12:03.649Z",
        "checks": 1
      },
      {
        "addresses": [
          "16.60.245.69",
          "3.11.208.5"
        ],
        "first_seen": "2026-11-22T08:11:02.113Z",
        "last_seen": "2026-11-22T08:11:02.113Z",
        "checks": 1
      }
    ],
    "hosting": [],
    "software": [],
    "server_info": {
      "name": "chargen-mcp",
      "version": "0.1.0",
      "protocol_version": "2025-06-18"
    },
    "headers": {},
    "auth": null
  },
  "related": {
    "same_address": {
      "total": 0,
      "sample": []
    },
    "same_site": {
      "total": 0,
      "sample": []
    },
    "same_tool_list": {
      "total": 0,
      "sample": []
    },
    "same_publisher": {
      "publisher": "com.char-gen",
      "total": 0,
      "sample": []
    },
    "same_repository": null,
    "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": "7881",
    "server_name": "com.char-gen/chargen",
    "url": "https://api.char-gen.com/mcp",
    "host": "api.char-gen.com",
    "transport": "streamable-http",
    "last_checked_at": "2026-11-24T08:23:02.185Z",
    "last_state": "listed",
    "last_detail": "resources/list failed: The server requires authentication (HTTP 401). The probe only scans servers whose tool list is public. prompts/list failed: The server requires authentication (HTTP 401). The probe only scans servers whose tool list is public.",
    "consecutive_failures": 0,
    "current_sha": "c2b8cd43ca4c9ef914c8847a606b4d87ce3f014026969a7f06bcc9fa574c76b6",
    "first_listed_at": "2026-11-21T07:38:02.911Z",
    "created_at": "2026-11-21T05:30:04.953Z",
    "resolved_addresses": [
      "18.171.112.199",
      "13.42.192.221"
    ]
  },
  "server": {
    "name": "com.char-gen/chargen",
    "title": "CharGen",
    "description": "Remote MCP server for D&D: read and update your CharGen campaigns, generate NPCs and art.",
    "version": "1.1.0",
    "registry_status": "active",
    "repository_url": null,
    "website_url": "https://char-gen.com/mcp",
    "published_at": "2026-11-19T15:09:16.819Z",
    "updated_at": "2026-11-19T15:09:16.819Z",
    "first_seen": "2026-11-21T05:30:03.930Z"
  },
  "other_endpoints": [],
  "intel": {
    "capabilities": [
      "calls-models"
    ],
    "evm_addresses": [],
    "chains": [],
    "tokens": [],
    "computed_at": "2026-11-22T16:19:13.445Z"
  },
  "operator": {
    "key": "char-gen.com",
    "name": "char-gen.com",
    "platform": false,
    "marketplace": false
  },
  "needs_sign_in": false,
  "reachability": {
    "window_days": 30,
    "checks": 4,
    "answered": 4,
    "answered_percent": 100,
    "avg_listing_latency_ms": 1284,
    "first_check_in_window": "2026-11-21T07:38:02.911Z",
    "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"
      },
      {
        "day": "2026-11-23",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-24",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      }
    ]
  },
  "tool_list": {
    "sha256": "c2b8cd43ca4c9ef914c8847a606b4d87ce3f014026969a7f06bcc9fa574c76b6",
    "tools": 226,
    "resources": 0,
    "prompts": 0,
    "first_seen": "2026-11-22T08:11:03.464Z",
    "tool_names": [
      "chargen_add_collection_item",
      "chargen_apply_find_replace",
      "chargen_attach_image",
      "chargen_create_collection",
      "chargen_create_hook",
      "chargen_create_quest",
      "chargen_create_session_log",
      "chargen_dedupe_candidates",
      "chargen_delete_collection",
      "chargen_delete_recap_entry",
      "chargen_edit_3d_animate",
      "chargen_edit_3d_cleanup",
      "chargen_edit_3d_rig",
      "chargen_edit_3d_split",
      "chargen_edit_3d_uv",
      "chargen_edit_image_change_subject",
      "chargen_edit_image_colorize",
      "chargen_edit_image_deblur",
      "chargen_edit_image_denoise",
      "chargen_edit_image_detail_fix",
      "chargen_edit_image_face_restore",
      "chargen_edit_image_prompt_edit",
      "chargen_edit_image_remove_background",
      "chargen_edit_image_replace_background",
      "chargen_edit_image_restore",
      "chargen_edit_image_sharpen",
      "chargen_edit_image_upscale",
      "chargen_edit_recap_entry",
      "chargen_generate_3d_model",
      "chargen_generate_background_audio",
      "chargen_generate_building",
      "chargen_generate_character",
      "chargen_generate_character_sprites",
      "chargen_generate_characterclass",
      "chargen_generate_dungeon",
      "chargen_generate_encounter",
      "chargen_generate_faction",
      "chargen_generate_hazard",
      "chargen_generate_image",
      "chargen_generate_image_to_video",
      "chargen_generate_loot",
      "chargen_generate_magicitem",
      "chargen_generate_monster",
      "chargen_generate_motion_transfer",
      "chargen_generate_music",
      "chargen_generate_npc",
      "chargen_generate_pantheon",
      "chargen_generate_poetry",
      "chargen_generate_portrait_audio",
      "chargen_generate_portrait_tts",
      "chargen_generate_puzzle",
      "chargen_generate_quest",
      "chargen_generate_reference_to_video",
      "chargen_generate_region",
      "chargen_generate_settlement",
      "chargen_generate_ship",
      "chargen_generate_shop",
      "chargen_generate_species",
      "chargen_generate_spellbook",
      "chargen_generate_sprite_effect",
      "chargen_generate_sprite_item",
      "chargen_generate_tavern",
      "chargen_generate_text_to_video",
      "chargen_generate_tts",
      "chargen_generate_video_edit",
      "chargen_generate_video_to_audio",
      "chargen_generate_video_to_video",
      "chargen_generate_world",
      "chargen_get_campaign",
      "chargen_get_collection",
      "chargen_get_entity",
      "chargen_get_generation",
      "chargen_get_job",
      "chargen_get_party",
      "chargen_get_pricing",
      "chargen_get_quest",
      "chargen_get_recipe_3d_cartoon_diorama",
      "chargen_get_recipe_anime_style",
      "chargen_get_recipe_art_style_transfer",
      "chargen_get_recipe_box_model",
      "chargen_get_recipe_character_production_pack",
      "chargen_get_recipe_character_progression_pack",
      "chargen_get_recipe_character_reference_sheet",
      "chargen_get_recipe_character_variants",
      "chargen_get_recipe_claymation",
      "chargen_get_recipe_creature_reference_pack",
      "chargen_get_recipe_faction_heraldry_kit",
      "chargen_get_recipe_fantasy_bestiary_page",
      "chargen_get_recipe_location_variants",
      "chargen_get_recipe_magic_item_showcase",
      "chargen_get_recipe_monster_variant_sheet",
      "chargen_get_recipe_photo_to_dnd_character",
      "chargen_get_recipe_plushie",
      "chargen_get_recipe_product_photography",
      "chargen_get_recipe_rpg_character_asset_pack",
      "chargen_get_recipe_rpg_sprite_sheet",
      "chargen_get_recipe_sketch_to_battlemap",
      "chargen_get_recipe_sketch_to_image",
      "chargen_get_recipe_storybook_animation",
      "chargen_get_recipe_tarot_card"
    ],
    "declared": {
      "tools": [
        {
          "name": "chargen_add_collection_item",
          "title": "File item in folder",
          "description": "File an item into a folder. target_id is the thing being filed (a generation id by default; set item_type for CAMPAIGN_ENTITY, DOCUMENT, SESSION, IMAGE or VIDEO_PROJECT). When filing CAMPAIGN_ENTITY, DOCUMENT, SESSION or VIDEO_PROJECT into a codex folder that a campaign references, campaign_id is REQUIRED - the item lands in that campaign's overlay, not the codex itself. IMAGE items can only be filed into campaign workspace folders and Atlas places (folders with place=true), never other codex folders, and only your own pictures: another member's picture, public or not, is not_found. Filing the same target twice updates the existing row: an omitted note clears it, an omitted pinned value unpins it, and an omitted sort_order keeps the current position.",
          "inputSchema": {
            "type": "object",
            "required": [
              "collection_id",
              "target_id"
            ],
            "properties": {
              "note": {
                "type": "string",
                "description": "Optional note on the filed item"
              },
              "pinned": {
                "type": "boolean",
                "description": "Pin the item to the top of the folder"
              },
              "item_type": {
                "enum": [
                  "GENERATION_ENTITY",
                  "CAMPAIGN_ENTITY",
                  "DOCUMENT",
                  "SESSION",
                  "IMAGE",
                  "VIDEO_PROJECT",
                  "CHARACTER_REFERENCE"
                ],
                "type": "string",
                "description": "Type of target_id (default GENERATION_ENTITY)"
              },
              "target_id": {
                "type": "string",
                "description": "UUID of the item to file (generation, campaign entity, document, session, image or completed film)"
              },
              "sort_order": {
                "type": "integer",
                "description": "Optional sort position within the folder (lower sorts first)"
              },
              "campaign_id": {
                "type": "string",
                "description": "Required when filing CAMPAIGN_ENTITY/DOCUMENT/SESSION/VIDEO_PROJECT into a codex folder the campaign references (routes into that campaign's overlay)"
              },
              "collection_id": {
                "type": "string",
                "description": "Folder UUID"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "File item in folder",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "chargen_apply_find_replace",
          "title": "Replace session text",
          "description": "Replace text in one owned session. First inspect chargen_preview_find_replace and obtain user approval; confirm must be true. Optional merge_id records the rename with chargen_merge_entities so undoing that merge also reverses the rename.",
          "inputSchema": {
            "type": "object",
            "required": [
              "session_id",
              "find",
              "confirm"
            ],
            "properties": {
              "find": {
                "type": "string",
                "description": "Text to find"
              },
              "confirm": {
                "type": "boolean",
                "description": "Must be true to apply"
              },
              "replace": {
                "type": "string",
                "description": "Replacement text (apply only)"
              },
              "merge_id": {
                "type": "string",
                "description": "Optional merge UUID from chargen_merge_entities - links this rename to the merge so undoing the merge also reverses it"
              },
              "session_id": {
                "type": "string",
                "description": "Session UUID (required for apply)"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Replace session text",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "chargen_attach_image",
          "title": "Attach image to campaign entity",
          "description": "Attach one of the user's existing gallery images to a tracked world-graph entity in a campaign, so it shows on that entity. image_id comes from chargen_search_gallery or chargen_get_generation. Re-attaching the same image updates only its title and caption (omitting them clears them); its position on the entity is kept. Free.",
          "inputSchema": {
            "type": "object",
            "required": [
              "campaign_id",
              "entity_id",
              "image_id"
            ],
            "properties": {
              "title": {
                "type": "string",
                "description": "Optional title shown with the image on the entity"
              },
              "caption": {
                "type": "string",
                "description": "Optional caption shown with the image on the entity"
              },
              "image_id": {
                "type": "string",
                "description": "UUID of one of the user's own gallery images (not a video or audio item)"
              },
              "entity_id": {
                "type": "string",
                "description": "UUID of a tracked world-graph entity in that campaign (chargen_list_entities)"
              },
              "campaign_id": {
                "type": "string",
                "description": "Campaign UUID"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Attach image to campaign entity",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "chargen_create_collection",
          "title": "Create folder",
          "description": "Create a folder in the World Codex (omit campaign_id) or a campaign workspace (campaign_id set). Free accounts can keep up to 3 folders in total across the World Codex and campaign workspaces; paid plans have no folder limit.",
          "inputSchema": {
            "type": "object",
            "required": [
              "name"
            ],
            "properties": {
              "name": {
                "type": "string",
                "description": "Folder name"
              },
              "campaign_id": {
                "type": "string",
                "description": "Campaign UUID for a workspace folder; omit for the World Codex"
              },
              "description": {
                "type": "string",
                "description": "Optional description"
              },
              "display_order": {
                "type": "integer",
                "description": "Optional sort position among siblings (lower sorts first)"
              },
              "parent_collection_id": {
                "type": "string",
                "description": "Optional parent folder UUID (nest inside it)"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Create folder",
            "readOnlyHint": false,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_create_hook",
          "title": "Create plot hook",
          "description": "Add a plot hook to a campaign with a title and optional description.",
          "inputSchema": {
            "type": "object",
            "required": [
              "campaign_id",
              "title"
            ],
            "properties": {
              "title": {
                "type": "string",
                "description": "Hook title"
              },
              "campaign_id": {
                "type": "string",
                "description": "Campaign UUID"
              },
              "description": {
                "type": "string",
                "description": "Optional description"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Create plot hook",
            "readOnlyHint": false,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_create_quest",
          "title": "Create quest",
          "description": "Create a quest in a campaign's quest tracker with a title and optional category, status, quest giver, objectives, conditions, rewards and next actions.",
          "inputSchema": {
            "type": "object",
            "required": [
              "campaign_id",
              "title"
            ],
            "properties": {
              "title": {
                "type": "string",
                "description": "Quest title"
              },
              "status": {
                "enum": [
                  "ACTIVE",
                  "IN_PROGRESS",
                  "COMPLETED",
                  "FAILED",
                  "ABANDONED"
                ],
                "type": "string",
                "description": "Quest status (default ACTIVE)"
              },
              "rewards": {
                "type": "string",
                "description": "Rewards"
              },
              "category": {
                "enum": [
                  "MAIN",
                  "SIDE"
                ],
                "type": "string",
                "description": "Quest category (default SIDE)"
              },
              "objectives": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Objective texts, in order"
              },
              "campaign_id": {
                "type": "string",
                "description": "Campaign UUID"
              },
              "next_actions": {
                "type": "string",
                "description": "What the party should do next"
              },
              "quest_giver_name": {
                "type": "string",
                "description": "Who gives the quest"
              },
              "failure_conditions": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "What counts as failure"
              },
              "success_conditions": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "What counts as success"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Create quest",
            "readOnlyHint": false,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_create_session_log",
          "title": "Create a session log",
          "description": "Create a session from a DM-approved prose summary (200 to 20000 characters), free at Standard quality on any paid plan. Obtain approval of the summary, then set confirm=true. Processing creates a recap, entities, timeline, hooks and quest updates in the background, with no transcript or speaker features.",
          "inputSchema": {
            "type": "object",
            "required": [
              "campaign_id",
              "summary",
              "confirm"
            ],
            "properties": {
              "name": {
                "type": "string",
                "description": "Session title"
              },
              "notes": {
                "type": "string",
                "description": "DM prep notes (extraction context, not part of the summary)"
              },
              "confirm": {
                "type": "boolean",
                "description": "Must be true to apply"
              },
              "summary": {
                "type": "string",
                "description": "DM-approved prose summary of the session, 200 to 20000 characters. Name the NPCs, places and items that mattered."
              },
              "campaign_id": {
                "type": "string",
                "description": "Campaign UUID"
              },
              "recorded_at": {
                "type": "string",
                "description": "When the session was played, ISO date (YYYY-MM-DD). Omit for now."
              },
              "session_number": {
                "type": "integer",
                "description": "Session number to backfill. Omit to append after the latest session."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Create a session log",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_dedupe_candidates",
          "title": "Merge duplicate candidates",
          "description": "Auto-merge duplicate CANDIDATE entities in a campaign that share the same normalized name and type, keeping the best-evidenced one. Never touches TRACKED or pinned entities - merge those explicitly with chargen_merge_entities. It also returns merge_suggestions: an NPC record and a Monster record with the same name (often one villain who was talked to in one session and fought in the next). These are NOT merged. To merge one, ask the DM which record to keep and call chargen_merge_entities with that record as target_entity_id; the target keeps its type and the merge can be undone. This connector cannot dismiss a suggestion: the DM keeps the two records separate on the web Review page, and until then the pair is listed again.",
          "inputSchema": {
            "type": "object",
            "required": [
              "campaign_id"
            ],
            "properties": {
              "campaign_id": {
                "type": "string",
                "description": "Campaign UUID"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Merge duplicate candidates",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "chargen_delete_collection",
          "title": "Delete folder",
          "description": "Delete a folder (and its subfolders/filed rows). Only ORGANISATION is deleted - the generations, entities, sessions and images filed inside are never touched. To unlink a codex folder from a campaign workspace without deleting it, pass the grafted root's ref_row_id; deleting the codex original also removes every campaign reference to it. An Atlas place (place=true) is different: its sub-places, folders and filed things move up to its parent place, and a place a campaign links to directly cannot be deleted until that link is removed.",
          "inputSchema": {
            "type": "object",
            "required": [
              "collection_id"
            ],
            "properties": {
              "collection_id": {
                "type": "string",
                "description": "Collection UUID (a folder id or a grafted root's ref_row_id)"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Delete folder",
            "readOnlyHint": false,
            "openWorldHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "chargen_delete_recap_entry",
          "title": "Delete recap entry",
          "description": "Remove one NPC, monster, location, spell or action from an owned session recap. Get entry ids from chargen_get_session_recap. Items and factions cannot be deleted. To correct fields instead use chargen_edit_recap_entry.",
          "inputSchema": {
            "type": "object",
            "required": [
              "entry_type",
              "entry_id"
            ],
            "properties": {
              "entry_id": {
                "type": "string",
                "description": "Entry UUID from chargen_get_session_recap"
              },
              "entry_type": {
                "enum": [
                  "npc",
                  "monster",
                  "location",
                  "spell",
                  "action"
                ],
                "type": "string",
                "description": "Kind of recap entry to remove"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Delete recap entry",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "chargen_edit_3d_animate",
          "title": "Animate 3D model",
          "description": "Start a job to rig and animate one of the user's 3D models with Tripo Animate (the rig is included): 1 to 5 moves, one named clip each in one file. Price by the number of moves: 1 move 50 Gold, 2 moves 65, 3 moves 75, 4 moves 90, 5 moves 105. First call chargen_quote_3d_animate, confirm the price with the user, then supply its quote_token with identical inputs. Spends the quoted Gold; returns request_id to poll with chargen_get_job, which gives the model file (media_url, model_format) when it is done. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.",
          "inputSchema": {
            "type": "object",
            "required": [
              "model_id",
              "quote_token"
            ],
            "properties": {
              "moves": {
                "type": "array",
                "items": {
                  "enum": [
                    "idle",
                    "walk",
                    "run",
                    "dive",
                    "climb",
                    "jump",
                    "slash",
                    "shoot",
                    "hurt",
                    "fall",
                    "turn",
                    "quadruped:walk",
                    "hexapod:walk",
                    "octopod:walk",
                    "serpentine:march",
                    "aquatic:march"
                  ],
                  "type": "string"
                },
                "maxItems": 5,
                "minItems": 1,
                "description": "1 to 5 moves, one clip each (default walk). Each move adds to the price."
              },
              "in_place": {
                "type": "boolean",
                "description": "Keep the model in place instead of moving forward (default false)."
              },
              "model_id": {
                "type": "string",
                "format": "uuid",
                "description": "A 3D model from the user's own gallery: an image_id from chargen_search_gallery with media_type model_3d, or a finished 3D job's image_id."
              },
              "rig_type": {
                "enum": [
                  "auto",
                  "biped",
                  "quadruped",
                  "hexapod",
                  "octopod",
                  "avian",
                  "serpentine",
                  "aquatic",
                  "others"
                ],
                "type": "string",
                "description": "Body type of the skeleton (default auto)."
              },
              "bone_names": {
                "enum": [
                  "tripo",
                  "mixamo",
                  "actorcore",
                  "unity",
                  "unreal",
                  "vrm"
                ],
                "type": "string",
                "description": "Bone naming standard, for the engine the model goes to (default tripo)."
              },
              "file_format": {
                "enum": [
                  "glb",
                  "fbx"
                ],
                "type": "string",
                "description": "File type of the result (default glb). Tripo can return FBX even when glb is asked for."
              },
              "quote_token": {
                "type": "string",
                "description": "Approved quote_token from chargen_quote_3d_animate. Use the same inputs; changed inputs or prices fail without charging."
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Animate 3D model",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "chargen_edit_3d_cleanup",
          "title": "Clean up 3D model",
          "description": "Start a job to clean up one of the user's 3D models with Tripo Retopology: fewer, tidier faces, with an optional face target, quads, and UVs in the same pass (uv_in_same_pass). Price by version: v3.0 50 Gold (default), 55 Gold with quads, v2.0 45 Gold, v1.0 15 Gold. First call chargen_quote_3d_cleanup, confirm the price with the user, then supply its quote_token with identical inputs. Spends the quoted Gold; returns request_id to poll with chargen_get_job, which gives the model file (media_url, model_format) when it is done. The result is an FBX file, so a later split by name (GLB only) cannot use it. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.",
          "inputSchema": {
            "type": "object",
            "required": [
              "model_id",
              "quote_token"
            ],
            "properties": {
              "quads": {
                "type": "boolean",
                "description": "Quad faces instead of triangles (default false). Costs 5 Gold more on v3.0."
              },
              "version": {
                "enum": [
                  "v3.0",
                  "v2.0",
                  "v1.0"
                ],
                "type": "string",
                "description": "Tripo Retopology version (default v3.0)."
              },
              "model_id": {
                "type": "string",
                "format": "uuid",
                "description": "A 3D model from the user's own gallery: an image_id from chargen_search_gallery with media_type model_3d, or a finished 3D job's image_id."
              },
              "face_limit": {
                "type": "integer",
                "maximum": 200000,
                "minimum": 100,
                "description": "Target number of faces, from 100 to 200000."
              },
              "quote_token": {
                "type": "string",
                "description": "Approved quote_token from chargen_quote_3d_cleanup. Use the same inputs; changed inputs or prices fail without charging."
              },
              "keep_textures": {
                "type": "boolean",
                "description": "Keep the textures on the result (default true). Free."
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings."
              },
              "uv_in_same_pass": {
                "type": "boolean",
                "description": "Also unwrap UVs in the same pass (version v3.0 only). Free."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Clean up 3D model",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "chargen_edit_3d_rig",
          "title": "Rig 3D model",
          "description": "Start a job to add a skeleton to one of the user's 3D models with Tripo Rig. Price: 35 Gold. First call chargen_quote_3d_rig, confirm the price with the user, then supply its quote_token with identical inputs. Spends the quoted Gold; returns request_id to poll with chargen_get_job, which gives the model file (media_url, model_format) when it is done. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.",
          "inputSchema": {
            "type": "object",
            "required": [
              "model_id",
              "quote_token"
            ],
            "properties": {
              "model_id": {
                "type": "string",
                "format": "uuid",
                "description": "A 3D model from the user's own gallery: an image_id from chargen_search_gallery with media_type model_3d, or a finished 3D job's image_id."
              },
              "rig_type": {
                "enum": [
                  "auto",
                  "biped",
                  "quadruped",
                  "hexapod",
                  "octopod",
                  "avian",
                  "serpentine",
                  "aquatic",
                  "others"
                ],
                "type": "string",
                "description": "Body type of the skeleton (default auto)."
              },
              "bone_names": {
                "enum": [
                  "tripo",
                  "mixamo",
                  "actorcore",
                  "unity",
                  "unreal",
                  "vrm"
                ],
                "type": "string",
                "description": "Bone naming standard, for the engine the model goes to (default tripo)."
              },
              "file_format": {
                "enum": [
                  "glb",
                  "fbx"
                ],
                "type": "string",
                "description": "File type of the result (default glb). Tripo can return FBX even when glb is asked for."
              },
              "quote_token": {
                "type": "string",
                "description": "Approved quote_token from chargen_quote_3d_rig. Use the same inputs; changed inputs or prices fail without charging."
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Rig 3D model",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "chargen_edit_3d_split",
          "title": "Split 3D model",
          "description": "Start a job to split one of the user's 3D models into parts or fill its hidden surfaces: method shape (Tripo Segment), name (Tripo Smart Segment, GLB models only, optional hint), fill (Tripo Mesh Complete fills hidden surfaces) or seal (Tripo Mesh Complete closes the holes quickly). Parts have generic names. Price by method: shape 55 Gold, name 75 Gold, fill 125 Gold, seal 95 Gold. First call chargen_quote_3d_split, confirm the price with the user, then supply its quote_token with identical inputs. Spends the quoted Gold; returns request_id to poll with chargen_get_job, which gives the model file (media_url, model_format) when it is done. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.",
          "inputSchema": {
            "type": "object",
            "required": [
              "model_id",
              "method",
              "quote_token"
            ],
            "properties": {
              "hint": {
                "type": "string",
                "maxLength": 500,
                "description": "name only: optional guidance for the parts, for example \"sword, shield, helmet\"."
              },
              "method": {
                "enum": [
                  "shape",
                  "name",
                  "fill",
                  "seal"
                ],
                "type": "string",
                "description": "shape: split by shape (Tripo Segment). name: split into named kinds of part (Tripo Smart Segment, GLB models only). fill: fill hidden surfaces (Tripo Mesh Complete). seal: close the holes quickly (Tripo Mesh Complete quick cap)."
              },
              "model_id": {
                "type": "string",
                "format": "uuid",
                "description": "A 3D model from the user's own gallery: an image_id from chargen_search_gallery with media_type model_3d, or a finished 3D job's image_id."
              },
              "granularity": {
                "enum": [
                  "balanced",
                  "simple",
                  "detailed"
                ],
                "type": "string",
                "description": "shape with segment_version v2.0 only: how finely to split (default balanced)."
              },
              "quote_token": {
                "type": "string",
                "description": "Approved quote_token from chargen_quote_3d_split. Use the same inputs; changed inputs or prices fail without charging."
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings."
              },
              "segment_version": {
                "enum": [
                  "v1.0",
                  "v2.0"
                ],
                "type": "string",
                "description": "shape, fill and seal: the segmentation version (default v1.0)."
              },
              "part_granularity": {
                "enum": [
                  "medium",
                  "coarse",
                  "fine"
                ],
                "type": "string",
                "description": "name only: how finely to split (default medium)."
              },
              "split_by_connectivity": {
                "type": "boolean",
                "description": "shape with segment_version v2.0 only: also split pieces that do not touch."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Split 3D model",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "chargen_edit_3d_uv",
          "title": "Unwrap 3D model UVs",
          "description": "Start a job to unwrap the UVs of one of the user's 3D models with Tripo Smart UV. Tripo Smart UV refuses a model with more than 80,000 triangles, so clean up a raw generated model first (chargen_edit_3d_cleanup can unwrap UVs in the same pass). Price: 30 Gold. First call chargen_quote_3d_uv, confirm the price with the user, then supply its quote_token with identical inputs. Spends the quoted Gold; returns request_id to poll with chargen_get_job, which gives the model file (media_url, model_format) when it is done. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.",
          "inputSchema": {
            "type": "object",
            "required": [
              "model_id",
              "quote_token"
            ],
            "properties": {
              "model_id": {
                "type": "string",
                "format": "uuid",
                "description": "A 3D model from the user's own gallery: an image_id from chargen_search_gallery with media_type model_3d, or a finished 3D job's image_id."
              },
              "quote_token": {
                "type": "string",
                "description": "Approved quote_token from chargen_quote_3d_uv. Use the same inputs; changed inputs or prices fail without charging."
              },
              "keep_textures": {
                "type": "boolean",
                "description": "Keep the textures on the result (default true). Free."
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Unwrap 3D model UVs",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "chargen_edit_image_change_subject",
          "title": "Start change subject",
          "description": "Start a job to transform an owned image's subject. First call chargen_quote_image_change_subject, confirm the price with the user, then supply its quote_token with identical inputs. Spends the quoted Gold; returns request_id to poll with chargen_get_job. Only the declared settings are supported. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.",
          "inputSchema": {
            "type": "object",
            "required": [
              "image_id",
              "instruction",
              "quote_token"
            ],
            "properties": {
              "image_id": {
                "type": "string",
                "format": "uuid",
                "description": "Owned still image UUID from chargen_search_gallery. Creates a new image."
              },
              "instruction": {
                "type": "string",
                "description": "Describe only the change to make, and what to keep the same."
              },
              "quote_token": {
                "type": "string",
                "description": "Approved quote_token from chargen_quote_image_change_subject. Use the same inputs; changed inputs or prices fail without charging."
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Start change subject",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "chargen_edit_image_colorize",
          "title": "Start colorize",
          "description": "Start a job to colorize an owned image. First call chargen_quote_image_colorize, confirm the price with the user, then supply its quote_token with identical inputs. Spends the quoted Gold; returns request_id to poll with chargen_get_job. Only the declared settings are supported. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.",
          "inputSchema": {
            "type": "object",
            "required": [
              "image_id",
              "quote_token"
            ],
            "properties": {
              "quality": {
                "enum": [
                  "low",
                  "medium",
                  "high"
                ],
                "type": "string",
                "description": "Quality, where supported; higher quality can cost more."
              },
              "image_id": {
                "type": "string",
                "format": "uuid",
                "description": "Owned still image UUID from chargen_search_gallery. Creates a new image."
              },
              "quote_token": {
                "type": "string",
                "description": "Approved quote_token from chargen_quote_image_colorize. Use the same inputs; changed inputs or prices fail without charging."
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Start colorize",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "chargen_edit_image_deblur",
          "title": "Start deblur",
          "description": "Start a job to reduce blur in an owned image. First call chargen_quote_image_deblur, confirm the price with the user, then supply its quote_token with identical inputs. Spends the quoted Gold; returns request_id to poll with chargen_get_job. Only the declared settings are supported. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.",
          "inputSchema": {
            "type": "object",
            "required": [
              "image_id",
              "quote_token"
            ],
            "properties": {
              "image_id": {
                "type": "string",
                "format": "uuid",
                "description": "Owned still image UUID from chargen_search_gallery. Creates a new image."
              },
              "quote_token": {
                "type": "string",
                "description": "Approved quote_token from chargen_quote_image_deblur. Use the same inputs; changed inputs or prices fail without charging."
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Start deblur",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "chargen_edit_image_denoise",
          "title": "Start denoise",
          "description": "Start a job to remove noise from an owned image. First call chargen_quote_image_denoise, confirm the price with the user, then supply its quote_token with identical inputs. Spends the quoted Gold; returns request_id to poll with chargen_get_job. Only the declared settings are supported. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.",
          "inputSchema": {
            "type": "object",
            "required": [
              "image_id",
              "quote_token"
            ],
            "properties": {
              "image_id": {
                "type": "string",
                "format": "uuid",
                "description": "Owned still image UUID from chargen_search_gallery. Creates a new image."
              },
              "quote_token": {
                "type": "string",
                "description": "Approved quote_token from chargen_quote_image_denoise. Use the same inputs; changed inputs or prices fail without charging."
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Start denoise",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "chargen_edit_image_detail_fix",
          "title": "Start detail fix",
          "description": "Start a job to repair details in an owned image. First call chargen_quote_image_detail_fix, confirm the price with the user, then supply its quote_token with identical inputs. Spends the quoted Gold; returns request_id to poll with chargen_get_job. Only the declared settings are supported. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.",
          "inputSchema": {
            "type": "object",
            "required": [
              "image_id",
              "quote_token"
            ],
            "properties": {
              "model": {
                "type": "string",
                "description": "Optional model for this edit; omitted uses the default."
              },
              "image_id": {
                "type": "string",
                "format": "uuid",
                "description": "Owned still image UUID from chargen_search_gallery. Creates a new image."
              },
              "quote_token": {
                "type": "string",
                "description": "Approved quote_token from chargen_quote_image_detail_fix. Use the same inputs; changed inputs or prices fail without charging."
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Start detail fix",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "chargen_edit_image_face_restore",
          "title": "Start face restore",
          "description": "Start a job to restore faces in an owned image. First call chargen_quote_image_face_restore, confirm the price with the user, then supply its quote_token with identical inputs. Spends the quoted Gold; returns request_id to poll with chargen_get_job. Only the declared settings are supported. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.",
          "inputSchema": {
            "type": "object",
            "required": [
              "image_id",
              "quote_token"
            ],
            "properties": {
              "image_id": {
                "type": "string",
                "format": "uuid",
                "description": "Owned still image UUID from chargen_search_gallery. Creates a new image."
              },
              "quote_token": {
                "type": "string",
                "description": "Approved quote_token from chargen_quote_image_face_restore. Use the same inputs; changed inputs or prices fail without charging."
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Start face restore",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "chargen_edit_image_prompt_edit",
          "title": "Start prompt edit",
          "description": "Start a job to edit an owned image using a text instruction. First call chargen_quote_image_prompt_edit, confirm the price with the user, then supply its quote_token with identical inputs. Spends the quoted Gold; returns request_id to poll with chargen_get_job. Only the declared settings are supported. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.",
          "inputSchema": {
            "type": "object",
            "required": [
              "image_id",
              "instruction",
              "quote_token"
            ],
            "properties": {
              "model": {
                "type": "string",
                "description": "Optional model for this edit; omitted uses the default."
              },
              "quality": {
                "enum": [
                  "low",
                  "medium",
                  "high"
                ],
                "type": "string",
                "description": "Quality, where supported; higher quality can cost more."
              },
              "image_id": {
                "type": "string",
                "format": "uuid",
                "description": "Owned still image UUID from chargen_search_gallery. Creates a new image."
              },
              "instruction": {
                "type": "string",
                "description": "Describe only the change to make, and what to keep the same."
              },
              "quote_token": {
                "type": "string",
                "description": "Approved quote_token from chargen_quote_image_prompt_edit. Use the same inputs; changed inputs or prices fail without charging."
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Start prompt edit",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "chargen_edit_image_remove_background",
          "title": "Start remove background",
          "description": "Start a job to remove an owned image's background. First call chargen_quote_image_remove_background, confirm the price with the user, then supply its quote_token with identical inputs. Spends the quoted Gold; returns request_id to poll with chargen_get_job. Only the declared settings are supported. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.",
          "inputSchema": {
            "type": "object",
            "required": [
              "image_id",
              "quote_token"
            ],
            "properties": {
              "model": {
                "type": "string",
                "description": "Optional model for this edit; omitted uses the default."
              },
              "image_id": {
                "type": "string",
                "format": "uuid",
                "description": "Owned still image UUID from chargen_search_gallery. Creates a new image."
              },
              "quote_token": {
                "type": "string",
                "description": "Approved quote_token from chargen_quote_image_remove_background. Use the same inputs; changed inputs or prices fail without charging."
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Start remove background",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "chargen_edit_image_replace_background",
          "title": "Start replace background",
          "description": "Start a job to replace an owned image's background. First call chargen_quote_image_replace_background, confirm the price with the user, then supply its quote_token with identical inputs. Spends the quoted Gold; returns request_id to poll with chargen_get_job. Only the declared settings are supported. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.",
          "inputSchema": {
            "type": "object",
            "required": [
              "image_id",
              "instruction",
              "quote_token"
            ],
            "properties": {
              "model": {
                "type": "string",
                "description": "Optional model for this edit; omitted uses the default."
              },
              "quality": {
                "enum": [
                  "low",
                  "medium",
                  "high"
                ],
                "type": "string",
                "description": "Quality, where supported; higher quality can cost more."
              },
              "image_id": {
                "type": "string",
                "format": "uuid",
                "description": "Owned still image UUID from chargen_search_gallery. Creates a new image."
              },
              "instruction": {
                "type": "string",
                "description": "Describe only the change to make, and what to keep the same."
              },
              "quote_token": {
                "type": "string",
                "description": "Approved quote_token from chargen_quote_image_replace_background. Use the same inputs; changed inputs or prices fail without charging."
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Start replace background",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "chargen_edit_image_restore",
          "title": "Start restore",
          "description": "Start a job to restore an owned photograph. First call chargen_quote_image_restore, confirm the price with the user, then supply its quote_token with identical inputs. Spends the quoted Gold; returns request_id to poll with chargen_get_job. Only the declared settings are supported. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.",
          "inputSchema": {
            "type": "object",
            "required": [
              "image_id",
              "quote_token"
            ],
            "properties": {
              "quality": {
                "enum": [
                  "low",
                  "medium",
                  "high"
                ],
                "type": "string",
                "description": "Quality, where supported; higher quality can cost more."
              },
              "image_id": {
                "type": "string",
                "format": "uuid",
                "description": "Owned still image UUID from chargen_search_gallery. Creates a new image."
              },
              "quote_token": {
                "type": "string",
                "description": "Approved quote_token from chargen_quote_image_restore. Use the same inputs; changed inputs or prices fail without charging."
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Start restore",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "chargen_edit_image_sharpen",
          "title": "Start sharpen",
          "description": "Start a job to sharpen an owned image. First call chargen_quote_image_sharpen, confirm the price with the user, then supply its quote_token with identical inputs. Spends the quoted Gold; returns request_id to poll with chargen_get_job. Only the declared settings are supported. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.",
          "inputSchema": {
            "type": "object",
            "required": [
              "image_id",
              "quote_token"
            ],
            "properties": {
              "image_id": {
                "type": "string",
                "format": "uuid",
                "description": "Owned still image UUID from chargen_search_gallery. Creates a new image."
              },
              "quote_token": {
                "type": "string",
                "description": "Approved quote_token from chargen_quote_image_sharpen. Use the same inputs; changed inputs or prices fail without charging."
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Start sharpen",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "chargen_edit_image_upscale",
          "title": "Start upscale",
          "description": "Start a job to upscale an owned image. First call chargen_quote_image_upscale, confirm the price with the user, then supply its quote_token with identical inputs. Spends the quoted Gold; returns request_id to poll with chargen_get_job. Only the declared settings are supported. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.",
          "inputSchema": {
            "type": "object",
            "required": [
              "image_id",
              "quote_token"
            ],
            "properties": {
              "model": {
                "type": "string",
                "description": "Optional model for this edit; omitted uses the default. Clarity Upscaler, Recraft Creative or Recraft Clarity."
              },
              "image_id": {
                "type": "string",
                "format": "uuid",
                "description": "Owned still image UUID from chargen_search_gallery. Creates a new image."
              },
              "creativity": {
                "type": "number",
                "maximum": 1,
                "minimum": 0,
                "description": "Clarity Upscaler creativity from 0 to 1."
              },
              "quote_token": {
                "type": "string",
                "description": "Approved quote_token from chargen_quote_image_upscale. Use the same inputs; changed inputs or prices fail without charging."
              },
              "upscale_factor": {
                "enum": [
                  "1.5",
                  "2",
                  "3",
                  "4"
                ],
                "type": "string",
                "description": "Clarity Upscaler scale factor; default 2."
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Start upscale",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "chargen_edit_recap_entry",
          "title": "Edit session recap entry",
          "description": "Correct one NPC, monster, location, spell, item, faction or action in an owned session recap. Get entry ids from chargen_get_session_recap. Omitted or null fields preserve values. For actions, summary edits the prose and interaction_links replaces the complete list; [] clears interactions. Actor identity is read-only. To remove an entry use chargen_delete_recap_entry. For transcript renames use chargen_preview_find_replace.",
          "inputSchema": {
            "type": "object",
            "required": [
              "entry_type",
              "entry_id"
            ],
            "properties": {
              "name": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "New name for the entry"
              },
              "role": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "New role (npc / monster only)"
              },
              "summary": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Action summary only; empty clears, omitted/null preserves"
              },
              "category": {
                "enum": [
                  "weapon",
                  "armor",
                  "wondrous",
                  "artifact",
                  "consumable",
                  "key",
                  "treasure",
                  "unknown",
                  null
                ],
                "type": [
                  "string",
                  "null"
                ],
                "description": "New category (item only)"
              },
              "entry_id": {
                "type": "string",
                "description": "Entry UUID from chargen_get_session_recap"
              },
              "alignment": {
                "enum": [
                  "ally",
                  "enemy",
                  "neutral",
                  "rival",
                  "unknown",
                  null
                ],
                "type": [
                  "string",
                  "null"
                ],
                "description": "New alignment (faction only)"
              },
              "entry_type": {
                "enum": [
                  "npc",
                  "monster",
                  "location",
                  "spell",
                  "item",
                  "faction",
                  "action"
                ],
                "type": "string",
                "description": "Kind of recap entry"
              },
              "description": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "New description"
              },
              "location_type": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "New location type (location only)"
              },
              "interaction_links": {
                "type": [
                  "array",
                  "null"
                ],
                "items": {
                  "type": "object",
                  "required": [
                    "display_text"
                  ],
                  "properties": {
                    "npc_ids": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "description": "Entry UUIDs from this same recap"
                    },
                    "monster_ids": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "description": "Entry UUIDs from this same recap"
                    },
                    "display_text": {
                      "type": "string",
                      "description": "Interaction text"
                    },
                    "location_ids": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "description": "Entry UUIDs from this same recap"
                    }
                  },
                  "additionalProperties": false
                },
                "description": "Action only: complete desired interaction list; [] clears, omitted/null preserves"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Edit session recap entry",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "chargen_generate_3d_model",
          "title": "Create 3D model",
          "description": "Start a job to make a 3D model from one of the user's own pictures (image_id) or from a description (prompt), with Meshy6, Meshy V7, Meshy V7.1, Rodin v2.5, Trellis 2, Tripo P2, Tripo Parts. Tripo Parts makes a model in separate parts from a picture. Prices depend on the model and its options: Tripo Parts 115 Gold, Tripo P2 115 to 150 Gold; chargen_list_media_models with kind model_3d lists every model's price and options. First call chargen_quote_3d_model, confirm the price with the user, then supply its quote_token with identical inputs. Spends the quoted Gold; returns request_id to poll with chargen_get_job, which gives the model file (media_url, model_format) when it is done. Improve the result with the 3D tools, for example chargen_quote_3d_cleanup. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.",
          "inputSchema": {
            "type": "object",
            "required": [
              "model",
              "quote_token"
            ],
            "properties": {
              "hint": {
                "type": "string",
                "maxLength": 500,
                "description": "Tripo Parts only: optional guidance for how to split the parts."
              },
              "model": {
                "enum": [
                  "Meshy6",
                  "Meshy V7",
                  "Meshy V7.1",
                  "Rodin v2.5",
                  "Trellis 2",
                  "Tripo P2",
                  "Tripo Parts"
                ],
                "type": "string",
                "description": "The 3D model to create with."
              },
              "prompt": {
                "type": "string",
                "description": "A description of the model, for a model that makes models from text. Leave it out when image_id is given."
              },
              "options": {
                "type": "object",
                "description": "Optional model settings by their exact key, for example {\"Texture Quality\": \"detailed\"} for Tripo P2. chargen_list_media_models with kind model_3d lists each model's keys and values; any other key is refused."
              },
              "image_id": {
                "type": "string",
                "format": "uuid",
                "description": "One of the user's own still pictures (from chargen_search_gallery) to make the model from. Give image_id or prompt, not both. Required for Meshy V7, Trellis 2 and Tripo Parts."
              },
              "quote_token": {
                "type": "string",
                "description": "Approved quote_token from chargen_quote_3d_model. Use the same inputs; changed inputs or prices fail without charging."
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Create 3D model",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "chargen_generate_background_audio",
          "title": "Start background audio",
          "description": "Start a job to create sound effects or an ambient audio bed. First call chargen_quote_background_audio, confirm the price with the user, then supply its quote_token with identical inputs. Spends the quoted Gold; returns request_id to poll with chargen_get_job. Only the declared settings are supported. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.",
          "inputSchema": {
            "type": "object",
            "required": [
              "model",
              "prompt",
              "quote_token"
            ],
            "properties": {
              "model": {
                "type": "string",
                "description": "Enabled audio model supporting background-audio; chargen_list_media_models can help choose a model. This never changes the operation."
              },
              "prompt": {
                "type": "string",
                "description": "The sounds to hear. chargen_list_media_models with this mode says how to phrase it for each model (prompt_styles); nothing improves the wording on the way to the model."
              },
              "quote_token": {
                "type": "string",
                "description": "Approved quote_token from chargen_quote_background_audio. Use the same inputs; changed inputs or prices fail without charging."
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings."
              },
              "negative_prompt": {
                "type": "string",
                "maxLength": 4000,
                "description": "Things to keep out of the result, as a short list. Only some models take one: chargen_list_media_models shows negative_prompt in that model's settings, and any other model refuses this argument."
              },
              "duration_seconds": {
                "type": "integer",
                "minimum": 1,
                "description": "Audio duration in seconds, where supported."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Start background audio",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "chargen_generate_building",
          "title": "Generate building",
          "description": "Generate a D&D building using the declared prompt and optional structured fields. Entity text is free on every user plan, including Free. Portraits use the account's art preset: the default is free; a paid preset charges its Gold price, shown as portrait_gold, or falls back to the free default if unaffordable. Partner keys are billed from their wallet. Returns a job_id immediately; poll chargen_get_job for the entity_id and page_url. Pass collection_id to file it into your folder. Generated entries are public by default; change visibility in CharGen.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "size": {
                "type": "string",
                "description": "text"
              },
              "prompt": {
                "type": "string",
                "description": "Freeform description guiding this generation."
              },
              "gameMode": {
                "type": "string",
                "description": "text"
              },
              "condition": {
                "type": "string",
                "description": "text"
              },
              "partyLevel": {
                "type": "integer",
                "maximum": 20,
                "minimum": 1,
                "description": "integer 1-20"
              },
              "buildingType": {
                "type": "string",
                "description": "text"
              },
              "collection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional folder UUID owned by you; user accounts only. The finished entity is filed there on the first completed chargen_get_job poll."
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional partner billing deduplication key. Retries with the same key avoid a second wallet debit, but can start another generation."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Generate building",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_generate_character",
          "title": "Generate character",
          "description": "Generate a D&D character using the declared prompt and optional structured fields. Entity text is free on every user plan, including Free. Portraits use the account's art preset: the default is free; a paid preset charges its Gold price, shown as portrait_gold, or falls back to the free default if unaffordable. Partner keys are billed from their wallet. Returns a job_id immediately; poll chargen_get_job for the entity_id and page_url. Pass collection_id to file it into your folder. Generated entries are public by default; change visibility in CharGen.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string",
                "description": "text"
              },
              "level": {
                "type": "integer",
                "maximum": 20,
                "minimum": 1,
                "description": "integer 1-20"
              },
              "gender": {
                "type": "string",
                "description": "text"
              },
              "prompt": {
                "type": "string",
                "description": "Freeform description guiding this generation."
              },
              "species": {
                "type": "string",
                "description": "text"
              },
              "subclass": {
                "type": "string",
                "description": "text"
              },
              "alignment": {
                "type": "string",
                "description": "text"
              },
              "className": {
                "type": "string",
                "description": "text"
              },
              "background": {
                "type": "string",
                "description": "text"
              },
              "gameSystem": {
                "type": "string",
                "description": "text"
              },
              "classEntityId": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of one of your homebrew CharacterClass generations to base this class on (optional)"
              },
              "collection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional folder UUID owned by you; user accounts only. The finished entity is filed there on the first completed chargen_get_job poll."
              },
              "speciesLineage": {
                "type": "string",
                "description": "Name of one subspecies of that Species, up to 80 characters (optional)"
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional partner billing deduplication key. Retries with the same key avoid a second wallet debit, but can start another generation."
              },
              "speciesEntityId": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of one of your Species generations to use as this character's species (optional, D&D only; send species blank or as its name)"
              },
              "personalityPrompt": {
                "type": "string",
                "description": "text"
              },
              "abilityScoreMethod": {
                "type": "string",
                "description": "text"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Generate character",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_generate_character_sprites",
          "title": "Order character sprites",
          "description": "Order animated pixel sprites of a character from one of the user's own still pictures (source_image_id from chargen_search_gallery). An order can have up to 10 portrait moves (preset or in the user's own words), the walk in 8 directions (walk_8_directions), and game moves in the facings the user picks (game_moves, at most 24 facings). It needs at least one move. Price: 10 Gold for each portrait or typed move, 80 Gold for the walk in 8 directions (10 for each facing), and 25 Gold for each facing of a game move. All moves of one picture and style are drawn from one base sprite, so they match. While the first order for a picture and style still draws that base, a new order for it fails and charges nothing; order again when the first is done. These are animated moves; for one still sprite sheet image, use chargen_run_recipe_rpg_sprite_sheet. First call chargen_quote_character_sprites, confirm the price with the user, then supply its quote_token with identical inputs. Returns request_id; poll chargen_get_job for each move's animated GIF. A move that fails is refunded. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.",
          "inputSchema": {
            "type": "object",
            "required": [
              "source_image_id",
              "quote_token"
            ],
            "properties": {
              "style": {
                "enum": [
                  "FINE",
                  "CHUNKY"
                ],
                "type": "string",
                "description": "FINE (the default) draws more detail and adds HD files. CHUNKY draws bigger, simpler pixels. Each style of a picture has its own base sprite."
              },
              "title": {
                "type": "string",
                "maxLength": 120,
                "description": "Optional name for these sprites in the user's library."
              },
              "actions": {
                "type": "array",
                "items": {
                  "enum": [
                    "IDLE",
                    "HELLO",
                    "ATTACK",
                    "CAST",
                    "VICTORY",
                    "LAUGH",
                    "DEFEAT",
                    "ANGRY"
                  ],
                  "type": "string",
                  "description": "A preset move."
                },
                "maxItems": 8,
                "description": "Preset portrait moves, each one at most once, 10 Gold each. actions and custom_actions together hold at most 10 moves. An order needs at least one move from actions, custom_actions, walk_8_directions or game_moves."
              },
              "details": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 60,
                  "description": "One detail."
                },
                "maxItems": 6,
                "description": "Optional details the picture does not show, for example \"a captain's rapier\"."
              },
              "game_moves": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "move",
                    "facings"
                  ],
                  "properties": {
                    "move": {
                      "enum": [
                        "idle",
                        "walk",
                        "run",
                        "sprint",
                        "sword",
                        "punch",
                        "cast",
                        "hurt",
                        "death",
                        "jump",
                        "roll"
                      ],
                      "type": "string",
                      "description": "The game move. idle, walk, run and sprint loop; the others play one time, and death stops on its last frame."
                    },
                    "facings": {
                      "type": "array",
                      "items": {
                        "enum": [
                          "S",
                          "SE",
                          "E",
                          "NE",
                          "N",
                          "NW",
                          "W",
                          "SW"
                        ],
                        "type": "string",
                        "description": "A facing."
                      },
                      "maxItems": 8,
                      "minItems": 1,
                      "description": "The facings to make this move in, each one at most once. S faces the viewer (down the screen), N faces away (up the screen), E faces right and W faces left; SE, NE, NW and SW are between them.",
                      "uniqueItems": true
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 11,
                "description": "Game moves, each move at most once, 25 Gold for each facing. At most 24 facings in all. A facing that fails is refunded 25."
              },
              "quote_token": {
                "type": "string",
                "description": "Approved quote_token from chargen_quote_character_sprites. Use the same inputs; changed inputs or prices fail without charging."
              },
              "custom_actions": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 120,
                  "description": "One move."
                },
                "maxItems": 10,
                "description": "Moves in the user's own words, for example \"raises a glass in a toast\"."
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings."
              },
              "source_image_id": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of one of the user's own still pictures, from chargen_search_gallery. The character is drawn from it."
              },
              "walk_8_directions": {
                "type": "boolean",
                "description": "true adds a looping walk in all 8 facings, 80 Gold (10 for each facing). A facing that fails is refunded 10."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Order character sprites",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "chargen_generate_characterclass",
          "title": "Generate character class",
          "description": "Generate a D&D character class using the declared prompt and optional structured fields. Entity text is free on every user plan, including Free. Portraits use the account's art preset: the default is free; a paid preset charges its Gold price, shown as portrait_gold, or falls back to the free default if unaffordable. Partner keys are billed from their wallet. Returns a job_id immediately; poll chargen_get_job for the entity_id and page_url. Pass collection_id to file it into your folder. Generated entries are public by default; change visibility in CharGen.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "role": {
                "type": "string",
                "description": "Playstyle: Martial, Full Caster, Support, ..."
              },
              "prompt": {
                "type": "string",
                "description": "Freeform description guiding this generation."
              },
              "baseClass": {
                "type": "string",
                "description": "Base class name when classType=SUBCLASS"
              },
              "className": {
                "type": "string",
                "description": "Optional name to build around"
              },
              "classType": {
                "enum": [
                  "FULL_CLASS",
                  "SUBCLASS"
                ],
                "type": "string",
                "description": "FULL_CLASS (default) or SUBCLASS"
              },
              "gameSystem": {
                "type": "string",
                "description": "Game system, e.g. 'D&D 5E (2024)', 'Pathfinder 2E'"
              },
              "balanceTarget": {
                "type": "string",
                "description": "Standard, Gritty low-power, or Cinematic high-power"
              },
              "collection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional folder UUID owned by you; user accounts only. The finished entity is filed there on the first completed chargen_get_job poll."
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional partner billing deduplication key. Retries with the same key avoid a second wallet debit, but can start another generation."
              },
              "additionalDetails": {
                "type": "string",
                "description": "Extra constraints or flavor"
              },
              "parentClassEntityId": {
                "type": "string",
                "format": "uuid",
                "description": "Optional UUID of your own homebrew parent class (subclass mode)"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Generate character class",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_generate_dungeon",
          "title": "Generate dungeon",
          "description": "Generate a D&D dungeon using the declared prompt and optional structured fields. Entity text is free on every user plan, including Free. Portraits use the account's art preset: the default is free; a paid preset charges its Gold price, shown as portrait_gold, or falls back to the free default if unaffordable. Partner keys are billed from their wallet. Returns a job_id immediately; poll chargen_get_job for the entity_id and page_url. Pass collection_id to file it into your folder. Generated entries are public by default; change visibility in CharGen.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string",
                "description": "text"
              },
              "seed": {
                "type": "integer",
                "maximum": 2147483647,
                "minimum": -2147483648,
                "description": "integer, reproducible layout"
              },
              "theme": {
                "type": "string",
                "description": "text"
              },
              "prompt": {
                "type": "string",
                "description": "Freeform description guiding this generation."
              },
              "gameType": {
                "type": "string",
                "description": "text"
              },
              "difficulty": {
                "type": "string",
                "description": "text"
              },
              "lootRarity": {
                "type": "string",
                "description": "text"
              },
              "partyLevel": {
                "type": "integer",
                "maximum": 20,
                "minimum": 1,
                "description": "integer 1-20"
              },
              "dungeonSize": {
                "type": "string",
                "description": "text"
              },
              "trapDensity": {
                "type": "string",
                "description": "text"
              },
              "monsterTypes": {
                "type": "string",
                "description": "text"
              },
              "collection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional folder UUID owned by you; user accounts only. The finished entity is filed there on the first completed chargen_get_job poll."
              },
              "numberOfLevels": {
                "type": "integer",
                "maximum": 10,
                "minimum": 1,
                "description": "integer 1-10"
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional partner billing deduplication key. Retries with the same key avoid a second wallet debit, but can start another generation."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Generate dungeon",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_generate_encounter",
          "title": "Generate encounter",
          "description": "Generate a D&D encounter using the declared prompt and optional structured fields. Entity text is free on every user plan, including Free. Portraits use the account's art preset: the default is free; a paid preset charges its Gold price, shown as portrait_gold, or falls back to the free default if unaffordable. Partner keys are billed from their wallet. Returns a job_id immediately; poll chargen_get_job for the entity_id and page_url. Pass collection_id to file it into your folder. Generated entries are public by default; change visibility in CharGen. User accounts only.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "mode": {
                "enum": [
                  "COMBAT",
                  "ROLEPLAY"
                ],
                "type": "string",
                "description": "COMBAT or ROLEPLAY"
              },
              "npcIds": {
                "type": "array",
                "items": {
                  "type": "string",
                  "format": "uuid",
                  "description": "Entity UUID."
                },
                "description": "array of your NPC generation UUIDs"
              },
              "prompt": {
                "type": "string",
                "description": "Freeform description guiding this generation."
              },
              "system": {
                "enum": [
                  "DND5E_2024",
                  "DND5E_2014",
                  "PF2E",
                  "SWADE"
                ],
                "type": "string",
                "description": "DND5E_2024, DND5E_2014, PF2E or SWADE"
              },
              "lootIds": {
                "type": "array",
                "items": {
                  "type": "string",
                  "format": "uuid",
                  "description": "Entity UUID."
                },
                "description": "array of your loot generation UUIDs"
              },
              "partyId": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of one of your parties (chargen_list_parties)"
              },
              "questId": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of your quest generation"
              },
              "hazardIds": {
                "type": "array",
                "items": {
                  "type": "string",
                  "format": "uuid",
                  "description": "Entity UUID."
                },
                "description": "array of your hazard generation UUIDs"
              },
              "partySize": {
                "type": "integer",
                "maximum": 10,
                "minimum": 1,
                "description": "integer 1-10; optional with partyId (the party's size is used)"
              },
              "monsterIds": {
                "type": "array",
                "items": {
                  "type": "string",
                  "format": "uuid",
                  "description": "Entity UUID."
                },
                "description": "array of your monster generation UUIDs"
              },
              "partyLevel": {
                "type": "integer",
                "maximum": 20,
                "minimum": 1,
                "description": "integer 1-20"
              },
              "collection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional folder UUID owned by you; user accounts only. The finished entity is filed there on the first completed chargen_get_job poll."
              },
              "difficultyTier": {
                "type": "string",
                "description": "target difficulty in the chosen system, e.g. moderate or deadly"
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional partner billing deduplication key. Retries with the same key avoid a second wallet debit, but can start another generation."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Generate encounter",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_generate_faction",
          "title": "Generate faction",
          "description": "Generate a D&D faction using the declared prompt and optional structured fields. Entity text is free on every user plan, including Free. Portraits use the account's art preset: the default is free; a paid preset charges its Gold price, shown as portrait_gold, or falls back to the free default if unaffordable. Partner keys are billed from their wallet. Returns a job_id immediately; poll chargen_get_job for the entity_id and page_url. Pass collection_id to file it into your folder. Generated entries are public by default; change visibility in CharGen.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "size": {
                "type": "string",
                "description": "text"
              },
              "theme": {
                "type": "string",
                "description": "text"
              },
              "prompt": {
                "type": "string",
                "description": "Freeform description guiding this generation."
              },
              "gameMode": {
                "type": "string",
                "description": "text"
              },
              "alignment": {
                "type": "string",
                "description": "text"
              },
              "factionType": {
                "type": "string",
                "description": "text"
              },
              "collection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional folder UUID owned by you; user accounts only. The finished entity is filed there on the first completed chargen_get_job poll."
              },
              "influenceLevel": {
                "type": "string",
                "description": "text"
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional partner billing deduplication key. Retries with the same key avoid a second wallet debit, but can start another generation."
              },
              "additionalPrompt": {
                "type": "string",
                "description": "text"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Generate faction",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_generate_hazard",
          "title": "Generate hazard",
          "description": "Generate a D&D hazard using the declared prompt and optional structured fields. Entity text is free on every user plan, including Free. Portraits use the account's art preset: the default is free; a paid preset charges its Gold price, shown as portrait_gold, or falls back to the free default if unaffordable. Partner keys are billed from their wallet. Returns a job_id immediately; poll chargen_get_job for the entity_id and page_url. Pass collection_id to file it into your folder. Generated entries are public by default; change visibility in CharGen.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "level": {
                "type": "string",
                "description": "text"
              },
              "theme": {
                "type": "string",
                "description": "text"
              },
              "prompt": {
                "type": "string",
                "description": "Freeform description guiding this generation."
              },
              "complexity": {
                "type": "string",
                "description": "text"
              },
              "gameSystem": {
                "type": "string",
                "description": "text"
              },
              "hazardType": {
                "type": "string",
                "description": "text"
              },
              "environment": {
                "type": "string",
                "description": "text"
              },
              "collection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional folder UUID owned by you; user accounts only. The finished entity is filed there on the first completed chargen_get_job poll."
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional partner billing deduplication key. Retries with the same key avoid a second wallet debit, but can start another generation."
              },
              "additionalDetails": {
                "type": "string",
                "description": "text"
              },
              "disableRequirement": {
                "type": "string",
                "description": "text"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Generate hazard",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_generate_image",
          "title": "Generate image",
          "description": "Render a portrait or scene image. Eligible ELITE/ULTIMATE users may use the shared monthly free-image allowance for covered models and qualities; otherwise users pay gold. Partners are billed from their wallet in USD. Choose a model via chargen_list_image_models (per-model costs, quality tiers, reference-image support). Returns request_id - poll with chargen_get_job. If the prompt is blocked by content moderation the response reports moderation_blocked: true and gold_charged: 0 (no gold was debited); the returned request_id never becomes pollable (chargen_get_job reports not_found).",
          "inputSchema": {
            "type": "object",
            "required": [
              "prompt",
              "model"
            ],
            "properties": {
              "size": {
                "type": "string",
                "description": "Pixel size, e.g. 1024x1024. Default 1024x1024."
              },
              "model": {
                "enum": [
                  "Amazon Nova Canvas",
                  "Anima",
                  "Chroma",
                  "CogView 4",
                  "Fibo 2.0",
                  "Ernie Image",
                  "Ernie Image Turbo",
                  "Flux.Pro",
                  "Flux.Pro (Ultra)",
                  "Flux.Pro (Ultra) Redux",
                  "Flux.Schnell",
                  "Flux Subject",
                  "Flux 2 Dev",
                  "Flux 2 Flash",
                  "Flux 2 Flex",
                  "Flux 2 Pro",
                  "Flux 2 Max",
                  "Hunyuan Image 2.1",
                  "Hunyuan Image 3.0",
                  "Hunyuan Image 3.0 Instruct",
                  "Ideogram 3.0",
                  "Ideogram V4",
                  "Ideogram V4.5",
                  "Flux 3",
                  "Flux 3 Klein",
                  "MAI Image 2.5",
                  "MAI Image 2.5 Pro",
                  "Cosmos 3 Super",
                  "Jib Mix Qwen",
                  "Juggernaut Flux",
                  "Juggernaut Flux Pro",
                  "Gemini Flash 2.5",
                  "GPT Image 1",
                  "GPT Image 1.5",
                  "GPT Image 2",
                  "GPT Image 2.5 Flare",
                  "GPT Image 2.5 Sunburst",
                  "GPT Image 2.6 Flare",
                  "GPT Image 2.6 Sunburst",
                  "Grok Imagine Image",
                  "Grok Imagine Image 2.0",
                  "Kling 3.0 Image",
                  "Kling 4.0 Image",
                  "Kontext Dev",
                  "Kontext Pro",
                  "Kontext Max",
                  "Lumina Image V2",
                  "Midjourney",
                  "MiniMax Image",
                  "Muse Image",
                  "Nano Banana Pro",
                  "Nano Banana 2.1",
                  "Nano Banana 2",
                  "Nano Banana 2 Fast",
                  "Nano Banana 2 Lite",
                  "Neta Lumina",
                  "OmniGen V2",
                  "Qwen Image",
                  "Qwen Image Max",
                  "Qwen Image 2.0",
                  "Qwen Image 2.0 Pro",
                  "Qwen Image 2.1",
                  "Qwen Image 3",
                  "Qwen Image 3.0 Pro",
                  "Recraft V3",
                  "Recraft V4",
                  "Recraft V4 Pro",
                  "Recraft V4.1 Flash",
                  "Reve V1",
                  "Reve V2.1",
                  "Riverflow 2.0 Pro",
                  "RunDiffusion Photo Flux",
                  "Sana",
                  "Seedream 3.0",
                  "Seedream 3.1",
                  "Seedream 4.0",
                  "Seedream 4.5",
                  "Seedream 5.0 Lite",
                  "Seedream 5.0 Flash",
                  "Seedream 5.0 Pro",
                  "Seedream 5.5",
                  "Wan 2.2 Image",
                  "Wan 2.2 Realism",
                  "Wan 2.5 Image",
                  "Wan 2.6 Image",
                  "Wan 2.7 Image",
                  "Wan 2.7 Image Pro",
                  "Z Image Turbo",
                  "Z Image Base"
                ],
                "type": "string",
                "description": "Image model to use for rendering. Use chargen_list_image_models for per-model costs, quality tiers, and reference-image support."
              },
              "prompt": {
                "type": "string",
                "description": "What to draw, written for the chosen model: chargen_list_image_models gives each model's prompt_style and the rule for it. Nothing adds an art style or improves the wording, so say the subject, setting, medium or art style, lighting and framing yourself."
              },
              "quality": {
                "enum": [
                  "Low",
                  "Medium",
                  "High",
                  "XHigh",
                  "Max"
                ],
                "type": "string",
                "description": "Rendering quality tier - changes the gold cost on quality-priced models (see chargen_list_image_models for per-tier prices; GPT Image models default to Medium). Models without quality tiers ignore it. User accounts only."
              },
              "num_images": {
                "type": "integer",
                "description": "How many images, 1 to 4 (default 1)."
              },
              "resolution": {
                "enum": [
                  "1k",
                  "1.5k",
                  "2k",
                  "4k",
                  "8k"
                ],
                "type": "string",
                "description": "Output resolution tier. Flux 3 accepts 1k, 2k, or 4k and the gold cost changes (7, 17, 88). Ideogram V4.5 accepts 1k or 2k at the same gold cost. Nano Banana 2.1 accepts 1k, 2k, or 4k (6, 9, 19). Seedream 5.5 accepts 1k, 1.5k, or 2k (3, 3, 5; a reference image adds gold). Kling 4.0 Image accepts 2k, 4k, or 8k (9, 13, 22) and defaults to 2k. Default 1k. Other models reject this argument."
              },
              "campaign_id": {
                "type": "string",
                "description": "The campaign that holds campaign_entity_id (chargen_list_campaigns). Only used with campaign_entity_id. User accounts only."
              },
              "campaign_entity_id": {
                "type": "string",
                "description": "Optional: a tracked world-graph entity in campaign_id (chargen_list_entities). The finished image is attached to that entity automatically. User accounts only."
              },
              "reference_image_id": {
                "type": "string",
                "description": "Optional id of one of the user's own CharGen images to use as the image-to-image reference (image_id values come from chargen_search_gallery or chargen_get_generation). The model must support reference input - see chargen_list_image_models. User accounts only."
              },
              "reference_image_url": {
                "type": "string",
                "description": "Alternative to reference_image_id: a direct http(s) URL to a .png/.jpg/.jpeg/.webp image to use as the reference. Prefer reference_image_id for CharGen images. User accounts only."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Generate image",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_generate_image_to_video",
          "title": "Start image to video",
          "description": "Start a job to animate an owned gallery image. First call chargen_quote_image_to_video, confirm the price with the user, then supply its quote_token with identical inputs. Spends the quoted Gold; returns request_id to poll with chargen_get_job. Only the declared settings are supported. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.",
          "inputSchema": {
            "type": "object",
            "required": [
              "model",
              "prompt",
              "source_image_id",
              "quote_token"
            ],
            "properties": {
              "model": {
                "type": "string",
                "description": "Enabled video model supporting image-to-video; chargen_list_media_models can help choose a model. This never changes the operation."
              },
              "prompt": {
                "type": "string",
                "description": "What moves and how, not what the picture already shows. chargen_list_media_models with this mode says how to phrase it for each model (prompt_styles); nothing improves the wording on the way to the model."
              },
              "resolution": {
                "type": "string",
                "description": "Resolution supported by the model, such as 720p."
              },
              "quote_token": {
                "type": "string",
                "description": "Approved quote_token from chargen_quote_image_to_video. Use the same inputs; changed inputs or prices fail without charging."
              },
              "aspect_ratio": {
                "type": "string",
                "description": "Aspect ratio supported by the model, such as 16:9."
              },
              "end_image_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional owned final-frame image."
              },
              "generate_audio": {
                "type": "boolean",
                "description": "Generate accompanying audio, where supported."
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings."
              },
              "negative_prompt": {
                "type": "string",
                "maxLength": 4000,
                "description": "Things to keep out of the result, as a short list. Only some models take one: chargen_list_media_models shows negative_prompt in that model's settings, and any other model refuses this argument."
              },
              "source_image_id": {
                "type": "string",
                "format": "uuid",
                "description": "Owned still image to animate or use as the portrait."
              },
              "duration_seconds": {
                "type": "integer",
                "minimum": 1,
                "description": "Video duration in seconds, where supported by the model."
              },
              "prompt_expansion": {
                "type": "boolean",
                "description": "Let the video model rewrite and lengthen the prompt before it renders, where the model offers it (chargen_list_media_models shows prompt_expansion in its settings). Off by default; leave it off for a prompt written in full."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Start image to video",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "chargen_generate_loot",
          "title": "Generate loot",
          "description": "Generate a D&D loot using the declared prompt and optional structured fields. Entity text is free on every user plan, including Free. This generator does not create a portrait. Partner keys are billed from their wallet. Returns a job_id immediately; poll chargen_get_job for the entity_id and page_url. Pass collection_id to file it into your folder. Generated entries are public by default; change visibility in CharGen. User accounts only.",
          "inputSchema": {
            "type": "object",
            "required": [
              "partyLevel"
            ],
            "properties": {
              "theme": {
                "type": "string",
                "description": "the prompt is used when this is omitted"
              },
              "prompt": {
                "type": "string",
                "description": "Freeform description guiding this generation."
              },
              "gameType": {
                "type": "string",
                "description": "game system, default D&D 5E"
              },
              "lootBias": {
                "enum": [
                  "MUNDANE",
                  "MIXED",
                  "MAGICAL",
                  "EXOTIC"
                ],
                "type": "string",
                "description": "MUNDANE, MIXED, MAGICAL or EXOTIC"
              },
              "lootSource": {
                "enum": [
                  "ENCOUNTER",
                  "CONTAINER"
                ],
                "type": "string",
                "description": "ENCOUNTER or CONTAINER"
              },
              "partyLevel": {
                "type": "integer",
                "maximum": 20,
                "minimum": 1,
                "description": "integer 1-20, required"
              },
              "protection": {
                "enum": [
                  "AUTO",
                  "NONE",
                  "LOCKED",
                  "TRAPPED",
                  "LOCKED_TRAPPED"
                ],
                "type": "string",
                "description": "AUTO, NONE, LOCKED, TRAPPED or LOCKED_TRAPPED"
              },
              "collection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional folder UUID owned by you; user accounts only. The finished entity is filed there on the first completed chargen_get_job poll."
              },
              "containerType": {
                "type": "string",
                "description": "text"
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional partner billing deduplication key. Retries with the same key avoid a second wallet debit, but can start another generation."
              },
              "containerContext": {
                "type": "string",
                "description": "whose container and where"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Generate loot",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_generate_magicitem",
          "title": "Generate magic item",
          "description": "Generate a D&D magic item using the declared prompt and optional structured fields. Entity text is free on every user plan, including Free. Portraits use the account's art preset: the default is free; a paid preset charges its Gold price, shown as portrait_gold, or falls back to the free default if unaffordable. Partner keys are billed from their wallet. Returns a job_id immediately; poll chargen_get_job for the entity_id and page_url. Pass collection_id to file it into your folder. Generated entries are public by default; change visibility in CharGen.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "theme": {
                "type": "string",
                "description": "text"
              },
              "prompt": {
                "type": "string",
                "description": "Freeform description guiding this generation."
              },
              "powerTier": {
                "type": "string",
                "description": "text"
              },
              "attunement": {
                "type": "string",
                "description": "text"
              },
              "curseLevel": {
                "type": "string",
                "description": "text"
              },
              "gameSystem": {
                "type": "string",
                "description": "text"
              },
              "partyLevel": {
                "type": "string",
                "description": "text"
              },
              "description": {
                "type": "string",
                "description": "text"
              },
              "itemCategory": {
                "type": "string",
                "description": "text"
              },
              "collection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional folder UUID owned by you; user accounts only. The finished entity is filed there on the first completed chargen_get_job poll."
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional partner billing deduplication key. Retries with the same key avoid a second wallet debit, but can start another generation."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Generate magic item",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_generate_monster",
          "title": "Generate monster",
          "description": "Generate a D&D monster using the declared prompt and optional structured fields. Entity text is free on every user plan, including Free. Portraits use the account's art preset: the default is free; a paid preset charges its Gold price, shown as portrait_gold, or falls back to the free default if unaffordable. Partner keys are billed from their wallet. Returns a job_id immediately; poll chargen_get_job for the entity_id and page_url. Pass collection_id to file it into your folder. Generated entries are public by default; change visibility in CharGen.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "role": {
                "type": "string",
                "description": "text"
              },
              "size": {
                "type": "string",
                "description": "text"
              },
              "prompt": {
                "type": "string",
                "description": "Freeform description guiding this generation."
              },
              "crLevel": {
                "type": "string",
                "description": "challenge rating"
              },
              "reskinOf": {
                "type": "string",
                "description": "existing monster to reskin"
              },
              "difficulty": {
                "type": "string",
                "description": "text"
              },
              "gameSystem": {
                "type": "string",
                "description": "text"
              },
              "partyLevel": {
                "type": "string",
                "description": "text"
              },
              "description": {
                "type": "string",
                "description": "text"
              },
              "environment": {
                "type": "string",
                "description": "text"
              },
              "monsterType": {
                "type": "string",
                "description": "text"
              },
              "collection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional folder UUID owned by you; user accounts only. The finished entity is filed there on the first completed chargen_get_job poll."
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional partner billing deduplication key. Retries with the same key avoid a second wallet debit, but can start another generation."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Generate monster",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_generate_motion_transfer",
          "title": "Start motion transfer",
          "description": "Start a job to animate an owned image with motion from an owned video. First call chargen_quote_motion_transfer, confirm the price with the user, then supply its quote_token with identical inputs. Spends the quoted Gold; returns request_id to poll with chargen_get_job. Only the declared settings are supported. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.",
          "inputSchema": {
            "type": "object",
            "required": [
              "model",
              "source_image_id",
              "video_id",
              "quote_token"
            ],
            "properties": {
              "model": {
                "type": "string",
                "description": "Enabled video model supporting motion-transfer; chargen_list_media_models can help choose a model. This never changes the operation."
              },
              "prompt": {
                "type": "string",
                "description": "Optional: a short note on what should be seen."
              },
              "video_id": {
                "type": "string",
                "format": "uuid",
                "description": "Owned gallery video UUID to edit, follow or add sound to."
              },
              "resolution": {
                "type": "string",
                "description": "Resolution supported by the model, such as 720p."
              },
              "quote_token": {
                "type": "string",
                "description": "Approved quote_token from chargen_quote_motion_transfer. Use the same inputs; changed inputs or prices fail without charging."
              },
              "aspect_ratio": {
                "type": "string",
                "description": "Aspect ratio supported by the model, such as 16:9."
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings."
              },
              "source_image_id": {
                "type": "string",
                "format": "uuid",
                "description": "Owned still image to animate or use as the portrait."
              },
              "duration_seconds": {
                "type": "integer",
                "minimum": 1,
                "description": "Video duration in seconds, where supported by the model."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Start motion transfer",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "chargen_generate_music",
          "title": "Start music",
          "description": "Start a job to create music, optionally with lyrics. First call chargen_quote_music, confirm the price with the user, then supply its quote_token with identical inputs. Spends the quoted Gold; returns request_id to poll with chargen_get_job. Only the declared settings are supported. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.",
          "inputSchema": {
            "type": "object",
            "required": [
              "model",
              "prompt",
              "quote_token"
            ],
            "properties": {
              "model": {
                "type": "string",
                "description": "Enabled audio model supporting music; chargen_list_media_models can help choose a model. This never changes the operation."
              },
              "lyrics": {
                "type": "string",
                "description": "Lyrics for a model that supports singing."
              },
              "prompt": {
                "type": "string",
                "description": "The musical style: genre, mood, instruments, pace. Words to sing go in lyrics. chargen_list_media_models with this mode says how to phrase it for each model (prompt_styles); nothing improves the wording on the way to the model."
              },
              "quote_token": {
                "type": "string",
                "description": "Approved quote_token from chargen_quote_music. Use the same inputs; changed inputs or prices fail without charging."
              },
              "instrumental": {
                "type": "boolean",
                "description": "Create music without vocals, where supported."
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings."
              },
              "negative_prompt": {
                "type": "string",
                "maxLength": 4000,
                "description": "Things to keep out of the result, as a short list. Only some models take one: chargen_list_media_models shows negative_prompt in that model's settings, and any other model refuses this argument."
              },
              "duration_seconds": {
                "type": "integer",
                "minimum": 1,
                "description": "Audio duration in seconds, where supported."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Start music",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "chargen_generate_npc",
          "title": "Generate npc",
          "description": "Generate a D&D npc using the declared prompt and optional structured fields. Entity text is free on every user plan, including Free. Portraits use the account's art preset: the default is free; a paid preset charges its Gold price, shown as portrait_gold, or falls back to the free default if unaffordable. Partner keys are billed from their wallet. Returns a job_id immediately; poll chargen_get_job for the entity_id and page_url. Pass collection_id to file it into your folder. Generated entries are public by default; change visibility in CharGen.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "age": {
                "type": "string",
                "description": "text"
              },
              "race": {
                "type": "string",
                "description": "text"
              },
              "level": {
                "type": "integer",
                "maximum": 20,
                "minimum": 1,
                "description": "integer 1-20"
              },
              "gender": {
                "type": "string",
                "description": "text"
              },
              "prompt": {
                "type": "string",
                "description": "Freeform description guiding this generation."
              },
              "gameType": {
                "type": "string",
                "description": "text"
              },
              "npcClass": {
                "type": "string",
                "description": "text"
              },
              "occupation": {
                "type": "string",
                "description": "text"
              },
              "connections": {
                "type": "string",
                "description": "relationships to other NPCs or factions"
              },
              "classEntityId": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of one of your homebrew CharacterClass generations to base this class on (optional)"
              },
              "collection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional folder UUID owned by you; user accounts only. The finished entity is filed there on the first completed chargen_get_job poll."
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional partner billing deduplication key. Retries with the same key avoid a second wallet debit, but can start another generation."
              },
              "additionalDetails": {
                "type": "string",
                "description": "Extra constraints or flavor"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Generate npc",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_generate_pantheon",
          "title": "Generate pantheon",
          "description": "Generate a D&D pantheon using the declared prompt and optional structured fields. Entity text is free on every user plan, including Free. Portraits use the account's art preset: the default is free; a paid preset charges its Gold price, shown as portrait_gold, or falls back to the free default if unaffordable. Partner keys are billed from their wallet. Returns a job_id immediately; poll chargen_get_job for the entity_id and page_url. Pass collection_id to file it into your folder. Generated entries are public by default; change visibility in CharGen.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "theme": {
                "type": "string",
                "description": "text"
              },
              "prompt": {
                "type": "string",
                "description": "Freeform description guiding this generation."
              },
              "worldTone": {
                "enum": [
                  "kind",
                  "distant",
                  "wrathful",
                  "mortal-engaged",
                  "warring"
                ],
                "type": "string",
                "description": "one of: kind, distant, wrathful, mortal-engaged, warring"
              },
              "deityCount": {
                "type": "integer",
                "maximum": 12,
                "minimum": 3,
                "description": "integer 3-12, default 6"
              },
              "gameSystem": {
                "type": "string",
                "description": "text"
              },
              "pantheonName": {
                "type": "string",
                "description": "text"
              },
              "collection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional folder UUID owned by you; user accounts only. The finished entity is filed there on the first completed chargen_get_job poll."
              },
              "alignmentSpread": {
                "enum": [
                  "single-aligned",
                  "varied",
                  "balanced"
                ],
                "type": "string",
                "description": "one of: single-aligned, varied, balanced"
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional partner billing deduplication key. Retries with the same key avoid a second wallet debit, but can start another generation."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Generate pantheon",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_generate_poetry",
          "title": "Generate poetry",
          "description": "Generate a D&D poetry using the declared prompt and optional structured fields. Entity text is free on every user plan, including Free. This generator does not create a portrait. Partner keys are billed from their wallet. Returns a job_id immediately; poll chargen_get_job for the entity_id and page_url. Pass collection_id to file it into your folder. Generated entries are public by default; change visibility in CharGen.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "mood": {
                "type": "string",
                "description": "text"
              },
              "theme": {
                "type": "string",
                "description": "text"
              },
              "length": {
                "type": "string",
                "description": "text"
              },
              "prompt": {
                "type": "string",
                "description": "Freeform description guiding this generation."
              },
              "gameMode": {
                "type": "string",
                "description": "text"
              },
              "contentType": {
                "type": "string",
                "description": "text"
              },
              "journalStyle": {
                "type": "string",
                "description": "Personal journal or Found journal, for Journal / diary"
              },
              "collection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional folder UUID owned by you; user accounts only. The finished entity is filed there on the first completed chargen_get_job poll."
              },
              "specificWords": {
                "type": "string",
                "description": "text"
              },
              "authorEntityId": {
                "type": "string",
                "format": "uuid",
                "description": "Optional UUID of your own Character or NPC, for Journal / diary"
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional partner billing deduplication key. Retries with the same key avoid a second wallet debit, but can start another generation."
              },
              "customContentType": {
                "type": "string",
                "description": "Required custom format for contentType Other, up to 100 characters"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Generate poetry",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_generate_portrait_audio",
          "title": "Start portrait audio",
          "description": "Start a job to lip-sync an owned portrait to owned audio. First call chargen_quote_portrait_audio, confirm the price with the user, then supply its quote_token with identical inputs. Spends the quoted Gold; returns request_id to poll with chargen_get_job. Only the declared settings are supported. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.",
          "inputSchema": {
            "type": "object",
            "required": [
              "model",
              "source_image_id",
              "audio_id",
              "quote_token"
            ],
            "properties": {
              "model": {
                "type": "string",
                "description": "Enabled video model supporting portrait-audio; chargen_list_media_models can help choose a model. This never changes the operation."
              },
              "prompt": {
                "type": "string",
                "description": "Optional: a short note on what should be seen."
              },
              "audio_id": {
                "type": "string",
                "format": "uuid",
                "description": "Owned gallery audio UUID to lip-sync."
              },
              "resolution": {
                "type": "string",
                "description": "Resolution supported by the model, such as 720p."
              },
              "quote_token": {
                "type": "string",
                "description": "Approved quote_token from chargen_quote_portrait_audio. Use the same inputs; changed inputs or prices fail without charging."
              },
              "aspect_ratio": {
                "type": "string",
                "description": "Aspect ratio supported by the model, such as 16:9."
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings."
              },
              "source_image_id": {
                "type": "string",
                "format": "uuid",
                "description": "Owned still image to animate or use as the portrait."
              },
              "duration_seconds": {
                "type": "integer",
                "minimum": 1,
                "description": "Video duration in seconds, where supported by the model."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Start portrait audio",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "chargen_generate_portrait_tts",
          "title": "Start portrait tts",
          "description": "Start a job to make an owned portrait speak supplied text. First call chargen_quote_portrait_tts, confirm the price with the user, then supply its quote_token with identical inputs. Spends the quoted Gold; returns request_id to poll with chargen_get_job. Only the declared settings are supported. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.",
          "inputSchema": {
            "type": "object",
            "required": [
              "model",
              "source_image_id",
              "speech_text",
              "quote_token"
            ],
            "properties": {
              "model": {
                "type": "string",
                "description": "Enabled video model supporting portrait-tts; chargen_list_media_models can help choose a model. This never changes the operation."
              },
              "voice": {
                "type": "string",
                "description": "Voice supported by the selected model."
              },
              "prompt": {
                "type": "string",
                "description": "Optional: how the portrait looks or moves while it speaks. The words go in speech_text."
              },
              "resolution": {
                "type": "string",
                "description": "Resolution supported by the model, such as 720p."
              },
              "quote_token": {
                "type": "string",
                "description": "Approved quote_token from chargen_quote_portrait_tts. Use the same inputs; changed inputs or prices fail without charging."
              },
              "speech_text": {
                "type": "string",
                "maxLength": 2000,
                "description": "Exact words the portrait speaks."
              },
              "aspect_ratio": {
                "type": "string",
                "description": "Aspect ratio supported by the model, such as 16:9."
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings."
              },
              "source_image_id": {
                "type": "string",
                "format": "uuid",
                "description": "Owned still image to animate or use as the portrait."
              },
              "duration_seconds": {
                "type": "integer",
                "minimum": 1,
                "description": "Video duration in seconds, where supported by the model."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Start portrait tts",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "chargen_generate_puzzle",
          "title": "Generate puzzle",
          "description": "Generate a D&D puzzle using the declared prompt and optional structured fields. Entity text is free on every user plan, including Free. Portraits use the account's art preset: the default is free; a paid preset charges its Gold price, shown as portrait_gold, or falls back to the free default if unaffordable. Partner keys are billed from their wallet. Returns a job_id immediately; poll chargen_get_job for the entity_id and page_url. Pass collection_id to file it into your folder. Generated entries are public by default; change visibility in CharGen.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "level": {
                "type": "string",
                "description": "text"
              },
              "theme": {
                "type": "string",
                "description": "text"
              },
              "prompt": {
                "type": "string",
                "description": "Freeform description guiding this generation."
              },
              "difficulty": {
                "type": "string",
                "description": "text"
              },
              "gameSystem": {
                "type": "string",
                "description": "text"
              },
              "puzzleType": {
                "type": "string",
                "description": "text"
              },
              "environment": {
                "type": "string",
                "description": "text"
              },
              "collection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional folder UUID owned by you; user accounts only. The finished entity is filed there on the first completed chargen_get_job poll."
              },
              "requiredSkills": {
                "type": "string",
                "description": "text"
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional partner billing deduplication key. Retries with the same key avoid a second wallet debit, but can start another generation."
              },
              "additionalDetails": {
                "type": "string",
                "description": "text"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Generate puzzle",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_generate_quest",
          "title": "Generate quest",
          "description": "Generate a D&D quest using the declared prompt and optional structured fields. Entity text is free on every user plan, including Free. Portraits use the account's art preset: the default is free; a paid preset charges its Gold price, shown as portrait_gold, or falls back to the free default if unaffordable. Partner keys are billed from their wallet. Returns a job_id immediately; poll chargen_get_job for the entity_id and page_url. Pass collection_id to file it into your folder. Generated entries are public by default; change visibility in CharGen.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "theme": {
                "type": "string",
                "description": "text"
              },
              "prompt": {
                "type": "string",
                "description": "Freeform description guiding this generation."
              },
              "gameMode": {
                "type": "string",
                "description": "text"
              },
              "questType": {
                "type": "string",
                "description": "text"
              },
              "difficulty": {
                "type": "string",
                "description": "text"
              },
              "partyLevel": {
                "type": "string",
                "description": "text"
              },
              "collection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional folder UUID owned by you; user accounts only. The finished entity is filed there on the first completed chargen_get_job poll."
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional partner billing deduplication key. Retries with the same key avoid a second wallet debit, but can start another generation."
              },
              "additionalPrompt": {
                "type": "string",
                "description": "text"
              },
              "durationEstimate": {
                "type": "string",
                "description": "text"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Generate quest",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_generate_reference_to_video",
          "title": "Start reference to video",
          "description": "Start a job to create a video using owned image, audio or video references. First call chargen_quote_reference_to_video, confirm the price with the user, then supply its quote_token with identical inputs. Spends the quoted Gold; returns request_id to poll with chargen_get_job. Only the declared settings are supported. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.",
          "inputSchema": {
            "type": "object",
            "required": [
              "model",
              "prompt",
              "quote_token"
            ],
            "properties": {
              "model": {
                "type": "string",
                "description": "Enabled video model supporting reference-to-video; chargen_list_media_models can help choose a model. This never changes the operation."
              },
              "prompt": {
                "type": "string",
                "description": "What happens in the video, written for the chosen model. chargen_list_media_models with this mode says how to phrase it for each model (prompt_styles); nothing improves the wording on the way to the model."
              },
              "audio_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional owned gallery reference audio UUID, where supported by the model."
              },
              "video_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional owned gallery reference video UUID, where supported by the model."
              },
              "resolution": {
                "type": "string",
                "description": "Resolution supported by the model, such as 720p."
              },
              "quote_token": {
                "type": "string",
                "description": "Approved quote_token from chargen_quote_reference_to_video. Use the same inputs; changed inputs or prices fail without charging."
              },
              "aspect_ratio": {
                "type": "string",
                "description": "Aspect ratio supported by the model, such as 16:9."
              },
              "generate_audio": {
                "type": "boolean",
                "description": "Generate accompanying audio, where supported."
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings."
              },
              "duration_seconds": {
                "type": "integer",
                "minimum": 1,
                "description": "Video duration in seconds, where supported by the model."
              },
              "reference_image_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "format": "uuid"
                },
                "description": "Owned reference image UUIDs, where supported. Reference-to-video needs at least one image, audio or video reference; model-specific source counts are validated by the media policy."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Start reference to video",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "chargen_generate_region",
          "title": "Generate region",
          "description": "Generate a D&D region using the declared prompt and optional structured fields. Entity text is free on every user plan, including Free. Portraits use the account's art preset: the default is free; a paid preset charges its Gold price, shown as portrait_gold, or falls back to the free default if unaffordable. Partner keys are billed from their wallet. Returns a job_id immediately; poll chargen_get_job for the entity_id and page_url. Pass collection_id to file it into your folder. Generated entries are public by default; change visibility in CharGen.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string",
                "description": "text"
              },
              "scale": {
                "type": "string",
                "description": "text"
              },
              "prompt": {
                "type": "string",
                "description": "Freeform description guiding this generation."
              },
              "climate": {
                "type": "string",
                "description": "text"
              },
              "terrain": {
                "type": "string",
                "description": "text"
              },
              "gameType": {
                "type": "string",
                "description": "text"
              },
              "magicLevel": {
                "type": "string",
                "description": "text"
              },
              "regionType": {
                "type": "string",
                "description": "text"
              },
              "collection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional folder UUID owned by you; user accounts only. The finished entity is filed there on the first completed chargen_get_job poll."
              },
              "dominantCulture": {
                "type": "string",
                "description": "text"
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional partner billing deduplication key. Retries with the same key avoid a second wallet debit, but can start another generation."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Generate region",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_generate_settlement",
          "title": "Generate settlement",
          "description": "Generate a D&D settlement using the declared prompt and optional structured fields. Entity text is free on every user plan, including Free. Portraits use the account's art preset: the default is free; a paid preset charges its Gold price, shown as portrait_gold, or falls back to the free default if unaffordable. Partner keys are billed from their wallet. Returns a job_id immediately; poll chargen_get_job for the entity_id and page_url. Pass collection_id to file it into your folder. Generated entries are public by default; change visibility in CharGen.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string",
                "description": "text"
              },
              "prompt": {
                "type": "string",
                "description": "Freeform description guiding this generation."
              },
              "gameType": {
                "type": "string",
                "description": "text"
              },
              "location": {
                "type": "string",
                "description": "text"
              },
              "primaryRace": {
                "type": "string",
                "description": "text"
              },
              "collection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional folder UUID owned by you; user accounts only. The finished entity is filed there on the first completed chargen_get_job poll."
              },
              "economicFocus": {
                "type": "string",
                "description": "text"
              },
              "governmentType": {
                "type": "string",
                "description": "text"
              },
              "populationSize": {
                "type": "string",
                "description": "text"
              },
              "settlementType": {
                "type": "string",
                "description": "text"
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional partner billing deduplication key. Retries with the same key avoid a second wallet debit, but can start another generation."
              },
              "magicalPrevalence": {
                "type": "string",
                "description": "text"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Generate settlement",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_generate_ship",
          "title": "Generate ship",
          "description": "Generate a D&D ship using the declared prompt and optional structured fields. Entity text is free on every user plan, including Free. Portraits use the account's art preset: the default is free; a paid preset charges its Gold price, shown as portrait_gold, or falls back to the free default if unaffordable. Partner keys are billed from their wallet. Returns a job_id immediately; poll chargen_get_job for the entity_id and page_url. Pass collection_id to file it into your folder. Generated entries are public by default; change visibility in CharGen.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "kind": {
                "enum": [
                  "starship",
                  "station",
                  "airship",
                  "sailing_ship",
                  "astral_ship",
                  "submarine",
                  "riverboat",
                  "small_craft",
                  "other"
                ],
                "type": "string",
                "description": "starship, station, airship, sailing_ship, astral_ship, submarine, riverboat, small_craft or other; omit to let the generator choose"
              },
              "name": {
                "type": "string",
                "description": "used exactly when given"
              },
              "size": {
                "enum": [
                  "large",
                  "medium",
                  "small"
                ],
                "type": "string",
                "description": "small (2 decks), medium (4) or large (6); omit for 2 to 6"
              },
              "prompt": {
                "type": "string",
                "description": "Freeform description guiding this generation."
              },
              "partyId": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of one of your parties (chargen_list_parties)"
              },
              "gameMode": {
                "type": "string",
                "description": "game system, e.g. D&D 5E or Starfinder 2E"
              },
              "partyRole": {
                "enum": [
                  "CREW",
                  "ABOARD",
                  "MEETING"
                ],
                "type": "string",
                "description": "with partyId: CREW (the party crews the ship), ABOARD (passengers) or MEETING (they meet the ship)"
              },
              "shipClass": {
                "type": "string",
                "description": "free text class, used exactly when given"
              },
              "collection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional folder UUID owned by you; user accounts only. The finished entity is filed there on the first completed chargen_get_job poll."
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional partner billing deduplication key. Retries with the same key avoid a second wallet debit, but can start another generation."
              },
              "additionalPrompt": {
                "type": "string",
                "description": "Extra constraints or flavor"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Generate ship",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_generate_shop",
          "title": "Generate shop",
          "description": "Generate a D&D shop using the declared prompt and optional structured fields. Entity text is free on every user plan, including Free. Portraits use the account's art preset: the default is free; a paid preset charges its Gold price, shown as portrait_gold, or falls back to the free default if unaffordable. Partner keys are billed from their wallet. Returns a job_id immediately; poll chargen_get_job for the entity_id and page_url. Pass collection_id to file it into your folder. Generated entries are public by default; change visibility in CharGen.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "theme": {
                "type": "string",
                "description": "text"
              },
              "prompt": {
                "type": "string",
                "description": "Freeform description guiding this generation."
              },
              "gameMode": {
                "type": "string",
                "description": "text"
              },
              "shopType": {
                "type": "string",
                "description": "text"
              },
              "partyLevel": {
                "type": "integer",
                "maximum": 20,
                "minimum": 1,
                "description": "integer 1-20"
              },
              "collection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional folder UUID owned by you; user accounts only. The finished entity is filed there on the first completed chargen_get_job poll."
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional partner billing deduplication key. Retries with the same key avoid a second wallet debit, but can start another generation."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Generate shop",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_generate_species",
          "title": "Generate species",
          "description": "Generate a D&D species using the declared prompt and optional structured fields. Entity text is free on every user plan, including Free. Portraits use the account's art preset: the default is free; a paid preset charges its Gold price, shown as portrait_gold, or falls back to the free default if unaffordable. Partner keys are billed from their wallet. Returns a job_id immediately; poll chargen_get_job for the entity_id and page_url. Pass collection_id to file it into your folder. Generated entries are public by default; change visibility in CharGen.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "size": {
                "type": "string",
                "description": "text"
              },
              "prompt": {
                "type": "string",
                "description": "Freeform description guiding this generation."
              },
              "habitat": {
                "type": "string",
                "description": "text"
              },
              "gameSystem": {
                "type": "string",
                "description": "text"
              },
              "powerLevel": {
                "type": "string",
                "description": "text"
              },
              "creatureType": {
                "type": "string",
                "description": "text"
              },
              "collection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional folder UUID owned by you; user accounts only. The finished entity is filed there on the first completed chargen_get_job poll."
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional partner billing deduplication key. Retries with the same key avoid a second wallet debit, but can start another generation."
              },
              "additionalDetails": {
                "type": "string",
                "description": "text"
              },
              "inspirationArchetype": {
                "type": "string",
                "description": "text"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Generate species",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_generate_spellbook",
          "title": "Generate spellbook",
          "description": "Generate a D&D spellbook using the declared prompt and optional structured fields. Entity text is free on every user plan, including Free. Portraits use the account's art preset: the default is free; a paid preset charges its Gold price, shown as portrait_gold, or falls back to the free default if unaffordable. Partner keys are billed from their wallet. Returns a job_id immediately; poll chargen_get_job for the entity_id and page_url. Pass collection_id to file it into your folder. Generated entries are public by default; change visibility in CharGen.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "theme": {
                "type": "string",
                "description": "text"
              },
              "prompt": {
                "type": "string",
                "description": "Freeform description guiding this generation."
              },
              "flavorText": {
                "type": "string",
                "description": "text"
              },
              "gameSystem": {
                "type": "string",
                "description": "text"
              },
              "collection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional folder UUID owned by you; user accounts only. The finished entity is filed there on the first completed chargen_get_job poll."
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional partner billing deduplication key. Retries with the same key avoid a second wallet debit, but can start another generation."
              },
              "spellcasterType": {
                "type": "string",
                "description": "text"
              },
              "spellcasterLevel": {
                "type": "integer",
                "maximum": 20,
                "minimum": 1,
                "description": "integer 1-20"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Generate spellbook",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_generate_sprite_effect",
          "title": "Order sprite effect",
          "description": "Order an animated pixel sprite effect, for example a fireball or a healing light, from a preset or the user's own description, in parts that play one after another: 10 Gold for the first part and 8 for each more part. It can be drawn in an element's colours, or in the colours of one of the user's character sprite sets (reference_set_id). First call chargen_quote_sprite_effect, confirm the price with the user, then supply its quote_token with identical inputs. Returns request_id; poll chargen_get_job for each part's animated GIF. A part that fails is refunded. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.",
          "inputSchema": {
            "type": "object",
            "required": [
              "quote_token"
            ],
            "properties": {
              "parts": {
                "type": "array",
                "items": {
                  "enum": [
                    "SPARK",
                    "BLAST",
                    "SMOKE",
                    "RISES",
                    "PULSES",
                    "FADES",
                    "FORMING",
                    "FLYING",
                    "BURST",
                    "GATHERS",
                    "STRIKE",
                    "SCORCH",
                    "LINGERS",
                    "CHARGE",
                    "SLASH",
                    "SMALL_HIT",
                    "SPLASH",
                    "CLOUD",
                    "DRIPS",
                    "ORB",
                    "BURSTS",
                    "HOLDS",
                    "BREAKS",
                    "OPENS",
                    "SWIRLS",
                    "CLOSES",
                    "BUILDS_UP",
                    "MAIN"
                  ],
                  "type": "string",
                  "description": "A part key."
                },
                "maxItems": 10,
                "description": "The parts to draw, by key, each one at most once. With a preset, its own parts (explosion: SPARK, BLAST, SMOKE; aura: RISES, PULSES, FADES; fireball: FORMING, FLYING, BURST; lightning: GATHERS, STRIKE, SCORCH; frostnova: GATHERS, BURST, LINGERS; slash: CHARGE, SLASH, SMALL_HIT; necrotic: GATHERS, BURST, LINGERS; heal: BURST, RISES, FADES; poison: SPLASH, CLOUD, DRIPS; arcaneorb: ORB, FLYING, BURSTS; shield: RISES, HOLDS, BREAKS; portal: OPENS, SWIRLS, CLOSES). With a description: BUILDS_UP, MAIN, FADES. parts and custom_parts together hold 1 to 10 parts."
              },
              "title": {
                "type": "string",
                "maxLength": 120,
                "description": "Optional name for these sprites in the user's library."
              },
              "preset": {
                "enum": [
                  "explosion",
                  "aura",
                  "fireball",
                  "lightning",
                  "frostnova",
                  "slash",
                  "necrotic",
                  "heal",
                  "poison",
                  "arcaneorb",
                  "shield",
                  "portal"
                ],
                "type": "string",
                "description": "One of CharGen's effects. Give preset or description, not both."
              },
              "element": {
                "enum": [
                  "FIRE",
                  "ICE",
                  "LIGHTNING",
                  "POISON",
                  "HOLY",
                  "DARK",
                  "ARCANE",
                  "NATURE"
                ],
                "type": "string",
                "description": "Optional element or colour that every part is drawn in."
              },
              "description": {
                "type": "string",
                "maxLength": 200,
                "description": "The effect in the user's own words, in place of preset."
              },
              "quote_token": {
                "type": "string",
                "description": "Approved quote_token from chargen_quote_sprite_effect. Use the same inputs; changed inputs or prices fail without charging."
              },
              "custom_parts": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "text"
                  ],
                  "properties": {
                    "text": {
                      "type": "string",
                      "maxLength": 40,
                      "description": "What the part shows, in the user's own words."
                    },
                    "plays": {
                      "enum": [
                        "LOOP",
                        "ONCE",
                        "HOLD"
                      ],
                      "type": "string",
                      "description": "LOOP (the default) repeats, ONCE plays one time, HOLD plays and stops on its last frame."
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 10,
                "description": "Parts in the user's own words."
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings."
              },
              "reference_set_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional set_id of one of the user's character sprite sets (chargen_get_job shows set_id). The effect is drawn in the colours of that character's Cast move, or of its base sprite."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Order sprite effect",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "chargen_generate_sprite_item",
          "title": "Order sprite item",
          "description": "Order an animated pixel sprite item, for example a potion or a key, from a preset or the user's own description, in parts that play one after another: 10 Gold for the first part and 8 for each more part. It can be drawn in an element's colours, or from one of the user's own still pictures (reference_image_id). First call chargen_quote_sprite_item, confirm the price with the user, then supply its quote_token with identical inputs. Returns request_id; poll chargen_get_job for each part's animated GIF. A part that fails is refunded. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.",
          "inputSchema": {
            "type": "object",
            "required": [
              "quote_token"
            ],
            "properties": {
              "parts": {
                "type": "array",
                "items": {
                  "enum": [
                    "SPINS",
                    "SHINES",
                    "COLLECTED",
                    "BEATS",
                    "POPS",
                    "BUBBLES",
                    "DRUNK",
                    "HEALS",
                    "SWIRLS",
                    "GLOWS",
                    "FLIPS",
                    "RATTLES",
                    "OPENS",
                    "FLARES",
                    "DIMS",
                    "TURNS",
                    "RESTS",
                    "UNROLLS",
                    "BURNS",
                    "MIST",
                    "VISION",
                    "CLEARS",
                    "LIGHTS",
                    "FLICKERS",
                    "GOES_OUT",
                    "FLOATS",
                    "IDLE",
                    "USED",
                    "GONE"
                  ],
                  "type": "string",
                  "description": "A part key."
                },
                "maxItems": 10,
                "description": "The parts to draw, by key, each one at most once. With a preset, its own parts (gem: SPINS, SHINES, COLLECTED; heart: BEATS, POPS, COLLECTED; healthpotion: BUBBLES, DRUNK, HEALS; manapotion: SWIRLS, DRUNK, GLOWS; coin: SPINS, FLIPS, SHINES; chest: SHINES, RATTLES, OPENS; sword: GLOWS, FLARES, DIMS; ring: TURNS, FLARES, RESTS; scroll: UNROLLS, GLOWS, BURNS; crystalball: MIST, VISION, CLEARS; torch: LIGHTS, FLICKERS, GOES_OUT; key: FLOATS, TURNS, GLOWS). With a description: IDLE, USED, GONE. parts and custom_parts together hold 1 to 10 parts."
              },
              "title": {
                "type": "string",
                "maxLength": 120,
                "description": "Optional name for these sprites in the user's library."
              },
              "preset": {
                "enum": [
                  "gem",
                  "heart",
                  "healthpotion",
                  "manapotion",
                  "coin",
                  "chest",
                  "sword",
                  "ring",
                  "scroll",
                  "crystalball",
                  "torch",
                  "key"
                ],
                "type": "string",
                "description": "One of CharGen's items. Give preset or description, not both."
              },
              "element": {
                "enum": [
                  "FIRE",
                  "ICE",
                  "LIGHTNING",
                  "POISON",
                  "HOLY",
                  "DARK",
                  "ARCANE",
                  "NATURE"
                ],
                "type": "string",
                "description": "Optional element or colour that every part is drawn in."
              },
              "description": {
                "type": "string",
                "maxLength": 200,
                "description": "The item in the user's own words, in place of preset."
              },
              "quote_token": {
                "type": "string",
                "description": "Approved quote_token from chargen_quote_sprite_item. Use the same inputs; changed inputs or prices fail without charging."
              },
              "custom_parts": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "text"
                  ],
                  "properties": {
                    "text": {
                      "type": "string",
                      "maxLength": 40,
                      "description": "What the part shows, in the user's own words."
                    },
                    "plays": {
                      "enum": [
                        "LOOP",
                        "ONCE",
                        "HOLD"
                      ],
                      "type": "string",
                      "description": "LOOP (the default) repeats, ONCE plays one time, HOLD plays and stops on its last frame."
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 10,
                "description": "Parts in the user's own words."
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings."
              },
              "reference_image_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional UUID of one of the user's own still pictures, from chargen_search_gallery. The item is drawn from it."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Order sprite item",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "chargen_generate_tavern",
          "title": "Generate tavern",
          "description": "Generate a D&D tavern using the declared prompt and optional structured fields. Entity text is free on every user plan, including Free. Portraits use the account's art preset: the default is free; a paid preset charges its Gold price, shown as portrait_gold, or falls back to the free default if unaffordable. Partner keys are billed from their wallet. Returns a job_id immediately; poll chargen_get_job for the entity_id and page_url. Pass collection_id to file it into your folder. Generated entries are public by default; change visibility in CharGen.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "theme": {
                "type": "string",
                "description": "text"
              },
              "prompt": {
                "type": "string",
                "description": "Freeform description guiding this generation."
              },
              "gameMode": {
                "type": "string",
                "description": "text"
              },
              "partyLevel": {
                "type": "integer",
                "maximum": 20,
                "minimum": 1,
                "description": "integer 1-20"
              },
              "tavernType": {
                "type": "string",
                "description": "text"
              },
              "collection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional folder UUID owned by you; user accounts only. The finished entity is filed there on the first completed chargen_get_job poll."
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional partner billing deduplication key. Retries with the same key avoid a second wallet debit, but can start another generation."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Generate tavern",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_generate_text_to_video",
          "title": "Start text to video",
          "description": "Start a job to create a video from a text description. First call chargen_quote_text_to_video, confirm the price with the user, then supply its quote_token with identical inputs. Spends the quoted Gold; returns request_id to poll with chargen_get_job. Only the declared settings are supported. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.",
          "inputSchema": {
            "type": "object",
            "required": [
              "model",
              "prompt",
              "quote_token"
            ],
            "properties": {
              "model": {
                "type": "string",
                "description": "Enabled video model supporting text-to-video; chargen_list_media_models can help choose a model. This never changes the operation."
              },
              "prompt": {
                "type": "string",
                "description": "What happens in the video, written for the chosen model. chargen_list_media_models with this mode says how to phrase it for each model (prompt_styles); nothing improves the wording on the way to the model."
              },
              "audio_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional owned gallery reference audio UUID, where supported by the model."
              },
              "video_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional owned gallery reference video UUID, where supported by the model."
              },
              "resolution": {
                "type": "string",
                "description": "Resolution supported by the model, such as 720p."
              },
              "quote_token": {
                "type": "string",
                "description": "Approved quote_token from chargen_quote_text_to_video. Use the same inputs; changed inputs or prices fail without charging."
              },
              "aspect_ratio": {
                "type": "string",
                "description": "Aspect ratio supported by the model, such as 16:9."
              },
              "generate_audio": {
                "type": "boolean",
                "description": "Generate accompanying audio, where supported."
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings."
              },
              "negative_prompt": {
                "type": "string",
                "maxLength": 4000,
                "description": "Things to keep out of the result, as a short list. Only some models take one: chargen_list_media_models shows negative_prompt in that model's settings, and any other model refuses this argument."
              },
              "duration_seconds": {
                "type": "integer",
                "minimum": 1,
                "description": "Video duration in seconds, where supported by the model."
              },
              "prompt_expansion": {
                "type": "boolean",
                "description": "Let the video model rewrite and lengthen the prompt before it renders, where the model offers it (chargen_list_media_models shows prompt_expansion in its settings). Off by default; leave it off for a prompt written in full."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Start text to video",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "chargen_generate_tts",
          "title": "Start tts",
          "description": "Start a job to speak the exact supplied text. First call chargen_quote_tts, confirm the price with the user, then supply its quote_token with identical inputs. Spends the quoted Gold; returns request_id to poll with chargen_get_job. Only the declared settings are supported. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.",
          "inputSchema": {
            "type": "object",
            "required": [
              "prompt",
              "quote_token"
            ],
            "properties": {
              "model": {
                "type": "string",
                "description": "Enabled audio model supporting tts; chargen_list_media_models can help choose a model. This never changes the operation."
              },
              "voice": {
                "type": "string",
                "description": "Voice supported by the selected model."
              },
              "prompt": {
                "type": "string",
                "description": "The exact words to speak. Speech is priced per 1,000 characters."
              },
              "quote_token": {
                "type": "string",
                "description": "Approved quote_token from chargen_quote_tts. Use the same inputs; changed inputs or prices fail without charging."
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Start tts",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "chargen_generate_video_edit",
          "title": "Start video edit",
          "description": "Start a job to edit an owned gallery video. First call chargen_quote_video_edit, confirm the price with the user, then supply its quote_token with identical inputs. Spends the quoted Gold; returns request_id to poll with chargen_get_job. Only the declared settings are supported. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.",
          "inputSchema": {
            "type": "object",
            "required": [
              "model",
              "prompt",
              "video_id",
              "quote_token"
            ],
            "properties": {
              "model": {
                "type": "string",
                "description": "Enabled video model supporting video-edit; chargen_list_media_models can help choose a model. This never changes the operation."
              },
              "prompt": {
                "type": "string",
                "description": "The change to make to the video."
              },
              "audio_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional owned gallery reference audio UUID, where supported by the model."
              },
              "video_id": {
                "type": "string",
                "format": "uuid",
                "description": "Owned gallery video UUID to edit, follow or add sound to."
              },
              "swap_mode": {
                "enum": [
                  "Change",
                  "Background"
                ],
                "type": "string",
                "description": "OpenJutsu Object Swap only: Change (default) changes the target into what the prompt or the reference image describes; Background keeps the target and changes everything around it."
              },
              "resolution": {
                "type": "string",
                "description": "Resolution supported by the model, such as 720p."
              },
              "quote_token": {
                "type": "string",
                "description": "Approved quote_token from chargen_quote_video_edit. Use the same inputs; changed inputs or prices fail without charging."
              },
              "swap_target": {
                "type": "string",
                "maxLength": 120,
                "description": "OpenJutsu Object Swap only, and required there: the thing in the video to change, such as hair, jacket or car (a comma list is allowed). In Background mode, the thing to keep."
              },
              "aspect_ratio": {
                "type": "string",
                "description": "Aspect ratio supported by the model, such as 16:9."
              },
              "generate_audio": {
                "type": "boolean",
                "description": "Generate accompanying audio, where supported."
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings."
              },
              "duration_seconds": {
                "type": "integer",
                "minimum": 1,
                "description": "Video duration in seconds, where supported by the model."
              },
              "reference_image_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "format": "uuid"
                },
                "description": "Owned reference image UUIDs, where supported. Reference-to-video needs at least one image, audio or video reference; model-specific source counts are validated by the media policy."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Start video edit",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "chargen_generate_video_to_audio",
          "title": "Start video to audio",
          "description": "Start a job to create sound for an owned gallery video. First call chargen_quote_video_to_audio, confirm the price with the user, then supply its quote_token with identical inputs. Spends the quoted Gold; returns request_id to poll with chargen_get_job. Only the declared settings are supported. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.",
          "inputSchema": {
            "type": "object",
            "required": [
              "model",
              "video_id",
              "quote_token"
            ],
            "properties": {
              "model": {
                "type": "string",
                "description": "Enabled audio model supporting video-to-audio; chargen_list_media_models can help choose a model. This never changes the operation."
              },
              "prompt": {
                "type": "string",
                "description": "The sounds to add to the video. Optional when the chosen model supports video-derived sound without text; otherwise required."
              },
              "video_id": {
                "type": "string",
                "format": "uuid",
                "description": "Owned gallery video UUID to edit, follow or add sound to."
              },
              "quote_token": {
                "type": "string",
                "description": "Approved quote_token from chargen_quote_video_to_audio. Use the same inputs; changed inputs or prices fail without charging."
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings."
              },
              "negative_prompt": {
                "type": "string",
                "maxLength": 4000,
                "description": "Things to keep out of the result, as a short list. Only some models take one: chargen_list_media_models shows negative_prompt in that model's settings, and any other model refuses this argument."
              },
              "duration_seconds": {
                "type": "integer",
                "minimum": 1,
                "description": "Audio duration in seconds, where supported."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Start video to audio",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "chargen_generate_video_to_video",
          "title": "Start video to video",
          "description": "Start a job to create a new soundtrack on a copy of an owned gallery video. First call chargen_quote_video_to_video, confirm the price with the user, then supply its quote_token with identical inputs. Spends the quoted Gold; returns request_id to poll with chargen_get_job. Only the declared settings are supported. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.",
          "inputSchema": {
            "type": "object",
            "required": [
              "model",
              "video_id",
              "quote_token"
            ],
            "properties": {
              "model": {
                "type": "string",
                "description": "Enabled audio model supporting video-to-video; chargen_list_media_models can help choose a model. This never changes the operation."
              },
              "prompt": {
                "type": "string",
                "description": "The sounds to add to the video. Optional when the chosen model supports video-derived sound without text; otherwise required."
              },
              "video_id": {
                "type": "string",
                "format": "uuid",
                "description": "Owned gallery video UUID to edit, follow or add sound to."
              },
              "quote_token": {
                "type": "string",
                "description": "Approved quote_token from chargen_quote_video_to_video. Use the same inputs; changed inputs or prices fail without charging."
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings."
              },
              "negative_prompt": {
                "type": "string",
                "maxLength": 4000,
                "description": "Things to keep out of the result, as a short list. Only some models take one: chargen_list_media_models shows negative_prompt in that model's settings, and any other model refuses this argument."
              },
              "duration_seconds": {
                "type": "integer",
                "minimum": 1,
                "description": "Audio duration in seconds, where supported."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Start video to video",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "chargen_generate_world",
          "title": "Generate world",
          "description": "Generate a D&D world using the declared prompt and optional structured fields. Entity text is free on every user plan, including Free. Portraits use the account's art preset: the default is free; a paid preset charges its Gold price, shown as portrait_gold, or falls back to the free default if unaffordable. Partner keys are billed from their wallet. Returns a job_id immediately; poll chargen_get_job for the entity_id and page_url. Pass collection_id to file it into your folder. Generated entries are public by default; change visibility in CharGen.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string",
                "description": "text"
              },
              "shape": {
                "type": "string",
                "description": "text"
              },
              "theme": {
                "type": "string",
                "description": "text"
              },
              "prompt": {
                "type": "string",
                "description": "Freeform description guiding this generation."
              },
              "magicLevel": {
                "type": "string",
                "description": "text"
              },
              "regionCount": {
                "type": "integer",
                "description": "Number of regions, 3 to 12 (default 8). Values outside the range are clamped."
              },
              "collection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional folder UUID owned by you; user accounts only. The finished entity is filed there on the first completed chargen_get_job poll."
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional partner billing deduplication key. Retries with the same key avoid a second wallet debit, but can start another generation."
              },
              "technologyLevel": {
                "type": "string",
                "description": "text"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Generate world",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_get_campaign",
          "title": "Get campaign dashboard",
          "description": "Campaign dashboard: tracked and candidate world-graph entities per type (NPCs, monsters, locations, factions, items, players) plus recent timeline. Use chargen_list_entities for full lists.",
          "inputSchema": {
            "type": "object",
            "required": [
              "campaign_id"
            ],
            "properties": {
              "campaign_id": {
                "type": "string",
                "description": "Campaign UUID"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Get campaign dashboard",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_get_collection",
          "title": "Get folder",
          "description": "One folder and its filed items: per item the item ROW id (used by chargen_remove_collection_item), item_type, target_id and resolved display (title, subtitle, image_url). Get folder ids from chargen_list_collections.",
          "inputSchema": {
            "type": "object",
            "required": [
              "collection_id"
            ],
            "properties": {
              "collection_id": {
                "type": "string",
                "description": "Collection UUID"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Get folder",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_get_entity",
          "title": "Get world entity",
          "description": "Full detail for one world-graph entity: description, notes, AI summary, aliases, mention stats, relationships, linked generations and image URLs. Use inspector_url to link the selected record in ChatGPT.",
          "inputSchema": {
            "type": "object",
            "required": [
              "campaign_id",
              "entity_id"
            ],
            "properties": {
              "entity_id": {
                "type": "string",
                "description": "Entity UUID"
              },
              "campaign_id": {
                "type": "string",
                "description": "Campaign UUID"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Get world entity",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_get_generation",
          "title": "Get generation",
          "description": "One generation in full: parsed output data plus associated image URLs (thumbnail-first, never base64). Very large outputs are truncated to a raw JSON prefix with output_truncated: true instead of failing; check that flag before assuming the full output object is present. images and relationships are independently paged 20 per page via images_page/relationships_page (1-indexed, default 1); check images_total/relationships_total and the *_next_page fields to page through the rest.",
          "inputSchema": {
            "type": "object",
            "required": [
              "generation_id"
            ],
            "properties": {
              "images_page": {
                "type": "integer",
                "description": "1-indexed page of the images list to return, 20 per page. Default 1."
              },
              "generation_id": {
                "type": "string",
                "description": "Generation UUID"
              },
              "relationships_page": {
                "type": "integer",
                "description": "1-indexed page of the relationships list to return, 20 per page. Default 1."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Get generation",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_get_job",
          "title": "Check job status",
          "description": "Check a job by id: an entity generation job, or a request from chargen_generate_image, a fixed video, audio, image edit or workflow run tool from chargen_list_recipes, or a Pixel Sprites order tool. Returns status, the error on failure, and when ready the generation id or the media (media_type, media_url, page_url; a workflow run lists every output with its role; a sprite order lists every move or part with its animated GIF, its set_id and any Gold refunded). Checking a job never cancels it and never deletes or overwrites content. When a video, audio, edit or workflow job passes its time limit, CharGen records it as timed out and returns its Gold, whether or not anyone checks. Checking a completed generation may also file it in the folder requested at generation time.",
          "inputSchema": {
            "type": "object",
            "required": [
              "job_id"
            ],
            "properties": {
              "job_id": {
                "type": "string",
                "description": "Job UUID from a generate tool"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Check job status",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_get_party",
          "title": "Get party",
          "description": "Party roster: members with race, class and description, plus portrait image URLs.",
          "inputSchema": {
            "type": "object",
            "required": [
              "party_id"
            ],
            "properties": {
              "party_id": {
                "type": "string",
                "description": "Party UUID"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Get party",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_get_pricing",
          "title": "Get pricing",
          "description": "Current pricing: per-generator entity fees and gold conversion (partners), or gold costs for campaign batch generation (users).",
          "inputSchema": {
            "type": "object",
            "properties": {}
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Get pricing",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_get_quest",
          "title": "Get quest",
          "description": "One quest in full: objectives, giver, progress log, success and failure conditions, rewards, next actions. Owner-only (DM material).",
          "inputSchema": {
            "type": "object",
            "required": [
              "campaign_id",
              "quest_id"
            ],
            "properties": {
              "quest_id": {
                "type": "string",
                "description": "Quest UUID"
              },
              "campaign_id": {
                "type": "string",
                "description": "Campaign UUID"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Get quest",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_get_recipe_3d_cartoon_diorama",
          "title": "Get 3d cartoon diorama",
          "description": "Read the input rules, allowed values, output shape and pricing for the 3d cartoon diorama workflow: turn an owned image into a 3D cartoon diorama. Takes no arguments and never starts a run. Use chargen_quote_recipe_3d_cartoon_diorama to price exact values and chargen_run_recipe_3d_cartoon_diorama to start this workflow.",
          "inputSchema": {
            "type": "object",
            "properties": {},
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Get 3d cartoon diorama",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_get_recipe_anime_style",
          "title": "Get anime style",
          "description": "Read the input rules, allowed values, output shape and pricing for the anime style workflow: turn an owned portrait into anime art. Takes no arguments and never starts a run. Use chargen_quote_recipe_anime_style to price exact values and chargen_run_recipe_anime_style to start this workflow.",
          "inputSchema": {
            "type": "object",
            "properties": {},
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Get anime style",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_get_recipe_art_style_transfer",
          "title": "Get art style transfer",
          "description": "Read the input rules, allowed values, output shape and pricing for the art style transfer workflow: restyle an owned image in a selected art style. Takes no arguments and never starts a run. Use chargen_quote_recipe_art_style_transfer to price exact values and chargen_run_recipe_art_style_transfer to start this workflow.",
          "inputSchema": {
            "type": "object",
            "properties": {},
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Get art style transfer",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_get_recipe_box_model",
          "title": "Get box model",
          "description": "Read the input rules, allowed values, output shape and pricing for the box model workflow: present an owned image's subject as a boxed collectible. Takes no arguments and never starts a run. Use chargen_quote_recipe_box_model to price exact values and chargen_run_recipe_box_model to start this workflow.",
          "inputSchema": {
            "type": "object",
            "properties": {},
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Get box model",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_get_recipe_character_production_pack",
          "title": "Get character production pack",
          "description": "Read the input rules, allowed values, output shape and pricing for the character production pack workflow: create a coordinated production pack from owned character artwork. Takes no arguments and never starts a run. Use chargen_quote_recipe_character_production_pack to price exact values and chargen_run_recipe_character_production_pack to start this workflow.",
          "inputSchema": {
            "type": "object",
            "properties": {},
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Get character production pack",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_get_recipe_character_progression_pack",
          "title": "Get character progression pack",
          "description": "Read the input rules, allowed values, output shape and pricing for the character progression pack workflow: create a character progression pack from owned artwork. Takes no arguments and never starts a run. Use chargen_quote_recipe_character_progression_pack to price exact values and chargen_run_recipe_character_progression_pack to start this workflow.",
          "inputSchema": {
            "type": "object",
            "properties": {},
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Get character progression pack",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_get_recipe_character_reference_sheet",
          "title": "Get character reference sheet",
          "description": "Read the input rules, allowed values, output shape and pricing for the character reference sheet workflow: create a character reference sheet from owned artwork. Takes no arguments and never starts a run. Use chargen_quote_recipe_character_reference_sheet to price exact values and chargen_run_recipe_character_reference_sheet to start this workflow.",
          "inputSchema": {
            "type": "object",
            "properties": {},
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Get character reference sheet",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_get_recipe_character_variants",
          "title": "Get character variants",
          "description": "Read the input rules, allowed values, output shape and pricing for the character variants workflow: create selected character variations from owned artwork. Takes no arguments and never starts a run. Use chargen_quote_recipe_character_variants to price exact values and chargen_run_recipe_character_variants to start this workflow.",
          "inputSchema": {
            "type": "object",
            "properties": {},
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Get character variants",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_get_recipe_claymation",
          "title": "Get claymation",
          "description": "Read the input rules, allowed values, output shape and pricing for the claymation workflow: restyle an owned image as a claymation scene. Takes no arguments and never starts a run. Use chargen_quote_recipe_claymation to price exact values and chargen_run_recipe_claymation to start this workflow.",
          "inputSchema": {
            "type": "object",
            "properties": {},
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Get claymation",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_get_recipe_creature_reference_pack",
          "title": "Get creature reference pack",
          "description": "Read the input rules, allowed values, output shape and pricing for the creature reference pack workflow: create a creature reference pack from owned artwork. Takes no arguments and never starts a run. Use chargen_quote_recipe_creature_reference_pack to price exact values and chargen_run_recipe_creature_reference_pack to start this workflow.",
          "inputSchema": {
            "type": "object",
            "properties": {},
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Get creature reference pack",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_get_recipe_faction_heraldry_kit",
          "title": "Get faction heraldry kit",
          "description": "Read the input rules, allowed values, output shape and pricing for the faction heraldry kit workflow: create faction heraldry from an owned reference image. Takes no arguments and never starts a run. Use chargen_quote_recipe_faction_heraldry_kit to price exact values and chargen_run_recipe_faction_heraldry_kit to start this workflow.",
          "inputSchema": {
            "type": "object",
            "properties": {},
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Get faction heraldry kit",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_get_recipe_fantasy_bestiary_page",
          "title": "Get fantasy bestiary page",
          "description": "Read the input rules, allowed values, output shape and pricing for the fantasy bestiary page workflow: turn an owned creature image into a fantasy bestiary page. Takes no arguments and never starts a run. Use chargen_quote_recipe_fantasy_bestiary_page to price exact values and chargen_run_recipe_fantasy_bestiary_page to start this workflow.",
          "inputSchema": {
            "type": "object",
            "properties": {},
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Get fantasy bestiary page",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_get_recipe_location_variants",
          "title": "Get location variants",
          "description": "Read the input rules, allowed values, output shape and pricing for the location variants workflow: create location variations from owned artwork. Takes no arguments and never starts a run. Use chargen_quote_recipe_location_variants to price exact values and chargen_run_recipe_location_variants to start this workflow.",
          "inputSchema": {
            "type": "object",
            "properties": {},
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Get location variants",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_get_recipe_magic_item_showcase",
          "title": "Get magic item showcase",
          "description": "Read the input rules, allowed values, output shape and pricing for the magic item showcase workflow: create a magic item showcase from an owned reference image. Takes no arguments and never starts a run. Use chargen_quote_recipe_magic_item_showcase to price exact values and chargen_run_recipe_magic_item_showcase to start this workflow.",
          "inputSchema": {
            "type": "object",
            "properties": {},
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Get magic item showcase",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_get_recipe_monster_variant_sheet",
          "title": "Get monster variant sheet",
          "description": "Read the input rules, allowed values, output shape and pricing for the monster variant sheet workflow: create a set of monster variations from an owned creature image. Takes no arguments and never starts a run. Use chargen_quote_recipe_monster_variant_sheet to price exact values and chargen_run_recipe_monster_variant_sheet to start this workflow.",
          "inputSchema": {
            "type": "object",
            "properties": {},
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Get monster variant sheet",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_get_recipe_photo_to_dnd_character",
          "title": "Get photo to dnd character",
          "description": "Read the input rules, allowed values, output shape and pricing for the photo to dnd character workflow: turn an owned portrait into a fantasy roleplaying character. Takes no arguments and never starts a run. Use chargen_quote_recipe_photo_to_dnd_character to price exact values and chargen_run_recipe_photo_to_dnd_character to start this workflow.",
          "inputSchema": {
            "type": "object",
            "properties": {},
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Get photo to dnd character",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_get_recipe_plushie",
          "title": "Get plushie",
          "description": "Read the input rules, allowed values, output shape and pricing for the plushie workflow: turn an owned image's subject into a plush toy illustration. Takes no arguments and never starts a run. Use chargen_quote_recipe_plushie to price exact values and chargen_run_recipe_plushie to start this workflow.",
          "inputSchema": {
            "type": "object",
            "properties": {},
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Get plushie",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_get_recipe_product_photography",
          "title": "Get product photography",
          "description": "Read the input rules, allowed values, output shape and pricing for the product photography workflow: create product photography from an owned product image. Takes no arguments and never starts a run. Use chargen_quote_recipe_product_photography to price exact values and chargen_run_recipe_product_photography to start this workflow.",
          "inputSchema": {
            "type": "object",
            "properties": {},
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Get product photography",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_get_recipe_rpg_character_asset_pack",
          "title": "Get rpg character asset pack",
          "description": "Read the input rules, allowed values, output shape and pricing for the rpg character asset pack workflow: create a roleplaying character asset pack from owned artwork. Takes no arguments and never starts a run. Use chargen_quote_recipe_rpg_character_asset_pack to price exact values and chargen_run_recipe_rpg_character_asset_pack to start this workflow.",
          "inputSchema": {
            "type": "object",
            "properties": {},
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Get rpg character asset pack",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_get_recipe_rpg_sprite_sheet",
          "title": "Get rpg sprite sheet",
          "description": "Read the input rules, allowed values, output shape and pricing for the rpg sprite sheet workflow: create a roleplaying sprite sheet from owned character artwork. Takes no arguments and never starts a run. Use chargen_quote_recipe_rpg_sprite_sheet to price exact values and chargen_run_recipe_rpg_sprite_sheet to start this workflow.",
          "inputSchema": {
            "type": "object",
            "properties": {},
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Get rpg sprite sheet",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_get_recipe_sketch_to_battlemap",
          "title": "Get sketch to battlemap",
          "description": "Read the input rules, allowed values, output shape and pricing for the sketch to battlemap workflow: develop an owned sketch into a battlemap. Takes no arguments and never starts a run. Use chargen_quote_recipe_sketch_to_battlemap to price exact values and chargen_run_recipe_sketch_to_battlemap to start this workflow.",
          "inputSchema": {
            "type": "object",
            "properties": {},
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Get sketch to battlemap",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_get_recipe_sketch_to_image",
          "title": "Get sketch to image",
          "description": "Read the input rules, allowed values, output shape and pricing for the sketch to image workflow: develop an owned sketch into a finished illustration. Takes no arguments and never starts a run. Use chargen_quote_recipe_sketch_to_image to price exact values and chargen_run_recipe_sketch_to_image to start this workflow.",
          "inputSchema": {
            "type": "object",
            "properties": {},
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Get sketch to image",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_get_recipe_storybook_animation",
          "title": "Get storybook animation",
          "description": "Read the input rules, allowed values, output shape and pricing for the storybook animation workflow: restyle an owned image as a storybook animation illustration. Takes no arguments and never starts a run. Use chargen_quote_recipe_storybook_animation to price exact values and chargen_run_recipe_storybook_animation to start this workflow.",
          "inputSchema": {
            "type": "object",
            "properties": {},
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Get storybook animation",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_get_recipe_tarot_card",
          "title": "Get tarot card",
          "description": "Read the input rules, allowed values, output shape and pricing for the tarot card workflow: turn an owned image's subject into a tarot card. Takes no arguments and never starts a run. Use chargen_quote_recipe_tarot_card to price exact values and chargen_run_recipe_tarot_card to start this workflow.",
          "inputSchema": {
            "type": "object",
            "properties": {},
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Get tarot card",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_get_recipe_tavern_menu",
          "title": "Get tavern menu",
          "description": "Read the input rules, allowed values, output shape and pricing for the tavern menu workflow: create a tavern menu lettered with tavernName and dishes (one dish and its price per line, up to four), optionally from an owned tavern image. Takes no arguments and never starts a run. Use chargen_quote_recipe_tavern_menu to price exact values and chargen_run_recipe_tavern_menu to start this workflow.",
          "inputSchema": {
            "type": "object",
            "properties": {},
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Get tavern menu",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_get_recipe_wanted_poster",
          "title": "Get wanted poster",
          "description": "Read the input rules, allowed values, output shape and pricing for the wanted poster workflow: turn an owned character portrait into a wanted poster lettered with posterName and bounty (bounty is 500 GOLD when empty). Takes no arguments and never starts a run. Use chargen_quote_recipe_wanted_poster to price exact values and chargen_run_recipe_wanted_poster to start this workflow.",
          "inputSchema": {
            "type": "object",
            "properties": {},
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Get wanted poster",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_get_relationship_graph",
          "title": "Get relationship graph",
          "description": "Relationship edges for one entity (pass entity_id) or the whole campaign (omit it). Focused mode (entity_id passed) emits one row per other entity as other_id/other_name/other_type. Whole-campaign mode (entity_id omitted) emits one row per entity pair, naming both endpoints as from_id/from_name/from_type and to_id/to_name/to_type. Each edge has a source: SESSION (seen together in sessions; weight counts shared moments) or RECORD (a link between the saved records linked to the two entities; last_session is null; it always names both ends as from_*/to_*, so its direction is clear in focused mode too). Capped at 'limit' edges (default 25, max 100); the service caps at 200 total.",
          "inputSchema": {
            "type": "object",
            "required": [
              "campaign_id"
            ],
            "properties": {
              "limit": {
                "type": "integer",
                "description": "Max items to return (default 25, max 100)"
              },
              "cursor": {
                "type": "string",
                "description": "Opaque cursor from the previous page's nextCursor"
              },
              "entity_id": {
                "type": "string",
                "description": "Optional entity UUID to focus on"
              },
              "campaign_id": {
                "type": "string",
                "description": "Campaign UUID"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Get relationship graph",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_get_session_recap",
          "title": "Get session recap",
          "description": "A session's recap: full, short and spoiler-free summaries, key events, highlights with quotes, NPCs, monsters, locations, spells, items, factions and character actions. Actions include entry IDs, summary, interaction text and complete interaction_links for chargen_edit_recap_entry. DM notes are visible only to the campaign owner. Pass 'version' for recap history; omit for the latest.",
          "inputSchema": {
            "type": "object",
            "required": [
              "session_id"
            ],
            "properties": {
              "version": {
                "type": "integer",
                "description": "Recap version (omit for latest)"
              },
              "session_id": {
                "type": "string",
                "description": "Session UUID"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Get session recap",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_get_timeline",
          "title": "Get campaign timeline",
          "description": "Campaign timeline (character actions, key events, highlights) newest-first. Filter with entity_id and/or from_session/to_session.",
          "inputSchema": {
            "type": "object",
            "required": [
              "campaign_id"
            ],
            "properties": {
              "limit": {
                "type": "integer",
                "description": "Max items to return (default 25, max 100)"
              },
              "cursor": {
                "type": "string",
                "description": "Opaque cursor from the previous page's nextCursor"
              },
              "entity_id": {
                "type": "string",
                "description": "Only items linked to this entity"
              },
              "to_session": {
                "type": "integer",
                "description": "Highest session number to include"
              },
              "campaign_id": {
                "type": "string",
                "description": "Campaign UUID"
              },
              "from_session": {
                "type": "integer",
                "description": "Lowest session number to include"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Get campaign timeline",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_get_tracker",
          "title": "Get quest tracker",
          "description": "The campaign's quest tracker: quests, open threads (unresolved questions) and plot hooks. Owner-only (DM material).",
          "inputSchema": {
            "type": "object",
            "required": [
              "campaign_id"
            ],
            "properties": {
              "campaign_id": {
                "type": "string",
                "description": "Campaign UUID"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Get quest tracker",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_get_transcript",
          "title": "Get session transcript",
          "description": "Diarised transcript of a session, chunked by segment offset/limit (limit default 50, max 100). Falls back to raw-text chunks of ~4000 chars each when no structured dialogue exists, with its own smaller page size (limit default 5, max 6). The response reports total_segments; page with 'offset'.",
          "inputSchema": {
            "type": "object",
            "required": [
              "session_id"
            ],
            "properties": {
              "limit": {
                "type": "integer",
                "description": "Segments to return (default 50, max 100). The raw-text fallback uses a smaller page size - default 5, max 6 - since each item is a ~4000-char text chunk."
              },
              "offset": {
                "type": "integer",
                "description": "First segment index (default 0)"
              },
              "session_id": {
                "type": "string",
                "description": "Session UUID"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Get session transcript",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_link_generation",
          "title": "Link generation to campaign entity",
          "description": "Attach a generation (a saved library item) to a campaign's world-graph entity, so its art and details show on that entity. Pass entity_id to link to an existing tracked entity, or omit it and pass entity_type + display_name to create the tracked entity and link in one call (re-using an existing entity with the same name). Re-linking the same generation updates its link metadata.",
          "inputSchema": {
            "type": "object",
            "required": [
              "campaign_id",
              "generation_id"
            ],
            "properties": {
              "label": {
                "type": "string",
                "description": "Optional label for the link"
              },
              "entity_id": {
                "type": "string",
                "description": "Existing world-graph entity UUID. Omit to create one from entity_type + display_name"
              },
              "campaign_id": {
                "type": "string",
                "description": "Campaign UUID"
              },
              "entity_type": {
                "enum": [
                  "NPC",
                  "MONSTER",
                  "LOCATION",
                  "FACTION",
                  "ITEM"
                ],
                "type": "string",
                "description": "Type for the created entity (create mode only)"
              },
              "display_name": {
                "type": "string",
                "description": "Name for the created entity (create mode only)"
              },
              "generation_id": {
                "type": "string",
                "description": "Generation UUID to attach"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Link generation to campaign entity",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "chargen_list_campaigns",
          "title": "List campaigns",
          "description": "List your campaigns: id, name, status, session count, player count, last activity. Cursor is an element offset.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "integer",
                "description": "Max items to return (default 25, max 100)"
              },
              "cursor": {
                "type": "string",
                "description": "Opaque cursor from the previous page's nextCursor"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "List campaigns",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_list_collections",
          "title": "List folders",
          "description": "Folder tree of the user's World Codex (omit campaign_id) or a campaign workspace (campaign_id set). Returns structure and per-folder item_count only - call chargen_get_collection for one folder's items. Workspace trees include codex folders the campaign references (from_codex true; grafted roots carry ref_row_id).",
          "inputSchema": {
            "type": "object",
            "properties": {
              "campaign_id": {
                "type": "string",
                "description": "Campaign UUID for that campaign's workspace tree; omit for the World Codex"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "List folders",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_list_entities",
          "title": "List world entities",
          "description": "World-graph entities of a campaign. Filter by entity_type (NPC, MONSTER, LOCATION, FACTION, ITEM, PLAYER); include_candidates=true adds unconfirmed candidates. Cursor is an element offset.",
          "inputSchema": {
            "type": "object",
            "required": [
              "campaign_id"
            ],
            "properties": {
              "limit": {
                "type": "integer",
                "description": "Max items to return (default 25, max 100)"
              },
              "cursor": {
                "type": "string",
                "description": "Opaque cursor from the previous page's nextCursor"
              },
              "campaign_id": {
                "type": "string",
                "description": "Campaign UUID"
              },
              "entity_type": {
                "type": "string",
                "description": "NPC | MONSTER | LOCATION | FACTION | ITEM | PLAYER (omit for all)"
              },
              "include_candidates": {
                "type": "boolean",
                "description": "Include CANDIDATE entities (default false)"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "List world entities",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_list_entity_merges",
          "title": "List world entity merges",
          "description": "Read active, undoable world-graph entity merges in a campaign you own. Returns merge_id, source and target identities and types, and merged_at. Use a returned merge_id with chargen_undo_entity_merge to restore a merge. This tool only reads history.",
          "inputSchema": {
            "type": "object",
            "required": [
              "campaign_id"
            ],
            "properties": {
              "campaign_id": {
                "type": "string",
                "description": "Campaign UUID"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "List world entity merges",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_list_entity_types",
          "title": "List entity types",
          "description": "List supported entity types and their fixed generation tool names. Each generation tool already declares its complete inputs in tools/list. Entity text generation is free on every user plan, including Free.",
          "inputSchema": {
            "type": "object",
            "properties": {}
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "List entity types",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_list_generations",
          "title": "List generations",
          "description": "List generated entities (NPCs, monsters, shops, ...). Users: filter by generation_type and q; cursor is a page number. Partners: org generations, cursor is a timestamp token.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "q": {
                "type": "string",
                "description": "Text filter (user principals only)"
              },
              "limit": {
                "type": "integer",
                "description": "Max items to return (default 25, max 100)"
              },
              "cursor": {
                "type": "string",
                "description": "Opaque cursor from the previous page's nextCursor"
              },
              "generation_type": {
                "type": "string",
                "description": "Generator type filter, e.g. NPC, MONSTER"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "List generations",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_list_image_models",
          "title": "List image models",
          "description": "The image models chargen_generate_image accepts, with per-image gold costs (including Low/Medium/High tiers on legacy quality-priced models and Low/Medium/High/XHigh/Max tiers on GPT Image 2.5 and 2.6), pixel size bounds and whether the model supports a reference image for image-to-image, which models are CharGen's top picks (top_pick, default_model), and how to phrase a prompt for each model family (prompt_style and prompt_styles). Costs are for one 1024x1024 image; num_images multiplies the cost. Entity generation through the fixed generation tools is free for subscribers, and so is its portrait unless the user has chosen a paid art preset in CharGen.",
          "inputSchema": {
            "type": "object",
            "properties": {}
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "List image models",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_list_media_models",
          "title": "List media models",
          "description": "Browse video, audio and 3D model choices, supported settings, voices and indicative Gold prices. All quote and generation operations already have fixed tools with complete input schemas; this optional catalogue does not define new operations or inputs. Each result links its fixed quote and execution tool names. With kind alone it is an index: every model, the operations (modes) it runs and its price at default settings. Pass mode for the models of one operation with their settings, sources and how to phrase the prompt (prompt_style and prompt_styles). Pass model for one model's settings, voices and prompt_rule; voice_query filters the voice list (at most 100 voices). kind model_3d lists the 3D create models with their options and the 3D tools (cleanup, uv, rig, animate, split) with the Tripo models they use and their Gold. Obtain the exact price from the corresponding quote tool.",
          "inputSchema": {
            "type": "object",
            "required": [
              "kind"
            ],
            "properties": {
              "kind": {
                "enum": [
                  "video",
                  "audio",
                  "model_3d"
                ],
                "type": "string",
                "description": "Which media models to list."
              },
              "mode": {
                "enum": [
                  "text-to-video",
                  "image-to-video",
                  "reference-to-video",
                  "video-edit",
                  "portrait-tts",
                  "portrait-audio",
                  "motion-transfer",
                  "tts",
                  "music",
                  "background-audio",
                  "video-to-audio",
                  "video-to-video"
                ],
                "type": "string",
                "description": "Optional operation of a video or audio fixed tool, such as image-to-video or music: lists only the models that run it, with their settings and sources for it."
              },
              "model": {
                "type": "string",
                "description": "Optional model name from the index: returns that model's supported settings, voices and sources."
              },
              "voice_query": {
                "type": "string",
                "description": "Optional text to filter the voice list of the chosen model (case-insensitive)."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "List media models",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_list_parties",
          "title": "List parties",
          "description": "List your parties: id, name, linked campaign, member count. Cursor is an element offset.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "integer",
                "description": "Max items to return (default 25, max 100)"
              },
              "cursor": {
                "type": "string",
                "description": "Opaque cursor from the previous page's nextCursor"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "List parties",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_list_recipes",
          "title": "List image workflows",
          "description": "CharGen's one-click image workflows (turn a portrait into a tarot card, a character reference sheet, a faction heraldry kit and more), with required input names and Gold price per output. This tool only lists the catalogue. Each entry names its separately registered detail, quote and run tools; call those tools for the corresponding workflow operation.",
          "inputSchema": {
            "type": "object",
            "properties": {},
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "List image workflows",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_list_sessions",
          "title": "List sessions",
          "description": "List a campaign's sessions: number, name, date, processing status, short recap summary. Cursor is a page number.",
          "inputSchema": {
            "type": "object",
            "required": [
              "campaign_id"
            ],
            "properties": {
              "limit": {
                "type": "integer",
                "description": "Max items to return (default 25, max 100)"
              },
              "cursor": {
                "type": "string",
                "description": "Opaque cursor from the previous page's nextCursor"
              },
              "campaign_id": {
                "type": "string",
                "description": "Campaign UUID"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "List sessions",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_merge_entities",
          "title": "Merge world entities",
          "description": "Merge one world-graph entity into another - for duplicates like 'Selphina'/'Sylphina' created by mispronunciations. Moves aliases, mentions, timeline links, images and generation links to the target and archives the source. Use chargen_undo_entity_merge with the returned merge_id to reverse it; chargen_list_entity_merges reads merge history. Renaming the misspelling inside session text and recaps is separate - after merging, run chargen_preview_find_replace, then chargen_apply_find_replace with this merge_id. Manual merges may combine any non-Player entity types. The target survives and keeps its type. Players can receive only Players or NPCs, and a Player cannot merge into another type.",
          "inputSchema": {
            "type": "object",
            "required": [
              "campaign_id",
              "target_entity_id",
              "source_entity_id"
            ],
            "properties": {
              "campaign_id": {
                "type": "string",
                "description": "Campaign UUID"
              },
              "source_entity_id": {
                "type": "string",
                "description": "Duplicate entity UUID to merge away"
              },
              "target_entity_id": {
                "type": "string",
                "description": "Surviving entity UUID"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Merge world entities",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "chargen_open_entity_inspector",
          "title": "CharGen",
          "description": "Open the CharGen Maker desk to browse artwork, start a creative project, or explore a campaign atlas. Open a campaign record for table notes, linked sheets and session sources.",
          "inputSchema": {
            "type": "object",
            "properties": {},
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "CharGen",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_preview_find_replace",
          "title": "Preview session text matches",
          "description": "Count text matches in a campaign's sessions without changing them. To replace text, use chargen_apply_find_replace for each selected session after user approval.",
          "inputSchema": {
            "type": "object",
            "required": [
              "campaign_id",
              "find"
            ],
            "properties": {
              "find": {
                "type": "string",
                "description": "Text to find"
              },
              "campaign_id": {
                "type": "string",
                "description": "Campaign UUID (required for preview)"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Preview session text matches",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_quote_3d_animate",
          "title": "Quote 3D animation",
          "description": "Quote the exact Gold price to rig and animate one of the user's 3D models with Tripo Animate (the rig is included): 1 to 5 moves, one named clip each in one file. Price by the number of moves: 1 move 50 Gold, 2 moves 65, 3 moves 75, 4 moves 90, 5 moves 105. Returns gold_cost and quote_token without starting a job or charging Gold. After the user approves, call chargen_edit_3d_animate with the same inputs and quote_token.",
          "inputSchema": {
            "type": "object",
            "required": [
              "model_id"
            ],
            "properties": {
              "moves": {
                "type": "array",
                "items": {
                  "enum": [
                    "idle",
                    "walk",
                    "run",
                    "dive",
                    "climb",
                    "jump",
                    "slash",
                    "shoot",
                    "hurt",
                    "fall",
                    "turn",
                    "quadruped:walk",
                    "hexapod:walk",
                    "octopod:walk",
                    "serpentine:march",
                    "aquatic:march"
                  ],
                  "type": "string"
                },
                "maxItems": 5,
                "minItems": 1,
                "description": "1 to 5 moves, one clip each (default walk). Each move adds to the price."
              },
              "in_place": {
                "type": "boolean",
                "description": "Keep the model in place instead of moving forward (default false)."
              },
              "model_id": {
                "type": "string",
                "format": "uuid",
                "description": "A 3D model from the user's own gallery: an image_id from chargen_search_gallery with media_type model_3d, or a finished 3D job's image_id."
              },
              "rig_type": {
                "enum": [
                  "auto",
                  "biped",
                  "quadruped",
                  "hexapod",
                  "octopod",
                  "avian",
                  "serpentine",
                  "aquatic",
                  "others"
                ],
                "type": "string",
                "description": "Body type of the skeleton (default auto)."
              },
              "bone_names": {
                "enum": [
                  "tripo",
                  "mixamo",
                  "actorcore",
                  "unity",
                  "unreal",
                  "vrm"
                ],
                "type": "string",
                "description": "Bone naming standard, for the engine the model goes to (default tripo)."
              },
              "file_format": {
                "enum": [
                  "glb",
                  "fbx"
                ],
                "type": "string",
                "description": "File type of the result (default glb). Tripo can return FBX even when glb is asked for."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Quote 3D animation",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_quote_3d_cleanup",
          "title": "Quote 3D clean up",
          "description": "Quote the exact Gold price to clean up one of the user's 3D models with Tripo Retopology: fewer, tidier faces, with an optional face target, quads, and UVs in the same pass (uv_in_same_pass). Price by version: v3.0 50 Gold (default), 55 Gold with quads, v2.0 45 Gold, v1.0 15 Gold. Returns gold_cost and quote_token without starting a job or charging Gold. After the user approves, call chargen_edit_3d_cleanup with the same inputs and quote_token.",
          "inputSchema": {
            "type": "object",
            "required": [
              "model_id"
            ],
            "properties": {
              "quads": {
                "type": "boolean",
                "description": "Quad faces instead of triangles (default false). Costs 5 Gold more on v3.0."
              },
              "version": {
                "enum": [
                  "v3.0",
                  "v2.0",
                  "v1.0"
                ],
                "type": "string",
                "description": "Tripo Retopology version (default v3.0)."
              },
              "model_id": {
                "type": "string",
                "format": "uuid",
                "description": "A 3D model from the user's own gallery: an image_id from chargen_search_gallery with media_type model_3d, or a finished 3D job's image_id."
              },
              "face_limit": {
                "type": "integer",
                "maximum": 200000,
                "minimum": 100,
                "description": "Target number of faces, from 100 to 200000."
              },
              "keep_textures": {
                "type": "boolean",
                "description": "Keep the textures on the result (default true). Free."
              },
              "uv_in_same_pass": {
                "type": "boolean",
                "description": "Also unwrap UVs in the same pass (version v3.0 only). Free."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Quote 3D clean up",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_quote_3d_model",
          "title": "Quote 3D model",
          "description": "Quote the exact Gold price to make a 3D model from one of the user's own pictures (image_id) or from a description (prompt), with Meshy6, Meshy V7, Meshy V7.1, Rodin v2.5, Trellis 2, Tripo P2, Tripo Parts. Tripo Parts makes a model in separate parts from a picture. Prices depend on the model and its options: Tripo Parts 115 Gold, Tripo P2 115 to 150 Gold; chargen_list_media_models with kind model_3d lists every model's price and options. Returns gold_cost and quote_token without starting a job or charging Gold. After the user approves, call chargen_generate_3d_model with the same inputs and quote_token.",
          "inputSchema": {
            "type": "object",
            "required": [
              "model"
            ],
            "properties": {
              "hint": {
                "type": "string",
                "maxLength": 500,
                "description": "Tripo Parts only: optional guidance for how to split the parts."
              },
              "model": {
                "enum": [
                  "Meshy6",
                  "Meshy V7",
                  "Meshy V7.1",
                  "Rodin v2.5",
                  "Trellis 2",
                  "Tripo P2",
                  "Tripo Parts"
                ],
                "type": "string",
                "description": "The 3D model to create with."
              },
              "prompt": {
                "type": "string",
                "description": "A description of the model, for a model that makes models from text. Leave it out when image_id is given."
              },
              "options": {
                "type": "object",
                "description": "Optional model settings by their exact key, for example {\"Texture Quality\": \"detailed\"} for Tripo P2. chargen_list_media_models with kind model_3d lists each model's keys and values; any other key is refused."
              },
              "image_id": {
                "type": "string",
                "format": "uuid",
                "description": "One of the user's own still pictures (from chargen_search_gallery) to make the model from. Give image_id or prompt, not both. Required for Meshy V7, Trellis 2 and Tripo Parts."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Quote 3D model",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_quote_3d_rig",
          "title": "Quote 3D rig",
          "description": "Quote the exact Gold price to add a skeleton to one of the user's 3D models with Tripo Rig. Price: 35 Gold. Returns gold_cost and quote_token without starting a job or charging Gold. After the user approves, call chargen_edit_3d_rig with the same inputs and quote_token.",
          "inputSchema": {
            "type": "object",
            "required": [
              "model_id"
            ],
            "properties": {
              "model_id": {
                "type": "string",
                "format": "uuid",
                "description": "A 3D model from the user's own gallery: an image_id from chargen_search_gallery with media_type model_3d, or a finished 3D job's image_id."
              },
              "rig_type": {
                "enum": [
                  "auto",
                  "biped",
                  "quadruped",
                  "hexapod",
                  "octopod",
                  "avian",
                  "serpentine",
                  "aquatic",
                  "others"
                ],
                "type": "string",
                "description": "Body type of the skeleton (default auto)."
              },
              "bone_names": {
                "enum": [
                  "tripo",
                  "mixamo",
                  "actorcore",
                  "unity",
                  "unreal",
                  "vrm"
                ],
                "type": "string",
                "description": "Bone naming standard, for the engine the model goes to (default tripo)."
              },
              "file_format": {
                "enum": [
                  "glb",
                  "fbx"
                ],
                "type": "string",
                "description": "File type of the result (default glb). Tripo can return FBX even when glb is asked for."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Quote 3D rig",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_quote_3d_split",
          "title": "Quote 3D split",
          "description": "Quote the exact Gold price to split one of the user's 3D models into parts or fill its hidden surfaces: method shape (Tripo Segment), name (Tripo Smart Segment, GLB models only, optional hint), fill (Tripo Mesh Complete fills hidden surfaces) or seal (Tripo Mesh Complete closes the holes quickly). Parts have generic names. Price by method: shape 55 Gold, name 75 Gold, fill 125 Gold, seal 95 Gold. Returns gold_cost and quote_token without starting a job or charging Gold. After the user approves, call chargen_edit_3d_split with the same inputs and quote_token.",
          "inputSchema": {
            "type": "object",
            "required": [
              "model_id",
              "method"
            ],
            "properties": {
              "hint": {
                "type": "string",
                "maxLength": 500,
                "description": "name only: optional guidance for the parts, for example \"sword, shield, helmet\"."
              },
              "method": {
                "enum": [
                  "shape",
                  "name",
                  "fill",
                  "seal"
                ],
                "type": "string",
                "description": "shape: split by shape (Tripo Segment). name: split into named kinds of part (Tripo Smart Segment, GLB models only). fill: fill hidden surfaces (Tripo Mesh Complete). seal: close the holes quickly (Tripo Mesh Complete quick cap)."
              },
              "model_id": {
                "type": "string",
                "format": "uuid",
                "description": "A 3D model from the user's own gallery: an image_id from chargen_search_gallery with media_type model_3d, or a finished 3D job's image_id."
              },
              "granularity": {
                "enum": [
                  "balanced",
                  "simple",
                  "detailed"
                ],
                "type": "string",
                "description": "shape with segment_version v2.0 only: how finely to split (default balanced)."
              },
              "segment_version": {
                "enum": [
                  "v1.0",
                  "v2.0"
                ],
                "type": "string",
                "description": "shape, fill and seal: the segmentation version (default v1.0)."
              },
              "part_granularity": {
                "enum": [
                  "medium",
                  "coarse",
                  "fine"
                ],
                "type": "string",
                "description": "name only: how finely to split (default medium)."
              },
              "split_by_connectivity": {
                "type": "boolean",
                "description": "shape with segment_version v2.0 only: also split pieces that do not touch."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Quote 3D split",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_quote_3d_uv",
          "title": "Quote 3D UV unwrap",
          "description": "Quote the exact Gold price to unwrap the UVs of one of the user's 3D models with Tripo Smart UV. Tripo Smart UV refuses a model with more than 80,000 triangles, so clean up a raw generated model first (chargen_edit_3d_cleanup can unwrap UVs in the same pass). Price: 30 Gold. Returns gold_cost and quote_token without starting a job or charging Gold. After the user approves, call chargen_edit_3d_uv with the same inputs and quote_token.",
          "inputSchema": {
            "type": "object",
            "required": [
              "model_id"
            ],
            "properties": {
              "model_id": {
                "type": "string",
                "format": "uuid",
                "description": "A 3D model from the user's own gallery: an image_id from chargen_search_gallery with media_type model_3d, or a finished 3D job's image_id."
              },
              "keep_textures": {
                "type": "boolean",
                "description": "Keep the textures on the result (default true). Free."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Quote 3D UV unwrap",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_quote_background_audio",
          "title": "Quote background audio",
          "description": "Quote the exact Gold price to create sound effects or an ambient audio bed. Returns gold_cost and quote_token without starting a job or charging Gold. After the user approves, call chargen_generate_background_audio with the same inputs and quote_token.",
          "inputSchema": {
            "type": "object",
            "required": [
              "model",
              "prompt"
            ],
            "properties": {
              "model": {
                "type": "string",
                "description": "Enabled audio model supporting background-audio; chargen_list_media_models can help choose a model. This never changes the operation."
              },
              "prompt": {
                "type": "string",
                "description": "The sounds to hear. chargen_list_media_models with this mode says how to phrase it for each model (prompt_styles); nothing improves the wording on the way to the model."
              },
              "negative_prompt": {
                "type": "string",
                "maxLength": 4000,
                "description": "Things to keep out of the result, as a short list. Only some models take one: chargen_list_media_models shows negative_prompt in that model's settings, and any other model refuses this argument."
              },
              "duration_seconds": {
                "type": "integer",
                "minimum": 1,
                "description": "Audio duration in seconds, where supported."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Quote background audio",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_quote_character_sprites",
          "title": "Quote character sprites",
          "description": "Quote the exact Gold price to make animated pixel sprites of a character from one of the user's own still pictures: 10 Gold for each portrait or typed move, 80 Gold for the walk in 8 directions (10 for each facing), and 25 Gold for each facing of a game move. Returns gold_cost and quote_token. It does not place an order or charge Gold. After the user approves, call chargen_generate_character_sprites with the same inputs and the quote_token.",
          "inputSchema": {
            "type": "object",
            "required": [
              "source_image_id"
            ],
            "properties": {
              "style": {
                "enum": [
                  "FINE",
                  "CHUNKY"
                ],
                "type": "string",
                "description": "FINE (the default) draws more detail and adds HD files. CHUNKY draws bigger, simpler pixels. Each style of a picture has its own base sprite."
              },
              "title": {
                "type": "string",
                "maxLength": 120,
                "description": "Optional name for these sprites in the user's library."
              },
              "actions": {
                "type": "array",
                "items": {
                  "enum": [
                    "IDLE",
                    "HELLO",
                    "ATTACK",
                    "CAST",
                    "VICTORY",
                    "LAUGH",
                    "DEFEAT",
                    "ANGRY"
                  ],
                  "type": "string",
                  "description": "A preset move."
                },
                "maxItems": 8,
                "description": "Preset portrait moves, each one at most once, 10 Gold each. actions and custom_actions together hold at most 10 moves. An order needs at least one move from actions, custom_actions, walk_8_directions or game_moves."
              },
              "details": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 60,
                  "description": "One detail."
                },
                "maxItems": 6,
                "description": "Optional details the picture does not show, for example \"a captain's rapier\"."
              },
              "game_moves": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "move",
                    "facings"
                  ],
                  "properties": {
                    "move": {
                      "enum": [
                        "idle",
                        "walk",
                        "run",
                        "sprint",
                        "sword",
                        "punch",
                        "cast",
                        "hurt",
                        "death",
                        "jump",
                        "roll"
                      ],
                      "type": "string",
                      "description": "The game move. idle, walk, run and sprint loop; the others play one time, and death stops on its last frame."
                    },
                    "facings": {
                      "type": "array",
                      "items": {
                        "enum": [
                          "S",
                          "SE",
                          "E",
                          "NE",
                          "N",
                          "NW",
                          "W",
                          "SW"
                        ],
                        "type": "string",
                        "description": "A facing."
                      },
                      "maxItems": 8,
                      "minItems": 1,
                      "description": "The facings to make this move in, each one at most once. S faces the viewer (down the screen), N faces away (up the screen), E faces right and W faces left; SE, NE, NW and SW are between them.",
                      "uniqueItems": true
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 11,
                "description": "Game moves, each move at most once, 25 Gold for each facing. At most 24 facings in all. A facing that fails is refunded 25."
              },
              "custom_actions": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 120,
                  "description": "One move."
                },
                "maxItems": 10,
                "description": "Moves in the user's own words, for example \"raises a glass in a toast\"."
              },
              "source_image_id": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of one of the user's own still pictures, from chargen_search_gallery. The character is drawn from it."
              },
              "walk_8_directions": {
                "type": "boolean",
                "description": "true adds a looping walk in all 8 facings, 80 Gold (10 for each facing). A facing that fails is refunded 10."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Quote character sprites",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_quote_image_change_subject",
          "title": "Quote change subject",
          "description": "Quote the exact Gold price to transform an owned image's subject. Returns gold_cost and quote_token without starting a job or charging Gold. After the user approves, call chargen_edit_image_change_subject with the same inputs and quote_token.",
          "inputSchema": {
            "type": "object",
            "required": [
              "image_id",
              "instruction"
            ],
            "properties": {
              "image_id": {
                "type": "string",
                "format": "uuid",
                "description": "Owned still image UUID from chargen_search_gallery. Creates a new image."
              },
              "instruction": {
                "type": "string",
                "description": "Describe only the change to make, and what to keep the same."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Quote change subject",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_quote_image_colorize",
          "title": "Quote colorize",
          "description": "Quote the exact Gold price to colorize an owned image. Returns gold_cost and quote_token without starting a job or charging Gold. After the user approves, call chargen_edit_image_colorize with the same inputs and quote_token.",
          "inputSchema": {
            "type": "object",
            "required": [
              "image_id"
            ],
            "properties": {
              "quality": {
                "enum": [
                  "low",
                  "medium",
                  "high"
                ],
                "type": "string",
                "description": "Quality, where supported; higher quality can cost more."
              },
              "image_id": {
                "type": "string",
                "format": "uuid",
                "description": "Owned still image UUID from chargen_search_gallery. Creates a new image."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Quote colorize",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_quote_image_deblur",
          "title": "Quote deblur",
          "description": "Quote the exact Gold price to reduce blur in an owned image. Returns gold_cost and quote_token without starting a job or charging Gold. After the user approves, call chargen_edit_image_deblur with the same inputs and quote_token.",
          "inputSchema": {
            "type": "object",
            "required": [
              "image_id"
            ],
            "properties": {
              "image_id": {
                "type": "string",
                "format": "uuid",
                "description": "Owned still image UUID from chargen_search_gallery. Creates a new image."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Quote deblur",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_quote_image_denoise",
          "title": "Quote denoise",
          "description": "Quote the exact Gold price to remove noise from an owned image. Returns gold_cost and quote_token without starting a job or charging Gold. After the user approves, call chargen_edit_image_denoise with the same inputs and quote_token.",
          "inputSchema": {
            "type": "object",
            "required": [
              "image_id"
            ],
            "properties": {
              "image_id": {
                "type": "string",
                "format": "uuid",
                "description": "Owned still image UUID from chargen_search_gallery. Creates a new image."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Quote denoise",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_quote_image_detail_fix",
          "title": "Quote detail fix",
          "description": "Quote the exact Gold price to repair details in an owned image. Returns gold_cost and quote_token without starting a job or charging Gold. After the user approves, call chargen_edit_image_detail_fix with the same inputs and quote_token.",
          "inputSchema": {
            "type": "object",
            "required": [
              "image_id"
            ],
            "properties": {
              "model": {
                "type": "string",
                "description": "Optional model for this edit; omitted uses the default."
              },
              "image_id": {
                "type": "string",
                "format": "uuid",
                "description": "Owned still image UUID from chargen_search_gallery. Creates a new image."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Quote detail fix",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_quote_image_face_restore",
          "title": "Quote face restore",
          "description": "Quote the exact Gold price to restore faces in an owned image. Returns gold_cost and quote_token without starting a job or charging Gold. After the user approves, call chargen_edit_image_face_restore with the same inputs and quote_token.",
          "inputSchema": {
            "type": "object",
            "required": [
              "image_id"
            ],
            "properties": {
              "image_id": {
                "type": "string",
                "format": "uuid",
                "description": "Owned still image UUID from chargen_search_gallery. Creates a new image."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Quote face restore",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_quote_image_prompt_edit",
          "title": "Quote prompt edit",
          "description": "Quote the exact Gold price to edit an owned image using a text instruction. Returns gold_cost and quote_token without starting a job or charging Gold. After the user approves, call chargen_edit_image_prompt_edit with the same inputs and quote_token.",
          "inputSchema": {
            "type": "object",
            "required": [
              "image_id",
              "instruction"
            ],
            "properties": {
              "model": {
                "type": "string",
                "description": "Optional model for this edit; omitted uses the default."
              },
              "quality": {
                "enum": [
                  "low",
                  "medium",
                  "high"
                ],
                "type": "string",
                "description": "Quality, where supported; higher quality can cost more."
              },
              "image_id": {
                "type": "string",
                "format": "uuid",
                "description": "Owned still image UUID from chargen_search_gallery. Creates a new image."
              },
              "instruction": {
                "type": "string",
                "description": "Describe only the change to make, and what to keep the same."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Quote prompt edit",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_quote_image_remove_background",
          "title": "Quote remove background",
          "description": "Quote the exact Gold price to remove an owned image's background. Returns gold_cost and quote_token without starting a job or charging Gold. After the user approves, call chargen_edit_image_remove_background with the same inputs and quote_token.",
          "inputSchema": {
            "type": "object",
            "required": [
              "image_id"
            ],
            "properties": {
              "model": {
                "type": "string",
                "description": "Optional model for this edit; omitted uses the default."
              },
              "image_id": {
                "type": "string",
                "format": "uuid",
                "description": "Owned still image UUID from chargen_search_gallery. Creates a new image."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Quote remove background",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_quote_image_replace_background",
          "title": "Quote replace background",
          "description": "Quote the exact Gold price to replace an owned image's background. Returns gold_cost and quote_token without starting a job or charging Gold. After the user approves, call chargen_edit_image_replace_background with the same inputs and quote_token.",
          "inputSchema": {
            "type": "object",
            "required": [
              "image_id",
              "instruction"
            ],
            "properties": {
              "model": {
                "type": "string",
                "description": "Optional model for this edit; omitted uses the default."
              },
              "quality": {
                "enum": [
                  "low",
                  "medium",
                  "high"
                ],
                "type": "string",
                "description": "Quality, where supported; higher quality can cost more."
              },
              "image_id": {
                "type": "string",
                "format": "uuid",
                "description": "Owned still image UUID from chargen_search_gallery. Creates a new image."
              },
              "instruction": {
                "type": "string",
                "description": "Describe only the change to make, and what to keep the same."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Quote replace background",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_quote_image_restore",
          "title": "Quote restore",
          "description": "Quote the exact Gold price to restore an owned photograph. Returns gold_cost and quote_token without starting a job or charging Gold. After the user approves, call chargen_edit_image_restore with the same inputs and quote_token.",
          "inputSchema": {
            "type": "object",
            "required": [
              "image_id"
            ],
            "properties": {
              "quality": {
                "enum": [
                  "low",
                  "medium",
                  "high"
                ],
                "type": "string",
                "description": "Quality, where supported; higher quality can cost more."
              },
              "image_id": {
                "type": "string",
                "format": "uuid",
                "description": "Owned still image UUID from chargen_search_gallery. Creates a new image."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Quote restore",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_quote_image_sharpen",
          "title": "Quote sharpen",
          "description": "Quote the exact Gold price to sharpen an owned image. Returns gold_cost and quote_token without starting a job or charging Gold. After the user approves, call chargen_edit_image_sharpen with the same inputs and quote_token.",
          "inputSchema": {
            "type": "object",
            "required": [
              "image_id"
            ],
            "properties": {
              "image_id": {
                "type": "string",
                "format": "uuid",
                "description": "Owned still image UUID from chargen_search_gallery. Creates a new image."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Quote sharpen",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_quote_image_to_video",
          "title": "Quote image to video",
          "description": "Quote the exact Gold price to animate an owned gallery image. Returns gold_cost and quote_token without starting a job or charging Gold. After the user approves, call chargen_generate_image_to_video with the same inputs and quote_token.",
          "inputSchema": {
            "type": "object",
            "required": [
              "model",
              "prompt",
              "source_image_id"
            ],
            "properties": {
              "model": {
                "type": "string",
                "description": "Enabled video model supporting image-to-video; chargen_list_media_models can help choose a model. This never changes the operation."
              },
              "prompt": {
                "type": "string",
                "description": "What moves and how, not what the picture already shows. chargen_list_media_models with this mode says how to phrase it for each model (prompt_styles); nothing improves the wording on the way to the model."
              },
              "resolution": {
                "type": "string",
                "description": "Resolution supported by the model, such as 720p."
              },
              "aspect_ratio": {
                "type": "string",
                "description": "Aspect ratio supported by the model, such as 16:9."
              },
              "end_image_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional owned final-frame image."
              },
              "generate_audio": {
                "type": "boolean",
                "description": "Generate accompanying audio, where supported."
              },
              "negative_prompt": {
                "type": "string",
                "maxLength": 4000,
                "description": "Things to keep out of the result, as a short list. Only some models take one: chargen_list_media_models shows negative_prompt in that model's settings, and any other model refuses this argument."
              },
              "source_image_id": {
                "type": "string",
                "format": "uuid",
                "description": "Owned still image to animate or use as the portrait."
              },
              "duration_seconds": {
                "type": "integer",
                "minimum": 1,
                "description": "Video duration in seconds, where supported by the model."
              },
              "prompt_expansion": {
                "type": "boolean",
                "description": "Let the video model rewrite and lengthen the prompt before it renders, where the model offers it (chargen_list_media_models shows prompt_expansion in its settings). Off by default; leave it off for a prompt written in full."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Quote image to video",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_quote_image_upscale",
          "title": "Quote upscale",
          "description": "Quote the exact Gold price to upscale an owned image. Returns gold_cost and quote_token without starting a job or charging Gold. After the user approves, call chargen_edit_image_upscale with the same inputs and quote_token.",
          "inputSchema": {
            "type": "object",
            "required": [
              "image_id"
            ],
            "properties": {
              "model": {
                "type": "string",
                "description": "Optional model for this edit; omitted uses the default. Clarity Upscaler, Recraft Creative or Recraft Clarity."
              },
              "image_id": {
                "type": "string",
                "format": "uuid",
                "description": "Owned still image UUID from chargen_search_gallery. Creates a new image."
              },
              "creativity": {
                "type": "number",
                "maximum": 1,
                "minimum": 0,
                "description": "Clarity Upscaler creativity from 0 to 1."
              },
              "upscale_factor": {
                "enum": [
                  "1.5",
                  "2",
                  "3",
                  "4"
                ],
                "type": "string",
                "description": "Clarity Upscaler scale factor; default 2."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Quote upscale",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_quote_motion_transfer",
          "title": "Quote motion transfer",
          "description": "Quote the exact Gold price to animate an owned image with motion from an owned video. Returns gold_cost and quote_token without starting a job or charging Gold. After the user approves, call chargen_generate_motion_transfer with the same inputs and quote_token.",
          "inputSchema": {
            "type": "object",
            "required": [
              "model",
              "source_image_id",
              "video_id"
            ],
            "properties": {
              "model": {
                "type": "string",
                "description": "Enabled video model supporting motion-transfer; chargen_list_media_models can help choose a model. This never changes the operation."
              },
              "prompt": {
                "type": "string",
                "description": "Optional: a short note on what should be seen."
              },
              "video_id": {
                "type": "string",
                "format": "uuid",
                "description": "Owned gallery video UUID to edit, follow or add sound to."
              },
              "resolution": {
                "type": "string",
                "description": "Resolution supported by the model, such as 720p."
              },
              "aspect_ratio": {
                "type": "string",
                "description": "Aspect ratio supported by the model, such as 16:9."
              },
              "source_image_id": {
                "type": "string",
                "format": "uuid",
                "description": "Owned still image to animate or use as the portrait."
              },
              "duration_seconds": {
                "type": "integer",
                "minimum": 1,
                "description": "Video duration in seconds, where supported by the model."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Quote motion transfer",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_quote_music",
          "title": "Quote music",
          "description": "Quote the exact Gold price to create music, optionally with lyrics. Returns gold_cost and quote_token without starting a job or charging Gold. After the user approves, call chargen_generate_music with the same inputs and quote_token.",
          "inputSchema": {
            "type": "object",
            "required": [
              "model",
              "prompt"
            ],
            "properties": {
              "model": {
                "type": "string",
                "description": "Enabled audio model supporting music; chargen_list_media_models can help choose a model. This never changes the operation."
              },
              "lyrics": {
                "type": "string",
                "description": "Lyrics for a model that supports singing."
              },
              "prompt": {
                "type": "string",
                "description": "The musical style: genre, mood, instruments, pace. Words to sing go in lyrics. chargen_list_media_models with this mode says how to phrase it for each model (prompt_styles); nothing improves the wording on the way to the model."
              },
              "instrumental": {
                "type": "boolean",
                "description": "Create music without vocals, where supported."
              },
              "negative_prompt": {
                "type": "string",
                "maxLength": 4000,
                "description": "Things to keep out of the result, as a short list. Only some models take one: chargen_list_media_models shows negative_prompt in that model's settings, and any other model refuses this argument."
              },
              "duration_seconds": {
                "type": "integer",
                "minimum": 1,
                "description": "Audio duration in seconds, where supported."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Quote music",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_quote_portrait_audio",
          "title": "Quote portrait audio",
          "description": "Quote the exact Gold price to lip-sync an owned portrait to owned audio. Returns gold_cost and quote_token without starting a job or charging Gold. After the user approves, call chargen_generate_portrait_audio with the same inputs and quote_token.",
          "inputSchema": {
            "type": "object",
            "required": [
              "model",
              "source_image_id",
              "audio_id"
            ],
            "properties": {
              "model": {
                "type": "string",
                "description": "Enabled video model supporting portrait-audio; chargen_list_media_models can help choose a model. This never changes the operation."
              },
              "prompt": {
                "type": "string",
                "description": "Optional: a short note on what should be seen."
              },
              "audio_id": {
                "type": "string",
                "format": "uuid",
                "description": "Owned gallery audio UUID to lip-sync."
              },
              "resolution": {
                "type": "string",
                "description": "Resolution supported by the model, such as 720p."
              },
              "aspect_ratio": {
                "type": "string",
                "description": "Aspect ratio supported by the model, such as 16:9."
              },
              "source_image_id": {
                "type": "string",
                "format": "uuid",
                "description": "Owned still image to animate or use as the portrait."
              },
              "duration_seconds": {
                "type": "integer",
                "minimum": 1,
                "description": "Video duration in seconds, where supported by the model."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Quote portrait audio",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_quote_portrait_tts",
          "title": "Quote portrait tts",
          "description": "Quote the exact Gold price to make an owned portrait speak supplied text. Returns gold_cost and quote_token without starting a job or charging Gold. After the user approves, call chargen_generate_portrait_tts with the same inputs and quote_token.",
          "inputSchema": {
            "type": "object",
            "required": [
              "model",
              "source_image_id",
              "speech_text"
            ],
            "properties": {
              "model": {
                "type": "string",
                "description": "Enabled video model supporting portrait-tts; chargen_list_media_models can help choose a model. This never changes the operation."
              },
              "voice": {
                "type": "string",
                "description": "Voice supported by the selected model."
              },
              "prompt": {
                "type": "string",
                "description": "Optional: how the portrait looks or moves while it speaks. The words go in speech_text."
              },
              "resolution": {
                "type": "string",
                "description": "Resolution supported by the model, such as 720p."
              },
              "speech_text": {
                "type": "string",
                "maxLength": 2000,
                "description": "Exact words the portrait speaks."
              },
              "aspect_ratio": {
                "type": "string",
                "description": "Aspect ratio supported by the model, such as 16:9."
              },
              "source_image_id": {
                "type": "string",
                "format": "uuid",
                "description": "Owned still image to animate or use as the portrait."
              },
              "duration_seconds": {
                "type": "integer",
                "minimum": 1,
                "description": "Video duration in seconds, where supported by the model."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Quote portrait tts",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_quote_recipe_3d_cartoon_diorama",
          "title": "Quote 3d cartoon diorama",
          "description": "Quote the connected account's exact Gold price for the 3d cartoon diorama workflow: turn an owned image into a 3D cartoon diorama. Returns gold_cost, affordable and quote_token without starting a run, moderating, charging Gold or consuming a free sheet. After the user approves the price, call chargen_run_recipe_3d_cartoon_diorama with the same values and quote_token. For input rules, use chargen_get_recipe_3d_cartoon_diorama.",
          "inputSchema": {
            "type": "object",
            "required": [
              "values"
            ],
            "properties": {
              "values": {
                "type": "object",
                "required": [
                  "sourceImageId",
                  "quality",
                  "numberOfImages"
                ],
                "properties": {
                  "quality": {
                    "enum": [
                      "LOW",
                      "MEDIUM",
                      "HIGH"
                    ],
                    "type": "string",
                    "description": "quality"
                  },
                  "dioramaMode": {
                    "enum": [
                      "SCENE_DIORAMA",
                      "TABLETOP_SHOWCASE"
                    ],
                    "type": "string",
                    "description": "dioramaMode"
                  },
                  "sourceImageId": {
                    "type": "string",
                    "format": "uuid",
                    "description": "Owned still image UUID from chargen_search_gallery"
                  },
                  "numberOfImages": {
                    "type": "integer",
                    "maximum": 4,
                    "minimum": 1,
                    "description": "numberOfImages"
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Quote 3d cartoon diorama",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_quote_recipe_anime_style",
          "title": "Quote anime style",
          "description": "Quote the connected account's exact Gold price for the anime style workflow: turn an owned portrait into anime art. Returns gold_cost, affordable and quote_token without starting a run, moderating, charging Gold or consuming a free sheet. After the user approves the price, call chargen_run_recipe_anime_style with the same values and quote_token. For input rules, use chargen_get_recipe_anime_style.",
          "inputSchema": {
            "type": "object",
            "required": [
              "values"
            ],
            "properties": {
              "values": {
                "type": "object",
                "required": [
                  "sourceImageId",
                  "quality",
                  "numberOfImages"
                ],
                "properties": {
                  "quality": {
                    "enum": [
                      "LOW",
                      "MEDIUM",
                      "HIGH"
                    ],
                    "type": "string",
                    "description": "quality"
                  },
                  "sourceImageId": {
                    "type": "string",
                    "format": "uuid",
                    "description": "Owned still image UUID from chargen_search_gallery"
                  },
                  "numberOfImages": {
                    "type": "integer",
                    "maximum": 4,
                    "minimum": 1,
                    "description": "numberOfImages"
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Quote anime style",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_quote_recipe_art_style_transfer",
          "title": "Quote art style transfer",
          "description": "Quote the connected account's exact Gold price for the art style transfer workflow: restyle an owned image in a selected art style. Returns gold_cost, affordable and quote_token without starting a run, moderating, charging Gold or consuming a free sheet. After the user approves the price, call chargen_run_recipe_art_style_transfer with the same values and quote_token. For input rules, use chargen_get_recipe_art_style_transfer.",
          "inputSchema": {
            "type": "object",
            "required": [
              "values"
            ],
            "properties": {
              "values": {
                "type": "object",
                "allOf": [
                  {
                    "if": {
                      "required": [
                        "stylePreset"
                      ],
                      "properties": {
                        "stylePreset": {
                          "enum": [
                            "CUSTOM"
                          ]
                        }
                      }
                    },
                    "then": {
                      "required": [
                        "customStyle"
                      ],
                      "properties": {
                        "customStyle": {
                          "minLength": 1
                        }
                      }
                    }
                  }
                ],
                "required": [
                  "sourceImageId",
                  "quality",
                  "numberOfImages",
                  "stylePreset"
                ],
                "properties": {
                  "quality": {
                    "enum": [
                      "LOW",
                      "MEDIUM",
                      "HIGH"
                    ],
                    "type": "string",
                    "description": "quality"
                  },
                  "customStyle": {
                    "type": "string",
                    "maxLength": 500,
                    "minLength": 1,
                    "description": "customStyle"
                  },
                  "stylePreset": {
                    "enum": [
                      "DARK_FANTASY",
                      "WATERCOLOUR",
                      "OIL_PAINTING",
                      "COMIC_INK",
                      "PIXEL_ART",
                      "ANIME",
                      "STORYBOOK",
                      "COLOURING_PAGE",
                      "CUSTOM"
                    ],
                    "type": "string",
                    "description": "stylePreset"
                  },
                  "sourceImageId": {
                    "type": "string",
                    "format": "uuid",
                    "description": "Owned still image UUID from chargen_search_gallery"
                  },
                  "numberOfImages": {
                    "type": "integer",
                    "maximum": 4,
                    "minimum": 1,
                    "description": "numberOfImages"
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Quote art style transfer",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_quote_recipe_box_model",
          "title": "Quote box model",
          "description": "Quote the connected account's exact Gold price for the box model workflow: present an owned image's subject as a boxed collectible. Returns gold_cost, affordable and quote_token without starting a run, moderating, charging Gold or consuming a free sheet. After the user approves the price, call chargen_run_recipe_box_model with the same values and quote_token. For input rules, use chargen_get_recipe_box_model.",
          "inputSchema": {
            "type": "object",
            "required": [
              "values"
            ],
            "properties": {
              "values": {
                "type": "object",
                "required": [
                  "sourceImageId",
                  "quality",
                  "numberOfImages"
                ],
                "properties": {
                  "quality": {
                    "enum": [
                      "LOW",
                      "MEDIUM",
                      "HIGH"
                    ],
                    "type": "string",
                    "description": "quality"
                  },
                  "sourceImageId": {
                    "type": "string",
                    "format": "uuid",
                    "description": "Owned still image UUID from chargen_search_gallery"
                  },
                  "numberOfImages": {
                    "type": "integer",
                    "maximum": 4,
                    "minimum": 1,
                    "description": "numberOfImages"
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Quote box model",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_quote_recipe_character_production_pack",
          "title": "Quote character production pack",
          "description": "Quote the connected account's exact Gold price for the character production pack workflow: create a coordinated production pack from owned character artwork. Returns gold_cost, affordable and quote_token without starting a run, moderating, charging Gold or consuming a free sheet. After the user approves the price, call chargen_run_recipe_character_production_pack with the same values and quote_token. For input rules, use chargen_get_recipe_character_production_pack.",
          "inputSchema": {
            "type": "object",
            "required": [
              "values"
            ],
            "properties": {
              "values": {
                "type": "object",
                "required": [
                  "sourceImageId",
                  "quality",
                  "numberOfImages"
                ],
                "properties": {
                  "quality": {
                    "enum": [
                      "LOW",
                      "MEDIUM",
                      "HIGH"
                    ],
                    "type": "string",
                    "description": "quality"
                  },
                  "sourceImageId": {
                    "type": "string",
                    "format": "uuid",
                    "description": "Owned still image UUID from chargen_search_gallery"
                  },
                  "numberOfImages": {
                    "type": "integer",
                    "maximum": 5,
                    "minimum": 5,
                    "description": "numberOfImages"
                  },
                  "productionNotes": {
                    "type": "string",
                    "maxLength": 500,
                    "minLength": 0,
                    "description": "productionNotes"
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Quote character production pack",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_quote_recipe_character_progression_pack",
          "title": "Quote character progression pack",
          "description": "Quote the connected account's exact Gold price for the character progression pack workflow: create a character progression pack from owned artwork. Returns gold_cost, affordable and quote_token without starting a run, moderating, charging Gold or consuming a free sheet. After the user approves the price, call chargen_run_recipe_character_progression_pack with the same values and quote_token. For input rules, use chargen_get_recipe_character_progression_pack.",
          "inputSchema": {
            "type": "object",
            "required": [
              "values"
            ],
            "properties": {
              "values": {
                "type": "object",
                "required": [
                  "sourceImageId",
                  "progressionType",
                  "quality",
                  "numberOfImages"
                ],
                "properties": {
                  "quality": {
                    "enum": [
                      "LOW",
                      "MEDIUM",
                      "HIGH"
                    ],
                    "type": "string",
                    "description": "quality"
                  },
                  "sourceImageId": {
                    "type": "string",
                    "format": "uuid",
                    "description": "Owned still image UUID from chargen_search_gallery"
                  },
                  "numberOfImages": {
                    "type": "integer",
                    "maximum": 5,
                    "minimum": 5,
                    "description": "numberOfImages"
                  },
                  "progressionType": {
                    "enum": [
                      "ADVENTURER_LEVELS",
                      "AGE",
                      "CORRUPTION",
                      "ASCENSION"
                    ],
                    "type": "string",
                    "description": "progressionType"
                  },
                  "progressionNotes": {
                    "type": "string",
                    "maxLength": 500,
                    "minLength": 0,
                    "description": "progressionNotes"
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Quote character progression pack",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_quote_recipe_character_reference_sheet",
          "title": "Quote character reference sheet",
          "description": "Quote the connected account's exact Gold price for the character reference sheet workflow: create a character reference sheet from owned artwork. Returns gold_cost, affordable and quote_token without starting a run, moderating, charging Gold or consuming a free sheet. After the user approves the price, call chargen_run_recipe_character_reference_sheet with the same values and quote_token. For input rules, use chargen_get_recipe_character_reference_sheet.",
          "inputSchema": {
            "type": "object",
            "required": [
              "values"
            ],
            "properties": {
              "values": {
                "type": "object",
                "required": [
                  "sourceImageId",
                  "quality",
                  "numberOfImages"
                ],
                "properties": {
                  "quality": {
                    "enum": [
                      "LOW",
                      "MEDIUM",
                      "HIGH"
                    ],
                    "type": "string",
                    "description": "quality"
                  },
                  "sourceImageId": {
                    "type": "string",
                    "format": "uuid",
                    "description": "Owned still image UUID from chargen_search_gallery"
                  },
                  "numberOfImages": {
                    "type": "integer",
                    "maximum": 4,
                    "minimum": 4,
                    "description": "numberOfImages"
                  },
                  "turnaroundNotes": {
                    "type": "string",
                    "maxLength": 500,
                    "minLength": 0,
                    "description": "turnaroundNotes"
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Quote character reference sheet",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_quote_recipe_character_variants",
          "title": "Quote character variants",
          "description": "Quote the connected account's exact Gold price for the character variants workflow: create selected character variations from owned artwork. Returns gold_cost, affordable and quote_token without starting a run, moderating, charging Gold or consuming a free sheet. After the user approves the price, call chargen_run_recipe_character_variants with the same values and quote_token. For input rules, use chargen_get_recipe_character_variants.",
          "inputSchema": {
            "type": "object",
            "required": [
              "values"
            ],
            "properties": {
              "values": {
                "type": "object",
                "allOf": [
                  {
                    "if": {
                      "required": [
                        "variantPreset"
                      ],
                      "properties": {
                        "variantPreset": {
                          "enum": [
                            "CUSTOM"
                          ]
                        }
                      }
                    },
                    "then": {
                      "required": [
                        "customDirection"
                      ],
                      "properties": {
                        "customDirection": {
                          "minLength": 1
                        }
                      }
                    }
                  },
                  {
                    "if": {
                      "required": [
                        "variantKind"
                      ],
                      "properties": {
                        "variantKind": {
                          "const": "AGE_APPEARANCE"
                        }
                      }
                    },
                    "then": {
                      "properties": {
                        "variantPreset": {
                          "enum": [
                            "CUSTOM",
                            "ELDER",
                            "OLDER_ADULT",
                            "YOUNGER_ADULT"
                          ]
                        }
                      }
                    }
                  },
                  {
                    "if": {
                      "required": [
                        "variantKind"
                      ],
                      "properties": {
                        "variantKind": {
                          "const": "ARMOUR"
                        }
                      }
                    },
                    "then": {
                      "properties": {
                        "variantPreset": {
                          "enum": [
                            "BATTLE_WORN_ARMOUR",
                            "CEREMONIAL_ARMOUR",
                            "CUSTOM",
                            "HEAVY_ARMOUR",
                            "LIGHT_ARMOUR"
                          ]
                        }
                      }
                    }
                  },
                  {
                    "if": {
                      "required": [
                        "variantKind"
                      ],
                      "properties": {
                        "variantKind": {
                          "const": "COLOUR_SEASON_MAKEUP"
                        }
                      }
                    },
                    "then": {
                      "properties": {
                        "variantPreset": {
                          "enum": [
                            "AUTUMN",
                            "CUSTOM",
                            "SPRING",
                            "SUMMER",
                            "WINTER"
                          ]
                        }
                      }
                    }
                  },
                  {
                    "if": {
                      "required": [
                        "variantKind"
                      ],
                      "properties": {
                        "variantKind": {
                          "const": "HAIRSTYLE"
                        }
                      }
                    },
                    "then": {
                      "properties": {
                        "variantPreset": {
                          "enum": [
                            "COLOUR_CHANGE",
                            "CUSTOM",
                            "LONG_BRAIDS",
                            "SHORT_CROP",
                            "WAVES"
                          ]
                        }
                      }
                    }
                  },
                  {
                    "if": {
                      "required": [
                        "variantKind"
                      ],
                      "properties": {
                        "variantKind": {
                          "const": "OUTFIT"
                        }
                      }
                    },
                    "then": {
                      "properties": {
                        "variantPreset": {
                          "enum": [
                            "ARCANE_ROBES",
                            "COURT_DRESS",
                            "CUSTOM",
                            "STEALTH",
                            "TRAVELLING_GEAR",
                            "WINTER_TRAVEL"
                          ]
                        }
                      }
                    }
                  }
                ],
                "required": [
                  "sourceImageId",
                  "variantKind",
                  "variantPreset",
                  "quality",
                  "numberOfImages"
                ],
                "properties": {
                  "quality": {
                    "enum": [
                      "LOW",
                      "MEDIUM",
                      "HIGH"
                    ],
                    "type": "string",
                    "description": "quality"
                  },
                  "variantKind": {
                    "enum": [
                      "ARMOUR",
                      "OUTFIT",
                      "HAIRSTYLE",
                      "AGE_APPEARANCE",
                      "COLOUR_SEASON_MAKEUP"
                    ],
                    "type": "string",
                    "description": "variantKind"
                  },
                  "sourceImageId": {
                    "type": "string",
                    "format": "uuid",
                    "description": "Owned still image UUID from chargen_search_gallery"
                  },
                  "variantPreset": {
                    "enum": [
                      "LIGHT_ARMOUR",
                      "HEAVY_ARMOUR",
                      "CEREMONIAL_ARMOUR",
                      "BATTLE_WORN_ARMOUR",
                      "TRAVELLING_GEAR",
                      "COURT_DRESS",
                      "WINTER_TRAVEL",
                      "STEALTH",
                      "ARCANE_ROBES",
                      "SHORT_CROP",
                      "LONG_BRAIDS",
                      "WAVES",
                      "COLOUR_CHANGE",
                      "YOUNGER_ADULT",
                      "OLDER_ADULT",
                      "ELDER",
                      "SPRING",
                      "SUMMER",
                      "AUTUMN",
                      "WINTER",
                      "CUSTOM"
                    ],
                    "type": "string",
                    "description": "variantPreset"
                  },
                  "numberOfImages": {
                    "type": "integer",
                    "maximum": 4,
                    "minimum": 1,
                    "description": "numberOfImages"
                  },
                  "customDirection": {
                    "type": "string",
                    "maxLength": 500,
                    "minLength": 1,
                    "description": "customDirection"
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Quote character variants",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_quote_recipe_claymation",
          "title": "Quote claymation",
          "description": "Quote the connected account's exact Gold price for the claymation workflow: restyle an owned image as a claymation scene. Returns gold_cost, affordable and quote_token without starting a run, moderating, charging Gold or consuming a free sheet. After the user approves the price, call chargen_run_recipe_claymation with the same values and quote_token. For input rules, use chargen_get_recipe_claymation.",
          "inputSchema": {
            "type": "object",
            "required": [
              "values"
            ],
            "properties": {
              "values": {
                "type": "object",
                "required": [
                  "sourceImageId",
                  "quality",
                  "numberOfImages"
                ],
                "properties": {
                  "quality": {
                    "enum": [
                      "LOW",
                      "MEDIUM",
                      "HIGH"
                    ],
                    "type": "string",
                    "description": "quality"
                  },
                  "sourceImageId": {
                    "type": "string",
                    "format": "uuid",
                    "description": "Owned still image UUID from chargen_search_gallery"
                  },
                  "numberOfImages": {
                    "type": "integer",
                    "maximum": 4,
                    "minimum": 1,
                    "description": "numberOfImages"
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Quote claymation",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_quote_recipe_creature_reference_pack",
          "title": "Quote creature reference pack",
          "description": "Quote the connected account's exact Gold price for the creature reference pack workflow: create a creature reference pack from owned artwork. Returns gold_cost, affordable and quote_token without starting a run, moderating, charging Gold or consuming a free sheet. After the user approves the price, call chargen_run_recipe_creature_reference_pack with the same values and quote_token. For input rules, use chargen_get_recipe_creature_reference_pack.",
          "inputSchema": {
            "type": "object",
            "required": [
              "values"
            ],
            "properties": {
              "values": {
                "type": "object",
                "required": [
                  "sourceImageId",
                  "quality",
                  "numberOfImages"
                ],
                "properties": {
                  "quality": {
                    "enum": [
                      "LOW",
                      "MEDIUM",
                      "HIGH"
                    ],
                    "type": "string",
                    "description": "quality"
                  },
                  "creatureNotes": {
                    "type": "string",
                    "maxLength": 500,
                    "minLength": 0,
                    "description": "creatureNotes"
                  },
                  "sourceImageId": {
                    "type": "string",
                    "format": "uuid",
                    "description": "Owned still image UUID from chargen_search_gallery"
                  },
                  "numberOfImages": {
                    "type": "integer",
                    "maximum": 5,
                    "minimum": 5,
                    "description": "numberOfImages"
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Quote creature reference pack",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_quote_recipe_faction_heraldry_kit",
          "title": "Quote faction heraldry kit",
          "description": "Quote the connected account's exact Gold price for the faction heraldry kit workflow: create faction heraldry from an owned reference image. Returns gold_cost, affordable and quote_token without starting a run, moderating, charging Gold or consuming a free sheet. After the user approves the price, call chargen_run_recipe_faction_heraldry_kit with the same values and quote_token. For input rules, use chargen_get_recipe_faction_heraldry_kit.",
          "inputSchema": {
            "type": "object",
            "required": [
              "values"
            ],
            "properties": {
              "values": {
                "type": "object",
                "allOf": [
                  {
                    "if": {
                      "required": [
                        "palette"
                      ],
                      "properties": {
                        "palette": {
                          "enum": [
                            "CUSTOM"
                          ]
                        }
                      }
                    },
                    "then": {
                      "required": [
                        "paletteNotes"
                      ],
                      "properties": {
                        "paletteNotes": {
                          "minLength": 1
                        }
                      }
                    }
                  }
                ],
                "required": [
                  "sourceImageId",
                  "kitStyle",
                  "palette",
                  "quality",
                  "numberOfImages"
                ],
                "properties": {
                  "palette": {
                    "enum": [
                      "SOURCE",
                      "WARM",
                      "COOL",
                      "MONOCHROME",
                      "CUSTOM"
                    ],
                    "type": "string",
                    "description": "palette"
                  },
                  "quality": {
                    "enum": [
                      "LOW",
                      "MEDIUM",
                      "HIGH"
                    ],
                    "type": "string",
                    "description": "quality"
                  },
                  "kitStyle": {
                    "enum": [
                      "NOBLE",
                      "MILITARY",
                      "ARCANE",
                      "CULT",
                      "MERCANTILE",
                      "TRIBAL"
                    ],
                    "type": "string",
                    "description": "kitStyle"
                  },
                  "factionBrief": {
                    "type": "string",
                    "maxLength": 800,
                    "minLength": 50,
                    "description": "factionBrief"
                  },
                  "paletteNotes": {
                    "type": "string",
                    "maxLength": 500,
                    "minLength": 1,
                    "description": "paletteNotes"
                  },
                  "sourceImageId": {
                    "type": "string",
                    "format": "uuid",
                    "description": "Owned still image UUID from chargen_search_gallery"
                  },
                  "numberOfImages": {
                    "type": "integer",
                    "maximum": 6,
                    "minimum": 6,
                    "description": "numberOfImages"
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Quote faction heraldry kit",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_quote_recipe_fantasy_bestiary_page",
          "title": "Quote fantasy bestiary page",
          "description": "Quote the connected account's exact Gold price for the fantasy bestiary page workflow: turn an owned creature image into a fantasy bestiary page. Returns gold_cost, affordable and quote_token without starting a run, moderating, charging Gold or consuming a free sheet. After the user approves the price, call chargen_run_recipe_fantasy_bestiary_page with the same values and quote_token. For input rules, use chargen_get_recipe_fantasy_bestiary_page.",
          "inputSchema": {
            "type": "object",
            "required": [
              "values"
            ],
            "properties": {
              "values": {
                "type": "object",
                "required": [
                  "sourceImageId",
                  "quality",
                  "numberOfImages"
                ],
                "properties": {
                  "quality": {
                    "enum": [
                      "LOW",
                      "MEDIUM",
                      "HIGH"
                    ],
                    "type": "string",
                    "description": "quality"
                  },
                  "sourceImageId": {
                    "type": "string",
                    "format": "uuid",
                    "description": "Owned still image UUID from chargen_search_gallery"
                  },
                  "numberOfImages": {
                    "type": "integer",
                    "maximum": 4,
                    "minimum": 1,
                    "description": "numberOfImages"
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Quote fantasy bestiary page",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_quote_recipe_location_variants",
          "title": "Quote location variants",
          "description": "Quote the connected account's exact Gold price for the location variants workflow: create location variations from owned artwork. Returns gold_cost, affordable and quote_token without starting a run, moderating, charging Gold or consuming a free sheet. After the user approves the price, call chargen_run_recipe_location_variants with the same values and quote_token. For input rules, use chargen_get_recipe_location_variants.",
          "inputSchema": {
            "type": "object",
            "required": [
              "values"
            ],
            "properties": {
              "values": {
                "type": "object",
                "allOf": [
                  {
                    "if": {
                      "required": [
                        "variantPreset"
                      ],
                      "properties": {
                        "variantPreset": {
                          "enum": [
                            "CUSTOM"
                          ]
                        }
                      }
                    },
                    "then": {
                      "required": [
                        "variantBrief"
                      ],
                      "properties": {
                        "variantBrief": {
                          "minLength": 1
                        }
                      }
                    }
                  }
                ],
                "required": [
                  "sourceImageId",
                  "variantPreset",
                  "quality",
                  "numberOfImages"
                ],
                "properties": {
                  "quality": {
                    "enum": [
                      "LOW",
                      "MEDIUM",
                      "HIGH"
                    ],
                    "type": "string",
                    "description": "quality"
                  },
                  "variantBrief": {
                    "type": "string",
                    "maxLength": 500,
                    "minLength": 1,
                    "description": "variantBrief"
                  },
                  "sourceImageId": {
                    "type": "string",
                    "format": "uuid",
                    "description": "Owned still image UUID from chargen_search_gallery"
                  },
                  "variantPreset": {
                    "enum": [
                      "DAY",
                      "NIGHT",
                      "WEATHER",
                      "SEASON",
                      "RUINED",
                      "OCCUPIED",
                      "CUSTOM"
                    ],
                    "type": "string",
                    "description": "variantPreset"
                  },
                  "numberOfImages": {
                    "type": "integer",
                    "maximum": 4,
                    "minimum": 1,
                    "description": "numberOfImages"
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Quote location variants",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_quote_recipe_magic_item_showcase",
          "title": "Quote magic item showcase",
          "description": "Quote the connected account's exact Gold price for the magic item showcase workflow: create a magic item showcase from an owned reference image. Returns gold_cost, affordable and quote_token without starting a run, moderating, charging Gold or consuming a free sheet. After the user approves the price, call chargen_run_recipe_magic_item_showcase with the same values and quote_token. For input rules, use chargen_get_recipe_magic_item_showcase.",
          "inputSchema": {
            "type": "object",
            "required": [
              "values"
            ],
            "properties": {
              "values": {
                "type": "object",
                "allOf": [
                  {
                    "if": {
                      "required": [
                        "showcaseMode"
                      ],
                      "properties": {
                        "showcaseMode": {
                          "enum": [
                            "CUSTOM"
                          ]
                        }
                      }
                    },
                    "then": {
                      "required": [
                        "sceneBrief"
                      ],
                      "properties": {
                        "sceneBrief": {
                          "minLength": 1
                        }
                      }
                    }
                  }
                ],
                "required": [
                  "sourceImageId",
                  "showcaseMode",
                  "quality",
                  "numberOfImages"
                ],
                "properties": {
                  "quality": {
                    "enum": [
                      "LOW",
                      "MEDIUM",
                      "HIGH"
                    ],
                    "type": "string",
                    "description": "quality"
                  },
                  "sceneBrief": {
                    "type": "string",
                    "maxLength": 500,
                    "minLength": 1,
                    "description": "sceneBrief"
                  },
                  "showcaseMode": {
                    "enum": [
                      "HERO_RELIC",
                      "DETAIL_STUDY",
                      "ALTAR_DISPLAY",
                      "WIELDED",
                      "TREASURE_HOARD",
                      "MUSEUM_CASE",
                      "CRAFTING_TABLE",
                      "CUSTOM"
                    ],
                    "type": "string",
                    "description": "showcaseMode"
                  },
                  "sourceImageId": {
                    "type": "string",
                    "format": "uuid",
                    "description": "Owned still image UUID from chargen_search_gallery"
                  },
                  "numberOfImages": {
                    "type": "integer",
                    "maximum": 4,
                    "minimum": 1,
                    "description": "numberOfImages"
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Quote magic item showcase",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_quote_recipe_monster_variant_sheet",
          "title": "Quote monster variant sheet",
          "description": "Quote the connected account's exact Gold price for the monster variant sheet workflow: create a set of monster variations from an owned creature image. Returns gold_cost, affordable and quote_token without starting a run, moderating, charging Gold or consuming a free sheet. After the user approves the price, call chargen_run_recipe_monster_variant_sheet with the same values and quote_token. For input rules, use chargen_get_recipe_monster_variant_sheet.",
          "inputSchema": {
            "type": "object",
            "required": [
              "values"
            ],
            "properties": {
              "values": {
                "type": "object",
                "allOf": [
                  {
                    "if": {
                      "required": [
                        "variantSet"
                      ],
                      "properties": {
                        "variantSet": {
                          "enum": [
                            "CUSTOM"
                          ]
                        }
                      }
                    },
                    "then": {
                      "required": [
                        "variantNotes"
                      ],
                      "properties": {
                        "variantNotes": {
                          "minLength": 1
                        }
                      }
                    }
                  }
                ],
                "required": [
                  "sourceImageId",
                  "variantSet",
                  "quality",
                  "numberOfImages"
                ],
                "properties": {
                  "quality": {
                    "enum": [
                      "LOW",
                      "MEDIUM",
                      "HIGH"
                    ],
                    "type": "string",
                    "description": "quality"
                  },
                  "variantSet": {
                    "enum": [
                      "THREAT_LADDER",
                      "CORRUPTION",
                      "ELEMENTAL",
                      "UNDEAD",
                      "CUSTOM"
                    ],
                    "type": "string",
                    "description": "variantSet"
                  },
                  "variantNotes": {
                    "type": "string",
                    "maxLength": 500,
                    "minLength": 1,
                    "description": "variantNotes"
                  },
                  "sourceImageId": {
                    "type": "string",
                    "format": "uuid",
                    "description": "Owned still image UUID from chargen_search_gallery"
                  },
                  "numberOfImages": {
                    "type": "integer",
                    "maximum": 5,
                    "minimum": 5,
                    "description": "numberOfImages"
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Quote monster variant sheet",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_quote_recipe_photo_to_dnd_character",
          "title": "Quote photo to dnd character",
          "description": "Quote the connected account's exact Gold price for the photo to dnd character workflow: turn an owned portrait into a fantasy roleplaying character. Returns gold_cost, affordable and quote_token without starting a run, moderating, charging Gold or consuming a free sheet. After the user approves the price, call chargen_run_recipe_photo_to_dnd_character with the same values and quote_token. For input rules, use chargen_get_recipe_photo_to_dnd_character.",
          "inputSchema": {
            "type": "object",
            "required": [
              "values"
            ],
            "properties": {
              "values": {
                "type": "object",
                "required": [
                  "sourceImageId",
                  "quality",
                  "numberOfImages"
                ],
                "properties": {
                  "quality": {
                    "enum": [
                      "LOW",
                      "MEDIUM",
                      "HIGH"
                    ],
                    "type": "string",
                    "description": "quality"
                  },
                  "sourceImageId": {
                    "type": "string",
                    "format": "uuid",
                    "description": "Owned still image UUID from chargen_search_gallery"
                  },
                  "characterClass": {
                    "enum": [
                      "ANY",
                      "BARBARIAN",
                      "BARD",
                      "CLERIC",
                      "DRUID",
                      "FIGHTER",
                      "MONK",
                      "PALADIN",
                      "RANGER",
                      "ROGUE",
                      "SORCERER",
                      "WARLOCK",
                      "WIZARD"
                    ],
                    "type": "string",
                    "description": "characterClass"
                  },
                  "numberOfImages": {
                    "type": "integer",
                    "maximum": 4,
                    "minimum": 1,
                    "description": "numberOfImages"
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Quote photo to dnd character",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_quote_recipe_plushie",
          "title": "Quote plushie",
          "description": "Quote the connected account's exact Gold price for the plushie workflow: turn an owned image's subject into a plush toy illustration. Returns gold_cost, affordable and quote_token without starting a run, moderating, charging Gold or consuming a free sheet. After the user approves the price, call chargen_run_recipe_plushie with the same values and quote_token. For input rules, use chargen_get_recipe_plushie.",
          "inputSchema": {
            "type": "object",
            "required": [
              "values"
            ],
            "properties": {
              "values": {
                "type": "object",
                "required": [
                  "sourceImageId",
                  "quality",
                  "numberOfImages"
                ],
                "properties": {
                  "quality": {
                    "enum": [
                      "LOW",
                      "MEDIUM",
                      "HIGH"
                    ],
                    "type": "string",
                    "description": "quality"
                  },
                  "sourceImageId": {
                    "type": "string",
                    "format": "uuid",
                    "description": "Owned still image UUID from chargen_search_gallery"
                  },
                  "numberOfImages": {
                    "type": "integer",
                    "maximum": 4,
                    "minimum": 1,
                    "description": "numberOfImages"
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Quote plushie",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_quote_recipe_product_photography",
          "title": "Quote product photography",
          "description": "Quote the connected account's exact Gold price for the product photography workflow: create product photography from an owned product image. Returns gold_cost, affordable and quote_token without starting a run, moderating, charging Gold or consuming a free sheet. After the user approves the price, call chargen_run_recipe_product_photography with the same values and quote_token. For input rules, use chargen_get_recipe_product_photography.",
          "inputSchema": {
            "type": "object",
            "required": [
              "values"
            ],
            "properties": {
              "values": {
                "type": "object",
                "allOf": [
                  {
                    "if": {
                      "required": [
                        "scenePreset"
                      ],
                      "properties": {
                        "scenePreset": {
                          "enum": [
                            "CUSTOM"
                          ]
                        }
                      }
                    },
                    "then": {
                      "required": [
                        "customScene"
                      ],
                      "properties": {
                        "customScene": {
                          "minLength": 1
                        }
                      }
                    }
                  }
                ],
                "required": [
                  "sourceImageId",
                  "scenePreset",
                  "quality",
                  "numberOfImages"
                ],
                "properties": {
                  "quality": {
                    "enum": [
                      "LOW",
                      "MEDIUM",
                      "HIGH"
                    ],
                    "type": "string",
                    "description": "quality"
                  },
                  "customScene": {
                    "type": "string",
                    "maxLength": 500,
                    "minLength": 1,
                    "description": "customScene"
                  },
                  "scenePreset": {
                    "enum": [
                      "CLEAN_STUDIO",
                      "LIFESTYLE",
                      "OUTDOOR",
                      "LUXURY",
                      "RUSTIC",
                      "FESTIVE",
                      "DARK_CINEMATIC",
                      "TABLETOP_SHOWCASE",
                      "BRAND_PACKAGING",
                      "BRAND_APPAREL",
                      "BRAND_POSTER",
                      "BRAND_SIGNAGE",
                      "BRAND_STATIONERY",
                      "BRAND_MERCHANDISE",
                      "CUSTOM"
                    ],
                    "type": "string",
                    "description": "scenePreset"
                  },
                  "sourceImageId": {
                    "type": "string",
                    "format": "uuid",
                    "description": "Owned still image UUID from chargen_search_gallery"
                  },
                  "numberOfImages": {
                    "type": "integer",
                    "maximum": 4,
                    "minimum": 1,
                    "description": "numberOfImages"
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Quote product photography",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_quote_recipe_rpg_character_asset_pack",
          "title": "Quote rpg character asset pack",
          "description": "Quote the connected account's exact Gold price for the rpg character asset pack workflow: create a roleplaying character asset pack from owned artwork. Returns gold_cost, affordable and quote_token without starting a run, moderating, charging Gold or consuming a free sheet. After the user approves the price, call chargen_run_recipe_rpg_character_asset_pack with the same values and quote_token. For input rules, use chargen_get_recipe_rpg_character_asset_pack.",
          "inputSchema": {
            "type": "object",
            "required": [
              "values"
            ],
            "properties": {
              "values": {
                "type": "object",
                "required": [
                  "sourceImageId",
                  "packPreset",
                  "quality",
                  "numberOfImages"
                ],
                "properties": {
                  "quality": {
                    "enum": [
                      "LOW",
                      "MEDIUM",
                      "HIGH"
                    ],
                    "type": "string",
                    "description": "quality"
                  },
                  "packNotes": {
                    "type": "string",
                    "maxLength": 500,
                    "minLength": 0,
                    "description": "packNotes"
                  },
                  "packPreset": {
                    "enum": [
                      "VTT_STANDARD"
                    ],
                    "type": "string",
                    "description": "packPreset"
                  },
                  "sourceImageId": {
                    "type": "string",
                    "format": "uuid",
                    "description": "Owned still image UUID from chargen_search_gallery"
                  },
                  "numberOfImages": {
                    "type": "integer",
                    "maximum": 5,
                    "minimum": 5,
                    "description": "numberOfImages"
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Quote rpg character asset pack",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_quote_recipe_rpg_sprite_sheet",
          "title": "Quote rpg sprite sheet",
          "description": "Quote the connected account's exact Gold price for the rpg sprite sheet workflow: create a roleplaying sprite sheet from owned character artwork. Returns gold_cost, affordable and quote_token without starting a run, moderating, charging Gold or consuming a free sheet. After the user approves the price, call chargen_run_recipe_rpg_sprite_sheet with the same values and quote_token. For input rules, use chargen_get_recipe_rpg_sprite_sheet.",
          "inputSchema": {
            "type": "object",
            "required": [
              "values"
            ],
            "properties": {
              "values": {
                "type": "object",
                "allOf": [
                  {
                    "if": {
                      "required": [
                        "motionSet"
                      ],
                      "properties": {
                        "motionSet": {
                          "enum": [
                            "CUSTOM"
                          ]
                        }
                      }
                    },
                    "then": {
                      "required": [
                        "motionBrief"
                      ],
                      "properties": {
                        "motionBrief": {
                          "minLength": 1
                        }
                      }
                    }
                  }
                ],
                "required": [
                  "sourceImageId",
                  "motionSet",
                  "viewSet",
                  "pixelScale",
                  "quality",
                  "numberOfImages"
                ],
                "properties": {
                  "quality": {
                    "enum": [
                      "LOW",
                      "MEDIUM",
                      "HIGH"
                    ],
                    "type": "string",
                    "description": "quality"
                  },
                  "viewSet": {
                    "enum": [
                      "FOUR_DIRECTION",
                      "EIGHT_DIRECTION"
                    ],
                    "type": "string",
                    "description": "viewSet"
                  },
                  "motionSet": {
                    "enum": [
                      "IDLE_WALK",
                      "COMBAT",
                      "CASTING",
                      "CUSTOM"
                    ],
                    "type": "string",
                    "description": "motionSet"
                  },
                  "pixelScale": {
                    "enum": [
                      "16",
                      "32",
                      "64"
                    ],
                    "type": "string",
                    "description": "pixelScale"
                  },
                  "motionBrief": {
                    "type": "string",
                    "maxLength": 500,
                    "minLength": 1,
                    "description": "motionBrief"
                  },
                  "sourceImageId": {
                    "type": "string",
                    "format": "uuid",
                    "description": "Owned still image UUID from chargen_search_gallery"
                  },
                  "numberOfImages": {
                    "type": "integer",
                    "maximum": 4,
                    "minimum": 1,
                    "description": "numberOfImages"
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Quote rpg sprite sheet",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_quote_recipe_sketch_to_battlemap",
          "title": "Quote sketch to battlemap",
          "description": "Quote the connected account's exact Gold price for the sketch to battlemap workflow: develop an owned sketch into a battlemap. Returns gold_cost, affordable and quote_token without starting a run, moderating, charging Gold or consuming a free sheet. After the user approves the price, call chargen_run_recipe_sketch_to_battlemap with the same values and quote_token. For input rules, use chargen_get_recipe_sketch_to_battlemap.",
          "inputSchema": {
            "type": "object",
            "required": [
              "values"
            ],
            "properties": {
              "values": {
                "type": "object",
                "allOf": [
                  {
                    "if": {
                      "required": [
                        "mapStyle"
                      ],
                      "properties": {
                        "mapStyle": {
                          "enum": [
                            "CUSTOM"
                          ]
                        }
                      }
                    },
                    "then": {
                      "required": [
                        "mapBrief"
                      ],
                      "properties": {
                        "mapBrief": {
                          "minLength": 1
                        }
                      }
                    }
                  }
                ],
                "required": [
                  "sourceImageId",
                  "mapStyle",
                  "gridMode",
                  "quality",
                  "numberOfImages"
                ],
                "properties": {
                  "quality": {
                    "enum": [
                      "LOW",
                      "MEDIUM",
                      "HIGH"
                    ],
                    "type": "string",
                    "description": "quality"
                  },
                  "gridMode": {
                    "enum": [
                      "NONE",
                      "SQUARE",
                      "HEX"
                    ],
                    "type": "string",
                    "description": "gridMode"
                  },
                  "mapBrief": {
                    "type": "string",
                    "maxLength": 500,
                    "minLength": 1,
                    "description": "mapBrief"
                  },
                  "mapStyle": {
                    "enum": [
                      "DUNGEON",
                      "WILDERNESS",
                      "CITY",
                      "INTERIOR",
                      "CAVE",
                      "SCI_FI",
                      "CUSTOM"
                    ],
                    "type": "string",
                    "description": "mapStyle"
                  },
                  "sourceImageId": {
                    "type": "string",
                    "format": "uuid",
                    "description": "Owned still image UUID from chargen_search_gallery"
                  },
                  "numberOfImages": {
                    "type": "integer",
                    "maximum": 4,
                    "minimum": 1,
                    "description": "numberOfImages"
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Quote sketch to battlemap",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_quote_recipe_sketch_to_image",
          "title": "Quote sketch to image",
          "description": "Quote the connected account's exact Gold price for the sketch to image workflow: develop an owned sketch into a finished illustration. Returns gold_cost, affordable and quote_token without starting a run, moderating, charging Gold or consuming a free sheet. After the user approves the price, call chargen_run_recipe_sketch_to_image with the same values and quote_token. For input rules, use chargen_get_recipe_sketch_to_image.",
          "inputSchema": {
            "type": "object",
            "required": [
              "values"
            ],
            "properties": {
              "values": {
                "type": "object",
                "required": [
                  "sourceImageId",
                  "renderStyle",
                  "quality",
                  "numberOfImages"
                ],
                "properties": {
                  "quality": {
                    "enum": [
                      "LOW",
                      "MEDIUM",
                      "HIGH"
                    ],
                    "type": "string",
                    "description": "quality"
                  },
                  "renderBrief": {
                    "type": "string",
                    "maxLength": 500,
                    "minLength": 0,
                    "description": "renderBrief"
                  },
                  "renderStyle": {
                    "enum": [
                      "FANTASY_CONCEPT",
                      "PAINTED_ILLUSTRATION",
                      "REALISTIC_RENDER",
                      "ANIME"
                    ],
                    "type": "string",
                    "description": "renderStyle"
                  },
                  "sourceImageId": {
                    "type": "string",
                    "format": "uuid",
                    "description": "Owned still image UUID from chargen_search_gallery"
                  },
                  "numberOfImages": {
                    "type": "integer",
                    "maximum": 4,
                    "minimum": 1,
                    "description": "numberOfImages"
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Quote sketch to image",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_quote_recipe_storybook_animation",
          "title": "Quote storybook animation",
          "description": "Quote the connected account's exact Gold price for the storybook animation workflow: restyle an owned image as a storybook animation illustration. Returns gold_cost, affordable and quote_token without starting a run, moderating, charging Gold or consuming a free sheet. After the user approves the price, call chargen_run_recipe_storybook_animation with the same values and quote_token. For input rules, use chargen_get_recipe_storybook_animation.",
          "inputSchema": {
            "type": "object",
            "required": [
              "values"
            ],
            "properties": {
              "values": {
                "type": "object",
                "required": [
                  "sourceImageId",
                  "quality",
                  "numberOfImages"
                ],
                "properties": {
                  "quality": {
                    "enum": [
                      "LOW",
                      "MEDIUM",
                      "HIGH"
                    ],
                    "type": "string",
                    "description": "quality"
                  },
                  "sourceImageId": {
                    "type": "string",
                    "format": "uuid",
                    "description": "Owned still image UUID from chargen_search_gallery"
                  },
                  "numberOfImages": {
                    "type": "integer",
                    "maximum": 4,
                    "minimum": 1,
                    "description": "numberOfImages"
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Quote storybook animation",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_quote_recipe_tarot_card",
          "title": "Quote tarot card",
          "description": "Quote the connected account's exact Gold price for the tarot card workflow: turn an owned image's subject into a tarot card. Returns gold_cost, affordable and quote_token without starting a run, moderating, charging Gold or consuming a free sheet. After the user approves the price, call chargen_run_recipe_tarot_card with the same values and quote_token. For input rules, use chargen_get_recipe_tarot_card.",
          "inputSchema": {
            "type": "object",
            "required": [
              "values"
            ],
            "properties": {
              "values": {
                "type": "object",
                "required": [
                  "sourceImageId",
                  "quality",
                  "numberOfImages"
                ],
                "properties": {
                  "quality": {
                    "enum": [
                      "LOW",
                      "MEDIUM",
                      "HIGH"
                    ],
                    "type": "string",
                    "description": "quality"
                  },
                  "sourceImageId": {
                    "type": "string",
                    "format": "uuid",
                    "description": "Owned still image UUID from chargen_search_gallery"
                  },
                  "numberOfImages": {
                    "type": "integer",
                    "maximum": 4,
                    "minimum": 1,
                    "description": "numberOfImages"
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Quote tarot card",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_quote_recipe_tavern_menu",
          "title": "Quote tavern menu",
          "description": "Quote the connected account's exact Gold price for the tavern menu workflow: create a tavern menu lettered with tavernName and dishes (one dish and its price per line, up to four), optionally from an owned tavern image. Returns gold_cost, affordable and quote_token without starting a run, moderating, charging Gold or consuming a free sheet. After the user approves the price, call chargen_run_recipe_tavern_menu with the same values and quote_token. For input rules, use chargen_get_recipe_tavern_menu.",
          "inputSchema": {
            "type": "object",
            "required": [
              "values"
            ],
            "properties": {
              "values": {
                "type": "object",
                "required": [
                  "tavernName",
                  "quality",
                  "numberOfImages"
                ],
                "properties": {
                  "dishes": {
                    "type": "string",
                    "maxLength": 200,
                    "minLength": 1,
                    "description": "dishes"
                  },
                  "quality": {
                    "enum": [
                      "LOW",
                      "MEDIUM",
                      "HIGH"
                    ],
                    "type": "string",
                    "description": "quality"
                  },
                  "tavernName": {
                    "type": "string",
                    "maxLength": 40,
                    "minLength": 1,
                    "description": "tavernName"
                  },
                  "sourceImageId": {
                    "type": "string",
                    "format": "uuid",
                    "description": "Owned still image UUID from chargen_search_gallery"
                  },
                  "numberOfImages": {
                    "type": "integer",
                    "maximum": 4,
                    "minimum": 1,
                    "description": "numberOfImages"
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Quote tavern menu",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_quote_recipe_wanted_poster",
          "title": "Quote wanted poster",
          "description": "Quote the connected account's exact Gold price for the wanted poster workflow: turn an owned character portrait into a wanted poster lettered with posterName and bounty (bounty is 500 GOLD when empty). Returns gold_cost, affordable and quote_token without starting a run, moderating, charging Gold or consuming a free sheet. After the user approves the price, call chargen_run_recipe_wanted_poster with the same values and quote_token. For input rules, use chargen_get_recipe_wanted_poster.",
          "inputSchema": {
            "type": "object",
            "required": [
              "values"
            ],
            "properties": {
              "values": {
                "type": "object",
                "required": [
                  "sourceImageId",
                  "posterName",
                  "quality",
                  "numberOfImages"
                ],
                "properties": {
                  "bounty": {
                    "type": "string",
                    "maxLength": 30,
                    "minLength": 1,
                    "description": "bounty"
                  },
                  "quality": {
                    "enum": [
                      "LOW",
                      "MEDIUM",
                      "HIGH"
                    ],
                    "type": "string",
                    "description": "quality"
                  },
                  "posterName": {
                    "type": "string",
                    "maxLength": 40,
                    "minLength": 1,
                    "description": "posterName"
                  },
                  "sourceImageId": {
                    "type": "string",
                    "format": "uuid",
                    "description": "Owned still image UUID from chargen_search_gallery"
                  },
                  "numberOfImages": {
                    "type": "integer",
                    "maximum": 4,
                    "minimum": 1,
                    "description": "numberOfImages"
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Quote wanted poster",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_quote_reference_to_video",
          "title": "Quote reference to video",
          "description": "Quote the exact Gold price to create a video using owned image, audio or video references. Returns gold_cost and quote_token without starting a job or charging Gold. After the user approves, call chargen_generate_reference_to_video with the same inputs and quote_token.",
          "inputSchema": {
            "type": "object",
            "required": [
              "model",
              "prompt"
            ],
            "properties": {
              "model": {
                "type": "string",
                "description": "Enabled video model supporting reference-to-video; chargen_list_media_models can help choose a model. This never changes the operation."
              },
              "prompt": {
                "type": "string",
                "description": "What happens in the video, written for the chosen model. chargen_list_media_models with this mode says how to phrase it for each model (prompt_styles); nothing improves the wording on the way to the model."
              },
              "audio_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional owned gallery reference audio UUID, where supported by the model."
              },
              "video_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional owned gallery reference video UUID, where supported by the model."
              },
              "resolution": {
                "type": "string",
                "description": "Resolution supported by the model, such as 720p."
              },
              "aspect_ratio": {
                "type": "string",
                "description": "Aspect ratio supported by the model, such as 16:9."
              },
              "generate_audio": {
                "type": "boolean",
                "description": "Generate accompanying audio, where supported."
              },
              "duration_seconds": {
                "type": "integer",
                "minimum": 1,
                "description": "Video duration in seconds, where supported by the model."
              },
              "reference_image_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "format": "uuid"
                },
                "description": "Owned reference image UUIDs, where supported. Reference-to-video needs at least one image, audio or video reference; model-specific source counts are validated by the media policy."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Quote reference to video",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_quote_session_log",
          "title": "Quote a session log",
          "description": "Validate a DM-approved prose summary (200 to 20000 characters), resolve the session number and show the price (free at Standard quality on any paid plan) without creating a session. After the user approves the summary, call chargen_create_session_log.",
          "inputSchema": {
            "type": "object",
            "required": [
              "campaign_id",
              "summary"
            ],
            "properties": {
              "name": {
                "type": "string",
                "description": "Session title"
              },
              "notes": {
                "type": "string",
                "description": "DM prep notes (extraction context, not part of the summary)"
              },
              "summary": {
                "type": "string",
                "description": "DM-approved prose summary of the session, 200 to 20000 characters. Name the NPCs, places and items that mattered."
              },
              "campaign_id": {
                "type": "string",
                "description": "Campaign UUID"
              },
              "recorded_at": {
                "type": "string",
                "description": "When the session was played, ISO date (YYYY-MM-DD). Omit for now."
              },
              "session_number": {
                "type": "integer",
                "description": "Session number to backfill. Omit to append after the latest session."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Quote a session log",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_quote_sprite_effect",
          "title": "Quote sprite effect",
          "description": "Quote the exact Gold price to make an animated pixel sprite effect, for example a fireball or a healing light: 10 Gold for the first part and 8 for each more part. Returns gold_cost and quote_token. It does not place an order or charge Gold. After the user approves, call chargen_generate_sprite_effect with the same inputs and the quote_token.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "parts": {
                "type": "array",
                "items": {
                  "enum": [
                    "SPARK",
                    "BLAST",
                    "SMOKE",
                    "RISES",
                    "PULSES",
                    "FADES",
                    "FORMING",
                    "FLYING",
                    "BURST",
                    "GATHERS",
                    "STRIKE",
                    "SCORCH",
                    "LINGERS",
                    "CHARGE",
                    "SLASH",
                    "SMALL_HIT",
                    "SPLASH",
                    "CLOUD",
                    "DRIPS",
                    "ORB",
                    "BURSTS",
                    "HOLDS",
                    "BREAKS",
                    "OPENS",
                    "SWIRLS",
                    "CLOSES",
                    "BUILDS_UP",
                    "MAIN"
                  ],
                  "type": "string",
                  "description": "A part key."
                },
                "maxItems": 10,
                "description": "The parts to draw, by key, each one at most once. With a preset, its own parts (explosion: SPARK, BLAST, SMOKE; aura: RISES, PULSES, FADES; fireball: FORMING, FLYING, BURST; lightning: GATHERS, STRIKE, SCORCH; frostnova: GATHERS, BURST, LINGERS; slash: CHARGE, SLASH, SMALL_HIT; necrotic: GATHERS, BURST, LINGERS; heal: BURST, RISES, FADES; poison: SPLASH, CLOUD, DRIPS; arcaneorb: ORB, FLYING, BURSTS; shield: RISES, HOLDS, BREAKS; portal: OPENS, SWIRLS, CLOSES). With a description: BUILDS_UP, MAIN, FADES. parts and custom_parts together hold 1 to 10 parts."
              },
              "title": {
                "type": "string",
                "maxLength": 120,
                "description": "Optional name for these sprites in the user's library."
              },
              "preset": {
                "enum": [
                  "explosion",
                  "aura",
                  "fireball",
                  "lightning",
                  "frostnova",
                  "slash",
                  "necrotic",
                  "heal",
                  "poison",
                  "arcaneorb",
                  "shield",
                  "portal"
                ],
                "type": "string",
                "description": "One of CharGen's effects. Give preset or description, not both."
              },
              "element": {
                "enum": [
                  "FIRE",
                  "ICE",
                  "LIGHTNING",
                  "POISON",
                  "HOLY",
                  "DARK",
                  "ARCANE",
                  "NATURE"
                ],
                "type": "string",
                "description": "Optional element or colour that every part is drawn in."
              },
              "description": {
                "type": "string",
                "maxLength": 200,
                "description": "The effect in the user's own words, in place of preset."
              },
              "custom_parts": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "text"
                  ],
                  "properties": {
                    "text": {
                      "type": "string",
                      "maxLength": 40,
                      "description": "What the part shows, in the user's own words."
                    },
                    "plays": {
                      "enum": [
                        "LOOP",
                        "ONCE",
                        "HOLD"
                      ],
                      "type": "string",
                      "description": "LOOP (the default) repeats, ONCE plays one time, HOLD plays and stops on its last frame."
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 10,
                "description": "Parts in the user's own words."
              },
              "reference_set_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional set_id of one of the user's character sprite sets (chargen_get_job shows set_id). The effect is drawn in the colours of that character's Cast move, or of its base sprite."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Quote sprite effect",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_quote_sprite_item",
          "title": "Quote sprite item",
          "description": "Quote the exact Gold price to make an animated pixel sprite item, for example a potion or a key: 10 Gold for the first part and 8 for each more part. Returns gold_cost and quote_token. It does not place an order or charge Gold. After the user approves, call chargen_generate_sprite_item with the same inputs and the quote_token.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "parts": {
                "type": "array",
                "items": {
                  "enum": [
                    "SPINS",
                    "SHINES",
                    "COLLECTED",
                    "BEATS",
                    "POPS",
                    "BUBBLES",
                    "DRUNK",
                    "HEALS",
                    "SWIRLS",
                    "GLOWS",
                    "FLIPS",
                    "RATTLES",
                    "OPENS",
                    "FLARES",
                    "DIMS",
                    "TURNS",
                    "RESTS",
                    "UNROLLS",
                    "BURNS",
                    "MIST",
                    "VISION",
                    "CLEARS",
                    "LIGHTS",
                    "FLICKERS",
                    "GOES_OUT",
                    "FLOATS",
                    "IDLE",
                    "USED",
                    "GONE"
                  ],
                  "type": "string",
                  "description": "A part key."
                },
                "maxItems": 10,
                "description": "The parts to draw, by key, each one at most once. With a preset, its own parts (gem: SPINS, SHINES, COLLECTED; heart: BEATS, POPS, COLLECTED; healthpotion: BUBBLES, DRUNK, HEALS; manapotion: SWIRLS, DRUNK, GLOWS; coin: SPINS, FLIPS, SHINES; chest: SHINES, RATTLES, OPENS; sword: GLOWS, FLARES, DIMS; ring: TURNS, FLARES, RESTS; scroll: UNROLLS, GLOWS, BURNS; crystalball: MIST, VISION, CLEARS; torch: LIGHTS, FLICKERS, GOES_OUT; key: FLOATS, TURNS, GLOWS). With a description: IDLE, USED, GONE. parts and custom_parts together hold 1 to 10 parts."
              },
              "title": {
                "type": "string",
                "maxLength": 120,
                "description": "Optional name for these sprites in the user's library."
              },
              "preset": {
                "enum": [
                  "gem",
                  "heart",
                  "healthpotion",
                  "manapotion",
                  "coin",
                  "chest",
                  "sword",
                  "ring",
                  "scroll",
                  "crystalball",
                  "torch",
                  "key"
                ],
                "type": "string",
                "description": "One of CharGen's items. Give preset or description, not both."
              },
              "element": {
                "enum": [
                  "FIRE",
                  "ICE",
                  "LIGHTNING",
                  "POISON",
                  "HOLY",
                  "DARK",
                  "ARCANE",
                  "NATURE"
                ],
                "type": "string",
                "description": "Optional element or colour that every part is drawn in."
              },
              "description": {
                "type": "string",
                "maxLength": 200,
                "description": "The item in the user's own words, in place of preset."
              },
              "custom_parts": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "text"
                  ],
                  "properties": {
                    "text": {
                      "type": "string",
                      "maxLength": 40,
                      "description": "What the part shows, in the user's own words."
                    },
                    "plays": {
                      "enum": [
                        "LOOP",
                        "ONCE",
                        "HOLD"
                      ],
                      "type": "string",
                      "description": "LOOP (the default) repeats, ONCE plays one time, HOLD plays and stops on its last frame."
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 10,
                "description": "Parts in the user's own words."
              },
              "reference_image_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional UUID of one of the user's own still pictures, from chargen_search_gallery. The item is drawn from it."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Quote sprite item",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_quote_text_to_video",
          "title": "Quote text to video",
          "description": "Quote the exact Gold price to create a video from a text description. Returns gold_cost and quote_token without starting a job or charging Gold. After the user approves, call chargen_generate_text_to_video with the same inputs and quote_token.",
          "inputSchema": {
            "type": "object",
            "required": [
              "model",
              "prompt"
            ],
            "properties": {
              "model": {
                "type": "string",
                "description": "Enabled video model supporting text-to-video; chargen_list_media_models can help choose a model. This never changes the operation."
              },
              "prompt": {
                "type": "string",
                "description": "What happens in the video, written for the chosen model. chargen_list_media_models with this mode says how to phrase it for each model (prompt_styles); nothing improves the wording on the way to the model."
              },
              "audio_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional owned gallery reference audio UUID, where supported by the model."
              },
              "video_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional owned gallery reference video UUID, where supported by the model."
              },
              "resolution": {
                "type": "string",
                "description": "Resolution supported by the model, such as 720p."
              },
              "aspect_ratio": {
                "type": "string",
                "description": "Aspect ratio supported by the model, such as 16:9."
              },
              "generate_audio": {
                "type": "boolean",
                "description": "Generate accompanying audio, where supported."
              },
              "negative_prompt": {
                "type": "string",
                "maxLength": 4000,
                "description": "Things to keep out of the result, as a short list. Only some models take one: chargen_list_media_models shows negative_prompt in that model's settings, and any other model refuses this argument."
              },
              "duration_seconds": {
                "type": "integer",
                "minimum": 1,
                "description": "Video duration in seconds, where supported by the model."
              },
              "prompt_expansion": {
                "type": "boolean",
                "description": "Let the video model rewrite and lengthen the prompt before it renders, where the model offers it (chargen_list_media_models shows prompt_expansion in its settings). Off by default; leave it off for a prompt written in full."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Quote text to video",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_quote_tts",
          "title": "Quote tts",
          "description": "Quote the exact Gold price to speak the exact supplied text. Returns gold_cost and quote_token without starting a job or charging Gold. After the user approves, call chargen_generate_tts with the same inputs and quote_token.",
          "inputSchema": {
            "type": "object",
            "required": [
              "prompt"
            ],
            "properties": {
              "model": {
                "type": "string",
                "description": "Enabled audio model supporting tts; chargen_list_media_models can help choose a model. This never changes the operation."
              },
              "voice": {
                "type": "string",
                "description": "Voice supported by the selected model."
              },
              "prompt": {
                "type": "string",
                "description": "The exact words to speak. Speech is priced per 1,000 characters."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Quote tts",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_quote_video_edit",
          "title": "Quote video edit",
          "description": "Quote the exact Gold price to edit an owned gallery video. Returns gold_cost and quote_token without starting a job or charging Gold. After the user approves, call chargen_generate_video_edit with the same inputs and quote_token.",
          "inputSchema": {
            "type": "object",
            "required": [
              "model",
              "prompt",
              "video_id"
            ],
            "properties": {
              "model": {
                "type": "string",
                "description": "Enabled video model supporting video-edit; chargen_list_media_models can help choose a model. This never changes the operation."
              },
              "prompt": {
                "type": "string",
                "description": "The change to make to the video."
              },
              "audio_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional owned gallery reference audio UUID, where supported by the model."
              },
              "video_id": {
                "type": "string",
                "format": "uuid",
                "description": "Owned gallery video UUID to edit, follow or add sound to."
              },
              "swap_mode": {
                "enum": [
                  "Change",
                  "Background"
                ],
                "type": "string",
                "description": "OpenJutsu Object Swap only: Change (default) changes the target into what the prompt or the reference image describes; Background keeps the target and changes everything around it."
              },
              "resolution": {
                "type": "string",
                "description": "Resolution supported by the model, such as 720p."
              },
              "swap_target": {
                "type": "string",
                "maxLength": 120,
                "description": "OpenJutsu Object Swap only, and required there: the thing in the video to change, such as hair, jacket or car (a comma list is allowed). In Background mode, the thing to keep."
              },
              "aspect_ratio": {
                "type": "string",
                "description": "Aspect ratio supported by the model, such as 16:9."
              },
              "generate_audio": {
                "type": "boolean",
                "description": "Generate accompanying audio, where supported."
              },
              "duration_seconds": {
                "type": "integer",
                "minimum": 1,
                "description": "Video duration in seconds, where supported by the model."
              },
              "reference_image_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "format": "uuid"
                },
                "description": "Owned reference image UUIDs, where supported. Reference-to-video needs at least one image, audio or video reference; model-specific source counts are validated by the media policy."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Quote video edit",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_quote_video_to_audio",
          "title": "Quote video to audio",
          "description": "Quote the exact Gold price to create sound for an owned gallery video. Returns gold_cost and quote_token without starting a job or charging Gold. After the user approves, call chargen_generate_video_to_audio with the same inputs and quote_token.",
          "inputSchema": {
            "type": "object",
            "required": [
              "model",
              "video_id"
            ],
            "properties": {
              "model": {
                "type": "string",
                "description": "Enabled audio model supporting video-to-audio; chargen_list_media_models can help choose a model. This never changes the operation."
              },
              "prompt": {
                "type": "string",
                "description": "The sounds to add to the video. Optional when the chosen model supports video-derived sound without text; otherwise required."
              },
              "video_id": {
                "type": "string",
                "format": "uuid",
                "description": "Owned gallery video UUID to edit, follow or add sound to."
              },
              "negative_prompt": {
                "type": "string",
                "maxLength": 4000,
                "description": "Things to keep out of the result, as a short list. Only some models take one: chargen_list_media_models shows negative_prompt in that model's settings, and any other model refuses this argument."
              },
              "duration_seconds": {
                "type": "integer",
                "minimum": 1,
                "description": "Audio duration in seconds, where supported."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Quote video to audio",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_quote_video_to_video",
          "title": "Quote video to video",
          "description": "Quote the exact Gold price to create a new soundtrack on a copy of an owned gallery video. Returns gold_cost and quote_token without starting a job or charging Gold. After the user approves, call chargen_generate_video_to_video with the same inputs and quote_token.",
          "inputSchema": {
            "type": "object",
            "required": [
              "model",
              "video_id"
            ],
            "properties": {
              "model": {
                "type": "string",
                "description": "Enabled audio model supporting video-to-video; chargen_list_media_models can help choose a model. This never changes the operation."
              },
              "prompt": {
                "type": "string",
                "description": "The sounds to add to the video. Optional when the chosen model supports video-derived sound without text; otherwise required."
              },
              "video_id": {
                "type": "string",
                "format": "uuid",
                "description": "Owned gallery video UUID to edit, follow or add sound to."
              },
              "negative_prompt": {
                "type": "string",
                "maxLength": 4000,
                "description": "Things to keep out of the result, as a short list. Only some models take one: chargen_list_media_models shows negative_prompt in that model's settings, and any other model refuses this argument."
              },
              "duration_seconds": {
                "type": "integer",
                "minimum": 1,
                "description": "Audio duration in seconds, where supported."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Quote video to video",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_reference_codex_collection",
          "title": "Link Codex folder to campaign",
          "description": "Graft a World Codex folder (and its subtree) into a campaign workspace as a LIVE reference - codex edits keep showing through. Idempotent. The returned ref_row_id removes the graft later via chargen_delete_collection without touching the codex original.",
          "inputSchema": {
            "type": "object",
            "required": [
              "campaign_id",
              "codex_collection_id"
            ],
            "properties": {
              "campaign_id": {
                "type": "string",
                "description": "Campaign UUID"
              },
              "codex_collection_id": {
                "type": "string",
                "description": "World Codex collection UUID to graft (campaign workspace folders are rejected)"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Link Codex folder to campaign",
            "readOnlyHint": false,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_relate_generations",
          "title": "Relate generations",
          "description": "Create a typed relationship between two of the user's GENERATIONS, e.g. an NPC WORKS_AT a tavern. Directional: source -> target. Suggested types: CONTAINS, LOCATED_IN, MEMBER_OF, RULES, SERVES, ALLIED_WITH, RIVAL_OF, OWNS, WORKS_AT (any short label works). This is the generation library graph - for the campaign co-occurrence graph see chargen_get_relationship_graph, which is read-only. Use chargen_remove_generation_relationship with a relationship_id to remove an edge.",
          "inputSchema": {
            "type": "object",
            "required": [
              "source_generation_id",
              "target_generation_id",
              "relationship_type"
            ],
            "properties": {
              "description": {
                "type": "string",
                "description": "Optional description"
              },
              "relationship_type": {
                "type": "string",
                "description": "Relationship label, e.g. WORKS_AT (max 128 chars, stored uppercase)"
              },
              "source_generation_id": {
                "type": "string",
                "description": "Source generation UUID"
              },
              "target_generation_id": {
                "type": "string",
                "description": "Target generation UUID"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Relate generations",
            "readOnlyHint": false,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_remove_collection_item",
          "title": "Remove item from folder",
          "description": "Unfile one item from a folder. item_id is the item ROW id from chargen_get_collection (NOT the entity/generation id). Removing an item never deletes the underlying content, it only takes it out of the folder.",
          "inputSchema": {
            "type": "object",
            "required": [
              "collection_id",
              "item_id"
            ],
            "properties": {
              "item_id": {
                "type": "string",
                "description": "Item ROW UUID from chargen_get_collection's items[].id"
              },
              "collection_id": {
                "type": "string",
                "description": "Folder UUID"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Remove item from folder",
            "readOnlyHint": false,
            "openWorldHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "chargen_remove_generation_relationship",
          "title": "Remove generation relationship",
          "description": "Delete one typed relationship you own from the generation library graph. Pass the relationship_id from chargen_relate_generations or the relationships returned by chargen_get_generation. Deletes only the edge, preserving both generations. This does not modify the campaign co-occurrence graph.",
          "inputSchema": {
            "type": "object",
            "required": [
              "relationship_id"
            ],
            "properties": {
              "relationship_id": {
                "type": "string",
                "description": "Relationship UUID to remove"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Remove generation relationship",
            "readOnlyHint": false,
            "openWorldHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "chargen_rename_speaker",
          "title": "Rename session speakers",
          "description": "Renames speakers in a session's transcript, then writes the recap again. This replaces the recap, any hand edits to it and the storyboard. DM notes are kept. When the recap has hand edits, pass replace_recap_edits: true to confirm. Needs a session that has a transcript.",
          "inputSchema": {
            "type": "object",
            "required": [
              "session_id",
              "assignments"
            ],
            "properties": {
              "session_id": {
                "type": "string",
                "description": "Session UUID"
              },
              "assignments": {
                "type": "object",
                "description": "Speaker label -> campaign player UUID"
              },
              "replace_recap_edits": {
                "type": "boolean",
                "description": "Set true to confirm that the new recap replaces the recap's hand edits and the storyboard"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Rename session speakers",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "chargen_run_recipe_3d_cartoon_diorama",
          "title": "Run 3d cartoon diorama",
          "description": "Start the 3d cartoon diorama workflow: turn an owned image into a 3D cartoon diorama. First call chargen_quote_recipe_3d_cartoon_diorama, confirm its Gold price with the user, then pass the quote_token here with the same values. Eligible reference sheets can be free; other runs spend the quoted Gold. Returns request_id; poll chargen_get_job for all output images. For input rules, use chargen_get_recipe_3d_cartoon_diorama. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.",
          "inputSchema": {
            "type": "object",
            "required": [
              "values"
            ],
            "properties": {
              "values": {
                "type": "object",
                "required": [
                  "sourceImageId",
                  "quality",
                  "numberOfImages"
                ],
                "properties": {
                  "quality": {
                    "enum": [
                      "LOW",
                      "MEDIUM",
                      "HIGH"
                    ],
                    "type": "string",
                    "description": "quality"
                  },
                  "dioramaMode": {
                    "enum": [
                      "SCENE_DIORAMA",
                      "TABLETOP_SHOWCASE"
                    ],
                    "type": "string",
                    "description": "dioramaMode"
                  },
                  "sourceImageId": {
                    "type": "string",
                    "format": "uuid",
                    "description": "Owned still image UUID from chargen_search_gallery"
                  },
                  "numberOfImages": {
                    "type": "integer",
                    "maximum": 4,
                    "minimum": 1,
                    "description": "numberOfImages"
                  }
                },
                "additionalProperties": false
              },
              "quote_token": {
                "type": "string",
                "description": "Approved quote_token from chargen_quote_recipe_3d_cartoon_diorama. Changed inputs or pricing fail without charging."
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Run 3d cartoon diorama",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_run_recipe_anime_style",
          "title": "Run anime style",
          "description": "Start the anime style workflow: turn an owned portrait into anime art. First call chargen_quote_recipe_anime_style, confirm its Gold price with the user, then pass the quote_token here with the same values. Eligible reference sheets can be free; other runs spend the quoted Gold. Returns request_id; poll chargen_get_job for all output images. For input rules, use chargen_get_recipe_anime_style. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.",
          "inputSchema": {
            "type": "object",
            "required": [
              "values"
            ],
            "properties": {
              "values": {
                "type": "object",
                "required": [
                  "sourceImageId",
                  "quality",
                  "numberOfImages"
                ],
                "properties": {
                  "quality": {
                    "enum": [
                      "LOW",
                      "MEDIUM",
                      "HIGH"
                    ],
                    "type": "string",
                    "description": "quality"
                  },
                  "sourceImageId": {
                    "type": "string",
                    "format": "uuid",
                    "description": "Owned still image UUID from chargen_search_gallery"
                  },
                  "numberOfImages": {
                    "type": "integer",
                    "maximum": 4,
                    "minimum": 1,
                    "description": "numberOfImages"
                  }
                },
                "additionalProperties": false
              },
              "quote_token": {
                "type": "string",
                "description": "Approved quote_token from chargen_quote_recipe_anime_style. Changed inputs or pricing fail without charging."
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Run anime style",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_run_recipe_art_style_transfer",
          "title": "Run art style transfer",
          "description": "Start the art style transfer workflow: restyle an owned image in a selected art style. First call chargen_quote_recipe_art_style_transfer, confirm its Gold price with the user, then pass the quote_token here with the same values. Eligible reference sheets can be free; other runs spend the quoted Gold. Returns request_id; poll chargen_get_job for all output images. For input rules, use chargen_get_recipe_art_style_transfer. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.",
          "inputSchema": {
            "type": "object",
            "required": [
              "values"
            ],
            "properties": {
              "values": {
                "type": "object",
                "allOf": [
                  {
                    "if": {
                      "required": [
                        "stylePreset"
                      ],
                      "properties": {
                        "stylePreset": {
                          "enum": [
                            "CUSTOM"
                          ]
                        }
                      }
                    },
                    "then": {
                      "required": [
                        "customStyle"
                      ],
                      "properties": {
                        "customStyle": {
                          "minLength": 1
                        }
                      }
                    }
                  }
                ],
                "required": [
                  "sourceImageId",
                  "quality",
                  "numberOfImages",
                  "stylePreset"
                ],
                "properties": {
                  "quality": {
                    "enum": [
                      "LOW",
                      "MEDIUM",
                      "HIGH"
                    ],
                    "type": "string",
                    "description": "quality"
                  },
                  "customStyle": {
                    "type": "string",
                    "maxLength": 500,
                    "minLength": 1,
                    "description": "customStyle"
                  },
                  "stylePreset": {
                    "enum": [
                      "DARK_FANTASY",
                      "WATERCOLOUR",
                      "OIL_PAINTING",
                      "COMIC_INK",
                      "PIXEL_ART",
                      "ANIME",
                      "STORYBOOK",
                      "COLOURING_PAGE",
                      "CUSTOM"
                    ],
                    "type": "string",
                    "description": "stylePreset"
                  },
                  "sourceImageId": {
                    "type": "string",
                    "format": "uuid",
                    "description": "Owned still image UUID from chargen_search_gallery"
                  },
                  "numberOfImages": {
                    "type": "integer",
                    "maximum": 4,
                    "minimum": 1,
                    "description": "numberOfImages"
                  }
                },
                "additionalProperties": false
              },
              "quote_token": {
                "type": "string",
                "description": "Approved quote_token from chargen_quote_recipe_art_style_transfer. Changed inputs or pricing fail without charging."
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Run art style transfer",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_run_recipe_box_model",
          "title": "Run box model",
          "description": "Start the box model workflow: present an owned image's subject as a boxed collectible. First call chargen_quote_recipe_box_model, confirm its Gold price with the user, then pass the quote_token here with the same values. Eligible reference sheets can be free; other runs spend the quoted Gold. Returns request_id; poll chargen_get_job for all output images. For input rules, use chargen_get_recipe_box_model. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.",
          "inputSchema": {
            "type": "object",
            "required": [
              "values"
            ],
            "properties": {
              "values": {
                "type": "object",
                "required": [
                  "sourceImageId",
                  "quality",
                  "numberOfImages"
                ],
                "properties": {
                  "quality": {
                    "enum": [
                      "LOW",
                      "MEDIUM",
                      "HIGH"
                    ],
                    "type": "string",
                    "description": "quality"
                  },
                  "sourceImageId": {
                    "type": "string",
                    "format": "uuid",
                    "description": "Owned still image UUID from chargen_search_gallery"
                  },
                  "numberOfImages": {
                    "type": "integer",
                    "maximum": 4,
                    "minimum": 1,
                    "description": "numberOfImages"
                  }
                },
                "additionalProperties": false
              },
              "quote_token": {
                "type": "string",
                "description": "Approved quote_token from chargen_quote_recipe_box_model. Changed inputs or pricing fail without charging."
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Run box model",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_run_recipe_character_production_pack",
          "title": "Run character production pack",
          "description": "Start the character production pack workflow: create a coordinated production pack from owned character artwork. First call chargen_quote_recipe_character_production_pack, confirm its Gold price with the user, then pass the quote_token here with the same values. Eligible reference sheets can be free; other runs spend the quoted Gold. Returns request_id; poll chargen_get_job for all output images. For input rules, use chargen_get_recipe_character_production_pack. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.",
          "inputSchema": {
            "type": "object",
            "required": [
              "values"
            ],
            "properties": {
              "values": {
                "type": "object",
                "required": [
                  "sourceImageId",
                  "quality",
                  "numberOfImages"
                ],
                "properties": {
                  "quality": {
                    "enum": [
                      "LOW",
                      "MEDIUM",
                      "HIGH"
                    ],
                    "type": "string",
                    "description": "quality"
                  },
                  "sourceImageId": {
                    "type": "string",
                    "format": "uuid",
                    "description": "Owned still image UUID from chargen_search_gallery"
                  },
                  "numberOfImages": {
                    "type": "integer",
                    "maximum": 5,
                    "minimum": 5,
                    "description": "numberOfImages"
                  },
                  "productionNotes": {
                    "type": "string",
                    "maxLength": 500,
                    "minLength": 0,
                    "description": "productionNotes"
                  }
                },
                "additionalProperties": false
              },
              "quote_token": {
                "type": "string",
                "description": "Approved quote_token from chargen_quote_recipe_character_production_pack. Changed inputs or pricing fail without charging."
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Run character production pack",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_run_recipe_character_progression_pack",
          "title": "Run character progression pack",
          "description": "Start the character progression pack workflow: create a character progression pack from owned artwork. First call chargen_quote_recipe_character_progression_pack, confirm its Gold price with the user, then pass the quote_token here with the same values. Eligible reference sheets can be free; other runs spend the quoted Gold. Returns request_id; poll chargen_get_job for all output images. For input rules, use chargen_get_recipe_character_progression_pack. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.",
          "inputSchema": {
            "type": "object",
            "required": [
              "values"
            ],
            "properties": {
              "values": {
                "type": "object",
                "required": [
                  "sourceImageId",
                  "progressionType",
                  "quality",
                  "numberOfImages"
                ],
                "properties": {
                  "quality": {
                    "enum": [
                      "LOW",
                      "MEDIUM",
                      "HIGH"
                    ],
                    "type": "string",
                    "description": "quality"
                  },
                  "sourceImageId": {
                    "type": "string",
                    "format": "uuid",
                    "description": "Owned still image UUID from chargen_search_gallery"
                  },
                  "numberOfImages": {
                    "type": "integer",
                    "maximum": 5,
                    "minimum": 5,
                    "description": "numberOfImages"
                  },
                  "progressionType": {
                    "enum": [
                      "ADVENTURER_LEVELS",
                      "AGE",
                      "CORRUPTION",
                      "ASCENSION"
                    ],
                    "type": "string",
                    "description": "progressionType"
                  },
                  "progressionNotes": {
                    "type": "string",
                    "maxLength": 500,
                    "minLength": 0,
                    "description": "progressionNotes"
                  }
                },
                "additionalProperties": false
              },
              "quote_token": {
                "type": "string",
                "description": "Approved quote_token from chargen_quote_recipe_character_progression_pack. Changed inputs or pricing fail without charging."
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Run character progression pack",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_run_recipe_character_reference_sheet",
          "title": "Run character reference sheet",
          "description": "Start the character reference sheet workflow: create a character reference sheet from owned artwork. First call chargen_quote_recipe_character_reference_sheet, confirm its Gold price with the user, then pass the quote_token here with the same values. Eligible reference sheets can be free; other runs spend the quoted Gold. Returns request_id; poll chargen_get_job for all output images. For input rules, use chargen_get_recipe_character_reference_sheet. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.",
          "inputSchema": {
            "type": "object",
            "required": [
              "values"
            ],
            "properties": {
              "values": {
                "type": "object",
                "required": [
                  "sourceImageId",
                  "quality",
                  "numberOfImages"
                ],
                "properties": {
                  "quality": {
                    "enum": [
                      "LOW",
                      "MEDIUM",
                      "HIGH"
                    ],
                    "type": "string",
                    "description": "quality"
                  },
                  "sourceImageId": {
                    "type": "string",
                    "format": "uuid",
                    "description": "Owned still image UUID from chargen_search_gallery"
                  },
                  "numberOfImages": {
                    "type": "integer",
                    "maximum": 4,
                    "minimum": 4,
                    "description": "numberOfImages"
                  },
                  "turnaroundNotes": {
                    "type": "string",
                    "maxLength": 500,
                    "minLength": 0,
                    "description": "turnaroundNotes"
                  }
                },
                "additionalProperties": false
              },
              "quote_token": {
                "type": "string",
                "description": "Approved quote_token from chargen_quote_recipe_character_reference_sheet. Changed inputs or pricing fail without charging."
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Run character reference sheet",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_run_recipe_character_variants",
          "title": "Run character variants",
          "description": "Start the character variants workflow: create selected character variations from owned artwork. First call chargen_quote_recipe_character_variants, confirm its Gold price with the user, then pass the quote_token here with the same values. Eligible reference sheets can be free; other runs spend the quoted Gold. Returns request_id; poll chargen_get_job for all output images. For input rules, use chargen_get_recipe_character_variants. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.",
          "inputSchema": {
            "type": "object",
            "required": [
              "values"
            ],
            "properties": {
              "values": {
                "type": "object",
                "allOf": [
                  {
                    "if": {
                      "required": [
                        "variantPreset"
                      ],
                      "properties": {
                        "variantPreset": {
                          "enum": [
                            "CUSTOM"
                          ]
                        }
                      }
                    },
                    "then": {
                      "required": [
                        "customDirection"
                      ],
                      "properties": {
                        "customDirection": {
                          "minLength": 1
                        }
                      }
                    }
                  },
                  {
                    "if": {
                      "required": [
                        "variantKind"
                      ],
                      "properties": {
                        "variantKind": {
                          "const": "AGE_APPEARANCE"
                        }
                      }
                    },
                    "then": {
                      "properties": {
                        "variantPreset": {
                          "enum": [
                            "CUSTOM",
                            "ELDER",
                            "OLDER_ADULT",
                            "YOUNGER_ADULT"
                          ]
                        }
                      }
                    }
                  },
                  {
                    "if": {
                      "required": [
                        "variantKind"
                      ],
                      "properties": {
                        "variantKind": {
                          "const": "ARMOUR"
                        }
                      }
                    },
                    "then": {
                      "properties": {
                        "variantPreset": {
                          "enum": [
                            "BATTLE_WORN_ARMOUR",
                            "CEREMONIAL_ARMOUR",
                            "CUSTOM",
                            "HEAVY_ARMOUR",
                            "LIGHT_ARMOUR"
                          ]
                        }
                      }
                    }
                  },
                  {
                    "if": {
                      "required": [
                        "variantKind"
                      ],
                      "properties": {
                        "variantKind": {
                          "const": "COLOUR_SEASON_MAKEUP"
                        }
                      }
                    },
                    "then": {
                      "properties": {
                        "variantPreset": {
                          "enum": [
                            "AUTUMN",
                            "CUSTOM",
                            "SPRING",
                            "SUMMER",
                            "WINTER"
                          ]
                        }
                      }
                    }
                  },
                  {
                    "if": {
                      "required": [
                        "variantKind"
                      ],
                      "properties": {
                        "variantKind": {
                          "const": "HAIRSTYLE"
                        }
                      }
                    },
                    "then": {
                      "properties": {
                        "variantPreset": {
                          "enum": [
                            "COLOUR_CHANGE",
                            "CUSTOM",
                            "LONG_BRAIDS",
                            "SHORT_CROP",
                            "WAVES"
                          ]
                        }
                      }
                    }
                  },
                  {
                    "if": {
                      "required": [
                        "variantKind"
                      ],
                      "properties": {
                        "variantKind": {
                          "const": "OUTFIT"
                        }
                      }
                    },
                    "then": {
                      "properties": {
                        "variantPreset": {
                          "enum": [
                            "ARCANE_ROBES",
                            "COURT_DRESS",
                            "CUSTOM",
                            "STEALTH",
                            "TRAVELLING_GEAR",
                            "WINTER_TRAVEL"
                          ]
                        }
                      }
                    }
                  }
                ],
                "required": [
                  "sourceImageId",
                  "variantKind",
                  "variantPreset",
                  "quality",
                  "numberOfImages"
                ],
                "properties": {
                  "quality": {
                    "enum": [
                      "LOW",
                      "MEDIUM",
                      "HIGH"
                    ],
                    "type": "string",
                    "description": "quality"
                  },
                  "variantKind": {
                    "enum": [
                      "ARMOUR",
                      "OUTFIT",
                      "HAIRSTYLE",
                      "AGE_APPEARANCE",
                      "COLOUR_SEASON_MAKEUP"
                    ],
                    "type": "string",
                    "description": "variantKind"
                  },
                  "sourceImageId": {
                    "type": "string",
                    "format": "uuid",
                    "description": "Owned still image UUID from chargen_search_gallery"
                  },
                  "variantPreset": {
                    "enum": [
                      "LIGHT_ARMOUR",
                      "HEAVY_ARMOUR",
                      "CEREMONIAL_ARMOUR",
                      "BATTLE_WORN_ARMOUR",
                      "TRAVELLING_GEAR",
                      "COURT_DRESS",
                      "WINTER_TRAVEL",
                      "STEALTH",
                      "ARCANE_ROBES",
                      "SHORT_CROP",
                      "LONG_BRAIDS",
                      "WAVES",
                      "COLOUR_CHANGE",
                      "YOUNGER_ADULT",
                      "OLDER_ADULT",
                      "ELDER",
                      "SPRING",
                      "SUMMER",
                      "AUTUMN",
                      "WINTER",
                      "CUSTOM"
                    ],
                    "type": "string",
                    "description": "variantPreset"
                  },
                  "numberOfImages": {
                    "type": "integer",
                    "maximum": 4,
                    "minimum": 1,
                    "description": "numberOfImages"
                  },
                  "customDirection": {
                    "type": "string",
                    "maxLength": 500,
                    "minLength": 1,
                    "description": "customDirection"
                  }
                },
                "additionalProperties": false
              },
              "quote_token": {
                "type": "string",
                "description": "Approved quote_token from chargen_quote_recipe_character_variants. Changed inputs or pricing fail without charging."
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Run character variants",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_run_recipe_claymation",
          "title": "Run claymation",
          "description": "Start the claymation workflow: restyle an owned image as a claymation scene. First call chargen_quote_recipe_claymation, confirm its Gold price with the user, then pass the quote_token here with the same values. Eligible reference sheets can be free; other runs spend the quoted Gold. Returns request_id; poll chargen_get_job for all output images. For input rules, use chargen_get_recipe_claymation. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.",
          "inputSchema": {
            "type": "object",
            "required": [
              "values"
            ],
            "properties": {
              "values": {
                "type": "object",
                "required": [
                  "sourceImageId",
                  "quality",
                  "numberOfImages"
                ],
                "properties": {
                  "quality": {
                    "enum": [
                      "LOW",
                      "MEDIUM",
                      "HIGH"
                    ],
                    "type": "string",
                    "description": "quality"
                  },
                  "sourceImageId": {
                    "type": "string",
                    "format": "uuid",
                    "description": "Owned still image UUID from chargen_search_gallery"
                  },
                  "numberOfImages": {
                    "type": "integer",
                    "maximum": 4,
                    "minimum": 1,
                    "description": "numberOfImages"
                  }
                },
                "additionalProperties": false
              },
              "quote_token": {
                "type": "string",
                "description": "Approved quote_token from chargen_quote_recipe_claymation. Changed inputs or pricing fail without charging."
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Run claymation",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_run_recipe_creature_reference_pack",
          "title": "Run creature reference pack",
          "description": "Start the creature reference pack workflow: create a creature reference pack from owned artwork. First call chargen_quote_recipe_creature_reference_pack, confirm its Gold price with the user, then pass the quote_token here with the same values. Eligible reference sheets can be free; other runs spend the quoted Gold. Returns request_id; poll chargen_get_job for all output images. For input rules, use chargen_get_recipe_creature_reference_pack. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.",
          "inputSchema": {
            "type": "object",
            "required": [
              "values"
            ],
            "properties": {
              "values": {
                "type": "object",
                "required": [
                  "sourceImageId",
                  "quality",
                  "numberOfImages"
                ],
                "properties": {
                  "quality": {
                    "enum": [
                      "LOW",
                      "MEDIUM",
                      "HIGH"
                    ],
                    "type": "string",
                    "description": "quality"
                  },
                  "creatureNotes": {
                    "type": "string",
                    "maxLength": 500,
                    "minLength": 0,
                    "description": "creatureNotes"
                  },
                  "sourceImageId": {
                    "type": "string",
                    "format": "uuid",
                    "description": "Owned still image UUID from chargen_search_gallery"
                  },
                  "numberOfImages": {
                    "type": "integer",
                    "maximum": 5,
                    "minimum": 5,
                    "description": "numberOfImages"
                  }
                },
                "additionalProperties": false
              },
              "quote_token": {
                "type": "string",
                "description": "Approved quote_token from chargen_quote_recipe_creature_reference_pack. Changed inputs or pricing fail without charging."
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Run creature reference pack",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_run_recipe_faction_heraldry_kit",
          "title": "Run faction heraldry kit",
          "description": "Start the faction heraldry kit workflow: create faction heraldry from an owned reference image. First call chargen_quote_recipe_faction_heraldry_kit, confirm its Gold price with the user, then pass the quote_token here with the same values. Eligible reference sheets can be free; other runs spend the quoted Gold. Returns request_id; poll chargen_get_job for all output images. For input rules, use chargen_get_recipe_faction_heraldry_kit. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.",
          "inputSchema": {
            "type": "object",
            "required": [
              "values"
            ],
            "properties": {
              "values": {
                "type": "object",
                "allOf": [
                  {
                    "if": {
                      "required": [
                        "palette"
                      ],
                      "properties": {
                        "palette": {
                          "enum": [
                            "CUSTOM"
                          ]
                        }
                      }
                    },
                    "then": {
                      "required": [
                        "paletteNotes"
                      ],
                      "properties": {
                        "paletteNotes": {
                          "minLength": 1
                        }
                      }
                    }
                  }
                ],
                "required": [
                  "sourceImageId",
                  "kitStyle",
                  "palette",
                  "quality",
                  "numberOfImages"
                ],
                "properties": {
                  "palette": {
                    "enum": [
                      "SOURCE",
                      "WARM",
                      "COOL",
                      "MONOCHROME",
                      "CUSTOM"
                    ],
                    "type": "string",
                    "description": "palette"
                  },
                  "quality": {
                    "enum": [
                      "LOW",
                      "MEDIUM",
                      "HIGH"
                    ],
                    "type": "string",
                    "description": "quality"
                  },
                  "kitStyle": {
                    "enum": [
                      "NOBLE",
                      "MILITARY",
                      "ARCANE",
                      "CULT",
                      "MERCANTILE",
                      "TRIBAL"
                    ],
                    "type": "string",
                    "description": "kitStyle"
                  },
                  "factionBrief": {
                    "type": "string",
                    "maxLength": 800,
                    "minLength": 50,
                    "description": "factionBrief"
                  },
                  "paletteNotes": {
                    "type": "string",
                    "maxLength": 500,
                    "minLength": 1,
                    "description": "paletteNotes"
                  },
                  "sourceImageId": {
                    "type": "string",
                    "format": "uuid",
                    "description": "Owned still image UUID from chargen_search_gallery"
                  },
                  "numberOfImages": {
                    "type": "integer",
                    "maximum": 6,
                    "minimum": 6,
                    "description": "numberOfImages"
                  }
                },
                "additionalProperties": false
              },
              "quote_token": {
                "type": "string",
                "description": "Approved quote_token from chargen_quote_recipe_faction_heraldry_kit. Changed inputs or pricing fail without charging."
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Run faction heraldry kit",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_run_recipe_fantasy_bestiary_page",
          "title": "Run fantasy bestiary page",
          "description": "Start the fantasy bestiary page workflow: turn an owned creature image into a fantasy bestiary page. First call chargen_quote_recipe_fantasy_bestiary_page, confirm its Gold price with the user, then pass the quote_token here with the same values. Eligible reference sheets can be free; other runs spend the quoted Gold. Returns request_id; poll chargen_get_job for all output images. For input rules, use chargen_get_recipe_fantasy_bestiary_page. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.",
          "inputSchema": {
            "type": "object",
            "required": [
              "values"
            ],
            "properties": {
              "values": {
                "type": "object",
                "required": [
                  "sourceImageId",
                  "quality",
                  "numberOfImages"
                ],
                "properties": {
                  "quality": {
                    "enum": [
                      "LOW",
                      "MEDIUM",
                      "HIGH"
                    ],
                    "type": "string",
                    "description": "quality"
                  },
                  "sourceImageId": {
                    "type": "string",
                    "format": "uuid",
                    "description": "Owned still image UUID from chargen_search_gallery"
                  },
                  "numberOfImages": {
                    "type": "integer",
                    "maximum": 4,
                    "minimum": 1,
                    "description": "numberOfImages"
                  }
                },
                "additionalProperties": false
              },
              "quote_token": {
                "type": "string",
                "description": "Approved quote_token from chargen_quote_recipe_fantasy_bestiary_page. Changed inputs or pricing fail without charging."
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Run fantasy bestiary page",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_run_recipe_location_variants",
          "title": "Run location variants",
          "description": "Start the location variants workflow: create location variations from owned artwork. First call chargen_quote_recipe_location_variants, confirm its Gold price with the user, then pass the quote_token here with the same values. Eligible reference sheets can be free; other runs spend the quoted Gold. Returns request_id; poll chargen_get_job for all output images. For input rules, use chargen_get_recipe_location_variants. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.",
          "inputSchema": {
            "type": "object",
            "required": [
              "values"
            ],
            "properties": {
              "values": {
                "type": "object",
                "allOf": [
                  {
                    "if": {
                      "required": [
                        "variantPreset"
                      ],
                      "properties": {
                        "variantPreset": {
                          "enum": [
                            "CUSTOM"
                          ]
                        }
                      }
                    },
                    "then": {
                      "required": [
                        "variantBrief"
                      ],
                      "properties": {
                        "variantBrief": {
                          "minLength": 1
                        }
                      }
                    }
                  }
                ],
                "required": [
                  "sourceImageId",
                  "variantPreset",
                  "quality",
                  "numberOfImages"
                ],
                "properties": {
                  "quality": {
                    "enum": [
                      "LOW",
                      "MEDIUM",
                      "HIGH"
                    ],
                    "type": "string",
                    "description": "quality"
                  },
                  "variantBrief": {
                    "type": "string",
                    "maxLength": 500,
                    "minLength": 1,
                    "description": "variantBrief"
                  },
                  "sourceImageId": {
                    "type": "string",
                    "format": "uuid",
                    "description": "Owned still image UUID from chargen_search_gallery"
                  },
                  "variantPreset": {
                    "enum": [
                      "DAY",
                      "NIGHT",
                      "WEATHER",
                      "SEASON",
                      "RUINED",
                      "OCCUPIED",
                      "CUSTOM"
                    ],
                    "type": "string",
                    "description": "variantPreset"
                  },
                  "numberOfImages": {
                    "type": "integer",
                    "maximum": 4,
                    "minimum": 1,
                    "description": "numberOfImages"
                  }
                },
                "additionalProperties": false
              },
              "quote_token": {
                "type": "string",
                "description": "Approved quote_token from chargen_quote_recipe_location_variants. Changed inputs or pricing fail without charging."
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Run location variants",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_run_recipe_magic_item_showcase",
          "title": "Run magic item showcase",
          "description": "Start the magic item showcase workflow: create a magic item showcase from an owned reference image. First call chargen_quote_recipe_magic_item_showcase, confirm its Gold price with the user, then pass the quote_token here with the same values. Eligible reference sheets can be free; other runs spend the quoted Gold. Returns request_id; poll chargen_get_job for all output images. For input rules, use chargen_get_recipe_magic_item_showcase. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.",
          "inputSchema": {
            "type": "object",
            "required": [
              "values"
            ],
            "properties": {
              "values": {
                "type": "object",
                "allOf": [
                  {
                    "if": {
                      "required": [
                        "showcaseMode"
                      ],
                      "properties": {
                        "showcaseMode": {
                          "enum": [
                            "CUSTOM"
                          ]
                        }
                      }
                    },
                    "then": {
                      "required": [
                        "sceneBrief"
                      ],
                      "properties": {
                        "sceneBrief": {
                          "minLength": 1
                        }
                      }
                    }
                  }
                ],
                "required": [
                  "sourceImageId",
                  "showcaseMode",
                  "quality",
                  "numberOfImages"
                ],
                "properties": {
                  "quality": {
                    "enum": [
                      "LOW",
                      "MEDIUM",
                      "HIGH"
                    ],
                    "type": "string",
                    "description": "quality"
                  },
                  "sceneBrief": {
                    "type": "string",
                    "maxLength": 500,
                    "minLength": 1,
                    "description": "sceneBrief"
                  },
                  "showcaseMode": {
                    "enum": [
                      "HERO_RELIC",
                      "DETAIL_STUDY",
                      "ALTAR_DISPLAY",
                      "WIELDED",
                      "TREASURE_HOARD",
                      "MUSEUM_CASE",
                      "CRAFTING_TABLE",
                      "CUSTOM"
                    ],
                    "type": "string",
                    "description": "showcaseMode"
                  },
                  "sourceImageId": {
                    "type": "string",
                    "format": "uuid",
                    "description": "Owned still image UUID from chargen_search_gallery"
                  },
                  "numberOfImages": {
                    "type": "integer",
                    "maximum": 4,
                    "minimum": 1,
                    "description": "numberOfImages"
                  }
                },
                "additionalProperties": false
              },
              "quote_token": {
                "type": "string",
                "description": "Approved quote_token from chargen_quote_recipe_magic_item_showcase. Changed inputs or pricing fail without charging."
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Run magic item showcase",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_run_recipe_monster_variant_sheet",
          "title": "Run monster variant sheet",
          "description": "Start the monster variant sheet workflow: create a set of monster variations from an owned creature image. First call chargen_quote_recipe_monster_variant_sheet, confirm its Gold price with the user, then pass the quote_token here with the same values. Eligible reference sheets can be free; other runs spend the quoted Gold. Returns request_id; poll chargen_get_job for all output images. For input rules, use chargen_get_recipe_monster_variant_sheet. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.",
          "inputSchema": {
            "type": "object",
            "required": [
              "values"
            ],
            "properties": {
              "values": {
                "type": "object",
                "allOf": [
                  {
                    "if": {
                      "required": [
                        "variantSet"
                      ],
                      "properties": {
                        "variantSet": {
                          "enum": [
                            "CUSTOM"
                          ]
                        }
                      }
                    },
                    "then": {
                      "required": [
                        "variantNotes"
                      ],
                      "properties": {
                        "variantNotes": {
                          "minLength": 1
                        }
                      }
                    }
                  }
                ],
                "required": [
                  "sourceImageId",
                  "variantSet",
                  "quality",
                  "numberOfImages"
                ],
                "properties": {
                  "quality": {
                    "enum": [
                      "LOW",
                      "MEDIUM",
                      "HIGH"
                    ],
                    "type": "string",
                    "description": "quality"
                  },
                  "variantSet": {
                    "enum": [
                      "THREAT_LADDER",
                      "CORRUPTION",
                      "ELEMENTAL",
                      "UNDEAD",
                      "CUSTOM"
                    ],
                    "type": "string",
                    "description": "variantSet"
                  },
                  "variantNotes": {
                    "type": "string",
                    "maxLength": 500,
                    "minLength": 1,
                    "description": "variantNotes"
                  },
                  "sourceImageId": {
                    "type": "string",
                    "format": "uuid",
                    "description": "Owned still image UUID from chargen_search_gallery"
                  },
                  "numberOfImages": {
                    "type": "integer",
                    "maximum": 5,
                    "minimum": 5,
                    "description": "numberOfImages"
                  }
                },
                "additionalProperties": false
              },
              "quote_token": {
                "type": "string",
                "description": "Approved quote_token from chargen_quote_recipe_monster_variant_sheet. Changed inputs or pricing fail without charging."
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Run monster variant sheet",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_run_recipe_photo_to_dnd_character",
          "title": "Run photo to dnd character",
          "description": "Start the photo to dnd character workflow: turn an owned portrait into a fantasy roleplaying character. First call chargen_quote_recipe_photo_to_dnd_character, confirm its Gold price with the user, then pass the quote_token here with the same values. Eligible reference sheets can be free; other runs spend the quoted Gold. Returns request_id; poll chargen_get_job for all output images. For input rules, use chargen_get_recipe_photo_to_dnd_character. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.",
          "inputSchema": {
            "type": "object",
            "required": [
              "values"
            ],
            "properties": {
              "values": {
                "type": "object",
                "required": [
                  "sourceImageId",
                  "quality",
                  "numberOfImages"
                ],
                "properties": {
                  "quality": {
                    "enum": [
                      "LOW",
                      "MEDIUM",
                      "HIGH"
                    ],
                    "type": "string",
                    "description": "quality"
                  },
                  "sourceImageId": {
                    "type": "string",
                    "format": "uuid",
                    "description": "Owned still image UUID from chargen_search_gallery"
                  },
                  "characterClass": {
                    "enum": [
                      "ANY",
                      "BARBARIAN",
                      "BARD",
                      "CLERIC",
                      "DRUID",
                      "FIGHTER",
                      "MONK",
                      "PALADIN",
                      "RANGER",
                      "ROGUE",
                      "SORCERER",
                      "WARLOCK",
                      "WIZARD"
                    ],
                    "type": "string",
                    "description": "characterClass"
                  },
                  "numberOfImages": {
                    "type": "integer",
                    "maximum": 4,
                    "minimum": 1,
                    "description": "numberOfImages"
                  }
                },
                "additionalProperties": false
              },
              "quote_token": {
                "type": "string",
                "description": "Approved quote_token from chargen_quote_recipe_photo_to_dnd_character. Changed inputs or pricing fail without charging."
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Run photo to dnd character",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_run_recipe_plushie",
          "title": "Run plushie",
          "description": "Start the plushie workflow: turn an owned image's subject into a plush toy illustration. First call chargen_quote_recipe_plushie, confirm its Gold price with the user, then pass the quote_token here with the same values. Eligible reference sheets can be free; other runs spend the quoted Gold. Returns request_id; poll chargen_get_job for all output images. For input rules, use chargen_get_recipe_plushie. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.",
          "inputSchema": {
            "type": "object",
            "required": [
              "values"
            ],
            "properties": {
              "values": {
                "type": "object",
                "required": [
                  "sourceImageId",
                  "quality",
                  "numberOfImages"
                ],
                "properties": {
                  "quality": {
                    "enum": [
                      "LOW",
                      "MEDIUM",
                      "HIGH"
                    ],
                    "type": "string",
                    "description": "quality"
                  },
                  "sourceImageId": {
                    "type": "string",
                    "format": "uuid",
                    "description": "Owned still image UUID from chargen_search_gallery"
                  },
                  "numberOfImages": {
                    "type": "integer",
                    "maximum": 4,
                    "minimum": 1,
                    "description": "numberOfImages"
                  }
                },
                "additionalProperties": false
              },
              "quote_token": {
                "type": "string",
                "description": "Approved quote_token from chargen_quote_recipe_plushie. Changed inputs or pricing fail without charging."
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Run plushie",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_run_recipe_product_photography",
          "title": "Run product photography",
          "description": "Start the product photography workflow: create product photography from an owned product image. First call chargen_quote_recipe_product_photography, confirm its Gold price with the user, then pass the quote_token here with the same values. Eligible reference sheets can be free; other runs spend the quoted Gold. Returns request_id; poll chargen_get_job for all output images. For input rules, use chargen_get_recipe_product_photography. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.",
          "inputSchema": {
            "type": "object",
            "required": [
              "values"
            ],
            "properties": {
              "values": {
                "type": "object",
                "allOf": [
                  {
                    "if": {
                      "required": [
                        "scenePreset"
                      ],
                      "properties": {
                        "scenePreset": {
                          "enum": [
                            "CUSTOM"
                          ]
                        }
                      }
                    },
                    "then": {
                      "required": [
                        "customScene"
                      ],
                      "properties": {
                        "customScene": {
                          "minLength": 1
                        }
                      }
                    }
                  }
                ],
                "required": [
                  "sourceImageId",
                  "scenePreset",
                  "quality",
                  "numberOfImages"
                ],
                "properties": {
                  "quality": {
                    "enum": [
                      "LOW",
                      "MEDIUM",
                      "HIGH"
                    ],
                    "type": "string",
                    "description": "quality"
                  },
                  "customScene": {
                    "type": "string",
                    "maxLength": 500,
                    "minLength": 1,
                    "description": "customScene"
                  },
                  "scenePreset": {
                    "enum": [
                      "CLEAN_STUDIO",
                      "LIFESTYLE",
                      "OUTDOOR",
                      "LUXURY",
                      "RUSTIC",
                      "FESTIVE",
                      "DARK_CINEMATIC",
                      "TABLETOP_SHOWCASE",
                      "BRAND_PACKAGING",
                      "BRAND_APPAREL",
                      "BRAND_POSTER",
                      "BRAND_SIGNAGE",
                      "BRAND_STATIONERY",
                      "BRAND_MERCHANDISE",
                      "CUSTOM"
                    ],
                    "type": "string",
                    "description": "scenePreset"
                  },
                  "sourceImageId": {
                    "type": "string",
                    "format": "uuid",
                    "description": "Owned still image UUID from chargen_search_gallery"
                  },
                  "numberOfImages": {
                    "type": "integer",
                    "maximum": 4,
                    "minimum": 1,
                    "description": "numberOfImages"
                  }
                },
                "additionalProperties": false
              },
              "quote_token": {
                "type": "string",
                "description": "Approved quote_token from chargen_quote_recipe_product_photography. Changed inputs or pricing fail without charging."
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Run product photography",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_run_recipe_rpg_character_asset_pack",
          "title": "Run rpg character asset pack",
          "description": "Start the rpg character asset pack workflow: create a roleplaying character asset pack from owned artwork. First call chargen_quote_recipe_rpg_character_asset_pack, confirm its Gold price with the user, then pass the quote_token here with the same values. Eligible reference sheets can be free; other runs spend the quoted Gold. Returns request_id; poll chargen_get_job for all output images. For input rules, use chargen_get_recipe_rpg_character_asset_pack. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.",
          "inputSchema": {
            "type": "object",
            "required": [
              "values"
            ],
            "properties": {
              "values": {
                "type": "object",
                "required": [
                  "sourceImageId",
                  "packPreset",
                  "quality",
                  "numberOfImages"
                ],
                "properties": {
                  "quality": {
                    "enum": [
                      "LOW",
                      "MEDIUM",
                      "HIGH"
                    ],
                    "type": "string",
                    "description": "quality"
                  },
                  "packNotes": {
                    "type": "string",
                    "maxLength": 500,
                    "minLength": 0,
                    "description": "packNotes"
                  },
                  "packPreset": {
                    "enum": [
                      "VTT_STANDARD"
                    ],
                    "type": "string",
                    "description": "packPreset"
                  },
                  "sourceImageId": {
                    "type": "string",
                    "format": "uuid",
                    "description": "Owned still image UUID from chargen_search_gallery"
                  },
                  "numberOfImages": {
                    "type": "integer",
                    "maximum": 5,
                    "minimum": 5,
                    "description": "numberOfImages"
                  }
                },
                "additionalProperties": false
              },
              "quote_token": {
                "type": "string",
                "description": "Approved quote_token from chargen_quote_recipe_rpg_character_asset_pack. Changed inputs or pricing fail without charging."
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Run rpg character asset pack",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_run_recipe_rpg_sprite_sheet",
          "title": "Run rpg sprite sheet",
          "description": "Start the rpg sprite sheet workflow: create a roleplaying sprite sheet from owned character artwork. First call chargen_quote_recipe_rpg_sprite_sheet, confirm its Gold price with the user, then pass the quote_token here with the same values. Eligible reference sheets can be free; other runs spend the quoted Gold. Returns request_id; poll chargen_get_job for all output images. For input rules, use chargen_get_recipe_rpg_sprite_sheet. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.",
          "inputSchema": {
            "type": "object",
            "required": [
              "values"
            ],
            "properties": {
              "values": {
                "type": "object",
                "allOf": [
                  {
                    "if": {
                      "required": [
                        "motionSet"
                      ],
                      "properties": {
                        "motionSet": {
                          "enum": [
                            "CUSTOM"
                          ]
                        }
                      }
                    },
                    "then": {
                      "required": [
                        "motionBrief"
                      ],
                      "properties": {
                        "motionBrief": {
                          "minLength": 1
                        }
                      }
                    }
                  }
                ],
                "required": [
                  "sourceImageId",
                  "motionSet",
                  "viewSet",
                  "pixelScale",
                  "quality",
                  "numberOfImages"
                ],
                "properties": {
                  "quality": {
                    "enum": [
                      "LOW",
                      "MEDIUM",
                      "HIGH"
                    ],
                    "type": "string",
                    "description": "quality"
                  },
                  "viewSet": {
                    "enum": [
                      "FOUR_DIRECTION",
                      "EIGHT_DIRECTION"
                    ],
                    "type": "string",
                    "description": "viewSet"
                  },
                  "motionSet": {
                    "enum": [
                      "IDLE_WALK",
                      "COMBAT",
                      "CASTING",
                      "CUSTOM"
                    ],
                    "type": "string",
                    "description": "motionSet"
                  },
                  "pixelScale": {
                    "enum": [
                      "16",
                      "32",
                      "64"
                    ],
                    "type": "string",
                    "description": "pixelScale"
                  },
                  "motionBrief": {
                    "type": "string",
                    "maxLength": 500,
                    "minLength": 1,
                    "description": "motionBrief"
                  },
                  "sourceImageId": {
                    "type": "string",
                    "format": "uuid",
                    "description": "Owned still image UUID from chargen_search_gallery"
                  },
                  "numberOfImages": {
                    "type": "integer",
                    "maximum": 4,
                    "minimum": 1,
                    "description": "numberOfImages"
                  }
                },
                "additionalProperties": false
              },
              "quote_token": {
                "type": "string",
                "description": "Approved quote_token from chargen_quote_recipe_rpg_sprite_sheet. Changed inputs or pricing fail without charging."
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Run rpg sprite sheet",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_run_recipe_sketch_to_battlemap",
          "title": "Run sketch to battlemap",
          "description": "Start the sketch to battlemap workflow: develop an owned sketch into a battlemap. First call chargen_quote_recipe_sketch_to_battlemap, confirm its Gold price with the user, then pass the quote_token here with the same values. Eligible reference sheets can be free; other runs spend the quoted Gold. Returns request_id; poll chargen_get_job for all output images. For input rules, use chargen_get_recipe_sketch_to_battlemap. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.",
          "inputSchema": {
            "type": "object",
            "required": [
              "values"
            ],
            "properties": {
              "values": {
                "type": "object",
                "allOf": [
                  {
                    "if": {
                      "required": [
                        "mapStyle"
                      ],
                      "properties": {
                        "mapStyle": {
                          "enum": [
                            "CUSTOM"
                          ]
                        }
                      }
                    },
                    "then": {
                      "required": [
                        "mapBrief"
                      ],
                      "properties": {
                        "mapBrief": {
                          "minLength": 1
                        }
                      }
                    }
                  }
                ],
                "required": [
                  "sourceImageId",
                  "mapStyle",
                  "gridMode",
                  "quality",
                  "numberOfImages"
                ],
                "properties": {
                  "quality": {
                    "enum": [
                      "LOW",
                      "MEDIUM",
                      "HIGH"
                    ],
                    "type": "string",
                    "description": "quality"
                  },
                  "gridMode": {
                    "enum": [
                      "NONE",
                      "SQUARE",
                      "HEX"
                    ],
                    "type": "string",
                    "description": "gridMode"
                  },
                  "mapBrief": {
                    "type": "string",
                    "maxLength": 500,
                    "minLength": 1,
                    "description": "mapBrief"
                  },
                  "mapStyle": {
                    "enum": [
                      "DUNGEON",
                      "WILDERNESS",
                      "CITY",
                      "INTERIOR",
                      "CAVE",
                      "SCI_FI",
                      "CUSTOM"
                    ],
                    "type": "string",
                    "description": "mapStyle"
                  },
                  "sourceImageId": {
                    "type": "string",
                    "format": "uuid",
                    "description": "Owned still image UUID from chargen_search_gallery"
                  },
                  "numberOfImages": {
                    "type": "integer",
                    "maximum": 4,
                    "minimum": 1,
                    "description": "numberOfImages"
                  }
                },
                "additionalProperties": false
              },
              "quote_token": {
                "type": "string",
                "description": "Approved quote_token from chargen_quote_recipe_sketch_to_battlemap. Changed inputs or pricing fail without charging."
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Run sketch to battlemap",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_run_recipe_sketch_to_image",
          "title": "Run sketch to image",
          "description": "Start the sketch to image workflow: develop an owned sketch into a finished illustration. First call chargen_quote_recipe_sketch_to_image, confirm its Gold price with the user, then pass the quote_token here with the same values. Eligible reference sheets can be free; other runs spend the quoted Gold. Returns request_id; poll chargen_get_job for all output images. For input rules, use chargen_get_recipe_sketch_to_image. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.",
          "inputSchema": {
            "type": "object",
            "required": [
              "values"
            ],
            "properties": {
              "values": {
                "type": "object",
                "required": [
                  "sourceImageId",
                  "renderStyle",
                  "quality",
                  "numberOfImages"
                ],
                "properties": {
                  "quality": {
                    "enum": [
                      "LOW",
                      "MEDIUM",
                      "HIGH"
                    ],
                    "type": "string",
                    "description": "quality"
                  },
                  "renderBrief": {
                    "type": "string",
                    "maxLength": 500,
                    "minLength": 0,
                    "description": "renderBrief"
                  },
                  "renderStyle": {
                    "enum": [
                      "FANTASY_CONCEPT",
                      "PAINTED_ILLUSTRATION",
                      "REALISTIC_RENDER",
                      "ANIME"
                    ],
                    "type": "string",
                    "description": "renderStyle"
                  },
                  "sourceImageId": {
                    "type": "string",
                    "format": "uuid",
                    "description": "Owned still image UUID from chargen_search_gallery"
                  },
                  "numberOfImages": {
                    "type": "integer",
                    "maximum": 4,
                    "minimum": 1,
                    "description": "numberOfImages"
                  }
                },
                "additionalProperties": false
              },
              "quote_token": {
                "type": "string",
                "description": "Approved quote_token from chargen_quote_recipe_sketch_to_image. Changed inputs or pricing fail without charging."
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Run sketch to image",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_run_recipe_storybook_animation",
          "title": "Run storybook animation",
          "description": "Start the storybook animation workflow: restyle an owned image as a storybook animation illustration. First call chargen_quote_recipe_storybook_animation, confirm its Gold price with the user, then pass the quote_token here with the same values. Eligible reference sheets can be free; other runs spend the quoted Gold. Returns request_id; poll chargen_get_job for all output images. For input rules, use chargen_get_recipe_storybook_animation. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.",
          "inputSchema": {
            "type": "object",
            "required": [
              "values"
            ],
            "properties": {
              "values": {
                "type": "object",
                "required": [
                  "sourceImageId",
                  "quality",
                  "numberOfImages"
                ],
                "properties": {
                  "quality": {
                    "enum": [
                      "LOW",
                      "MEDIUM",
                      "HIGH"
                    ],
                    "type": "string",
                    "description": "quality"
                  },
                  "sourceImageId": {
                    "type": "string",
                    "format": "uuid",
                    "description": "Owned still image UUID from chargen_search_gallery"
                  },
                  "numberOfImages": {
                    "type": "integer",
                    "maximum": 4,
                    "minimum": 1,
                    "description": "numberOfImages"
                  }
                },
                "additionalProperties": false
              },
              "quote_token": {
                "type": "string",
                "description": "Approved quote_token from chargen_quote_recipe_storybook_animation. Changed inputs or pricing fail without charging."
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Run storybook animation",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_run_recipe_tarot_card",
          "title": "Run tarot card",
          "description": "Start the tarot card workflow: turn an owned image's subject into a tarot card. First call chargen_quote_recipe_tarot_card, confirm its Gold price with the user, then pass the quote_token here with the same values. Eligible reference sheets can be free; other runs spend the quoted Gold. Returns request_id; poll chargen_get_job for all output images. For input rules, use chargen_get_recipe_tarot_card. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.",
          "inputSchema": {
            "type": "object",
            "required": [
              "values"
            ],
            "properties": {
              "values": {
                "type": "object",
                "required": [
                  "sourceImageId",
                  "quality",
                  "numberOfImages"
                ],
                "properties": {
                  "quality": {
                    "enum": [
                      "LOW",
                      "MEDIUM",
                      "HIGH"
                    ],
                    "type": "string",
                    "description": "quality"
                  },
                  "sourceImageId": {
                    "type": "string",
                    "format": "uuid",
                    "description": "Owned still image UUID from chargen_search_gallery"
                  },
                  "numberOfImages": {
                    "type": "integer",
                    "maximum": 4,
                    "minimum": 1,
                    "description": "numberOfImages"
                  }
                },
                "additionalProperties": false
              },
              "quote_token": {
                "type": "string",
                "description": "Approved quote_token from chargen_quote_recipe_tarot_card. Changed inputs or pricing fail without charging."
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Run tarot card",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_run_recipe_tavern_menu",
          "title": "Run tavern menu",
          "description": "Start the tavern menu workflow: create a tavern menu lettered with tavernName and dishes (one dish and its price per line, up to four), optionally from an owned tavern image. First call chargen_quote_recipe_tavern_menu, confirm its Gold price with the user, then pass the quote_token here with the same values. Eligible reference sheets can be free; other runs spend the quoted Gold. Returns request_id; poll chargen_get_job for all output images. For input rules, use chargen_get_recipe_tavern_menu. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.",
          "inputSchema": {
            "type": "object",
            "required": [
              "values"
            ],
            "properties": {
              "values": {
                "type": "object",
                "required": [
                  "tavernName",
                  "quality",
                  "numberOfImages"
                ],
                "properties": {
                  "dishes": {
                    "type": "string",
                    "maxLength": 200,
                    "minLength": 1,
                    "description": "dishes"
                  },
                  "quality": {
                    "enum": [
                      "LOW",
                      "MEDIUM",
                      "HIGH"
                    ],
                    "type": "string",
                    "description": "quality"
                  },
                  "tavernName": {
                    "type": "string",
                    "maxLength": 40,
                    "minLength": 1,
                    "description": "tavernName"
                  },
                  "sourceImageId": {
                    "type": "string",
                    "format": "uuid",
                    "description": "Owned still image UUID from chargen_search_gallery"
                  },
                  "numberOfImages": {
                    "type": "integer",
                    "maximum": 4,
                    "minimum": 1,
                    "description": "numberOfImages"
                  }
                },
                "additionalProperties": false
              },
              "quote_token": {
                "type": "string",
                "description": "Approved quote_token from chargen_quote_recipe_tavern_menu. Changed inputs or pricing fail without charging."
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Run tavern menu",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_run_recipe_wanted_poster",
          "title": "Run wanted poster",
          "description": "Start the wanted poster workflow: turn an owned character portrait into a wanted poster lettered with posterName and bounty (bounty is 500 GOLD when empty). First call chargen_quote_recipe_wanted_poster, confirm its Gold price with the user, then pass the quote_token here with the same values. Eligible reference sheets can be free; other runs spend the quoted Gold. Returns request_id; poll chargen_get_job for all output images. For input rules, use chargen_get_recipe_wanted_poster. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.",
          "inputSchema": {
            "type": "object",
            "required": [
              "values"
            ],
            "properties": {
              "values": {
                "type": "object",
                "required": [
                  "sourceImageId",
                  "posterName",
                  "quality",
                  "numberOfImages"
                ],
                "properties": {
                  "bounty": {
                    "type": "string",
                    "maxLength": 30,
                    "minLength": 1,
                    "description": "bounty"
                  },
                  "quality": {
                    "enum": [
                      "LOW",
                      "MEDIUM",
                      "HIGH"
                    ],
                    "type": "string",
                    "description": "quality"
                  },
                  "posterName": {
                    "type": "string",
                    "maxLength": 40,
                    "minLength": 1,
                    "description": "posterName"
                  },
                  "sourceImageId": {
                    "type": "string",
                    "format": "uuid",
                    "description": "Owned still image UUID from chargen_search_gallery"
                  },
                  "numberOfImages": {
                    "type": "integer",
                    "maximum": 4,
                    "minimum": 1,
                    "description": "numberOfImages"
                  }
                },
                "additionalProperties": false
              },
              "quote_token": {
                "type": "string",
                "description": "Approved quote_token from chargen_quote_recipe_wanted_poster. Changed inputs or pricing fail without charging."
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Run wanted poster",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_save_campaign_npc",
          "title": "Save campaign NPC",
          "description": "Save a D&D or Savage Worlds NPC written in this conversation to an existing NPC in a campaign you own. Show the complete draft first and call this only after the GM explicitly asks to save it. The draft creates a private NPC library entry and links it to the selected campaign entity for 0 Gold. No portrait or AI generation runs. Retrying the same draft returns its saved ID and the original campaign_entity_id, even if the GM later removed the link. Use chargen_generate_npc to ask CharGen to generate an NPC. Requires a paid CharGen account and the mcp:write scope.",
          "inputSchema": {
            "type": "object",
            "required": [
              "campaign_id",
              "entity_id",
              "draft"
            ],
            "properties": {
              "draft": {
                "type": "object",
                "required": [
                  "name",
                  "gameType",
                  "race",
                  "occupation",
                  "appearance",
                  "personality",
                  "background"
                ],
                "properties": {
                  "goal": {
                    "type": "string",
                    "maxLength": 1000,
                    "minLength": 0,
                    "description": "Goal."
                  },
                  "name": {
                    "type": "string",
                    "maxLength": 5000,
                    "minLength": 1,
                    "description": "Must match the selected campaign NPC name."
                  },
                  "race": {
                    "type": "string",
                    "maxLength": 100,
                    "minLength": 1,
                    "description": "Race or ancestry."
                  },
                  "size": {
                    "type": "string",
                    "maxLength": 80,
                    "minLength": 0,
                    "description": "Size or scale."
                  },
                  "level": {
                    "type": "integer",
                    "maximum": 100,
                    "minimum": 0,
                    "description": "Level or power rank when the system uses one."
                  },
                  "speed": {
                    "type": "string",
                    "maxLength": 160,
                    "minLength": 0,
                    "description": "Movement speed or equivalent."
                  },
                  "stats": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "name",
                        "value"
                      ],
                      "properties": {
                        "name": {
                          "type": "string",
                          "maxLength": 80,
                          "minLength": 1,
                          "description": "Stat name."
                        },
                        "value": {
                          "type": "integer",
                          "maximum": 10000,
                          "minimum": -1000,
                          "description": "Numeric value."
                        }
                      },
                      "additionalProperties": false
                    },
                    "maxItems": 24,
                    "description": "D&D ability scores. Use STR, DEX, CON, INT, WIS and CHA (full names are accepted and saved canonically)."
                  },
                  "swade": {
                    "type": "object",
                    "required": [
                      "wildCard",
                      "attributes",
                      "skills",
                      "rank"
                    ],
                    "properties": {
                      "gear": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "name"
                          ],
                          "properties": {
                            "name": {
                              "type": "string",
                              "maxLength": 120,
                              "minLength": 1,
                              "description": "SWADE gear name."
                            },
                            "notes": {
                              "type": "string",
                              "maxLength": 1000,
                              "minLength": 0,
                              "description": "Notes."
                            }
                          },
                          "additionalProperties": false
                        },
                        "maxItems": 32,
                        "description": "Gear shown in the SWADE NPC panel."
                      },
                      "pace": {
                        "type": "integer",
                        "maximum": 100,
                        "minimum": 1,
                        "description": "Pace."
                      },
                      "rank": {
                        "enum": [
                          "Novice",
                          "Seasoned",
                          "Veteran",
                          "Heroic",
                          "Legendary"
                        ],
                        "type": "string",
                        "maxLength": 20,
                        "minLength": 1,
                        "description": "SWADE rank."
                      },
                      "size": {
                        "type": "integer",
                        "maximum": 20,
                        "minimum": -20,
                        "description": "Size modifier."
                      },
                      "armor": {
                        "type": "integer",
                        "maximum": 100,
                        "minimum": 0,
                        "description": "Armor bonus."
                      },
                      "edges": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "name"
                          ],
                          "properties": {
                            "name": {
                              "type": "string",
                              "maxLength": 120,
                              "minLength": 1,
                              "description": "SWADE edge."
                            },
                            "description": {
                              "type": "string",
                              "maxLength": 1000,
                              "minLength": 0,
                              "description": "Description."
                            }
                          },
                          "additionalProperties": false
                        },
                        "maxItems": 32,
                        "description": "Edges shown in the SWADE NPC panel."
                      },
                      "parry": {
                        "type": "integer",
                        "maximum": 100,
                        "minimum": 0,
                        "description": "Derived Parry, recalculated when saved."
                      },
                      "powers": {
                        "type": "object",
                        "properties": {
                          "powers": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "required": [
                                "name"
                              ],
                              "properties": {
                                "name": {
                                  "type": "string",
                                  "maxLength": 120,
                                  "minLength": 1,
                                  "description": "SWADE power name."
                                },
                                "notes": {
                                  "type": "string",
                                  "maxLength": 1000,
                                  "minLength": 0,
                                  "description": "Notes."
                                }
                              },
                              "additionalProperties": false
                            },
                            "maxItems": 32,
                            "description": "Powers shown in the SWADE NPC panel."
                          },
                          "powerPoints": {
                            "type": "integer",
                            "maximum": 10000,
                            "minimum": 0,
                            "description": "Power points."
                          },
                          "arcaneBackground": {
                            "type": "string",
                            "maxLength": 120,
                            "minLength": 0,
                            "description": "Arcane background."
                          }
                        },
                        "additionalProperties": false
                      },
                      "skills": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "name",
                            "die"
                          ],
                          "properties": {
                            "die": {
                              "type": "string",
                              "maxLength": 20,
                              "minLength": 1,
                              "description": "SWADE skill die, normalized by the native sanitizer."
                            },
                            "name": {
                              "type": "string",
                              "maxLength": 100,
                              "minLength": 1,
                              "description": "SWADE skill name."
                            }
                          },
                          "additionalProperties": false
                        },
                        "maxItems": 32,
                        "minItems": 1,
                        "description": "Rated SWADE skills."
                      },
                      "wildCard": {
                        "type": "boolean",
                        "description": "Whether this is a Wild Card."
                      },
                      "toughness": {
                        "type": "string",
                        "maxLength": 80,
                        "minLength": 0,
                        "description": "Derived Toughness, recalculated when saved."
                      },
                      "attributes": {
                        "type": "object",
                        "required": [
                          "agility",
                          "smarts",
                          "spirit",
                          "strength",
                          "vigor"
                        ],
                        "properties": {
                          "vigor": {
                            "type": "string",
                            "maxLength": 20,
                            "minLength": 1,
                            "description": "SWADE trait die, normalized by the native sanitizer."
                          },
                          "smarts": {
                            "type": "string",
                            "maxLength": 20,
                            "minLength": 1,
                            "description": "SWADE trait die, normalized by the native sanitizer."
                          },
                          "spirit": {
                            "type": "string",
                            "maxLength": 20,
                            "minLength": 1,
                            "description": "SWADE trait die, normalized by the native sanitizer."
                          },
                          "agility": {
                            "type": "string",
                            "maxLength": 20,
                            "minLength": 1,
                            "description": "SWADE trait die, normalized by the native sanitizer."
                          },
                          "strength": {
                            "type": "string",
                            "maxLength": 20,
                            "minLength": 1,
                            "description": "SWADE trait die, normalized by the native sanitizer."
                          }
                        },
                        "additionalProperties": false
                      },
                      "hindrances": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "name"
                          ],
                          "properties": {
                            "name": {
                              "type": "string",
                              "maxLength": 120,
                              "minLength": 1,
                              "description": "SWADE hindrance name."
                            },
                            "type": {
                              "type": "string",
                              "maxLength": 40,
                              "minLength": 0,
                              "description": "Minor or Major; the native sanitizer normalizes this value."
                            },
                            "description": {
                              "type": "string",
                              "maxLength": 1000,
                              "minLength": 0,
                              "description": "Description."
                            }
                          },
                          "additionalProperties": false
                        },
                        "maxItems": 32,
                        "description": "Hindrances shown in the SWADE NPC panel."
                      },
                      "specialAbilities": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "name"
                          ],
                          "properties": {
                            "name": {
                              "type": "string",
                              "maxLength": 120,
                              "minLength": 1,
                              "description": "SWADE special ability."
                            },
                            "description": {
                              "type": "string",
                              "maxLength": 1000,
                              "minLength": 0,
                              "description": "Description."
                            }
                          },
                          "additionalProperties": false
                        },
                        "maxItems": 32,
                        "description": "Special abilities shown in the SWADE NPC panel."
                      }
                    },
                    "additionalProperties": false
                  },
                  "voice": {
                    "type": "string",
                    "maxLength": 1000,
                    "minLength": 0,
                    "description": "Voice description."
                  },
                  "quirks": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "maxLength": 300,
                      "minLength": 1,
                      "description": "Text item."
                    },
                    "maxItems": 12,
                    "description": "Memorable habits or mannerisms."
                  },
                  "secret": {
                    "type": "string",
                    "maxLength": 2000,
                    "minLength": 0,
                    "description": "Secret."
                  },
                  "senses": {
                    "type": "string",
                    "maxLength": 500,
                    "minLength": 0,
                    "description": "Senses."
                  },
                  "skills": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "name",
                        "bonus"
                      ],
                      "properties": {
                        "name": {
                          "type": "string",
                          "maxLength": 120,
                          "minLength": 1,
                          "description": "Skill name."
                        },
                        "type": {
                          "type": "string",
                          "maxLength": 80,
                          "minLength": 0,
                          "description": "Skill category."
                        },
                        "bonus": {
                          "type": "string",
                          "maxLength": 80,
                          "minLength": 1,
                          "description": "System-specific bonus or rating."
                        }
                      },
                      "additionalProperties": false
                    },
                    "maxItems": 32,
                    "description": "Skills and system-appropriate ratings."
                  },
                  "speech": {
                    "type": "string",
                    "maxLength": 1000,
                    "minLength": 0,
                    "description": "Speech style."
                  },
                  "spells": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "name",
                        "level"
                      ],
                      "properties": {
                        "name": {
                          "type": "string",
                          "maxLength": 120,
                          "minLength": 1,
                          "description": "Spell name."
                        },
                        "level": {
                          "type": "integer",
                          "maximum": 20,
                          "minimum": 0,
                          "description": "Spell level."
                        },
                        "school": {
                          "type": "string",
                          "maxLength": 80,
                          "minLength": 0,
                          "description": "Spell school, when used."
                        },
                        "description": {
                          "type": "string",
                          "maxLength": 1000,
                          "minLength": 0,
                          "description": "Spell effect."
                        }
                      },
                      "additionalProperties": false
                    },
                    "maxItems": 32,
                    "description": "Spells, when the system uses them."
                  },
                  "actions": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "name",
                        "description"
                      ],
                      "properties": {
                        "name": {
                          "type": "string",
                          "maxLength": 120,
                          "minLength": 1,
                          "description": "Action name."
                        },
                        "description": {
                          "type": "string",
                          "maxLength": 1000,
                          "minLength": 1,
                          "description": "System-specific mechanics, damage or effect."
                        }
                      },
                      "additionalProperties": false
                    },
                    "maxItems": 24,
                    "description": "System-appropriate actions or attacks."
                  },
                  "gameType": {
                    "type": "string",
                    "maxLength": 100,
                    "minLength": 1,
                    "description": "D&D or Savage Worlds (SWADE). For SWADE, put combat mechanics in the swade object."
                  },
                  "npcClass": {
                    "type": "string",
                    "maxLength": 100,
                    "minLength": 0,
                    "description": "Class or archetype, if applicable."
                  },
                  "alignment": {
                    "type": "string",
                    "maxLength": 160,
                    "minLength": 0,
                    "description": "Disposition or alignment, when used."
                  },
                  "equipment": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "name",
                        "description"
                      ],
                      "properties": {
                        "name": {
                          "type": "string",
                          "maxLength": 120,
                          "minLength": 1,
                          "description": "Equipment name."
                        },
                        "type": {
                          "type": "string",
                          "maxLength": 80,
                          "minLength": 0,
                          "description": "Equipment type."
                        },
                        "description": {
                          "type": "string",
                          "maxLength": 1000,
                          "minLength": 1,
                          "description": "Description or rules notes."
                        }
                      },
                      "additionalProperties": false
                    },
                    "maxItems": 24,
                    "description": "Equipment and rules notes."
                  },
                  "hitPoints": {
                    "type": "integer",
                    "maximum": 100000,
                    "minimum": 1,
                    "description": "Hit points or equivalent, when used."
                  },
                  "languages": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "maxLength": 100,
                      "minLength": 1,
                      "description": "Text item."
                    },
                    "maxItems": 20,
                    "description": "Languages."
                  },
                  "appearance": {
                    "type": "string",
                    "maxLength": 2000,
                    "minLength": 1,
                    "description": "Distinctive physical description."
                  },
                  "armorClass": {
                    "type": "integer",
                    "maximum": 100,
                    "minimum": 0,
                    "description": "Armor class, when used. Omit for systems without it."
                  },
                  "background": {
                    "type": "string",
                    "maxLength": 5000,
                    "minLength": 1,
                    "description": "Relevant history and circumstances."
                  },
                  "motivation": {
                    "type": "string",
                    "maxLength": 1000,
                    "minLength": 0,
                    "description": "Current motivation."
                  },
                  "occupation": {
                    "type": "string",
                    "maxLength": 160,
                    "minLength": 1,
                    "description": "Occupation or role."
                  },
                  "connections": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "maxLength": 300,
                      "minLength": 1,
                      "description": "Text item."
                    },
                    "maxItems": 20,
                    "description": "People or entities connected to the NPC."
                  },
                  "personality": {
                    "type": "string",
                    "maxLength": 2000,
                    "minLength": 1,
                    "description": "Personality and behaviour."
                  },
                  "roleInStory": {
                    "type": "string",
                    "maxLength": 1000,
                    "minLength": 0,
                    "description": "Role in the campaign."
                  },
                  "savingThrows": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "attribute",
                        "bonus"
                      ],
                      "properties": {
                        "bonus": {
                          "type": "string",
                          "maxLength": 80,
                          "minLength": 1,
                          "description": "Saving throw bonus or rating."
                        },
                        "attribute": {
                          "type": "string",
                          "maxLength": 80,
                          "minLength": 1,
                          "description": "Save attribute."
                        }
                      },
                      "additionalProperties": false
                    },
                    "maxItems": 12,
                    "description": "Saving throws, when the system uses them."
                  }
                },
                "additionalProperties": false
              },
              "entity_id": {
                "type": "string",
                "description": "UUID of an existing NPC entity in that campaign"
              },
              "campaign_id": {
                "type": "string",
                "description": "UUID of the campaign you own"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Save campaign NPC",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_search_campaign",
          "title": "Search a campaign",
          "description": "Text search within one campaign across world-graph entities and aliases, quests, threads, recap NPCs/monsters/locations/items and transcripts. Returns typed hits with excerpts.",
          "inputSchema": {
            "type": "object",
            "required": [
              "campaign_id",
              "q"
            ],
            "properties": {
              "q": {
                "type": "string",
                "description": "Search text (min 2 characters)"
              },
              "limit": {
                "type": "integer",
                "description": "Max items to return (default 25, max 100)"
              },
              "cursor": {
                "type": "string",
                "description": "Opaque cursor from the previous page's nextCursor"
              },
              "campaign_id": {
                "type": "string",
                "description": "Campaign UUID"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Search a campaign",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_search_gallery",
          "title": "Search image gallery",
          "description": "Search your gallery of images, videos, audio and 3D models: returns image_id, media_type, URLs, titles and source metadata. Filter with media_type; a 3D model (media_type model_3d) also carries model_url and model_format, and its image_id is the model_id the 3D tools take. Never returns file bytes.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "q": {
                "type": "string",
                "description": "Search text"
              },
              "limit": {
                "type": "integer",
                "description": "Max items to return (at most 25, the default); page with nextCursor for more."
              },
              "cursor": {
                "type": "string",
                "description": "Opaque cursor from the previous page's nextCursor"
              },
              "media_type": {
                "enum": [
                  "image",
                  "video",
                  "audio",
                  "model_3d"
                ],
                "type": "string",
                "description": "Only return this kind of gallery item."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Search image gallery",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_track_entity",
          "title": "Track world entity",
          "description": "Add a bare tracked entry (name + optional note) to a campaign's world graph - NO AI content is generated. For a full AI-written NPC, monster, quest etc. with stats and a portrait, use a fixed generation tool such as chargen_generate_npc or chargen_generate_monster instead. A matching entry may have its name, pin state or status updated; new description and note text is appended.",
          "inputSchema": {
            "type": "object",
            "required": [
              "campaign_id",
              "entity_type",
              "display_name"
            ],
            "properties": {
              "notes": {
                "type": "string",
                "description": "Optional DM notes"
              },
              "campaign_id": {
                "type": "string",
                "description": "Campaign UUID"
              },
              "description": {
                "type": "string",
                "description": "Optional description"
              },
              "entity_type": {
                "type": "string",
                "description": "NPC, MONSTER, LOCATION, FACTION or ITEM"
              },
              "display_name": {
                "type": "string",
                "description": "Entity name"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Track world entity",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "chargen_undo_entity_merge",
          "title": "Undo world entity merge",
          "description": "Reverse one recorded world-graph entity merge in a campaign you own. Pass the merge_id from chargen_merge_entities or chargen_list_entity_merges. Restores the archived source and moves recorded links back. Also reverses session renames recorded with that merge_id; subsequently edited text is skipped and reported in skipped_renames.",
          "inputSchema": {
            "type": "object",
            "required": [
              "campaign_id",
              "merge_id"
            ],
            "properties": {
              "merge_id": {
                "type": "string",
                "description": "Recorded merge UUID to undo"
              },
              "campaign_id": {
                "type": "string",
                "description": "Campaign UUID"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Undo world entity merge",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "chargen_update_collection",
          "title": "Update folder",
          "description": "Rename, reorder or move a folder: name/description edit, display_order to reorder among siblings, parent_collection_id to nest under another folder, clear_parent=true to move back to the root. Grafted codex references (ref_row_id rows) can be renamed and reordered but never moved. Supplied name and description values replace the stored values. An Atlas place (place=true) moves only under another place of its own atlas, and an atlas root stays at the top level.",
          "inputSchema": {
            "type": "object",
            "required": [
              "collection_id"
            ],
            "properties": {
              "name": {
                "type": "string",
                "description": "New name"
              },
              "description": {
                "type": "string",
                "description": "New description"
              },
              "clear_parent": {
                "type": "boolean",
                "description": "true moves the folder back to the root (mutually exclusive with parent_collection_id)"
              },
              "collection_id": {
                "type": "string",
                "description": "Collection UUID"
              },
              "display_order": {
                "type": "integer",
                "description": "New sort position among siblings (lower sorts first)"
              },
              "parent_collection_id": {
                "type": "string",
                "description": "Move under this folder UUID"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Update folder",
            "readOnlyHint": false,
            "openWorldHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "chargen_update_entity",
          "title": "Update world entity",
          "description": "Update a world-graph entity: notes, description, status (TRACKED / ARCHIVED) and pin. Manage alias spellings with add_aliases / remove_aliases - aliases teach session processing which names map to this entity.",
          "inputSchema": {
            "type": "object",
            "required": [
              "campaign_id",
              "entity_id"
            ],
            "properties": {
              "notes": {
                "type": "string",
                "description": "DM notes"
              },
              "pinned": {
                "type": "boolean",
                "description": "Pin this entity"
              },
              "status": {
                "type": "string",
                "description": "TRACKED, CANDIDATE or ARCHIVED"
              },
              "entity_id": {
                "type": "string",
                "description": "Entity UUID"
              },
              "add_aliases": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Alias spellings to add - teaches session processing to map these names to this entity in FUTURE sessions (use for recurring mispronunciations)"
              },
              "campaign_id": {
                "type": "string",
                "description": "Campaign UUID"
              },
              "description": {
                "type": "string",
                "description": "New description"
              },
              "display_name": {
                "type": "string",
                "description": "New display name"
              },
              "remove_aliases": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Existing alias strings to remove (case-insensitive match)"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Update world entity",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "chargen_update_generation",
          "title": "Edit generation",
          "description": "Edit fields of a GENERATION's output (a saved library item), e.g. fix a name or rewrite a backstory. Pass changes as {field_path: new value} using paths from chargen_get_generation's output (dots and [index] for lists, e.g. \"inventory[2].name\"). Paths must already exist. Requires a plan above Basic. Concurrent edits in the app can race this tool (last write wins). For campaign-tracked entities use chargen_update_entity instead. Generation library items are public by default, so edits may be visible in public CharGen browsing; visibility can be changed in CharGen.",
          "inputSchema": {
            "type": "object",
            "required": [
              "generation_id",
              "changes"
            ],
            "properties": {
              "changes": {
                "type": "object",
                "description": "Map of field_path -> new value, e.g. {\"personality\": \"kindly\", \"quirks[1]\": \"whistles\"}"
              },
              "generation_id": {
                "type": "string",
                "description": "Generation UUID"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Edit generation",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "chargen_update_quest",
          "title": "Update quest",
          "description": "Update a quest: status, next actions, rewards, resolution. Provide progress_note to append a progress-log entry.",
          "inputSchema": {
            "type": "object",
            "required": [
              "campaign_id",
              "quest_id"
            ],
            "properties": {
              "status": {
                "type": "string",
                "description": "Quest status"
              },
              "rewards": {
                "type": "string",
                "description": "Rewards"
              },
              "quest_id": {
                "type": "string",
                "description": "Quest UUID"
              },
              "resolution": {
                "type": "string",
                "description": "How it resolved"
              },
              "campaign_id": {
                "type": "string",
                "description": "Campaign UUID"
              },
              "next_actions": {
                "type": "string",
                "description": "What the party should do next"
              },
              "progress_note": {
                "type": "string",
                "description": "Append this to the progress log"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Update quest",
            "readOnlyHint": false,
            "openWorldHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "chargen_update_recap",
          "title": "Edit session recap",
          "description": "Edit a session recap: full / short / spoiler-free summaries and DM notes. Only the fields you pass are changed; the recap is flagged as edited.",
          "inputSchema": {
            "type": "object",
            "required": [
              "recap_id"
            ],
            "properties": {
              "dm_notes": {
                "type": "string",
                "description": "DM notes"
              },
              "recap_id": {
                "type": "string",
                "description": "Recap UUID"
              },
              "full_summary": {
                "type": "string",
                "description": "Full plot summary"
              },
              "short_summary": {
                "type": "string",
                "description": "Short summary"
              },
              "spoiler_free_summary": {
                "type": "string",
                "description": "Spoiler-free player recap"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Edit session recap",
            "readOnlyHint": false,
            "openWorldHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "chargen_update_thread",
          "title": "Update plot thread",
          "description": "Update a plot thread: set status/severity, add a note, or promote it into a full quest.",
          "inputSchema": {
            "type": "object",
            "required": [
              "campaign_id",
              "thread_id"
            ],
            "properties": {
              "note": {
                "type": "string",
                "description": "Append this note to the thread"
              },
              "status": {
                "type": "string",
                "description": "OPEN, RESOLVED or ABANDONED"
              },
              "promote": {
                "type": "boolean",
                "description": "Promote this thread into a quest"
              },
              "severity": {
                "type": "string",
                "description": "Thread severity"
              },
              "thread_id": {
                "type": "string",
                "description": "Thread UUID"
              },
              "campaign_id": {
                "type": "string",
                "description": "Campaign UUID"
              },
              "promote_title": {
                "type": "string",
                "description": "Title for the promoted quest"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Update plot thread",
            "readOnlyHint": false,
            "openWorldHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "chargen_usage_guide",
          "title": "CharGen usage guide",
          "description": "The CharGen playbook, by area. With no topic: the overview (how the tools compose, what is free and what costs gold, job polling, error handling) and the list of area guides. With a topic: that area's guide, such as world building, sessions, or art with how to write prompts for each image, video and audio model. Call this once when you first work with CharGen tools in a conversation, or whenever unsure which tool fits.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "topic": {
                "enum": [
                  "overview",
                  "worldbuilding",
                  "sessions",
                  "art",
                  "art_images",
                  "art_video",
                  "art_audio",
                  "art_3d"
                ],
                "type": "string",
                "description": "Which guide to read; leave out for the overview. overview: what CharGen is, what is free and what costs Gold, job polling, errors, and this list. worldbuilding: the content generators, saving and editing library entries, the world graph, folders and workspaces. sessions: reading recaps and transcripts, logging a session nobody recorded, correcting a session's history. art: images, video, audio, 3D and pixel sprites: what costs Gold and how to write any prompt. Start here, then read the medium's guide. art_images: image rendering, image edits, workflows and pixel sprites, and how to write an image prompt for each model family. art_video: video from text, pictures and references, talking portraits and motion transfer, and how to write a video prompt. art_audio: speech, music and sound effects, and what the prompt is for each. art_3d: 3D models and the tools that change them."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "CharGen usage guide",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "chargen_whoami",
          "title": "Show connected account",
          "description": "Who is connected: account email/display name, balance (gold or USD wallet), tier and unlocked capabilities.",
          "inputSchema": {
            "type": "object",
            "properties": {}
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Show connected account",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        }
      ],
      "tools_omitted": 0,
      "resources": [],
      "prompts": []
    },
    "instructions": "CharGen MCP server: campaigns, sessions, world graph, parties, generators and image rendering for the user's CharGen account.\n\nCost: entity generation is free on every plan. Images may use a monthly allowance or cost Gold. Video, audio, image edits, workflows, sprites and 3D cost Gold: quote first with the tool's quote tool, tell the user the price, then run it.\n\nchargen_usage_guide is the playbook, by area, with how to write prompts for each image, video and audio model.\n\nEntity generation (for example chargen_generate_npc) also renders a portrait. It is free on CharGen's default art style; if the user has chosen a paid art preset, that preset's Gold price is charged per portrait (the free default is used if they can't afford it), so say so when cost comes up. Image rendering is chargen_generate_image. Both are asynchronous - they return an id you poll with chargen_get_job. For workflows, chargen_list_recipes names each workflow's fixed quote and run tools. Quote first, confirm the price, then call that run tool. An eligible reference sheet can be free.\n\nEntity generation needs the mcp:generate scope, but no subscription. In chargen_whoami,\nentity_generation_unlocked reports plan access; write_tools_unlocked applies to paid write\ntools, not entity generation. granted_scopes lists the connection's actual permissions.\n\nGround what you generate in the story so far: the campaign, session and world-graph read tools exist for that, and chargen_search_gallery finds art the user already has. Folders hang off chargen_list_collections; folder tools only ever touch organisation, never the content filed inside.\n\nIf a call reports insufficient_gold or upgrade_required, explain that the action needs more gold or an eligible CharGen plan.\n\nEvery tool's own description carries its arguments, costs and workflow; read that rather than guessing."
  },
  "changes": {
    "total": 1,
    "latest": [
      {
        "observed_at": "2026-11-22T08:11:02.113Z",
        "from_sha": "9bc08079e5ade7de3a7489bec666ad6a03f617ab6e24b5a59bb30d1059e096d5",
        "to_sha": "c2b8cd43ca4c9ef914c8847a606b4d87ce3f014026969a7f06bcc9fa574c76b6",
        "summary": {
          "tool_changed": 4
        },
        "diff": [
          {
            "op": "changed",
            "kind": "tool",
            "name": "chargen_add_collection_item",
            "path": "/description",
            "after": "File an item into a folder. target_id is the thing being filed (a generation id by default; set item_type for CAMPAIGN_ENTITY, DOCUMENT, SESSION, IMAGE or VIDEO_PROJECT). When filing CAMPAIGN_ENTITY, DOCUMENT, SESSION or VIDEO_PROJECT into a codex folder that a campaign references, campaign_id is REQUIRED - the item lands in that campaign's overlay, not the codex itself. IMAGE items can only be filed into campaign workspace folders and Atlas places (folders with place=true), never other codex folders, and only your own pictures: another member's picture, public or not, is not_found. Filing the same target twice updates the existing row: an omitted note clears it, an omitted pinned value unpins it, and an omitted sort_order keeps the current position.",
            "before": "File an item into a folder. target_id is the thing being filed (a generation id by default; set item_type for CAMPAIGN_ENTITY, DOCUMENT, SESSION, IMAGE or VIDEO_PROJECT). When filing CAMPAIGN_ENTITY, DOCUMENT, SESSION or VIDEO_PROJECT into a codex folder that a campaign references, campaign_id is REQUIRED - the item lands in that campaign's overlay, not the codex itself. IMAGE items can only be filed into campaign workspace folders, never codex folders. Filing the same target twice updates the existing row: an omitted note clears it, an omitted pinned value unpins it, and an omitted sort_order keeps the current position."
          },
          {
            "op": "changed",
            "kind": "tool",
            "name": "chargen_delete_collection",
            "path": "/description",
            "after": "Delete a folder (and its subfolders/filed rows). Only ORGANISATION is deleted - the generations, entities, sessions and images filed inside are never touched. To unlink a codex folder from a campaign workspace without deleting it, pass the grafted root's ref_row_id; deleting the codex original also removes every campaign reference to it. An Atlas place (place=true) is different: its sub-places, folders and filed things move up to its parent place, and a place a campaign links to directly cannot be deleted until that link is removed.",
            "before": "Delete a folder (and its subfolders/filed rows). Only ORGANISATION is deleted - the generations, entities, sessions and images filed inside are never touched. To unlink a codex folder from a campaign workspace without deleting it, pass the grafted root's ref_row_id; deleting the codex original also removes every campaign reference to it."
          },
          {
            "op": "changed",
            "kind": "tool",
            "name": "chargen_get_relationship_graph",
            "path": "/description",
            "after": "Relationship edges for one entity (pass entity_id) or the whole campaign (omit it). Focused mode (entity_id passed) emits one row per other entity as other_id/other_name/other_type. Whole-campaign mode (entity_id omitted) emits one row per entity pair, naming both endpoints as from_id/from_name/from_type and to_id/to_name/to_type. Each edge has a source: SESSION (seen together in sessions; weight counts shared moments) or RECORD (a link between the saved records linked to the two entities; last_session is null; it always names both ends as from_*/to_*, so its direction is clear in focused mode too). Capped at 'limit' edges (default 25, max 100); the service caps at 200 total.",
            "before": "Relationship edges for one entity (pass entity_id) or the whole campaign (omit it). Focused mode (entity_id passed) emits one row per other entity as other_id/other_name/other_type. Whole-campaign mode (entity_id omitted) emits one row per entity pair, naming both endpoints as from_id/from_name/from_type and to_id/to_name/to_type. Capped at 'limit' edges (default 25, max 100); the service caps at 200 total."
          },
          {
            "op": "changed",
            "kind": "tool",
            "name": "chargen_update_collection",
            "path": "/description",
            "after": "Rename, reorder or move a folder: name/description edit, display_order to reorder among siblings, parent_collection_id to nest under another folder, clear_parent=true to move back to the root. Grafted codex references (ref_row_id rows) can be renamed and reordered but never moved. Supplied name and description values replace the stored values. An Atlas place (place=true) moves only under another place of its own atlas, and an atlas root stays at the top level.",
            "before": "Rename, reorder or move a folder: name/description edit, display_order to reorder among siblings, parent_collection_id to nest under another folder, clear_parent=true to move back to the root. Grafted codex references (ref_row_id rows) can be renamed and reordered but never moved. Supplied name and description values replace the stored values."
          }
        ],
        "withheld": false
      }
    ]
  },
  "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."
}