{
  "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": "www.blitzreels.com",
    "site": "blitzreels.com",
    "addresses": [
      {
        "address": "104.21.38.129",
        "endpoints": 2,
        "shared_infrastructure": false,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "104.21.32.0/19",
          "country": "US"
        }
      },
      {
        "address": "172.67.222.240",
        "endpoints": 2,
        "shared_infrastructure": false,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "172.67.208.0/20",
          "country": "US"
        }
      },
      {
        "address": "2606:4700:3033::6815:2681",
        "endpoints": 2,
        "shared_infrastructure": false,
        "network": {
          "asn": 13335,
          "prefix": "2606:4700:3033::/48",
          "country": "US",
          "name": "CLOUDFLARENET - Cloudflare, Inc."
        }
      },
      {
        "address": "2606:4700:3030::ac43:def0",
        "endpoints": 2,
        "shared_infrastructure": false,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "2606:4700:3030::/48",
          "country": "US"
        }
      }
    ],
    "addresses_recorded": true,
    "address_history": [
      {
        "addresses": [
          "104.21.38.129",
          "172.67.222.240",
          "2606:4700:3033::6815:2681",
          "2606:4700:3030::ac43:def0"
        ],
        "first_seen": "2026-11-23T08:03:01.951Z",
        "last_seen": "2026-11-24T08:12:02.360Z",
        "checks": 2
      },
      {
        "addresses": [
          "104.21.38.129",
          "172.67.222.240",
          "2606:4700:3030::ac43:def0",
          "2606:4700:3033::6815:2681"
        ],
        "first_seen": "2026-11-22T08:01:03.101Z",
        "last_seen": "2026-11-22T08:01:03.101Z",
        "checks": 1
      }
    ],
    "hosting": [
      {
        "value": "Cloudflare",
        "evidence": "Server header \"cloudflare\""
      }
    ],
    "software": [],
    "server_info": {
      "name": "blitzreels",
      "version": "4.0.1",
      "protocol_version": "2025-06-18"
    },
    "headers": {
      "server": "cloudflare",
      "access-control-allow-origin": "*"
    },
    "auth": null
  },
  "related": {
    "same_address": {
      "total": 1,
      "sample": [
        {
          "id": "53812",
          "url": "https://blitzreels.com/api/mcp",
          "server_name": "com.blitzreels/blitzreels",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T23:39:02.867Z"
        }
      ]
    },
    "same_site": {
      "total": 1,
      "sample": [
        {
          "id": "53812",
          "url": "https://blitzreels.com/api/mcp",
          "server_name": "com.blitzreels/blitzreels",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T23:39:02.867Z"
        }
      ]
    },
    "same_tool_list": {
      "total": 1,
      "sample": [
        {
          "id": "53812",
          "url": "https://blitzreels.com/api/mcp",
          "server_name": "com.blitzreels/blitzreels",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T23:39:02.867Z"
        }
      ]
    },
    "same_publisher": {
      "publisher": "com.blitzreels",
      "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": "7392",
    "server_name": "com.blitzreels/blitzreels",
    "url": "https://www.blitzreels.com/api/mcp",
    "host": "www.blitzreels.com",
    "transport": "streamable-http",
    "last_checked_at": "2026-11-24T08:12:02.360Z",
    "last_state": "listed",
    "last_detail": null,
    "consecutive_failures": 0,
    "current_sha": "1d9101df0f2df7b7bc503dd7af024dc9e9516cf6e524f3046f5c85119138c42d",
    "first_listed_at": "2026-11-21T07:25:02.845Z",
    "created_at": "2026-11-21T05:25:03.976Z",
    "resolved_addresses": [
      "104.21.38.129",
      "172.67.222.240",
      "2606:4700:3033::6815:2681",
      "2606:4700:3030::ac43:def0"
    ]
  },
  "server": {
    "name": "com.blitzreels/blitzreels",
    "title": "BlitzReels Video Editor",
    "description": "Create, edit, reframe, caption, organize, generate, and export short-form videos with BlitzReels.",
    "version": "4.0.1",
    "registry_status": "active",
    "repository_url": null,
    "website_url": "https://blitzreels.com/agents",
    "published_at": "2026-11-21T19:34:16.228Z",
    "updated_at": "2026-11-21T19:34:16.228Z",
    "first_seen": "2026-11-21T05:25:03.375Z"
  },
  "other_endpoints": [
    {
      "id": "53812",
      "url": "https://blitzreels.com/api/mcp",
      "transport": "streamable-http",
      "last_state": "listed",
      "last_checked_at": "2026-11-23T23:39:02.867Z"
    }
  ],
  "intel": {
    "capabilities": [
      "writes-files"
    ],
    "evm_addresses": [],
    "chains": [],
    "tokens": [],
    "computed_at": "2026-11-23T23:39:04.562Z"
  },
  "operator": {
    "key": "blitzreels.com",
    "name": "blitzreels.com",
    "platform": false,
    "marketplace": false
  },
  "needs_sign_in": false,
  "reachability": {
    "window_days": 30,
    "checks": 4,
    "answered": 4,
    "answered_percent": 100,
    "avg_listing_latency_ms": 1482,
    "first_check_in_window": "2026-11-21T07:25:02.845Z",
    "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": "1d9101df0f2df7b7bc503dd7af024dc9e9516cf6e524f3046f5c85119138c42d",
    "tools": 151,
    "resources": 6,
    "prompts": 0,
    "first_seen": "2026-11-23T23:39:04.268Z",
    "tool_names": [
      "hooks_suggest",
      "content_performance_list",
      "video_storyboard_create",
      "video_storyboard_get",
      "video_storyboard_revise",
      "video_storyboard_approve",
      "video_assets_approve",
      "video_storyboard_asset_regenerate",
      "recording_sets_list",
      "recording_sets_get",
      "recording_sets_create",
      "recording_sets_track_attach",
      "recording_sets_finalize",
      "recording_sets_clips_create",
      "clip_share_get",
      "clip_share_publish",
      "clip_share_unpublish",
      "clip_share_visibility_set",
      "projects_list",
      "projects_get",
      "projects_duplicate",
      "projects_inspect",
      "exports_list",
      "exports_caption_track_get",
      "editor_asset_replace",
      "editor_audio_set",
      "editor_text_set",
      "editor_composition_edit",
      "editor_crop_set",
      "editor_assets_insert",
      "editor_items_move",
      "editor_items_remove",
      "editor_snapshot_get",
      "editor_history_list",
      "editor_edit_undo",
      "clips_candidates_list",
      "captions_words_list",
      "captions_words_correct",
      "video_feedback_save",
      "captions_source_prepare",
      "clips_recover",
      "workspaces_list",
      "workspace_context_get",
      "workspace_context_save",
      "workspace_brand_scan",
      "workspace_brand_scan_get",
      "media_list",
      "media_transcript_get",
      "projects_create",
      "media_upload_file",
      "media_import_url",
      "media_upload_start",
      "media_upload_finish",
      "media_import_inspect",
      "media_import_scan_page",
      "clips_presets_list",
      "captions_themes_list",
      "media_narration_get",
      "media_assets_get",
      "media_assets_preview",
      "media_folders_list",
      "media_folders_create",
      "media_assets_update",
      "media_upscale_estimate",
      "media_upscale",
      "clips_create",
      "clips_get",
      "clip_batches_delete",
      "clips_status_get",
      "clips_list",
      "clips_inspect",
      "clips_reselect",
      "clips_repair",
      "clips_export",
      "captions_look_apply",
      "visuals_apply",
      "update_timeline_clip",
      "batch_update_timeline_clips",
      "mute_clip_audio",
      "delete_timeline_items",
      "add_text_overlay",
      "add_transition",
      "timeline_media_add",
      "timeline_audio_add",
      "exports_start",
      "generation_options_list",
      "generation_image_create",
      "generation_video_create",
      "generation_voiceover_create",
      "generation_music_create",
      "generation_sound_create",
      "generation_faceless_create",
      "generation_jobs_get",
      "generation_jobs_cancel",
      "generation_plan_brief",
      "generation_plan_validate",
      "characters_list",
      "characters_get",
      "characters_apply",
      "story_kits_list"
    ],
    "declared": {
      "tools": [
        {
          "name": "hooks_suggest",
          "title": "Suggest Clip Hooks",
          "description": "Suggest text hooks, existing transcript sentences and visual ranges without editing the project. Defaults to three per layer, count 1-5. Times use project timeline seconds. Included with a daily workspace cap; never starts media analysis. Unsupported options are omitted.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "layers",
              "count",
              "projectId",
              "workspaceId"
            ],
            "properties": {
              "count": {
                "type": "integer",
                "default": 3,
                "maximum": 5,
                "minimum": 1
              },
              "layers": {
                "type": "array",
                "items": {
                  "enum": [
                    "text",
                    "spoken",
                    "visual"
                  ],
                  "type": "string"
                },
                "default": [
                  "text",
                  "spoken",
                  "visual"
                ],
                "maxItems": 3,
                "minItems": 1
              },
              "projectId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "UUID string."
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "text",
              "spoken",
              "visual",
              "language"
            ],
            "properties": {
              "text": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "pattern",
                    "text"
                  ],
                  "properties": {
                    "text": {
                      "type": "string",
                      "maxLength": 180,
                      "minLength": 1
                    },
                    "pattern": {
                      "enum": [
                        "question",
                        "number_stakes",
                        "contrarian",
                        "outcome",
                        "call_out",
                        "curiosity_gap"
                      ],
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 5
              },
              "spoken": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "pattern",
                    "quote",
                    "start_seconds",
                    "end_seconds",
                    "use"
                  ],
                  "properties": {
                    "use": {
                      "enum": [
                        "start_here",
                        "cold_open"
                      ],
                      "type": "string"
                    },
                    "quote": {
                      "type": "string",
                      "maxLength": 1000,
                      "minLength": 1
                    },
                    "pattern": {
                      "enum": [
                        "contrarian",
                        "problem",
                        "secret_reveal",
                        "personal_story",
                        "list",
                        "comparison",
                        "question",
                        "case_study"
                      ],
                      "type": "string"
                    },
                    "end_seconds": {
                      "type": "number",
                      "minimum": 0
                    },
                    "start_seconds": {
                      "type": "number",
                      "minimum": 0
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 5
              },
              "visual": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "pattern",
                    "start_seconds",
                    "end_seconds",
                    "reason"
                  ],
                  "properties": {
                    "reason": {
                      "type": "string",
                      "maxLength": 600,
                      "minLength": 1
                    },
                    "pattern": {
                      "enum": [
                        "result_first",
                        "punch_in",
                        "broll_interrupt",
                        "screen_moment",
                        "split_screen",
                        "greenscreen"
                      ],
                      "type": "string"
                    },
                    "end_seconds": {
                      "type": "number",
                      "minimum": 0
                    },
                    "start_seconds": {
                      "type": "number",
                      "minimum": 0
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 5
              },
              "language": {
                "anyOf": [
                  {
                    "type": "string",
                    "minLength": 1
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "content_performance_list",
          "title": "Read Published Content Performance",
          "description": "Read bounded existing provider-reported engagement in the selected workspace, sorted by views. Filters by format, account and publication window. Returns periodTotals for engagement earned during the period across all posts on the selected accounts, plus per-post lifetime counters, saved watch metrics, capture/check times, availability, and saved Project/export lineage when known. includeDetails includes bounded retention and audience tables. Does not import new data, start monitoring or infer attributable leads, sales or revenue.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "includeDetails",
              "workspaceId",
              "platform",
              "format",
              "connectionIds",
              "range",
              "limit",
              "offset",
              "search"
            ],
            "properties": {
              "limit": {
                "type": "integer",
                "default": 20,
                "maximum": 50,
                "minimum": 1
              },
              "range": {
                "enum": [
                  "7d",
                  "30d",
                  "90d",
                  "all"
                ],
                "type": "string",
                "default": "30d"
              },
              "format": {
                "enum": [
                  "all",
                  "video",
                  "image",
                  "carousel"
                ],
                "type": "string",
                "default": "all"
              },
              "offset": {
                "type": "integer",
                "default": 0,
                "maximum": 9007199254740991,
                "minimum": 0
              },
              "search": {
                "type": "string",
                "default": "",
                "maxLength": 200
              },
              "platform": {
                "enum": [
                  "all",
                  "youtube",
                  "instagram",
                  "facebook",
                  "tiktok"
                ],
                "type": "string",
                "default": "all"
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "connectionIds": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                    },
                    "maxItems": 50
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "includeDetails": {
                "type": "boolean",
                "default": false
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "result"
            ],
            "properties": {
              "result": {
                "type": "object",
                "additionalProperties": true
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "video_storyboard_create",
          "title": "Plan an Approved Video Script",
          "description": "Create a vertical video storyboard for the user-approved script in an existing project. Spends planning credits; returns scene narration, factual review notes, references and the production credit estimate. Does not generate images or animate video. Existing account access applies.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "projectId",
              "script",
              "workspaceId",
              "idempotencyKey",
              "confirmScriptApproved"
            ],
            "properties": {
              "genre": {
                "type": "string",
                "maxLength": 100,
                "minLength": 1,
                "description": "Genre pack id. GET /generation-options/faceless lists them in genres, with what each format needs in formats."
              },
              "script": {
                "type": "string",
                "maxLength": 30000,
                "minLength": 1
              },
              "voice_id": {
                "type": "string",
                "maxLength": 200
              },
              "projectId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "UUID string."
              },
              "series_id": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "multi_shot": {
                "type": "boolean",
                "description": "Let one video generation cover several timed shots and camera angles. Adjacent script blocks are grouped into takes."
              },
              "storyboard": {
                "type": "boolean",
                "description": "Generate one approved storyboard sheet instead of per-scene keyframes and use it as the video reference. Implies multi_shot."
              },
              "video_model": {
                "type": "string",
                "maxLength": 200,
                "minLength": 3
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "clip_seconds": {
                "type": "integer",
                "maximum": 60,
                "minimum": 4,
                "description": "Target length of each multi-shot generation. Defaults to 15, or the model maximum when lower."
              },
              "story_kit_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "visual_style": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1
              },
              "character_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                },
                "maxItems": 8
              },
              "idempotencyKey": {
                "type": "string",
                "maxLength": 200,
                "minLength": 8
              },
              "image_model_id": {
                "type": "string",
                "maxLength": 200,
                "minLength": 3
              },
              "caption_style_id": {
                "type": "string",
                "maxLength": 200
              },
              "include_captions": {
                "type": "boolean"
              },
              "planner_model_id": {
                "type": "string",
                "maxLength": 200,
                "minLength": 3
              },
              "confirmScriptApproved": {
                "type": "boolean",
                "const": true
              },
              "generate_sound_effects": {
                "type": "boolean"
              },
              "target_duration_seconds": {
                "type": "number",
                "maximum": 120,
                "minimum": 10
              },
              "use_seamless_transitions": {
                "type": "boolean",
                "description": "Chain each scene's clip into the next with end frames. Applies only to video models that support end frames."
              },
              "generate_background_music": {
                "type": "boolean"
              },
              "style_reference_asset_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                },
                "maxItems": 10
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "result"
            ],
            "properties": {
              "result": {
                "type": "object",
                "additionalProperties": true
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "video_storyboard_get",
          "title": "Review Video Storyboard",
          "description": "Read one authorized storyboard revision, its scene and reference previews, estimate, approvals and bounded polling guidance. Refreshes signed previews. Complete means the editable timeline is assembled; use exports_start and exports_list for a downloadable MP4.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "workspaceId",
              "projectId",
              "revisionId"
            ],
            "properties": {
              "projectId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "UUID string."
              },
              "revisionId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "result"
            ],
            "properties": {
              "result": {
                "type": "object",
                "additionalProperties": true
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "video_storyboard_revise",
          "title": "Revise Selected Storyboard Scenes",
          "description": "Create a new immutable draft from a known revision with selected scene, character or model changes. Preserves other scene definitions; requires review and production approval again. Does not generate media or overwrite an approved revision.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "projectId",
              "revisionId",
              "workspaceId",
              "idempotencyKey"
            ],
            "properties": {
              "projectId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "UUID string."
              },
              "revisionId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "video_model": {
                "type": "string",
                "maxLength": 200,
                "minLength": 3
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "scene_updates": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "scene_index"
                  ],
                  "properties": {
                    "shots": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "camera",
                          "action",
                          "duration_seconds"
                        ],
                        "properties": {
                          "line": {
                            "type": "string",
                            "maxLength": 400,
                            "minLength": 1,
                            "description": "The line spoken during this shot, as captions spell it. Needs speaker_character_id. Only scenes created with several spoken lines accept it."
                          },
                          "action": {
                            "type": "string",
                            "maxLength": 1000,
                            "minLength": 1
                          },
                          "camera": {
                            "type": "string",
                            "maxLength": 500,
                            "minLength": 1
                          },
                          "spoken": {
                            "type": "string",
                            "maxLength": 400,
                            "minLength": 1,
                            "description": "Phonetic spelling the video model says in place of line, for numbers and acronyms."
                          },
                          "delivery": {
                            "type": "string",
                            "maxLength": 120,
                            "minLength": 1,
                            "description": "Acting direction for the line, two to four words."
                          },
                          "duration_seconds": {
                            "type": "number",
                            "maximum": 60,
                            "minimum": 1
                          },
                          "speaker_character_id": {
                            "type": "string",
                            "minLength": 1
                          }
                        },
                        "additionalProperties": false
                      },
                      "maxItems": 8,
                      "minItems": 1,
                      "description": "Replaces the scene's shots. Durations are scaled to fit the scene exactly. On a scene with spoken lines, the shots carry the lines in speaking order."
                    },
                    "title": {
                      "type": "string",
                      "maxLength": 200,
                      "minLength": 1
                    },
                    "end_frame": {
                      "anyOf": [
                        {
                          "type": "object",
                          "required": [
                            "source",
                            "edit_prompt"
                          ],
                          "properties": {
                            "source": {
                              "enum": [
                                "edit_of_start",
                                "next_scene_start"
                              ],
                              "type": "string",
                              "description": "edit_of_start edits the scene's approved keyframe as edit_prompt says; next_scene_start ends on the next scene's keyframe."
                            },
                            "edit_prompt": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "maxLength": 1000,
                                  "minLength": 1
                                },
                                {
                                  "type": "null"
                                }
                              ],
                              "default": null
                            }
                          },
                          "additionalProperties": false
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "description": "Where the clip ends. Null removes the end frame. Needs a video model that supports end frames."
                    },
                    "scene_index": {
                      "type": "integer",
                      "maximum": 39,
                      "minimum": 0
                    },
                    "start_frame": {
                      "enum": [
                        "keyframe",
                        "previous_last_frame"
                      ],
                      "type": "string",
                      "description": "previous_last_frame starts the clip on the last frame of the previous scene's clip."
                    },
                    "image_prompt": {
                      "type": "string",
                      "maxLength": 5000,
                      "minLength": 1
                    },
                    "character_ids": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "minLength": 1
                      },
                      "maxItems": 2
                    },
                    "motion_prompt": {
                      "type": "string",
                      "maxLength": 5000,
                      "minLength": 1
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 40
              },
              "idempotencyKey": {
                "type": "string",
                "maxLength": 200,
                "minLength": 8
              },
              "image_model_id": {
                "type": "string",
                "maxLength": 200,
                "minLength": 3
              },
              "character_updates": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "character_id"
                  ],
                  "properties": {
                    "name": {
                      "type": "string",
                      "maxLength": 200,
                      "minLength": 1
                    },
                    "character_id": {
                      "type": "string",
                      "minLength": 1
                    },
                    "anchor_prompt": {
                      "type": "string",
                      "maxLength": 3000,
                      "minLength": 1
                    },
                    "canonical_description": {
                      "type": "string",
                      "maxLength": 3000,
                      "minLength": 1
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 8
              },
              "style_anchor_prompt": {
                "type": "string",
                "maxLength": 3000,
                "minLength": 1,
                "description": "Self-contained prompt for the single reference frame that locks rendering medium, palette, lighting, and grain for every scene. No characters, no text, no interfaces."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "result"
            ],
            "properties": {
              "result": {
                "type": "object",
                "additionalProperties": true
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "video_storyboard_approve",
          "title": "Approve Storyboard Previews",
          "description": "After showing the storyboard and its credit estimate, confirmApproved=true starts production of reference images and scene keyframes. Spends existing credits. This stage produces reviewable previews, not animated videos.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "workspaceId",
              "idempotencyKey",
              "projectId",
              "revisionId",
              "confirmApproved"
            ],
            "properties": {
              "projectId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "UUID string."
              },
              "revisionId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "idempotencyKey": {
                "type": "string",
                "maxLength": 200,
                "minLength": 8
              },
              "confirmApproved": {
                "type": "boolean",
                "const": true
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "result"
            ],
            "properties": {
              "result": {
                "type": "object",
                "additionalProperties": true
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "video_assets_approve",
          "title": "Approve Previews and Produce Video",
          "description": "After the user approves the generated previews and animation cost, confirmApproved=true starts scene animation, narration and editable timeline assembly. Can replace the project's generated timeline and spend existing credits. Follow the revision and then export the finished project.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "workspaceId",
              "idempotencyKey",
              "projectId",
              "revisionId",
              "confirmApproved"
            ],
            "properties": {
              "projectId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "UUID string."
              },
              "revisionId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "idempotencyKey": {
                "type": "string",
                "maxLength": 200,
                "minLength": 8
              },
              "confirmApproved": {
                "type": "boolean",
                "const": true
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "result"
            ],
            "properties": {
              "result": {
                "type": "object",
                "additionalProperties": true
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "video_storyboard_asset_regenerate",
          "title": "Regenerate Selected Storyboard Preview",
          "description": "Replace the identified preview after user approval of the new credit cost. A scene_keyframe changes one keyframe; a character_anchor refreshes its dependent keyframes; a style_anchor refreshes every keyframe. Preserves unaffected previews. Does not regenerate an already finished video shot.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "projectId",
              "revisionId",
              "asset_type",
              "workspaceId",
              "idempotencyKey",
              "confirmRegeneration"
            ],
            "properties": {
              "projectId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "UUID string."
              },
              "asset_type": {
                "enum": [
                  "storyboard",
                  "style_anchor",
                  "character_anchor",
                  "scene_keyframe",
                  "scene_end_frame"
                ],
                "type": "string",
                "description": "storyboard regenerates the sheet on storyboard plans; style_anchor regenerates the shared style reference and everything built on it; character_anchor requires character_id and refreshes dependent keyframes or the sheet; scene_keyframe requires scene_index and also redoes that scene's edited end frame; scene_end_frame requires scene_index and redoes only the edited end frame."
              },
              "revisionId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "scene_index": {
                "type": "integer",
                "maximum": 39,
                "minimum": 0
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "character_id": {
                "type": "string",
                "minLength": 1
              },
              "idempotencyKey": {
                "type": "string",
                "maxLength": 200,
                "minLength": 8
              },
              "confirmRegeneration": {
                "type": "boolean",
                "const": true
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "result"
            ],
            "properties": {
              "result": {
                "type": "object",
                "additionalProperties": true
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "recording_sets_list",
          "title": "List Synchronized Recordings",
          "description": "Read bounded camera and screen recording sets in the selected workspace with status, duration and alignment warnings.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "workspaceId",
              "status",
              "limit",
              "offset"
            ],
            "properties": {
              "limit": {
                "type": "integer",
                "default": 20,
                "maximum": 50,
                "minimum": 1
              },
              "offset": {
                "type": "integer",
                "default": 0,
                "maximum": 9007199254740991,
                "minimum": 0
              },
              "status": {
                "anyOf": [
                  {
                    "enum": [
                      "collecting_assets",
                      "analyzing",
                      "finalizing",
                      "ready",
                      "failed"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "result"
            ],
            "properties": {
              "result": {
                "type": "object",
                "additionalProperties": true
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "recording_sets_get",
          "title": "Inspect Synchronized Recording",
          "description": "Read one camera and screen recording set, its primary speaker, content windows, alignment and warnings. Separate audio-only tracks are not supported.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "workspaceId",
              "recordingSetId"
            ],
            "properties": {
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "recordingSetId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "result"
            ],
            "properties": {
              "result": {
                "type": "object",
                "additionalProperties": true
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "recording_sets_create",
          "title": "Create Synchronized Recording",
          "description": "Create an empty camera and screen recording set in the explicit workspace. Requires existing recording-set access; does not import files or start processing.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "workspaceId",
              "idempotencyKey",
              "name"
            ],
            "properties": {
              "name": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "idempotencyKey": {
                "type": "string",
                "maxLength": 200,
                "minLength": 8
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "result"
            ],
            "properties": {
              "result": {
                "type": "object",
                "additionalProperties": true
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "recording_sets_track_attach",
          "title": "Attach Camera or Screen Recording",
          "description": "Attach one existing authorized video asset as a camera or screen track. Specify the main speaker when known; alignment happens during finalization.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "workspaceId",
              "idempotencyKey",
              "recordingSetId",
              "asset_id",
              "role",
              "participant_label",
              "participant_name",
              "is_primary"
            ],
            "properties": {
              "role": {
                "enum": [
                  "camera",
                  "screen"
                ],
                "type": "string"
              },
              "asset_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "is_primary": {
                "type": "boolean",
                "default": false
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "idempotencyKey": {
                "type": "string",
                "maxLength": 200,
                "minLength": 8
              },
              "recordingSetId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "participant_name": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 200
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "participant_label": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 120
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "result"
            ],
            "properties": {
              "result": {
                "type": "object",
                "additionalProperties": true
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "recording_sets_finalize",
          "title": "Synchronize Recording Tracks",
          "description": "Finalize the collected camera and screen tracks and queue analysis. Can spend existing transcription credits. Inspect returned alignment and warnings before clipping.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "workspaceId",
              "idempotencyKey",
              "recordingSetId"
            ],
            "properties": {
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "idempotencyKey": {
                "type": "string",
                "maxLength": 200,
                "minLength": 8
              },
              "recordingSetId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "result"
            ],
            "properties": {
              "result": {
                "type": "object",
                "additionalProperties": true
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "recording_sets_clips_create",
          "title": "Clip a Synchronized Recording",
          "description": "Produce a batch from a ready synchronized camera and screen recording, with optional clip count, maximum duration and caption look. Preserves readable screen context through the existing layout pipeline. Can spend existing credits; follows clips_get with the returned batch_id.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "workspaceId",
              "idempotencyKey",
              "recordingSetId",
              "clipCount",
              "maxDurationSeconds",
              "captionThemeId"
            ],
            "properties": {
              "clipCount": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 30,
                    "minimum": 1
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "captionThemeId": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 120
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "idempotencyKey": {
                "type": "string",
                "maxLength": 200,
                "minLength": 8
              },
              "recordingSetId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "maxDurationSeconds": {
                "anyOf": [
                  {
                    "type": "integer",
                    "const": 30
                  },
                  {
                    "type": "integer",
                    "const": 60
                  },
                  {
                    "type": "integer",
                    "const": 90
                  },
                  {
                    "type": "integer",
                    "const": 180
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "result"
            ],
            "properties": {
              "result": {
                "type": "object",
                "additionalProperties": true
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "clip_share_get",
          "title": "Read Clip Review Link",
          "description": "Read whether the source video's clip share page is public and which clips are visible. Does not publish content.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "workspaceId",
              "assetId"
            ],
            "properties": {
              "assetId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "UUID string."
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "result"
            ],
            "properties": {
              "result": {
                "type": "object",
                "additionalProperties": true
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "clip_share_publish",
          "title": "Publish a Clip Review Link",
          "description": "Make the selected source video's clip page public with reviewed title, description and explicit download permission. Requires confirmPublicSharing=true from the user. Returns the verified public URL; no social network post is made.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "workspaceId",
              "idempotencyKey",
              "assetId",
              "title",
              "description",
              "allowDownloads",
              "confirmPublicSharing"
            ],
            "properties": {
              "title": {
                "type": "string",
                "maxLength": 140,
                "minLength": 1
              },
              "assetId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "UUID string."
              },
              "description": {
                "type": "string",
                "default": "",
                "maxLength": 500
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "allowDownloads": {
                "type": "boolean"
              },
              "idempotencyKey": {
                "type": "string",
                "maxLength": 200,
                "minLength": 8
              },
              "confirmPublicSharing": {
                "type": "boolean",
                "const": true
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "result"
            ],
            "properties": {
              "result": {
                "type": "object",
                "additionalProperties": true
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "clip_share_unpublish",
          "title": "Unpublish a Clip Review Link",
          "description": "Disable public access to the selected clip page. Changes an existing publication; preserves private projects and exports.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "workspaceId",
              "idempotencyKey",
              "assetId"
            ],
            "properties": {
              "assetId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "UUID string."
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "idempotencyKey": {
                "type": "string",
                "maxLength": 200,
                "minLength": 8
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "result"
            ],
            "properties": {
              "result": {
                "type": "object",
                "additionalProperties": true
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "clip_share_visibility_set",
          "title": "Set Shared Clip Visibility",
          "description": "Show or hide one identified clip on an existing public review page after explicit user confirmation. Preserves the other clips and private project data.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "workspaceId",
              "idempotencyKey",
              "assetId",
              "clipId",
              "visibility",
              "confirmPublicSharing"
            ],
            "properties": {
              "clipId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "assetId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "UUID string."
              },
              "visibility": {
                "enum": [
                  "visible",
                  "hidden"
                ],
                "type": "string"
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "idempotencyKey": {
                "type": "string",
                "maxLength": 200,
                "minLength": 8
              },
              "confirmPublicSharing": {
                "type": "boolean",
                "const": true
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "result"
            ],
            "properties": {
              "result": {
                "type": "object",
                "additionalProperties": true
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "projects_list",
          "title": "List Projects",
          "description": "List the user's BlitzReels projects with status, duration, and basic metadata.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "number",
                "default": 10,
                "maximum": 50,
                "minimum": 1,
                "description": "Maximum number of projects to return (1-50)"
              },
              "offset": {
                "type": "number",
                "default": 0,
                "minimum": 0,
                "description": "Project offset."
              },
              "search": {
                "type": "string",
                "description": "Search projects by name"
              },
              "status": {
                "enum": [
                  "active",
                  "archived",
                  "all"
                ],
                "type": "string",
                "default": "active",
                "description": "Filter by project status"
              },
              "workspaceId": {
                "type": "string",
                "format": "uuid",
                "description": "Optional workspace ID. Defaults to the user's default workspace. UUID string."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "projects",
              "bounds"
            ],
            "properties": {
              "bounds": {
                "type": "object",
                "required": [
                  "limit",
                  "maxLimit",
                  "offset",
                  "total",
                  "returned",
                  "hasMore",
                  "truncated"
                ],
                "properties": {
                  "limit": {
                    "type": "number"
                  },
                  "total": {
                    "type": "number"
                  },
                  "offset": {
                    "type": "number"
                  },
                  "hasMore": {
                    "type": "boolean"
                  },
                  "maxLimit": {
                    "type": "number"
                  },
                  "returned": {
                    "type": "number"
                  },
                  "truncated": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              "projects": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "name",
                    "description",
                    "updatedAt",
                    "lastExportAt",
                    "durationSeconds",
                    "clipCount",
                    "thumbnailUrl",
                    "status",
                    "projectUrl"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "status": {
                      "enum": [
                        "ready",
                        "exporting",
                        "needs_captions",
                        "processing",
                        "failed"
                      ],
                      "type": "string"
                    },
                    "clipCount": {
                      "type": "number"
                    },
                    "updatedAt": {
                      "type": "string"
                    },
                    "projectUrl": {
                      "type": "string"
                    },
                    "description": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "lastExportAt": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "thumbnailUrl": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "durationSeconds": {
                      "type": "number"
                    }
                  },
                  "additionalProperties": false
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "projects_get",
          "title": "Get Project",
          "description": "Get details for one BlitzReels project, including timeline summary, clips, captions, and current recovery state with an app path and next read tool.",
          "inputSchema": {
            "type": "object",
            "required": [
              "projectId"
            ],
            "properties": {
              "projectId": {
                "type": "string",
                "format": "uuid",
                "description": "The project ID to get details for. UUID string."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "project"
            ],
            "properties": {
              "error": {
                "type": "string"
              },
              "project": {
                "type": [
                  "object",
                  "null"
                ]
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "projects_duplicate",
          "title": "Duplicate Project",
          "description": "Duplicate a project with shared source media and copied timeline, captions, settings and framing. Returns clip_id for copied clip projects. Reuse idempotencyKey only with identical inputs.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "projectId",
              "workspaceId",
              "idempotencyKey"
            ],
            "properties": {
              "name": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1
              },
              "projectId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "UUID string."
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "idempotencyKey": {
                "type": "string",
                "pattern": "^[A-Za-z0-9._:-]+$",
                "maxLength": 200,
                "minLength": 8
              },
              "projectFolderId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "series_id",
              "id",
              "name",
              "description",
              "aspect_ratio",
              "status",
              "created_at",
              "updated_at",
              "clip_id"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "status": {
                "type": "string"
              },
              "clip_id": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "series_id": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "created_at": {
                "type": "string"
              },
              "updated_at": {
                "type": "string"
              },
              "description": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "aspect_ratio": {
                "anyOf": [
                  {
                    "enum": [
                      "9:16",
                      "16:9",
                      "1:1",
                      "4:5"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "thumbnail_url": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "mutationReceipt": {
                "type": "object",
                "required": [
                  "id",
                  "key",
                  "operation",
                  "status",
                  "replayed"
                ],
                "properties": {
                  "id": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "key": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "status": {
                    "enum": [
                      "completed"
                    ],
                    "type": "string"
                  },
                  "replayed": {
                    "type": "boolean"
                  },
                  "operation": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "projects_inspect",
          "title": "Inspect Project",
          "description": "Read bounded project context for editing, including timeline items, media assets, transcripts, captions, and stable IDs.",
          "inputSchema": {
            "type": "object",
            "required": [
              "projectId"
            ],
            "properties": {
              "mode": {
                "enum": [
                  "summary",
                  "assets",
                  "timeline",
                  "transcript",
                  "full"
                ],
                "type": "string",
                "default": "timeline",
                "description": "Bounded project context view to return."
              },
              "search": {
                "type": "string",
                "description": "Optional media search when mode is assets or full."
              },
              "projectId": {
                "type": "string",
                "format": "uuid",
                "description": "Project UUID. UUID string."
              },
              "assetLimit": {
                "type": "integer",
                "maximum": 50,
                "minimum": 1,
                "description": "Maximum media assets to return (1-50)."
              },
              "assetOffset": {
                "type": "integer",
                "minimum": 0,
                "description": "Media asset offset."
              },
              "timelineLimit": {
                "type": "integer",
                "maximum": 1000,
                "minimum": 1,
                "description": "Maximum timeline items to return (1-1000)."
              },
              "timelineOffset": {
                "type": "integer",
                "minimum": 0,
                "description": "Timeline item offset."
              },
              "transcriptLimit": {
                "type": "integer",
                "maximum": 500,
                "minimum": 1,
                "description": "Maximum transcript segments to return (1-500)."
              },
              "captionWordLimit": {
                "type": "integer",
                "maximum": 2000,
                "minimum": 1,
                "description": "Maximum caption words to return (1-2000)."
              },
              "transcriptOffset": {
                "type": "integer",
                "minimum": 0,
                "description": "Transcript segment offset."
              },
              "captionWordOffset": {
                "type": "integer",
                "minimum": 0,
                "description": "Caption word offset."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "mode",
              "data",
              "bounds"
            ],
            "properties": {
              "data": {
                "type": "object"
              },
              "mode": {
                "enum": [
                  "summary",
                  "assets",
                  "timeline",
                  "transcript",
                  "full"
                ],
                "type": "string"
              },
              "bounds": {
                "type": "object",
                "required": [
                  "collections"
                ],
                "properties": {
                  "collections": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "name",
                        "offset",
                        "limit",
                        "total",
                        "returned",
                        "hasMore",
                        "truncated"
                      ],
                      "properties": {
                        "name": {
                          "type": "string"
                        },
                        "limit": {
                          "type": "number"
                        },
                        "total": {
                          "type": "number"
                        },
                        "offset": {
                          "type": "number"
                        },
                        "hasMore": {
                          "type": "boolean"
                        },
                        "returned": {
                          "type": "number"
                        },
                        "truncated": {
                          "type": "boolean"
                        }
                      }
                    }
                  }
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "exports_list",
          "title": "List Exports",
          "description": "List exports with render status and progress. Completed exports include a signed download URL. Pass exportId to return one export.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "number",
                "default": 20,
                "maximum": 50,
                "minimum": 1,
                "description": "Maximum exports to return when exportId is absent (1-50)."
              },
              "offset": {
                "type": "number",
                "default": 0,
                "minimum": 0,
                "description": "Export offset when exportId is absent."
              },
              "exportId": {
                "type": "string",
                "format": "uuid",
                "description": "Return only this export, including its signed download URL when the render is complete. UUID string."
              },
              "projectId": {
                "type": "string",
                "format": "uuid",
                "description": "Filter exports by project ID. UUID string."
              },
              "workspaceId": {
                "type": "string",
                "format": "uuid",
                "description": "Optional workspace ID when projectId is not provided. Defaults to the user's default workspace. UUID string."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "exports",
              "bounds"
            ],
            "properties": {
              "bounds": {
                "type": "object",
                "required": [
                  "limit",
                  "maxLimit",
                  "offset",
                  "total",
                  "returned",
                  "hasMore",
                  "truncated"
                ],
                "properties": {
                  "limit": {
                    "type": "number"
                  },
                  "total": {
                    "type": "number"
                  },
                  "offset": {
                    "type": "number"
                  },
                  "hasMore": {
                    "type": "boolean"
                  },
                  "maxLimit": {
                    "type": "number"
                  },
                  "returned": {
                    "type": "number"
                  },
                  "truncated": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              "exports": {
                "type": "array",
                "items": {
                  "type": "object"
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "exports_caption_track_get",
          "title": "Read Export Caption Track",
          "description": "Read a WebVTT caption track from the completed export's immutable canonical speech snapshot, preserving the actual export trims. Returns unavailable for older exports or unverified speech; never fabricates captions from titles or current edited timelines.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "workspaceId",
              "exportId"
            ],
            "properties": {
              "exportId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "UUID string."
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "editor_asset_replace",
          "title": "editor asset replace",
          "description": "Replace one shot's media asset while preserving the other timeline items. Revision checked; dryRun previews by default. Requires a current editor snapshot and an asset in the same workspace.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "itemId",
              "assetId",
              "workspaceId",
              "idempotencyKey",
              "projectId",
              "expectedRevision",
              "dryRun"
            ],
            "properties": {
              "dryRun": {
                "type": "boolean",
                "default": true
              },
              "itemId": {
                "type": "string"
              },
              "assetId": {
                "type": "string",
                "format": "uuid",
                "description": "UUID string."
              },
              "projectId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "UUID string."
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "idempotencyKey": {
                "type": "string",
                "maxLength": 200,
                "minLength": 8
              },
              "expectedRevision": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "editor_audio_set",
          "title": "editor audio set",
          "description": "Adjust one item's volume and audio fades. Revision checked; dryRun previews by default. Preserves the rest of the project.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "itemId",
              "volume",
              "fadeInSeconds",
              "fadeOutSeconds",
              "workspaceId",
              "idempotencyKey",
              "projectId",
              "expectedRevision",
              "dryRun"
            ],
            "properties": {
              "dryRun": {
                "type": "boolean",
                "default": true
              },
              "itemId": {
                "type": "string"
              },
              "volume": {
                "type": "number",
                "maximum": 2,
                "minimum": 0
              },
              "projectId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "UUID string."
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "fadeInSeconds": {
                "type": "number",
                "minimum": 0
              },
              "fadeOutSeconds": {
                "type": "number",
                "minimum": 0
              },
              "idempotencyKey": {
                "type": "string",
                "maxLength": 200,
                "minLength": 8
              },
              "expectedRevision": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "editor_text_set",
          "title": "editor text set",
          "description": "Create or revise one title or text overlay with explicit timing. Revision checked; dryRun previews by default. This edits project text, not spoken audio or captions.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "itemId",
              "text",
              "textKind",
              "spec",
              "startSeconds",
              "durationSeconds",
              "workspaceId",
              "idempotencyKey",
              "projectId",
              "expectedRevision",
              "dryRun"
            ],
            "properties": {
              "spec": {
                "anyOf": [
                  {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {}
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "text": {
                "type": "string",
                "minLength": 1
              },
              "dryRun": {
                "type": "boolean",
                "default": true
              },
              "itemId": {
                "anyOf": [
                  {
                    "type": "string",
                    "minLength": 1
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "textKind": {
                "enum": [
                  "overlay",
                  "title_card",
                  "lower_third"
                ],
                "type": "string"
              },
              "projectId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "UUID string."
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "startSeconds": {
                "type": "number",
                "minimum": 0
              },
              "idempotencyKey": {
                "type": "string",
                "maxLength": 200,
                "minLength": 8
              },
              "durationSeconds": {
                "type": "number",
                "minimum": 0,
                "exclusiveMinimum": 0
              },
              "expectedRevision": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "editor_composition_edit",
          "title": "editor composition edit",
          "description": "Edit composition elements by stable element ID from the editor snapshot: text content, style and animation. Content/style edits preserve placement timing. Optional edit.structure runs ordered insert/move/remove operations before changes. Group by inserting a group and moving children into it. Supply new unique IDs; beforeId null appends. Move coordinates preserveLocal keeps local style and frame offsets, not world position/time. Remove deletes the subtree. Preview reports affected and removed element IDs. Optional edit.duration sets source frames with explicit placements policy: preserve keeps visible windows and syncs unused tails; resizeAll preserves starts/trims and resizes all active placements. Source windows must fit; invalid shortening is rejected. Shared content changes affect all its placements. Omitted fields stay unchanged; null clears a style override; animation values replace the whole property's animation. Attached presets require explicit detachment. Revision checked; dryRun previews by default.",
          "inputSchema": {
            "truncated": true,
            "chars": 33750
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "editor_crop_set",
          "title": "editor crop set",
          "description": "Adjust the crop of one existing source view after a layout has been applied. Revision checked; dryRun previews by default. Preserves the other shots.",
          "inputSchema": {
            "type": "object",
            "$defs": {
              "__schema0": {
                "type": "number",
                "maximum": 1,
                "minimum": 0
              },
              "__schema1": {
                "type": "number",
                "maximum": 1,
                "minimum": 0
              },
              "__schema2": {
                "type": "number",
                "maximum": 1,
                "minimum": 0.0001
              },
              "__schema3": {
                "type": "number",
                "maximum": 1,
                "minimum": 0.0001
              }
            },
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "itemId",
              "crop",
              "workspaceId",
              "idempotencyKey",
              "projectId",
              "expectedRevision",
              "dryRun"
            ],
            "properties": {
              "crop": {
                "type": "object",
                "required": [
                  "x",
                  "y",
                  "width",
                  "height"
                ],
                "properties": {
                  "x": {
                    "$ref": "#/$defs/__schema0"
                  },
                  "y": {
                    "$ref": "#/$defs/__schema1"
                  },
                  "width": {
                    "$ref": "#/$defs/__schema2"
                  },
                  "height": {
                    "$ref": "#/$defs/__schema3"
                  }
                },
                "additionalProperties": false
              },
              "dryRun": {
                "type": "boolean",
                "default": true
              },
              "itemId": {
                "type": "string",
                "minLength": 1
              },
              "projectId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "UUID string."
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "idempotencyKey": {
                "type": "string",
                "maxLength": 200,
                "minLength": 8
              },
              "expectedRevision": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "editor_assets_insert",
          "title": "editor assets insert",
          "description": "Insert a workspace image, generated shot or audio asset at an explicit project time. Revision checked; dryRun previews by default.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "assetId",
              "startSeconds",
              "durationSeconds",
              "layerIndex",
              "workspaceId",
              "idempotencyKey",
              "projectId",
              "expectedRevision",
              "dryRun"
            ],
            "properties": {
              "dryRun": {
                "type": "boolean",
                "default": true
              },
              "assetId": {
                "type": "string",
                "format": "uuid",
                "minLength": 1,
                "description": "UUID string."
              },
              "projectId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "UUID string."
              },
              "layerIndex": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": 0
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "startSeconds": {
                "type": "number",
                "minimum": 0
              },
              "idempotencyKey": {
                "type": "string",
                "maxLength": 200,
                "minLength": 8
              },
              "durationSeconds": {
                "anyOf": [
                  {
                    "type": "number",
                    "exclusiveMinimum": 0
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "expectedRevision": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "editor_items_move",
          "title": "editor items move",
          "description": "Move selected timeline items to explicit times and layers. Revision checked; dryRun previews by default.",
          "inputSchema": {
            "type": "object",
            "$defs": {
              "__schema0": {
                "type": "object",
                "required": [
                  "id",
                  "startSeconds",
                  "layerIndex"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "minLength": 1
                  },
                  "layerIndex": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": 0
                  },
                  "startSeconds": {
                    "type": "number",
                    "minimum": 0
                  }
                },
                "additionalProperties": false
              }
            },
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "items",
              "workspaceId",
              "idempotencyKey",
              "projectId",
              "expectedRevision",
              "dryRun"
            ],
            "properties": {
              "items": {
                "type": "array",
                "items": {
                  "$ref": "#/$defs/__schema0"
                },
                "maxItems": 500,
                "minItems": 1
              },
              "dryRun": {
                "type": "boolean",
                "default": true
              },
              "projectId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "UUID string."
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "idempotencyKey": {
                "type": "string",
                "maxLength": 200,
                "minLength": 8
              },
              "expectedRevision": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "editor_items_remove",
          "title": "editor items remove",
          "description": "Remove selected timeline items and, if requested, their linked captions. Revision checked; dryRun previews by default. The saved action can be undone.",
          "inputSchema": {
            "type": "object",
            "$defs": {
              "__schema0": {
                "type": "string",
                "minLength": 1
              }
            },
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "itemIds",
              "removeAssociatedCaptions",
              "workspaceId",
              "idempotencyKey",
              "projectId",
              "expectedRevision",
              "dryRun"
            ],
            "properties": {
              "dryRun": {
                "type": "boolean",
                "default": true
              },
              "itemIds": {
                "type": "array",
                "items": {
                  "$ref": "#/$defs/__schema0"
                },
                "maxItems": 500,
                "minItems": 1
              },
              "projectId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "UUID string."
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "idempotencyKey": {
                "type": "string",
                "maxLength": 200,
                "minLength": 8
              },
              "expectedRevision": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0
              },
              "removeAssociatedCaptions": {
                "type": "boolean"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "editor_snapshot_get",
          "title": "Read Editor Snapshot",
          "description": "Read the current revision, stable timeline IDs, captions, style and bounded media context before a precise revision. Signed media links are refreshed by reading again.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "workspaceId",
              "projectId",
              "offset",
              "limit",
              "expectedRevision"
            ],
            "properties": {
              "limit": {
                "type": "integer",
                "default": 100,
                "maximum": 200,
                "minimum": 1
              },
              "offset": {
                "type": "integer",
                "default": 0,
                "maximum": 9007199254740991,
                "minimum": 0
              },
              "projectId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "UUID string."
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "expectedRevision": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": 0
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "editor_history_list",
          "title": "List Edit History",
          "description": "Read up to 50 saved edit actions, their labels and undo state. Does not restore or change the project.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "workspaceId",
              "projectId",
              "limit"
            ],
            "properties": {
              "limit": {
                "type": "integer",
                "default": 20,
                "maximum": 50,
                "minimum": 1
              },
              "projectId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "UUID string."
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "editor_edit_undo",
          "title": "Undo Saved Edit",
          "description": "Restore one saved editor action at the expected current revision. Requires the action ID from edit history and an idempotency key. Existing project data is changed.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "projectId",
              "actionId",
              "expectedRevision",
              "workspaceId",
              "idempotencyKey"
            ],
            "properties": {
              "actionId": {
                "type": "string",
                "minLength": 1
              },
              "projectId": {
                "type": "string",
                "format": "uuid",
                "description": "UUID string."
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "idempotencyKey": {
                "type": "string",
                "maxLength": 200,
                "minLength": 8
              },
              "expectedRevision": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "clips_candidates_list",
          "title": "Review Clip Candidates",
          "description": "Read existing suggested moments with source ranges, hooks, transcript excerpts and thumbnails before producing videos. Results are bounded; this does not generate suggestions or render clips.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "workspaceId",
              "assetId",
              "limit",
              "offset"
            ],
            "properties": {
              "limit": {
                "type": "integer",
                "default": 20,
                "maximum": 50,
                "minimum": 1
              },
              "offset": {
                "type": "integer",
                "default": 0,
                "maximum": 9007199254740991,
                "minimum": 0
              },
              "assetId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "UUID string."
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "captions_words_list",
          "title": "Read Caption Words",
          "description": "Read bounded editable caption words and stable word IDs for one project, optionally matching text.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "workspaceId",
              "projectId",
              "matchText",
              "limit",
              "offset"
            ],
            "properties": {
              "limit": {
                "type": "integer",
                "default": 100,
                "maximum": 200,
                "minimum": 1
              },
              "offset": {
                "type": "integer",
                "default": 0,
                "maximum": 9007199254740991,
                "minimum": 0
              },
              "matchText": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 200
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "projectId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "UUID string."
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "captions_words_correct",
          "title": "Correct Caption Words",
          "description": "Replace selected caption words by their stable IDs. Preserves timing and the other captions; this does not change the spoken audio.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "workspaceId",
              "idempotencyKey",
              "projectId",
              "updates"
            ],
            "properties": {
              "updates": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "wordId",
                    "text"
                  ],
                  "properties": {
                    "text": {
                      "type": "string",
                      "maxLength": 300,
                      "minLength": 1
                    },
                    "wordId": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 200,
                "minItems": 1
              },
              "projectId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "UUID string."
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "idempotencyKey": {
                "type": "string",
                "maxLength": 200,
                "minLength": 8
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "video_feedback_save",
          "title": "Save Video Quality Feedback",
          "description": "Save the user's 1-5 rating and optional quality category/comment against one completed playable video export. Replaces that user's previous feedback for this export; does not change accepted clips or defaults. Requires the feedback storage migration to be installed.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "workspaceId",
              "idempotencyKey",
              "exportId",
              "rating",
              "category",
              "comment"
            ],
            "properties": {
              "rating": {
                "type": "integer",
                "maximum": 5,
                "minimum": 1
              },
              "comment": {
                "type": "string",
                "default": "",
                "maxLength": 2000
              },
              "category": {
                "anyOf": [
                  {
                    "enum": [
                      "moments",
                      "captions",
                      "pacing",
                      "framing",
                      "editing",
                      "export",
                      "other"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "exportId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "UUID string."
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "idempotencyKey": {
                "type": "string",
                "maxLength": 200,
                "minLength": 8
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "captions_source_prepare",
          "title": "Prepare Source Captions",
          "description": "Restore editable project captions from the selected source's completed canonical transcript. Keeps the full recording and avoids duplicate captions on identical retries. Requires source transcription first; no-speech is an explicit successful state.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "workspaceId",
              "idempotencyKey",
              "projectId",
              "assetId"
            ],
            "properties": {
              "assetId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "UUID string."
              },
              "projectId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "UUID string."
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "idempotencyKey": {
                "type": "string",
                "maxLength": 200,
                "minLength": 8
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "clips_recover",
          "title": "Recover Missing Clips",
          "description": "Recover a terminal batch's missing clip count through the persisted recovery workflow. Preserves accepted clips and returns the recovery batch ID. Can spend existing account credits; retry with the identical idempotency key.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "workspaceId",
              "idempotencyKey",
              "batchId",
              "targetClipCount"
            ],
            "properties": {
              "batchId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "UUID string."
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "idempotencyKey": {
                "type": "string",
                "maxLength": 200,
                "minLength": 8
              },
              "targetClipCount": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 30,
                    "minimum": 1
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "workspaces_list",
          "title": "List Workspaces",
          "description": "List bounded workspaces the connected user belongs to, with their role and default workspace. Selecting a workspace for the task does not change account defaults.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "limit",
              "offset"
            ],
            "properties": {
              "limit": {
                "type": "integer",
                "default": 20,
                "maximum": 50,
                "minimum": 1
              },
              "offset": {
                "type": "integer",
                "default": 0,
                "maximum": 9007199254740991,
                "minimum": 0
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "workspace_context_get",
          "title": "Read Business Context",
          "description": "Read the selected workspace's business audience, offer, reviewed brand defaults, protected vocabulary, editorial purpose, language, avoided terms, pronunciation notes and existing account entitlements. Returns current export quality, watermark constraints, public plan names, monthly USD prices, included AI credits and the pricing upgrade URL.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "workspaceId"
            ],
            "properties": {
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "workspace_context_save",
          "title": "Save Reviewed Business Context",
          "description": "Save the user-reviewed business name, audience, offer, conversion goal, tone, protected vocabulary and editorial preferences for the selected workspace. Requires workspace settings permission and confirmReviewed=true; changes future assistant guidance, preserving existing projects. Pronunciation notes guide script drafting; they do not retime or replace source speech.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "workspaceId",
              "idempotencyKey",
              "brandName",
              "audience",
              "offer",
              "conversionGoal",
              "tone",
              "editorialPreferences",
              "protectedWords",
              "confirmReviewed"
            ],
            "properties": {
              "tone": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 240
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "offer": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 500
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "audience": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 500
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "brandName": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 160
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "conversionGoal": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 500
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "idempotencyKey": {
                "type": "string",
                "maxLength": 200,
                "minLength": 8
              },
              "protectedWords": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 100,
                  "minLength": 1
                },
                "maxItems": 40
              },
              "confirmReviewed": {
                "type": "boolean",
                "const": true
              },
              "editorialPreferences": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "purpose",
                      "preferredLanguage",
                      "avoidTerms",
                      "pronunciationNotes"
                    ],
                    "properties": {
                      "purpose": {
                        "anyOf": [
                          {
                            "enum": [
                              "authority",
                              "education",
                              "product_demo",
                              "lead_generation"
                            ],
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "avoidTerms": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 100,
                          "minLength": 1
                        },
                        "maxItems": 40
                      },
                      "preferredLanguage": {
                        "anyOf": [
                          {
                            "type": "string",
                            "maxLength": 40,
                            "minLength": 2
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "pronunciationNotes": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "term",
                            "pronunciation"
                          ],
                          "properties": {
                            "term": {
                              "type": "string",
                              "maxLength": 100,
                              "minLength": 1
                            },
                            "pronunciation": {
                              "type": "string",
                              "maxLength": 160,
                              "minLength": 1
                            }
                          },
                          "additionalProperties": false
                        },
                        "maxItems": 40
                      }
                    },
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "workspace_brand_scan",
          "title": "Inspect Supplied Business Website",
          "description": "Start extracting a brand profile from the exact website the user supplied and authorized to scan. Saves a draft profile for review; does not apply discovered fields to existing videos. Can spend existing account credits.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "workspaceId",
              "idempotencyKey",
              "websiteUrl",
              "confirmAuthorizedToScan"
            ],
            "properties": {
              "websiteUrl": {
                "type": "string",
                "format": "uri",
                "maxLength": 2048
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "idempotencyKey": {
                "type": "string",
                "maxLength": 200,
                "minLength": 8
              },
              "confirmAuthorizedToScan": {
                "type": "boolean",
                "const": true
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "workspace_brand_scan_get",
          "title": "Read Website Brand Draft",
          "description": "Read one authorized website extraction run and its draft business profile. Show the extracted fields to the user for review before saving them as defaults.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "workspaceId",
              "runId"
            ],
            "properties": {
              "runId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "UUID string."
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "media_list",
          "title": "List Media",
          "description": "List media files in user's library (videos, audio, images)",
          "inputSchema": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "integer",
                "default": 20,
                "maximum": 50,
                "minimum": 1,
                "description": "Maximum number of assets to return (1-50)"
              },
              "offset": {
                "type": "integer",
                "default": 0,
                "minimum": 0,
                "description": "Media asset offset."
              },
              "assetType": {
                "enum": [
                  "video",
                  "audio",
                  "image",
                  "all"
                ],
                "type": "string",
                "default": "all",
                "description": "Filter by asset type"
              },
              "workspaceId": {
                "type": "string",
                "format": "uuid",
                "description": "Optional workspace ID. Defaults to the user's default workspace. UUID string."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "assets",
              "bounds"
            ],
            "properties": {
              "assets": {
                "type": "array",
                "items": {
                  "type": "object"
                }
              },
              "bounds": {
                "type": "object",
                "required": [
                  "limit",
                  "maxLimit",
                  "offset",
                  "total",
                  "returned",
                  "hasMore",
                  "truncated"
                ],
                "properties": {
                  "limit": {
                    "type": "number"
                  },
                  "total": {
                    "type": "number"
                  },
                  "offset": {
                    "type": "number"
                  },
                  "hasMore": {
                    "type": "boolean"
                  },
                  "maxLimit": {
                    "type": "number"
                  },
                  "returned": {
                    "type": "number"
                  },
                  "truncated": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "media_transcript_get",
          "title": "Get Media Transcript",
          "description": "Get transcript summary metadata or a bounded window of transcription segments for a video asset.",
          "inputSchema": {
            "type": "object",
            "required": [
              "assetId"
            ],
            "properties": {
              "mode": {
                "enum": [
                  "summary",
                  "text",
                  "full"
                ],
                "type": "string",
                "default": "summary",
                "description": "Summary returns metadata only. Text returns joined text for a bounded segment window. Full returns the bounded segment objects without duplicating their text."
              },
              "limit": {
                "type": "integer",
                "default": 50,
                "maximum": 200,
                "minimum": 1,
                "description": "Maximum transcript segments to return (1-200)."
              },
              "offset": {
                "type": "integer",
                "default": 0,
                "minimum": 0,
                "description": "Transcript segment offset."
              },
              "assetId": {
                "type": "string",
                "format": "uuid",
                "description": "The media asset ID to get transcript for. UUID string."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "transcript"
            ],
            "properties": {
              "error": {
                "type": "string"
              },
              "transcript": {
                "type": [
                  "object",
                  "null"
                ],
                "required": [
                  "text",
                  "segments",
                  "segmentBounds"
                ],
                "properties": {
                  "text": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "segments": {
                    "type": "array",
                    "items": {
                      "type": "object"
                    }
                  },
                  "segmentBounds": {
                    "type": "object",
                    "required": [
                      "limit",
                      "maxLimit",
                      "offset",
                      "total",
                      "returned",
                      "hasMore",
                      "truncated"
                    ],
                    "properties": {
                      "limit": {
                        "type": "number"
                      },
                      "total": {
                        "type": "number"
                      },
                      "offset": {
                        "type": "number"
                      },
                      "hasMore": {
                        "type": "boolean"
                      },
                      "maxLimit": {
                        "type": "number"
                      },
                      "returned": {
                        "type": "number"
                      },
                      "truncated": {
                        "type": "boolean"
                      }
                    },
                    "additionalProperties": false
                  }
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "projects_create",
          "title": "Create Project",
          "description": "Create a new private BlitzReels video project.",
          "inputSchema": {
            "type": "object",
            "required": [
              "name"
            ],
            "properties": {
              "name": {
                "type": "string",
                "description": "Project name (1-100 characters)"
              },
              "seriesId": {
                "type": "string",
                "description": "Optional Series UUID for this new project."
              },
              "frameRate": {
                "enum": [
                  "24",
                  "25",
                  "30",
                  "50",
                  "60"
                ],
                "type": "string",
                "default": "30",
                "description": "Video frame rate"
              },
              "aspectRatio": {
                "enum": [
                  "16:9",
                  "9:16",
                  "1:1"
                ],
                "type": "string",
                "default": "9:16",
                "description": "Video aspect ratio"
              },
              "description": {
                "type": "string",
                "description": "Project description (optional, max 500 characters)"
              },
              "workspaceId": {
                "type": "string",
                "format": "uuid",
                "description": "Optional workspace ID. Defaults to the user's default workspace. UUID string."
              },
              "idempotencyKey": {
                "type": "string",
                "description": "Retry key. Reuse only with identical inputs."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "project"
            ],
            "properties": {
              "project": {
                "type": "object",
                "required": [
                  "mutationReceipt"
                ],
                "properties": {
                  "mutationReceipt": {
                    "type": "object",
                    "required": [
                      "id",
                      "key",
                      "operation",
                      "status",
                      "replayed"
                    ],
                    "properties": {
                      "id": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "key": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "status": {
                        "enum": [
                          "completed"
                        ],
                        "type": "string"
                      },
                      "replayed": {
                        "type": "boolean"
                      },
                      "operation": {
                        "type": "string"
                      }
                    },
                    "additionalProperties": false
                  }
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "media_upload_file",
          "title": "Upload File",
          "description": "Import a video, audio, or image file from ChatGPT into the BlitzReels media library. Use this for a file the user attached or picked, and for an image ChatGPT generated in this conversation that the user wants to keep, animate, or edit in BlitzReels.",
          "inputSchema": {
            "type": "object",
            "required": [
              "file"
            ],
            "properties": {
              "file": {
                "type": "object",
                "required": [
                  "download_url",
                  "file_id"
                ],
                "properties": {
                  "file_id": {
                    "type": "string"
                  },
                  "file_name": {
                    "type": "string"
                  },
                  "mime_type": {
                    "type": "string"
                  },
                  "download_url": {
                    "type": "string",
                    "format": "uri"
                  }
                },
                "description": "A file from ChatGPT: attached by the user, picked from their file library, or produced earlier in this conversation. ChatGPT provides this value."
              },
              "name": {
                "type": "string",
                "description": "Optional name to use in BlitzReels."
              },
              "projectId": {
                "type": "string",
                "format": "uuid",
                "description": "Optional BlitzReels project ID to associate with the uploaded file. UUID string."
              },
              "workspaceId": {
                "type": "string",
                "format": "uuid",
                "description": "Optional workspace ID when projectId is not provided. Defaults to the user's default workspace. UUID string."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "media"
            ],
            "properties": {
              "media": {
                "type": "object"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "media_import_url",
          "title": "Import Media From URL",
          "description": "Import video, audio, images, fonts, SVG or JSON from a direct URL into the private workspace library. Returns a durable asset ID and verified contentHashSha256. Fonts, SVG and JSON are limited to 25 MiB.",
          "inputSchema": {
            "type": "object",
            "required": [
              "url"
            ],
            "properties": {
              "url": {
                "type": "string",
                "format": "uri",
                "description": "URL of the media file to download and upload"
              },
              "name": {
                "type": "string",
                "description": "Optional name for the file"
              },
              "projectId": {
                "type": "string",
                "format": "uuid",
                "description": "Optional project ID to associate the upload with. UUID string."
              },
              "workspaceId": {
                "type": "string",
                "format": "uuid",
                "description": "Optional workspace ID when projectId is not provided. Defaults to the user's default workspace. UUID string."
              },
              "autoTranscribe": {
                "type": "boolean",
                "default": true,
                "description": "Request transcription for video uploads."
              },
              "autoSuggestShorts": {
                "type": "boolean",
                "default": true
              },
              "contentHashSha256": {
                "type": "string",
                "pattern": "^[a-fA-F0-9]{64}$",
                "description": "Optional expected SHA-256; mismatching bytes are rejected before deduplication. 64-character hex string."
              },
              "autoProcessEnabled": {
                "type": "boolean",
                "default": true,
                "description": "Enable media analysis after upload."
              },
              "autoDescribeAfterTranscribe": {
                "type": "boolean",
                "default": false
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "media"
            ],
            "properties": {
              "media": {
                "type": "object"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "media_upload_start",
          "title": "Start Media Upload",
          "description": "Get a presigned URL for direct file upload (for large files)",
          "inputSchema": {
            "type": "object",
            "required": [
              "fileName",
              "contentType"
            ],
            "properties": {
              "fileName": {
                "type": "string",
                "description": "Name of the file to upload"
              },
              "projectId": {
                "type": "string",
                "format": "uuid",
                "description": "Optional project ID to associate the upload with. UUID string."
              },
              "contentType": {
                "type": "string",
                "description": "MIME type (e.g., video/mp4, audio/mp3, image/jpeg, font/woff2, image/svg+xml, application/json)"
              },
              "workspaceId": {
                "type": "string",
                "format": "uuid",
                "description": "Optional workspace ID when projectId is not provided. Defaults to the user's default workspace. UUID string."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "uploadInfo"
            ],
            "properties": {
              "uploadInfo": {
                "type": "object"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "media_upload_finish",
          "title": "Finish Media Upload",
          "description": "Verify uploaded bytes and save a reusable workspace asset after presigned PUT. Returns contentHashSha256, fileSizeBytes and mimeType.",
          "inputSchema": {
            "type": "object",
            "required": [
              "storageKey",
              "fileName",
              "contentType",
              "fileSizeBytes"
            ],
            "properties": {
              "fileName": {
                "type": "string",
                "description": "Name of the uploaded file"
              },
              "projectId": {
                "type": "string",
                "format": "uuid",
                "description": "Optional project ID to associate the upload with. UUID string."
              },
              "storageKey": {
                "type": "string",
                "description": "Storage key for the uploaded file"
              },
              "contentType": {
                "type": "string",
                "description": "MIME type of the file"
              },
              "workspaceId": {
                "type": "string",
                "format": "uuid",
                "description": "Optional workspace ID when projectId is not provided. Defaults to the user's default workspace. UUID string."
              },
              "fileSizeBytes": {
                "type": "number",
                "minimum": 1,
                "description": "Size of the uploaded file in bytes"
              },
              "autoTranscribe": {
                "type": "boolean",
                "default": true,
                "description": "Request transcription for video uploads."
              },
              "autoSuggestShorts": {
                "type": "boolean",
                "default": true
              },
              "contentHashSha256": {
                "type": "string",
                "pattern": "^[a-fA-F0-9]{64}$",
                "description": "Optional expected SHA-256; mismatching bytes are rejected before deduplication. 64-character hex string."
              },
              "autoProcessEnabled": {
                "type": "boolean",
                "default": true,
                "description": "Enable media analysis after upload."
              },
              "autoDescribeAfterTranscribe": {
                "type": "boolean",
                "default": false
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "media"
            ],
            "properties": {
              "media": {
                "type": "object"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "media_import_inspect",
          "title": "Inspect Import URL",
          "description": "Inspect a user-provided public social-video or Google Drive URL and return available import metadata without creating media.",
          "inputSchema": {
            "type": "object",
            "required": [
              "url"
            ],
            "properties": {
              "url": {
                "type": "string",
                "format": "uri",
                "description": "Public video URL. Supports social video links and Google Drive file links."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "preview"
            ],
            "properties": {
              "preview": {
                "type": "object"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "media_import_scan_page",
          "title": "Scan Page For Video",
          "description": "Scan a user-controlled public page and return an importable video URL found on it without creating media.",
          "inputSchema": {
            "type": "object",
            "required": [
              "url"
            ],
            "properties": {
              "url": {
                "type": "string",
                "format": "uri",
                "description": "Video page URL or direct media URL to inspect for an importable video."
              },
              "confirmAuthorizedToScan": {
                "type": "boolean",
                "default": false,
                "description": "Set true only after the user confirms they control the page or are authorized to scan it."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "resolved"
            ],
            "properties": {
              "resolved": {
                "type": "object"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "clips_presets_list",
          "title": "List Clip Presets",
          "description": "List available clip batch presets and their clipping/caption defaults.",
          "inputSchema": {
            "type": "object",
            "properties": {},
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "presets"
            ],
            "properties": {
              "presets": {
                "type": "array",
                "items": {
                  "type": "object"
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "captions_themes_list",
          "title": "List Caption Themes",
          "description": "List built-in caption looks and saved caption themes available to a workspace.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "workspaceId": {
                "type": "string",
                "format": "uuid",
                "description": "Optional workspace ID. Defaults to the user's default workspace. UUID string."
              },
              "includeSavedThemes": {
                "type": "boolean",
                "default": true,
                "description": "Include saved workspace caption themes."
              },
              "includeBuiltInLooks": {
                "type": "boolean",
                "default": true,
                "description": "Include built-in caption looks."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "themes"
            ],
            "properties": {
              "themes": {
                "type": "array",
                "items": {
                  "type": "object"
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "media_narration_get",
          "title": "Read narration timing",
          "description": "Read retained voice inputs, measured duration, audio SHA-256 and word timing. Defaults to 200 words, maximum 500; offset selects the next page. take is null for audio without a retained narration take.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "assetId",
              "limit",
              "offset"
            ],
            "properties": {
              "limit": {
                "type": "integer",
                "default": 200,
                "maximum": 500,
                "minimum": 1
              },
              "offset": {
                "type": "integer",
                "default": 0,
                "maximum": 9007199254740991,
                "minimum": 0
              },
              "assetId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "UUID string."
              },
              "workspaceId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "UUID string."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "assetId",
              "take",
              "wordTimings",
              "bounds"
            ],
            "properties": {
              "take": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "requestFingerprint",
                      "preparedRequest",
                      "timingSource",
                      "durationSeconds",
                      "durationSource",
                      "audio"
                    ],
                    "properties": {
                      "audio": {
                        "type": "object",
                        "required": [
                          "sha256",
                          "bytes",
                          "contentType",
                          "analysis"
                        ],
                        "properties": {
                          "bytes": {
                            "type": "integer",
                            "maximum": 9007199254740991,
                            "exclusiveMinimum": 0
                          },
                          "sha256": {
                            "type": "string",
                            "pattern": "^[a-f0-9]{64}$"
                          },
                          "analysis": {
                            "anyOf": [
                              {
                                "type": "object",
                                "required": [
                                  "version",
                                  "method",
                                  "codec",
                                  "sampleRate",
                                  "channels",
                                  "decodedSamples",
                                  "peakDbfs",
                                  "rmsDbfs",
                                  "silenceThresholdDbfs"
                                ],
                                "properties": {
                                  "codec": {
                                    "type": "string",
                                    "const": "mp3"
                                  },
                                  "method": {
                                    "type": "string",
                                    "const": "ffmpeg-astats"
                                  },
                                  "rmsDbfs": {
                                    "type": "number"
                                  },
                                  "version": {
                                    "type": "number",
                                    "const": 1
                                  },
                                  "channels": {
                                    "type": "integer",
                                    "maximum": 9007199254740991,
                                    "exclusiveMinimum": 0
                                  },
                                  "peakDbfs": {
                                    "type": "number"
                                  },
                                  "sampleRate": {
                                    "type": "integer",
                                    "maximum": 9007199254740991,
                                    "exclusiveMinimum": 0
                                  },
                                  "decodedSamples": {
                                    "type": "integer",
                                    "maximum": 9007199254740991,
                                    "exclusiveMinimum": 0
                                  },
                                  "silenceThresholdDbfs": {
                                    "type": "number",
                                    "const": -60
                                  }
                                },
                                "additionalProperties": false
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "contentType": {
                            "type": "string",
                            "const": "audio/mpeg"
                          }
                        },
                        "additionalProperties": false
                      },
                      "timingSource": {
                        "type": "string",
                        "const": "provider"
                      },
                      "durationSource": {
                        "enum": [
                          "decoded",
                          "legacy-container"
                        ],
                        "type": "string"
                      },
                      "durationSeconds": {
                        "type": "number",
                        "exclusiveMinimum": 0
                      },
                      "preparedRequest": {
                        "type": "object",
                        "required": [
                          "version",
                          "provider",
                          "voiceId",
                          "body",
                          "processing"
                        ],
                        "properties": {
                          "body": {
                            "type": "object",
                            "required": [
                              "text",
                              "modelId",
                              "outputFormat",
                              "voiceSettings",
                              "applyTextNormalization"
                            ],
                            "properties": {
                              "seed": {
                                "type": "integer",
                                "maximum": 4294967295,
                                "minimum": 0
                              },
                              "text": {
                                "type": "string",
                                "maxLength": 10000,
                                "minLength": 1
                              },
                              "modelId": {
                                "type": "string",
                                "maxLength": 100,
                                "minLength": 1
                              },
                              "nextText": {
                                "type": "string",
                                "maxLength": 100
                              },
                              "languageCode": {
                                "type": "string",
                                "maxLength": 12,
                                "minLength": 2
                              },
                              "outputFormat": {
                                "type": "string",
                                "const": "mp3_44100_128"
                              },
                              "previousText": {
                                "type": "string",
                                "maxLength": 100
                              },
                              "voiceSettings": {
                                "type": "object",
                                "required": [
                                  "stability",
                                  "similarityBoost"
                                ],
                                "properties": {
                                  "stability": {
                                    "type": "number",
                                    "maximum": 1,
                                    "minimum": 0
                                  },
                                  "similarityBoost": {
                                    "type": "number",
                                    "maximum": 1,
                                    "minimum": 0
                                  }
                                },
                                "additionalProperties": false
                              },
                              "previousRequestIds": {
                                "type": "array",
                                "items": {
                                  "type": "string",
                                  "maxLength": 200,
                                  "minLength": 1
                                },
                                "maxItems": 3
                              },
                              "applyTextNormalization": {
                                "type": "string",
                                "const": "auto"
                              }
                            },
                            "additionalProperties": false
                          },
                          "version": {
                            "type": "number",
                            "const": 1
                          },
                          "voiceId": {
                            "type": "string",
                            "maxLength": 200,
                            "minLength": 1
                          },
                          "provider": {
                            "type": "string",
                            "const": "elevenlabs"
                          },
                          "processing": {
                            "type": "object",
                            "required": [
                              "version",
                              "speed"
                            ],
                            "properties": {
                              "speed": {
                                "type": "number",
                                "maximum": 4,
                                "minimum": 0.25
                              },
                              "version": {
                                "type": "string",
                                "const": "ffmpeg-atempo-v1"
                              }
                            },
                            "additionalProperties": false
                          }
                        },
                        "additionalProperties": false
                      },
                      "requestFingerprint": {
                        "type": "string",
                        "pattern": "^[a-f0-9]{64}$"
                      }
                    },
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "bounds": {
                "type": "object",
                "required": [
                  "limit",
                  "offset",
                  "total",
                  "returned",
                  "hasMore",
                  "truncated"
                ],
                "properties": {
                  "limit": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "exclusiveMinimum": 0
                  },
                  "total": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": 0
                  },
                  "offset": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": 0
                  },
                  "hasMore": {
                    "type": "boolean"
                  },
                  "returned": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": 0
                  },
                  "truncated": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              "assetId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "wordTimings": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "word",
                    "startSeconds",
                    "endSeconds",
                    "index"
                  ],
                  "properties": {
                    "word": {
                      "type": "string",
                      "maxLength": 10000,
                      "minLength": 1
                    },
                    "index": {
                      "type": "integer",
                      "maximum": 9007199254740991,
                      "minimum": 0
                    },
                    "endSeconds": {
                      "type": "number",
                      "minimum": 0
                    },
                    "startSeconds": {
                      "type": "number",
                      "minimum": 0
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 500
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "media_assets_get",
          "title": "Get Media Asset",
          "description": "Get metadata and processing state for one media-library asset without returning transcript segments.",
          "inputSchema": {
            "type": "object",
            "required": [
              "assetId"
            ],
            "properties": {
              "assetId": {
                "type": "string",
                "format": "uuid",
                "description": "Media asset UUID. UUID string."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "asset"
            ],
            "properties": {
              "asset": {
                "type": "object",
                "required": [
                  "id",
                  "name",
                  "description",
                  "folderId",
                  "assetType",
                  "mimeType",
                  "fileSizeBytes",
                  "durationSeconds",
                  "dimensionsWidth",
                  "dimensionsHeight",
                  "optimizedDimensionsWidth",
                  "optimizedDimensionsHeight",
                  "fps",
                  "hasAudioStream",
                  "processing",
                  "transcription",
                  "reframeAnalysis",
                  "createdAt",
                  "updatedAt"
                ],
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "fps": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "name": {
                    "type": "string"
                  },
                  "folderId": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "mimeType": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "assetType": {
                    "enum": [
                      "video",
                      "audio",
                      "image",
                      "document"
                    ],
                    "type": "string"
                  },
                  "createdAt": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "updatedAt": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "processing": {
                    "type": "object"
                  },
                  "description": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "fileSizeBytes": {
                    "type": "number"
                  },
                  "transcription": {
                    "type": "object"
                  },
                  "hasAudioStream": {
                    "type": [
                      "boolean",
                      "null"
                    ]
                  },
                  "dimensionsWidth": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "durationSeconds": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "reframeAnalysis": {
                    "type": "object"
                  },
                  "dimensionsHeight": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "optimizedDimensionsWidth": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "optimizedDimensionsHeight": {
                    "type": [
                      "number",
                      "null"
                    ]
                  }
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "media_assets_preview",
          "title": "Preview Media Asset",
          "description": "Return one bounded JPEG as MCP image content for visual inspection. Images use the stored visual; videos use the existing thumbnail.",
          "inputSchema": {
            "type": "object",
            "required": [
              "assetId"
            ],
            "properties": {
              "assetId": {
                "type": "string",
                "format": "uuid",
                "description": "Media asset UUID. UUID string."
              },
              "maxDimension": {
                "type": "integer",
                "default": 1024,
                "maximum": 1536,
                "minimum": 256,
                "description": "Maximum preview width or height in pixels (256-1536)."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "asset",
              "preview"
            ],
            "properties": {
              "asset": {
                "type": "object",
                "required": [
                  "id",
                  "name",
                  "assetType"
                ],
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  },
                  "assetType": {
                    "type": "string"
                  }
                }
              },
              "preview": {
                "type": "object",
                "required": [
                  "mimeType",
                  "width",
                  "height",
                  "byteLength"
                ],
                "properties": {
                  "width": {
                    "type": "number"
                  },
                  "height": {
                    "type": "number"
                  },
                  "mimeType": {
                    "type": "string"
                  },
                  "byteLength": {
                    "type": "number"
                  }
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "media_folders_list",
          "title": "List Media Folders",
          "description": "List one bounded level of media-library folders and direct asset counts.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "integer",
                "default": 20,
                "maximum": 50,
                "minimum": 1,
                "description": "Maximum folders to return (1-50)."
              },
              "offset": {
                "type": "integer",
                "default": 0,
                "minimum": 0,
                "description": "Folder offset."
              },
              "workspaceId": {
                "type": "string",
                "format": "uuid",
                "description": "Workspace UUID, or null for the default workspace. UUID string."
              },
              "parentFolderId": {
                "type": "string",
                "format": "uuid",
                "description": "Parent folder UUID, or null for root folders."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "folders",
              "bounds"
            ],
            "properties": {
              "bounds": {
                "type": "object",
                "required": [
                  "limit",
                  "maxLimit",
                  "offset",
                  "total",
                  "returned",
                  "hasMore",
                  "truncated"
                ],
                "properties": {
                  "limit": {
                    "type": "number"
                  },
                  "total": {
                    "type": "number"
                  },
                  "offset": {
                    "type": "number"
                  },
                  "hasMore": {
                    "type": "boolean"
                  },
                  "maxLimit": {
                    "type": "number"
                  },
                  "returned": {
                    "type": "number"
                  },
                  "truncated": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              "folders": {
                "type": "array",
                "items": {
                  "type": "object"
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "media_folders_create",
          "title": "Create Media Folder",
          "description": "Create one media-library folder in a workspace and return a retry-safe mutation receipt.",
          "inputSchema": {
            "type": "object",
            "required": [
              "name"
            ],
            "properties": {
              "name": {
                "type": "string",
                "maxLength": 255,
                "minLength": 1,
                "description": "Folder name."
              },
              "iconType": {
                "enum": [
                  "folder",
                  "code",
                  "video",
                  "audio",
                  "image",
                  "document",
                  "star",
                  "spark"
                ],
                "type": "string",
                "default": "folder",
                "description": "Folder icon type."
              },
              "description": {
                "type": "string",
                "maxLength": 1000,
                "description": "Optional folder description."
              },
              "workspaceId": {
                "type": "string",
                "format": "uuid",
                "description": "Workspace UUID, or null for the default workspace. UUID string."
              },
              "idempotencyKey": {
                "type": "string",
                "description": "Retry key. Reuse only with identical inputs."
              },
              "parentFolderId": {
                "type": "string",
                "format": "uuid",
                "description": "Parent folder UUID, or null for the root."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "folder",
              "mutationReceipt"
            ],
            "properties": {
              "folder": {
                "type": "object"
              },
              "mutationReceipt": {
                "type": "object",
                "required": [
                  "id",
                  "key",
                  "operation",
                  "status",
                  "replayed"
                ],
                "properties": {
                  "id": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "key": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "status": {
                    "enum": [
                      "completed"
                    ],
                    "type": "string"
                  },
                  "replayed": {
                    "type": "boolean"
                  },
                  "operation": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "media_assets_update",
          "title": "Update Media Asset",
          "description": "Rename one media asset, edit its description, move it to a folder, or change B-roll eligibility. Provide at least one of name, description, folderId, or allowUsingAsBroll.",
          "inputSchema": {
            "type": "object",
            "required": [
              "assetId"
            ],
            "properties": {
              "name": {
                "type": "string",
                "maxLength": 255,
                "minLength": 1,
                "description": "New media asset name."
              },
              "assetId": {
                "type": "string",
                "format": "uuid",
                "description": "Media asset UUID. UUID string."
              },
              "folderId": {
                "type": "string",
                "format": "uuid",
                "description": "Target folder UUID, or null to move the asset to root."
              },
              "description": {
                "type": "string",
                "maxLength": 5000,
                "description": "New description, or null to clear it."
              },
              "idempotencyKey": {
                "type": "string",
                "description": "Retry key. Reuse only with identical inputs."
              },
              "allowUsingAsBroll": {
                "type": "boolean",
                "description": "Whether the asset may be selected as B-roll."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "asset",
              "updatedFields",
              "txid",
              "mutationReceipt"
            ],
            "properties": {
              "txid": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "asset": {
                "type": "object"
              },
              "updatedFields": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "mutationReceipt": {
                "type": "object",
                "required": [
                  "id",
                  "key",
                  "operation",
                  "status",
                  "replayed"
                ],
                "properties": {
                  "id": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "key": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "status": {
                    "enum": [
                      "completed"
                    ],
                    "type": "string"
                  },
                  "replayed": {
                    "type": "boolean"
                  },
                  "operation": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "media_upscale_estimate",
          "title": "Estimate Video Upscale",
          "description": "Estimate ByteDance upscale eligibility and credits for one stored video. Does not spend credits or queue a job. Call this before media_upscale.",
          "inputSchema": {
            "type": "object",
            "required": [
              "assetId",
              "targetResolution"
            ],
            "properties": {
              "assetId": {
                "type": "string",
                "format": "uuid",
                "description": "Source video asset UUID. UUID string."
              },
              "projectId": {
                "type": "string",
                "format": "uuid",
                "description": "Optional project UUID for the estimate context. UUID string."
              },
              "workspaceId": {
                "type": "string",
                "format": "uuid",
                "description": "Optional workspace ID. Defaults to the user's default workspace. UUID string."
              },
              "targetResolution": {
                "enum": [
                  "1080p",
                  "4k"
                ],
                "type": "string",
                "description": "Output long-edge target."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "eligible",
              "ineligibleReason",
              "targetResolution",
              "targetFps",
              "creditsRequired",
              "durationSeconds",
              "sourceLongEdge",
              "targetLongEdge"
            ],
            "properties": {
              "eligible": {
                "type": "boolean"
              },
              "targetFps": {
                "enum": [
                  "30fps",
                  "60fps"
                ],
                "type": "string"
              },
              "sourceLongEdge": {
                "type": "number"
              },
              "targetLongEdge": {
                "type": "number"
              },
              "creditsRequired": {
                "type": "number"
              },
              "durationSeconds": {
                "type": "number"
              },
              "ineligibleReason": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "targetResolution": {
                "enum": [
                  "1080p",
                  "4k"
                ],
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "media_upscale",
          "title": "Upscale Video",
          "description": "Queue a ByteDance upscale of one stored video asset to 1080p or 4k. Call media_upscale_estimate first. Spends AI credits and returns a new pending media asset to poll with media_assets_get.",
          "inputSchema": {
            "type": "object",
            "required": [
              "assetId",
              "targetResolution"
            ],
            "properties": {
              "assetId": {
                "type": "string",
                "format": "uuid",
                "description": "Source video asset UUID. UUID string."
              },
              "projectId": {
                "type": "string",
                "format": "uuid",
                "description": "Optional project UUID to attach the credit spend. UUID string."
              },
              "workspaceId": {
                "type": "string",
                "format": "uuid",
                "description": "Optional workspace ID. Defaults to the user's default workspace. UUID string."
              },
              "idempotencyKey": {
                "type": "string",
                "description": "Retry key. Reuse only with identical inputs."
              },
              "targetResolution": {
                "enum": [
                  "1080p",
                  "4k"
                ],
                "type": "string",
                "description": "Output long-edge target."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "assetId",
              "sourceAssetId",
              "targetResolution",
              "creditsRequired",
              "runId",
              "status",
              "mutationReceipt"
            ],
            "properties": {
              "runId": {
                "type": "string"
              },
              "status": {
                "enum": [
                  "queued"
                ],
                "type": "string"
              },
              "assetId": {
                "type": "string"
              },
              "sourceAssetId": {
                "type": "string"
              },
              "creditsRequired": {
                "type": "number"
              },
              "mutationReceipt": {
                "type": "object",
                "required": [
                  "id",
                  "key",
                  "operation",
                  "status",
                  "replayed"
                ],
                "properties": {
                  "id": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "key": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "status": {
                    "enum": [
                      "completed"
                    ],
                    "type": "string"
                  },
                  "replayed": {
                    "type": "boolean"
                  },
                  "operation": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "targetResolution": {
                "enum": [
                  "1080p",
                  "4k"
                ],
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "clips_create",
          "title": "Create Clips",
          "description": "Create a private BlitzReels clip batch from an existing asset or a user-provided video URL. Supports public social videos, Google Drive, and direct media URLs.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "url": {
                "type": "string",
                "format": "uri",
                "description": "Video URL to import before clipping. Supports social video links, Google Drive file links, and direct video file URLs."
              },
              "assetId": {
                "type": "string",
                "format": "uuid",
                "description": "Existing BlitzReels video asset ID. Provide assetId or url, not both. UUID string."
              },
              "seriesId": {
                "type": "string",
                "description": "Optional Series UUID. Omitted inherits the source Series; null creates standalone clips."
              },
              "clipCount": {
                "type": "integer",
                "maximum": 50,
                "minimum": 1,
                "description": "Maximum clips requested. Available source moments and account limits can yield fewer."
              },
              "selection": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "includeIds",
                      "excludeIds"
                    ],
                    "properties": {
                      "excludeIds": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "maxItems": 50,
                        "uniqueItems": true
                      },
                      "includeIds": {
                        "anyOf": [
                          {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "maxItems": 50,
                            "minItems": 1,
                            "uniqueItems": true
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Existing asset only: reviewed candidate IDs to include in order or exclude. Resolve IDs with clips_candidates_list first. Null delegates selection."
              },
              "workspaceId": {
                "type": "string",
                "format": "uuid",
                "description": "Optional workspace ID. Defaults to the user's default workspace. UUID string."
              },
              "clipPresetId": {
                "enum": [
                  "default",
                  "high-retention",
                  "demo-focus"
                ],
                "type": "string",
                "default": "default",
                "description": "Clip style preset. Use high-retention for High Retention clips or demo-focus for product and screen demos."
              },
              "captionThemeId": {
                "type": "string",
                "description": "Saved theme UUID or built-in caption look. Omitted inherits Series defaults; null uses workspace captions."
              },
              "durationBounds": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "minSeconds",
                      "maxSeconds"
                    ],
                    "properties": {
                      "maxSeconds": {
                        "type": [
                          "number",
                          "null"
                        ],
                        "maximum": 180,
                        "minimum": 1
                      },
                      "minSeconds": {
                        "type": [
                          "number",
                          "null"
                        ],
                        "maximum": 180,
                        "minimum": 1
                      }
                    },
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Requested clip duration bounds. Selection preserves complete moments; minimum cannot exceed maximum."
              },
              "idempotencyKey": {
                "type": "string",
                "description": "Retry key. Reuse only with identical inputs."
              },
              "autoTrimSilence": {
                "type": "boolean",
                "default": true,
                "description": "Trim silence around selected moments."
              },
              "createSharePage": {
                "type": "boolean",
                "default": false,
                "description": "Create a public showcase page where completed clips appear."
              },
              "selectedAudioLanguage": {
                "type": "string",
                "maxLength": 40,
                "minLength": 2,
                "description": "Audio language track for a social-video URL, using the language reported by media_import_inspect. Null uses source default. Existing assets and direct files preserve source audio."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "result",
              "batch"
            ],
            "properties": {
              "batch": {
                "type": "object",
                "required": [
                  "id",
                  "status",
                  "assetId",
                  "projectFolderId",
                  "estimatedClipCount",
                  "totalClipCount",
                  "renderedCount",
                  "failedCount",
                  "reviewCount",
                  "clipPreset",
                  "selectedQuality",
                  "lastErrorMessage",
                  "sourceUrl",
                  "studioUrl",
                  "projectFolderUrl",
                  "zipDownloadUrl",
                  "downloadUrlExpiresInSeconds",
                  "polling",
                  "clips"
                ],
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "clips": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "suggestionId",
                        "projectId",
                        "exportId",
                        "title",
                        "status",
                        "downloadUrl",
                        "thumbnailUrl",
                        "errorMessage"
                      ],
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "title": {
                          "type": "string"
                        },
                        "status": {
                          "type": "string"
                        },
                        "exportId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "projectId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "downloadUrl": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "errorMessage": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "suggestionId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "thumbnailUrl": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "additionalProperties": false
                    }
                  },
                  "status": {
                    "type": "string"
                  },
                  "assetId": {
                    "type": "string"
                  },
                  "polling": {
                    "type": "object",
                    "required": [
                      "state",
                      "stage",
                      "isTerminal",
                      "shouldPoll",
                      "suggestedTool",
                      "nextPollAfterSeconds",
                      "maxPollSeconds",
                      "maxPollAttempts"
                    ],
                    "properties": {
                      "stage": {
                        "type": "string"
                      },
                      "state": {
                        "type": "string"
                      },
                      "isTerminal": {
                        "type": "boolean"
                      },
                      "shouldPoll": {
                        "type": "boolean"
                      },
                      "suggestedTool": {
                        "enum": [
                          "clips_get",
                          "clips_status_get"
                        ],
                        "type": "string"
                      },
                      "maxPollSeconds": {
                        "type": "number"
                      },
                      "maxPollAttempts": {
                        "type": "number"
                      },
                      "nextPollAfterSeconds": {
                        "type": [
                          "number",
                          "null"
                        ]
                      }
                    },
                    "additionalProperties": false
                  },
                  "sourceUrl": {
                    "type": "string"
                  },
                  "studioUrl": {
                    "type": "string"
                  },
                  "clipPreset": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "id",
                          "name"
                        ],
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          }
                        },
                        "additionalProperties": false
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "failedCount": {
                    "type": "number"
                  },
                  "reviewCount": {
                    "type": "number"
                  },
                  "renderedCount": {
                    "type": "number"
                  },
                  "totalClipCount": {
                    "type": "number"
                  },
                  "zipDownloadUrl": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "projectFolderId": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "selectedQuality": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "lastErrorMessage": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "projectFolderUrl": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "estimatedClipCount": {
                    "type": "number"
                  },
                  "downloadUrlExpiresInSeconds": {
                    "type": "number"
                  }
                },
                "additionalProperties": false
              },
              "result": {
                "type": "object",
                "required": [
                  "batch",
                  "importedAssetId",
                  "sourceKind",
                  "mutationReceipt"
                ],
                "properties": {
                  "batch": {
                    "type": "object",
                    "required": [
                      "id",
                      "status",
                      "assetId",
                      "projectFolderId",
                      "estimatedClipCount",
                      "totalClipCount",
                      "renderedCount",
                      "failedCount",
                      "reviewCount",
                      "clipPreset",
                      "selectedQuality",
                      "lastErrorMessage",
                      "sourceUrl",
                      "studioUrl",
                      "projectFolderUrl",
                      "zipDownloadUrl",
                      "downloadUrlExpiresInSeconds",
                      "polling",
                      "clips"
                    ],
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "clips": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "id",
                            "suggestionId",
                            "projectId",
                            "exportId",
                            "title",
                            "status",
                            "downloadUrl",
                            "thumbnailUrl",
                            "errorMessage"
                          ],
                          "properties": {
                            "id": {
                              "type": "string"
                            },
                            "title": {
                              "type": "string"
                            },
                            "status": {
                              "type": "string"
                            },
                            "exportId": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "projectId": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "downloadUrl": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "errorMessage": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "suggestionId": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "thumbnailUrl": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "additionalProperties": false
                        }
                      },
                      "status": {
                        "type": "string"
                      },
                      "assetId": {
                        "type": "string"
                      },
                      "polling": {
                        "type": "object",
                        "required": [
                          "state",
                          "stage",
                          "isTerminal",
                          "shouldPoll",
                          "suggestedTool",
                          "nextPollAfterSeconds",
                          "maxPollSeconds",
                          "maxPollAttempts"
                        ],
                        "properties": {
                          "stage": {
                            "type": "string"
                          },
                          "state": {
                            "type": "string"
                          },
                          "isTerminal": {
                            "type": "boolean"
                          },
                          "shouldPoll": {
                            "type": "boolean"
                          },
                          "suggestedTool": {
                            "enum": [
                              "clips_get",
                              "clips_status_get"
                            ],
                            "type": "string"
                          },
                          "maxPollSeconds": {
                            "type": "number"
                          },
                          "maxPollAttempts": {
                            "type": "number"
                          },
                          "nextPollAfterSeconds": {
                            "type": [
                              "number",
                              "null"
                            ]
                          }
                        },
                        "additionalProperties": false
                      },
                      "sourceUrl": {
                        "type": "string"
                      },
                      "studioUrl": {
                        "type": "string"
                      },
                      "clipPreset": {
                        "anyOf": [
                          {
                            "type": "object",
                            "required": [
                              "id",
                              "name"
                            ],
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "additionalProperties": false
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "failedCount": {
                        "type": "number"
                      },
                      "reviewCount": {
                        "type": "number"
                      },
                      "renderedCount": {
                        "type": "number"
                      },
                      "totalClipCount": {
                        "type": "number"
                      },
                      "zipDownloadUrl": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "projectFolderId": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "selectedQuality": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "lastErrorMessage": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "projectFolderUrl": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "estimatedClipCount": {
                        "type": "number"
                      },
                      "downloadUrlExpiresInSeconds": {
                        "type": "number"
                      }
                    },
                    "additionalProperties": false
                  },
                  "sourceKind": {
                    "type": "string"
                  },
                  "importedAssetId": {
                    "type": "string"
                  },
                  "mutationReceipt": {
                    "type": "object",
                    "required": [
                      "id",
                      "key",
                      "operation",
                      "status",
                      "replayed"
                    ],
                    "properties": {
                      "id": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "key": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "status": {
                        "enum": [
                          "completed"
                        ],
                        "type": "string"
                      },
                      "replayed": {
                        "type": "boolean"
                      },
                      "operation": {
                        "type": "string"
                      }
                    },
                    "additionalProperties": false
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "clips_get",
          "title": "Get Clip Batch",
          "description": "Get status, generated clips, render counts, and download links for a BlitzReels clip batch.",
          "inputSchema": {
            "type": "object",
            "required": [
              "batchId"
            ],
            "properties": {
              "batchId": {
                "type": "string",
                "format": "uuid",
                "description": "Clip batch ID. UUID string."
              },
              "workspaceId": {
                "type": "string",
                "format": "uuid",
                "description": "Optional workspace ID. Defaults to the user's default workspace. UUID string."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "batch"
            ],
            "properties": {
              "batch": {
                "type": "object",
                "required": [
                  "id",
                  "status",
                  "assetId",
                  "projectFolderId",
                  "estimatedClipCount",
                  "totalClipCount",
                  "renderedCount",
                  "failedCount",
                  "reviewCount",
                  "clipPreset",
                  "selectedQuality",
                  "lastErrorMessage",
                  "sourceUrl",
                  "studioUrl",
                  "projectFolderUrl",
                  "zipDownloadUrl",
                  "downloadUrlExpiresInSeconds",
                  "polling",
                  "clips"
                ],
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "clips": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "suggestionId",
                        "projectId",
                        "exportId",
                        "title",
                        "status",
                        "downloadUrl",
                        "thumbnailUrl",
                        "errorMessage"
                      ],
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "title": {
                          "type": "string"
                        },
                        "status": {
                          "type": "string"
                        },
                        "exportId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "projectId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "downloadUrl": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "errorMessage": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "suggestionId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "thumbnailUrl": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "additionalProperties": false
                    }
                  },
                  "status": {
                    "type": "string"
                  },
                  "assetId": {
                    "type": "string"
                  },
                  "polling": {
                    "type": "object",
                    "required": [
                      "state",
                      "stage",
                      "isTerminal",
                      "shouldPoll",
                      "suggestedTool",
                      "nextPollAfterSeconds",
                      "maxPollSeconds",
                      "maxPollAttempts"
                    ],
                    "properties": {
                      "stage": {
                        "type": "string"
                      },
                      "state": {
                        "type": "string"
                      },
                      "isTerminal": {
                        "type": "boolean"
                      },
                      "shouldPoll": {
                        "type": "boolean"
                      },
                      "suggestedTool": {
                        "enum": [
                          "clips_get",
                          "clips_status_get"
                        ],
                        "type": "string"
                      },
                      "maxPollSeconds": {
                        "type": "number"
                      },
                      "maxPollAttempts": {
                        "type": "number"
                      },
                      "nextPollAfterSeconds": {
                        "type": [
                          "number",
                          "null"
                        ]
                      }
                    },
                    "additionalProperties": false
                  },
                  "sourceUrl": {
                    "type": "string"
                  },
                  "studioUrl": {
                    "type": "string"
                  },
                  "clipPreset": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "id",
                          "name"
                        ],
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          }
                        },
                        "additionalProperties": false
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "failedCount": {
                    "type": "number"
                  },
                  "reviewCount": {
                    "type": "number"
                  },
                  "renderedCount": {
                    "type": "number"
                  },
                  "totalClipCount": {
                    "type": "number"
                  },
                  "zipDownloadUrl": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "projectFolderId": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "selectedQuality": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "lastErrorMessage": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "projectFolderUrl": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "estimatedClipCount": {
                    "type": "number"
                  },
                  "downloadUrlExpiresInSeconds": {
                    "type": "number"
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "clip_batches_delete",
          "title": "Delete Clip Batch",
          "description": "Preview or delete a terminal clip batch. Dry-run is the default; real deletion requires explicit confirmation, retention choice, workspace delete permission, and an idempotency key.",
          "inputSchema": {
            "type": "object",
            "required": [
              "batchId",
              "idempotencyKey"
            ],
            "properties": {
              "dryRun": {
                "type": "boolean",
                "default": true
              },
              "batchId": {
                "type": "string",
                "format": "uuid",
                "description": "UUID string."
              },
              "retention": {
                "enum": [
                  "retain_projects_and_exports",
                  "delete_projects_and_exports"
                ],
                "type": "string",
                "default": "retain_projects_and_exports"
              },
              "workspaceId": {
                "type": "string",
                "format": "uuid",
                "description": "UUID string."
              },
              "confirmDelete": {
                "type": "boolean",
                "default": false
              },
              "idempotencyKey": {
                "type": "string",
                "maxLength": 255,
                "minLength": 8
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "clips_status_get",
          "title": "Refresh Clip Progress",
          "description": "Read one existing batch's progress, ready clips and renewed signed links without opening or remounting a review widget. Safe for bounded polling and widget refresh; does not recreate or repair clips.",
          "inputSchema": {
            "type": "object",
            "required": [
              "batchId"
            ],
            "properties": {
              "batchId": {
                "type": "string",
                "format": "uuid",
                "description": "UUID string."
              },
              "workspaceId": {
                "type": "string",
                "format": "uuid",
                "description": "UUID string."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "batch"
            ],
            "properties": {
              "batch": {
                "type": "object",
                "required": [
                  "id",
                  "status",
                  "assetId",
                  "projectFolderId",
                  "estimatedClipCount",
                  "totalClipCount",
                  "renderedCount",
                  "failedCount",
                  "reviewCount",
                  "clipPreset",
                  "selectedQuality",
                  "lastErrorMessage",
                  "sourceUrl",
                  "studioUrl",
                  "projectFolderUrl",
                  "zipDownloadUrl",
                  "downloadUrlExpiresInSeconds",
                  "polling",
                  "clips"
                ],
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "clips": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "suggestionId",
                        "projectId",
                        "exportId",
                        "title",
                        "status",
                        "downloadUrl",
                        "thumbnailUrl",
                        "errorMessage"
                      ],
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "title": {
                          "type": "string"
                        },
                        "status": {
                          "type": "string"
                        },
                        "exportId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "projectId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "downloadUrl": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "errorMessage": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "suggestionId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "thumbnailUrl": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "additionalProperties": false
                    }
                  },
                  "status": {
                    "type": "string"
                  },
                  "assetId": {
                    "type": "string"
                  },
                  "polling": {
                    "type": "object",
                    "required": [
                      "state",
                      "stage",
                      "isTerminal",
                      "shouldPoll",
                      "suggestedTool",
                      "nextPollAfterSeconds",
                      "maxPollSeconds",
                      "maxPollAttempts"
                    ],
                    "properties": {
                      "stage": {
                        "type": "string"
                      },
                      "state": {
                        "type": "string"
                      },
                      "isTerminal": {
                        "type": "boolean"
                      },
                      "shouldPoll": {
                        "type": "boolean"
                      },
                      "suggestedTool": {
                        "enum": [
                          "clips_get",
                          "clips_status_get"
                        ],
                        "type": "string"
                      },
                      "maxPollSeconds": {
                        "type": "number"
                      },
                      "maxPollAttempts": {
                        "type": "number"
                      },
                      "nextPollAfterSeconds": {
                        "type": [
                          "number",
                          "null"
                        ]
                      }
                    },
                    "additionalProperties": false
                  },
                  "sourceUrl": {
                    "type": "string"
                  },
                  "studioUrl": {
                    "type": "string"
                  },
                  "clipPreset": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "id",
                          "name"
                        ],
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          }
                        },
                        "additionalProperties": false
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "failedCount": {
                    "type": "number"
                  },
                  "reviewCount": {
                    "type": "number"
                  },
                  "renderedCount": {
                    "type": "number"
                  },
                  "totalClipCount": {
                    "type": "number"
                  },
                  "zipDownloadUrl": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "projectFolderId": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "selectedQuality": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "lastErrorMessage": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "projectFolderUrl": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "estimatedClipCount": {
                    "type": "number"
                  },
                  "downloadUrlExpiresInSeconds": {
                    "type": "number"
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "clips_list",
          "title": "List Clips",
          "description": "List bounded managed clips from the selected source or project with their current workflow state.",
          "inputSchema": {
            "type": "object",
            "required": [],
            "properties": {
              "limit": {
                "type": "number",
                "default": 20,
                "maximum": 50,
                "minimum": 1
              },
              "offset": {
                "type": "number",
                "default": 0,
                "minimum": 0
              },
              "status": {
                "type": "string"
              },
              "assetId": {
                "type": "string",
                "format": "uuid",
                "description": "UUID string."
              },
              "projectId": {
                "type": "string",
                "format": "uuid",
                "description": "UUID string."
              },
              "workspaceId": {
                "type": "string",
                "format": "uuid",
                "description": "UUID string."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "clips_inspect",
          "title": "Inspect One Clip",
          "description": "Read one managed clip's selected source range, project, workflow state and delivery information.",
          "inputSchema": {
            "type": "object",
            "required": [
              "clipId"
            ],
            "properties": {
              "clipId": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "workspaceId": {
                "type": "string",
                "format": "uuid",
                "description": "UUID string."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "clips_reselect",
          "title": "Revise Selected Moment",
          "description": "Replace the source moment for one managed clip using a verified suggestion or explicit time range. Can spend existing account credits. Preserves the other clips; read current state before retrying.",
          "inputSchema": {
            "type": "object",
            "required": [
              "clipId",
              "selectionMode",
              "idempotencyKey"
            ],
            "properties": {
              "clipId": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "lookId": {
                "type": "string"
              },
              "endSeconds": {
                "type": "number"
              },
              "layoutMode": {
                "enum": [
                  "auto",
                  "people_first",
                  "screen_first",
                  "preserve_full_source",
                  "prefer_split",
                  "prefer_focus",
                  "prefer_tutorial",
                  "prefer_demo"
                ],
                "type": "string"
              },
              "workspaceId": {
                "type": "string",
                "format": "uuid",
                "description": "UUID string."
              },
              "startSeconds": {
                "type": "number",
                "minimum": 0
              },
              "suggestionId": {
                "type": "string",
                "format": "uuid",
                "description": "UUID string."
              },
              "selectionMode": {
                "enum": [
                  "auto_best",
                  "suggestion",
                  "time_range"
                ],
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "idempotencyKey": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "captionsEnabled": {
                "type": "boolean"
              },
              "contentTypeHint": {
                "enum": [
                  "auto",
                  "podcast",
                  "tutorial",
                  "demo",
                  "generic"
                ],
                "type": "string"
              },
              "maxDurationSeconds": {
                "type": "number"
              },
              "minDurationSeconds": {
                "type": "number"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "clips_repair",
          "title": "Repair One Clip Layout",
          "description": "Request a layout repair for one managed clip, such as preserving a screen demo or moving captions away from faces. Changes that clip's project; preserves the other clips.",
          "inputSchema": {
            "type": "object",
            "required": [
              "clipId",
              "idempotencyKey"
            ],
            "properties": {
              "clipId": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "repairMode": {
                "enum": [
                  "auto",
                  "prefer_split",
                  "prefer_focus",
                  "prefer_tutorial",
                  "prefer_demo",
                  "move_captions_off_faces"
                ],
                "type": "string",
                "default": "auto"
              },
              "workspaceId": {
                "type": "string",
                "format": "uuid",
                "description": "UUID string."
              },
              "idempotencyKey": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "clips_export",
          "title": "Export One Clip",
          "description": "Render one managed clip at an existing-account-supported quality. Returns persisted export state; inspect until the accepted delivery file is ready. Can spend existing account credits.",
          "inputSchema": {
            "type": "object",
            "required": [
              "clipId",
              "idempotencyKey"
            ],
            "properties": {
              "clipId": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "format": {
                "enum": [
                  "mp4",
                  "mov"
                ],
                "type": "string",
                "default": "mp4"
              },
              "resolution": {
                "enum": [
                  "720p",
                  "1080p"
                ],
                "type": "string",
                "default": "1080p"
              },
              "workspaceId": {
                "type": "string",
                "format": "uuid",
                "description": "UUID string."
              },
              "idempotencyKey": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "coverFrameSeconds": {
                "type": "number",
                "minimum": 0
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "captions_look_apply",
          "title": "Apply Caption Look",
          "description": "Apply a verified caption look to one project. Preserves word overrides unless clearWordOverrides=true. Existing captions are restyled; spoken audio is preserved.",
          "inputSchema": {
            "type": "object",
            "required": [
              "projectId",
              "lookId",
              "idempotencyKey"
            ],
            "properties": {
              "lookId": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "projectId": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "uuid",
                "default": null,
                "description": "UUID string."
              },
              "workspaceId": {
                "type": "string",
                "format": "uuid",
                "description": "UUID string."
              },
              "idempotencyKey": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "clearWordOverrides": {
                "type": "boolean",
                "default": false
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "visuals_apply",
          "title": "Apply visual presets",
          "description": "Create or update up to 20 visual blocks in one call after edit timing is settled. Presets: broll-headline, steps, quote, end-screen, key-number, before-after, screenshot-focus, chapter. IDs are scoped to the project; repeating an ID updates it. Asset IDs must belong to the workspace. Atomic, undoable; dryRun validates without writing. Returns IDs and revision. No generation pass.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "projectId",
              "items",
              "expectedRevision",
              "dryRun",
              "idempotencyKey"
            ],
            "properties": {
              "items": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "at",
                    "duration",
                    "preset",
                    "text"
                  ],
                  "properties": {
                    "at": {
                      "type": "number",
                      "maximum": 86400,
                      "minimum": 0
                    },
                    "id": {
                      "type": "string",
                      "pattern": "^[a-zA-Z0-9_-]{1,80}$"
                    },
                    "cta": {
                      "type": "string",
                      "maxLength": 40,
                      "minLength": 1,
                      "description": "Required for end-screen."
                    },
                    "text": {
                      "type": "string",
                      "maxLength": 220,
                      "minLength": 1,
                      "description": "Heading, or quote. Max 120 characters except quote: 220."
                    },
                    "focus": {
                      "type": "object",
                      "required": [
                        "x",
                        "y",
                        "width",
                        "height"
                      ],
                      "properties": {
                        "x": {
                          "type": "number",
                          "maximum": 1,
                          "minimum": 0
                        },
                        "y": {
                          "type": "number",
                          "maximum": 1,
                          "minimum": 0
                        },
                        "width": {
                          "type": "number",
                          "maximum": 1,
                          "exclusiveMinimum": 0
                        },
                        "height": {
                          "type": "number",
                          "maximum": 1,
                          "exclusiveMinimum": 0
                        }
                      },
                      "description": "Required for screenshot-focus. Normalized rectangle inside the source image.",
                      "additionalProperties": false
                    },
                    "steps": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "maxLength": 48,
                        "minLength": 1
                      },
                      "maxItems": 5,
                      "minItems": 2,
                      "description": "Required for steps."
                    },
                    "value": {
                      "type": "number",
                      "maximum": 999999,
                      "minimum": -999999,
                      "description": "Required for key-number."
                    },
                    "number": {
                      "type": "string",
                      "maxLength": 4,
                      "minLength": 1,
                      "description": "Required for chapter."
                    },
                    "preset": {
                      "enum": [
                        "broll-headline",
                        "steps",
                        "quote",
                        "end-screen",
                        "key-number",
                        "before-after",
                        "screenshot-focus",
                        "chapter"
                      ],
                      "type": "string"
                    },
                    "suffix": {
                      "type": "string",
                      "maxLength": 8,
                      "description": "Required for key-number; empty string allowed."
                    },
                    "assetId": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                      "description": "Required for broll-headline and screenshot-focus."
                    },
                    "duration": {
                      "type": "number",
                      "maximum": 30,
                      "minimum": 1
                    },
                    "accentColor": {
                      "type": "string",
                      "pattern": "^#[0-9a-fA-F]{6}$",
                      "description": "Brand accent for key-number or screenshot-focus."
                    },
                    "attribution": {
                      "type": "string",
                      "maxLength": 60,
                      "minLength": 1,
                      "description": "Required for quote."
                    },
                    "logoAssetId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "description": "Required for end-screen; null for no logo."
                    },
                    "afterAssetId": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                      "description": "Required for before-after."
                    },
                    "beforeAssetId": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                      "description": "Required for before-after."
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 20,
                "minItems": 1,
                "description": "Supply only the fields for the selected preset."
              },
              "dryRun": {
                "type": "boolean"
              },
              "projectId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "UUID string."
              },
              "idempotencyKey": {
                "type": "string",
                "pattern": "^[A-Za-z0-9._:-]+$",
                "maxLength": 200,
                "minLength": 8
              },
              "expectedRevision": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": 0
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "success",
              "dryRun",
              "revision",
              "mutationReceiptId",
              "replayed",
              "items",
              "warnings"
            ],
            "properties": {
              "items": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "timelineItemId",
                    "contentItemId",
                    "compositionId",
                    "status"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "status": {
                      "enum": [
                        "created",
                        "updated"
                      ],
                      "type": "string"
                    },
                    "compositionId": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                    },
                    "contentItemId": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                    },
                    "timelineItemId": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "dryRun": {
                "type": "boolean"
              },
              "success": {
                "type": "boolean",
                "const": true
              },
              "replayed": {
                "type": "boolean"
              },
              "revision": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "mutationReceiptId": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "update_timeline_clip",
          "title": "Update Timeline Clip",
          "description": "Update one timeline item's start, duration, trim, layer, ignored state, or blurred background. Provide at least one field to update besides timelineItemId.",
          "inputSchema": {
            "type": "object",
            "required": [
              "projectId",
              "timelineItemId",
              "idempotencyKey"
            ],
            "properties": {
              "ignored": {
                "type": "boolean"
              },
              "projectId": {
                "type": "string",
                "format": "uuid",
                "description": "UUID string."
              },
              "layerIndex": {
                "type": "integer",
                "minimum": 0
              },
              "startSeconds": {
                "type": "number",
                "minimum": 0
              },
              "idempotencyKey": {
                "type": "string",
                "pattern": "^[A-Za-z0-9._:-]+$",
                "maxLength": 200,
                "minLength": 8,
                "description": "Retry key. Reuse only with identical inputs."
              },
              "timelineItemId": {
                "type": "string",
                "format": "uuid"
              },
              "trimEndSeconds": {
                "type": "number",
                "minimum": 0
              },
              "durationSeconds": {
                "type": "number",
                "minimum": 0,
                "exclusiveMinimum": 0
              },
              "expectedRevision": {
                "type": "integer",
                "minimum": 0,
                "description": "Expected sequence revision, or null."
              },
              "trimStartSeconds": {
                "type": "number",
                "minimum": 0
              },
              "blurredBackground": {
                "type": "boolean"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "operationId",
              "projectId",
              "baseRevision",
              "revision",
              "replayed",
              "txid",
              "affectedTimelineItemIds",
              "createdTimelineItemIds",
              "deletedTimelineItemIds",
              "warnings",
              "result",
              "mutationReceipt"
            ],
            "properties": {
              "txid": {
                "type": "number"
              },
              "result": {
                "type": "object"
              },
              "replayed": {
                "type": "boolean"
              },
              "revision": {
                "type": "integer"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "projectId": {
                "type": "string"
              },
              "operationId": {
                "type": "string"
              },
              "baseRevision": {
                "type": "integer"
              },
              "mutationReceipt": {
                "type": "object",
                "required": [
                  "id",
                  "key",
                  "operation",
                  "status",
                  "replayed"
                ],
                "properties": {
                  "id": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "key": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "status": {
                    "enum": [
                      "completed"
                    ],
                    "type": "string"
                  },
                  "replayed": {
                    "type": "boolean"
                  },
                  "operation": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "createdTimelineItemIds": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "deletedTimelineItemIds": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "affectedTimelineItemIds": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "batch_update_timeline_clips",
          "title": "Batch Update Timeline Clips",
          "description": "Update timing, trim, layer, or state for up to 100 timeline items in one sequence transaction.",
          "inputSchema": {
            "type": "object",
            "required": [
              "projectId",
              "updates",
              "idempotencyKey"
            ],
            "properties": {
              "updates": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "timelineItemId"
                  ],
                  "properties": {
                    "ignored": {
                      "type": "boolean"
                    },
                    "layerIndex": {
                      "type": "integer",
                      "minimum": 0
                    },
                    "startSeconds": {
                      "type": "number",
                      "minimum": 0
                    },
                    "timelineItemId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "trimEndSeconds": {
                      "type": "number",
                      "minimum": 0
                    },
                    "durationSeconds": {
                      "type": "number",
                      "exclusiveMinimum": 0
                    },
                    "trimStartSeconds": {
                      "type": "number",
                      "minimum": 0
                    },
                    "blurredBackground": {
                      "type": "boolean"
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 100,
                "minItems": 1,
                "description": "Each update needs at least one field to change besides timelineItemId."
              },
              "projectId": {
                "type": "string",
                "format": "uuid",
                "description": "UUID string."
              },
              "idempotencyKey": {
                "type": "string",
                "pattern": "^[A-Za-z0-9._:-]+$",
                "maxLength": 200,
                "minLength": 8,
                "description": "Retry key. Reuse only with identical inputs."
              },
              "expectedRevision": {
                "type": "integer",
                "minimum": 0,
                "description": "Expected sequence revision, or null."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "operationId",
              "projectId",
              "baseRevision",
              "revision",
              "replayed",
              "txid",
              "affectedTimelineItemIds",
              "createdTimelineItemIds",
              "deletedTimelineItemIds",
              "warnings",
              "result",
              "mutationReceipt"
            ],
            "properties": {
              "txid": {
                "type": "number"
              },
              "result": {
                "type": "object"
              },
              "replayed": {
                "type": "boolean"
              },
              "revision": {
                "type": "integer"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "projectId": {
                "type": "string"
              },
              "operationId": {
                "type": "string"
              },
              "baseRevision": {
                "type": "integer"
              },
              "mutationReceipt": {
                "type": "object",
                "required": [
                  "id",
                  "key",
                  "operation",
                  "status",
                  "replayed"
                ],
                "properties": {
                  "id": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "key": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "status": {
                    "enum": [
                      "completed"
                    ],
                    "type": "string"
                  },
                  "replayed": {
                    "type": "boolean"
                  },
                  "operation": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "createdTimelineItemIds": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "deletedTimelineItemIds": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "affectedTimelineItemIds": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "mute_clip_audio",
          "title": "Mute Clip Audio",
          "description": "Set one timeline media item's volume to zero.",
          "inputSchema": {
            "type": "object",
            "required": [
              "projectId",
              "timelineItemId",
              "idempotencyKey"
            ],
            "properties": {
              "projectId": {
                "type": "string",
                "format": "uuid",
                "description": "UUID string."
              },
              "idempotencyKey": {
                "type": "string",
                "pattern": "^[A-Za-z0-9._:-]+$",
                "maxLength": 200,
                "minLength": 8,
                "description": "Retry key. Reuse only with identical inputs."
              },
              "timelineItemId": {
                "type": "string",
                "format": "uuid"
              },
              "expectedRevision": {
                "type": "integer",
                "minimum": 0,
                "description": "Expected sequence revision, or null."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "operationId",
              "projectId",
              "baseRevision",
              "revision",
              "replayed",
              "txid",
              "affectedTimelineItemIds",
              "createdTimelineItemIds",
              "deletedTimelineItemIds",
              "warnings",
              "result",
              "mutationReceipt"
            ],
            "properties": {
              "txid": {
                "type": "number"
              },
              "result": {
                "type": "object"
              },
              "replayed": {
                "type": "boolean"
              },
              "revision": {
                "type": "integer"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "projectId": {
                "type": "string"
              },
              "operationId": {
                "type": "string"
              },
              "baseRevision": {
                "type": "integer"
              },
              "mutationReceipt": {
                "type": "object",
                "required": [
                  "id",
                  "key",
                  "operation",
                  "status",
                  "replayed"
                ],
                "properties": {
                  "id": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "key": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "status": {
                    "enum": [
                      "completed"
                    ],
                    "type": "string"
                  },
                  "replayed": {
                    "type": "boolean"
                  },
                  "operation": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "createdTimelineItemIds": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "deletedTimelineItemIds": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "affectedTimelineItemIds": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "delete_timeline_items",
          "title": "Delete Timeline Items",
          "description": "Preview or delete up to 100 timeline items and optionally remove linked captions.",
          "inputSchema": {
            "type": "object",
            "required": [
              "projectId",
              "timelineItemIds"
            ],
            "properties": {
              "dryRun": {
                "type": "boolean",
                "default": true
              },
              "projectId": {
                "type": "string",
                "format": "uuid",
                "description": "UUID string."
              },
              "confirmDelete": {
                "type": "boolean",
                "default": false
              },
              "idempotencyKey": {
                "type": "string",
                "pattern": "^[A-Za-z0-9._:-]+$",
                "maxLength": 200,
                "minLength": 8
              },
              "timelineItemIds": {
                "type": "array",
                "items": {
                  "type": "string",
                  "format": "uuid"
                },
                "maxItems": 100,
                "minItems": 1
              },
              "expectedRevision": {
                "type": "integer",
                "minimum": 0,
                "description": "Expected sequence revision, or null."
              },
              "removeAssociatedCaptions": {
                "type": "boolean",
                "default": true
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "oneOf": [
              {
                "type": "object",
                "required": [
                  "dryRun",
                  "plan"
                ],
                "properties": {
                  "plan": {
                    "type": "object"
                  },
                  "dryRun": {
                    "type": "boolean",
                    "const": true
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "object",
                "required": [
                  "dryRun",
                  "mutation"
                ],
                "properties": {
                  "dryRun": {
                    "type": "boolean",
                    "const": false
                  },
                  "mutation": {
                    "type": "object",
                    "required": [
                      "operationId",
                      "projectId",
                      "baseRevision",
                      "revision",
                      "replayed",
                      "txid",
                      "affectedTimelineItemIds",
                      "createdTimelineItemIds",
                      "deletedTimelineItemIds",
                      "warnings",
                      "result",
                      "mutationReceipt"
                    ],
                    "properties": {
                      "txid": {
                        "type": "number"
                      },
                      "result": {
                        "type": "object"
                      },
                      "replayed": {
                        "type": "boolean"
                      },
                      "revision": {
                        "type": "integer"
                      },
                      "warnings": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "projectId": {
                        "type": "string"
                      },
                      "operationId": {
                        "type": "string"
                      },
                      "baseRevision": {
                        "type": "integer"
                      },
                      "mutationReceipt": {
                        "type": "object",
                        "required": [
                          "id",
                          "key",
                          "operation",
                          "status",
                          "replayed"
                        ],
                        "properties": {
                          "id": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "key": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "status": {
                            "enum": [
                              "completed"
                            ],
                            "type": "string"
                          },
                          "replayed": {
                            "type": "boolean"
                          },
                          "operation": {
                            "type": "string"
                          }
                        },
                        "additionalProperties": false
                      },
                      "createdTimelineItemIds": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "deletedTimelineItemIds": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "affectedTimelineItemIds": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      }
                    },
                    "additionalProperties": false
                  }
                },
                "additionalProperties": false
              }
            ]
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "add_text_overlay",
          "title": "Add Title Card",
          "description": "Add an opening title card (hook) or generic text overlay to a project timeline. Defaults to classic white: black text on a white card.",
          "inputSchema": {
            "type": "object",
            "required": [
              "projectId",
              "text",
              "idempotencyKey"
            ],
            "properties": {
              "kind": {
                "enum": [
                  "overlay",
                  "title_card",
                  "lower_third"
                ],
                "type": "string",
                "default": "title_card",
                "description": "title_card is an opening hook. lower_third is a speaker label (name and role on separate lines). overlay is generic on-video text."
              },
              "name": {
                "type": "string",
                "maxLength": 255,
                "minLength": 1
              },
              "size": {
                "enum": [
                  "compact",
                  "default",
                  "bold"
                ],
                "type": "string",
                "default": "default",
                "description": "Title-card size. Ignored for overlay."
              },
              "text": {
                "type": "string",
                "maxLength": 500,
                "minLength": 1
              },
              "theme": {
                "enum": [
                  "classic_white",
                  "legend_white",
                  "white_black_outline",
                  "stacked_black_white",
                  "red_on_black",
                  "black_on_yellow",
                  "red_block"
                ],
                "type": "string",
                "default": "classic_white",
                "description": "Title-card look. classic_white is black text on a white card. Ignored for overlay."
              },
              "projectId": {
                "type": "string",
                "format": "uuid",
                "description": "UUID string."
              },
              "layerIndex": {
                "type": "integer",
                "minimum": 0
              },
              "startSeconds": {
                "type": "number",
                "default": 0,
                "minimum": 0
              },
              "idempotencyKey": {
                "type": "string",
                "pattern": "^[A-Za-z0-9._:-]+$",
                "maxLength": 200,
                "minLength": 8,
                "description": "Retry key. Reuse only with identical inputs."
              },
              "durationSeconds": {
                "type": "number",
                "default": 4,
                "maximum": 3600,
                "minimum": 0,
                "exclusiveMinimum": 0
              },
              "expectedRevision": {
                "type": "integer",
                "minimum": 0,
                "description": "Expected sequence revision, or null."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "operationId",
              "projectId",
              "baseRevision",
              "revision",
              "replayed",
              "txid",
              "affectedTimelineItemIds",
              "createdTimelineItemIds",
              "deletedTimelineItemIds",
              "warnings",
              "result",
              "mutationReceipt"
            ],
            "properties": {
              "txid": {
                "type": "number"
              },
              "result": {
                "type": "object"
              },
              "replayed": {
                "type": "boolean"
              },
              "revision": {
                "type": "integer"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "projectId": {
                "type": "string"
              },
              "operationId": {
                "type": "string"
              },
              "baseRevision": {
                "type": "integer"
              },
              "mutationReceipt": {
                "type": "object",
                "required": [
                  "id",
                  "key",
                  "operation",
                  "status",
                  "replayed"
                ],
                "properties": {
                  "id": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "key": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "status": {
                    "enum": [
                      "completed"
                    ],
                    "type": "string"
                  },
                  "replayed": {
                    "type": "boolean"
                  },
                  "operation": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "createdTimelineItemIds": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "deletedTimelineItemIds": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "affectedTimelineItemIds": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "add_transition",
          "title": "Add Transition",
          "description": "Add a timed transition effect, optionally attached to one timeline item and paired with sound.",
          "inputSchema": {
            "type": "object",
            "required": [
              "projectId",
              "startSeconds",
              "idempotencyKey"
            ],
            "properties": {
              "name": {
                "type": "string",
                "maxLength": 255,
                "minLength": 1
              },
              "easing": {
                "enum": [
                  "linear",
                  "easeIn",
                  "easeOut",
                  "easeInOut"
                ],
                "type": "string",
                "default": "easeInOut"
              },
              "preset": {
                "enum": [
                  "flash",
                  "film-flash",
                  "whip-left",
                  "whip-right",
                  "zoom-punch",
                  "glitch"
                ],
                "type": "string",
                "default": "flash"
              },
              "intensity": {
                "type": "number",
                "default": 0.5,
                "maximum": 2,
                "minimum": 0.2
              },
              "projectId": {
                "type": "string",
                "format": "uuid",
                "description": "UUID string."
              },
              "includeSfx": {
                "type": "boolean",
                "default": false
              },
              "layerIndex": {
                "type": "integer",
                "minimum": 0
              },
              "startSeconds": {
                "type": "number",
                "minimum": 0
              },
              "idempotencyKey": {
                "type": "string",
                "pattern": "^[A-Za-z0-9._:-]+$",
                "maxLength": 200,
                "minLength": 8,
                "description": "Retry key. Reuse only with identical inputs."
              },
              "timelineItemId": {
                "type": "string",
                "format": "uuid"
              },
              "durationSeconds": {
                "type": "number",
                "default": 0.6,
                "maximum": 10,
                "minimum": 0,
                "exclusiveMinimum": 0
              },
              "expectedRevision": {
                "type": "integer",
                "minimum": 0,
                "description": "Expected sequence revision, or null."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "operationId",
              "projectId",
              "baseRevision",
              "revision",
              "replayed",
              "txid",
              "affectedTimelineItemIds",
              "createdTimelineItemIds",
              "deletedTimelineItemIds",
              "warnings",
              "result",
              "mutationReceipt"
            ],
            "properties": {
              "txid": {
                "type": "number"
              },
              "result": {
                "type": "object"
              },
              "replayed": {
                "type": "boolean"
              },
              "revision": {
                "type": "integer"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "projectId": {
                "type": "string"
              },
              "operationId": {
                "type": "string"
              },
              "baseRevision": {
                "type": "integer"
              },
              "mutationReceipt": {
                "type": "object",
                "required": [
                  "id",
                  "key",
                  "operation",
                  "status",
                  "replayed"
                ],
                "properties": {
                  "id": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "key": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "status": {
                    "enum": [
                      "completed"
                    ],
                    "type": "string"
                  },
                  "replayed": {
                    "type": "boolean"
                  },
                  "operation": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "createdTimelineItemIds": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "deletedTimelineItemIds": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "affectedTimelineItemIds": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "timeline_media_add",
          "title": "Add Media To Timeline",
          "description": "Place an image or video asset onto a BlitzReels project timeline at a timestamp, including B-roll and static images.",
          "inputSchema": {
            "type": "object",
            "required": [
              "projectId",
              "assetId"
            ],
            "properties": {
              "assetId": {
                "type": "string",
                "format": "uuid",
                "description": "Image or video media asset ID. UUID string."
              },
              "projectId": {
                "type": "string",
                "format": "uuid",
                "description": "BlitzReels project ID. UUID string."
              },
              "layerIndex": {
                "type": "number",
                "minimum": 0,
                "description": "Exact timeline layer to use. Lower layer numbers render on top. Omit for intent-based placement."
              },
              "startSeconds": {
                "type": "number",
                "default": 0,
                "minimum": 0,
                "description": "Timeline start time in seconds"
              },
              "allowDuplicate": {
                "type": "boolean",
                "default": true,
                "description": "Allow inserting the same asset more than once"
              },
              "positionPreset": {
                "enum": [
                  "center",
                  "fullscreen",
                  "pip-top-left",
                  "pip-top-right",
                  "pip-bottom-left",
                  "pip-bottom-right"
                ],
                "type": "string",
                "default": "fullscreen",
                "description": "Visual placement preset"
              },
              "animationPreset": {
                "enum": [
                  "none",
                  "fadeIn",
                  "fadeOut",
                  "zoomIn",
                  "zoomOut",
                  "slideLeft",
                  "slideRight",
                  "slideUp",
                  "slideDown",
                  "popIn",
                  "bounce",
                  "spin"
                ],
                "type": "string",
                "default": "none",
                "description": "Optional visual animation preset"
              },
              "durationSeconds": {
                "type": "number",
                "minimum": 0,
                "description": "Duration in seconds. Required for still images when a specific length is needed."
              },
              "placementIntent": {
                "enum": [
                  "overlay",
                  "background",
                  "exact"
                ],
                "type": "string",
                "default": "overlay",
                "description": "Layer intent used when layerIndex is omitted. Use overlay for visible B-roll/logo/sticker over video, background for behind video, exact when layerIndex is supplied."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "result"
            ],
            "properties": {
              "result": {
                "type": "object"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "timeline_audio_add",
          "title": "Add Audio To Timeline",
          "description": "Place an audio asset onto a BlitzReels project timeline at a timestamp for voiceover, music, or sound.",
          "inputSchema": {
            "type": "object",
            "required": [
              "projectId",
              "assetId"
            ],
            "properties": {
              "loop": {
                "type": "boolean",
                "default": false,
                "description": "Loop audio to fill requested duration"
              },
              "volume": {
                "type": "number",
                "default": 1,
                "description": "Audio volume multiplier, 1 is normal"
              },
              "assetId": {
                "type": "string",
                "format": "uuid",
                "description": "Audio media asset ID. UUID string."
              },
              "projectId": {
                "type": "string",
                "format": "uuid",
                "description": "BlitzReels project ID. UUID string."
              },
              "startSeconds": {
                "type": "number",
                "default": 0,
                "minimum": 0,
                "description": "Timeline start time in seconds"
              },
              "fadeInSeconds": {
                "type": "number",
                "default": 0,
                "minimum": 0,
                "description": "Fade-in length in seconds"
              },
              "fadeOutSeconds": {
                "type": "number",
                "default": 0,
                "minimum": 0,
                "description": "Fade-out length in seconds"
              },
              "durationSeconds": {
                "type": "number",
                "minimum": 0,
                "description": "Optional duration. Required if the audio asset duration is not known yet."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "result"
            ],
            "properties": {
              "result": {
                "type": "object"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "exports_start",
          "title": "Start Export",
          "description": "Export a BlitzReels video or native carousel and return export and job IDs for status checks.",
          "inputSchema": {
            "type": "object",
            "required": [
              "projectId"
            ],
            "properties": {
              "format": {
                "enum": [
                  "mp4",
                  "mov",
                  "fcpxml",
                  "zip",
                  "png",
                  "jpeg",
                  "carousel_zip"
                ],
                "type": "string",
                "default": "mp4",
                "description": "Video container or native carousel image ZIP format"
              },
              "projectId": {
                "type": "string",
                "format": "uuid",
                "description": "BlitzReels project ID. UUID string."
              },
              "resolution": {
                "enum": [
                  "720p",
                  "1080p",
                  "4k"
                ],
                "type": "string",
                "default": "1080p",
                "description": "Export resolution"
              },
              "idempotencyKey": {
                "type": "string",
                "description": "Retry key. Reuse only with identical inputs."
              },
              "expectedRevision": {
                "type": "integer",
                "minimum": 0,
                "description": "Reject export if the Project changed since this revision was read."
              },
              "coverFrameSeconds": {
                "type": "number",
                "minimum": 0,
                "description": "Optional cover thumbnail timestamp"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "export"
            ],
            "properties": {
              "export": {
                "type": "object",
                "required": [
                  "mutationReceipt"
                ],
                "properties": {
                  "mutationReceipt": {
                    "type": "object",
                    "required": [
                      "id",
                      "key",
                      "operation",
                      "status",
                      "replayed"
                    ],
                    "properties": {
                      "id": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "key": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "status": {
                        "enum": [
                          "completed"
                        ],
                        "type": "string"
                      },
                      "replayed": {
                        "type": "boolean"
                      },
                      "operation": {
                        "type": "string"
                      }
                    },
                    "additionalProperties": false
                  }
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "generation_options_list",
          "title": "List Generation Options",
          "description": "List models, defaults, limits and credit costs for one generation kind. For a selected video model, pass videoQuote with its model, seconds and optional resolution to check the workspace's current eligibility and a shorter option when available. Durations come from durations_seconds. A quote spends no credits and reserves no capacity.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "kind"
            ],
            "properties": {
              "kind": {
                "enum": [
                  "image",
                  "video",
                  "voiceover",
                  "music",
                  "sound",
                  "faceless"
                ],
                "type": "string"
              },
              "videoQuote": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "model",
                      "seconds"
                    ],
                    "properties": {
                      "model": {
                        "enum": [
                          "sync-lipsync-2",
                          "flux-3-max",
                          "flux-3-max-t2v",
                          "grok-imagine-1.5",
                          "grok-imagine-1.5-t2v",
                          "heygen-video",
                          "heygen-video-t2v",
                          "omnihuman-v2",
                          "creatify-aurora",
                          "veed-fabric-1",
                          "seedance-2.5-flash",
                          "seedance-2.5-flash-ref2v",
                          "seedance-2.5-flash-t2v",
                          "seedance-2.5-edit",
                          "kling-o3-standard-edit",
                          "kling-o3-pro-edit",
                          "kling-v4-edit",
                          "kling-v3-standard-motion-control",
                          "kling-v3-pro-motion-control",
                          "wan-2.2-animate-replace",
                          "kling-2.1",
                          "kling-2.6-pro",
                          "kling-o1",
                          "kling-3.0",
                          "kling-v4",
                          "kling-v4-ref2v",
                          "kling-o3-standard",
                          "kling-o3-pro",
                          "kling-o3-4k",
                          "kling-v3-pro",
                          "minimax-01",
                          "minimax-hailuo-02",
                          "minimax-hailuo-2.3-pro",
                          "minimax-h3-max",
                          "minimax-hailuo-2.3-pro-t2v",
                          "minimax-h3-max-t2v",
                          "veo3",
                          "veo3.1",
                          "veo3.1-fast",
                          "gemini-omni-flash-ref2v",
                          "gemini-omni-flash-1.2-ref2v",
                          "gemini-omni-flash-edit",
                          "gemini-omni-flash-1.2-edit",
                          "gemini-omni-flash",
                          "gemini-omni-flash-1.2",
                          "veo3-fast",
                          "gemini-omni-flash-t2v",
                          "gemini-omni-flash-1.2-t2v",
                          "wan-2.7",
                          "wan-2.7-ref2v",
                          "wan-2.7-t2v",
                          "wan-3.0",
                          "wan-3.0-prime",
                          "wan-3.0-t2v",
                          "wan-3.0-prime-t2v",
                          "happy-horse",
                          "happy-horse-ref2v",
                          "happy-horse-t2v",
                          "grok-imagine-lite",
                          "grok-imagine-lite-t2v",
                          "seedance-2.0-pro",
                          "seedance-2.5",
                          "seedance-2.0-pro-fast",
                          "seedance-2.0-ref2v",
                          "seedance-2.0-ref2v-fast",
                          "seedance-2.0-pro-t2v",
                          "seedance-2.5-t2v",
                          "seedance-2.0-pro-fast-t2v",
                          "kling-o3-standard-t2v",
                          "kling-o3-pro-t2v",
                          "kling-v3-standard-t2v",
                          "kling-v3-pro-t2v",
                          "kling-v4-t2v"
                        ],
                        "type": "string"
                      },
                      "seconds": {
                        "type": "integer",
                        "maximum": 9007199254740991,
                        "exclusiveMinimum": 0
                      },
                      "resolution": {
                        "anyOf": [
                          {
                            "enum": [
                              "360p",
                              "480p",
                              "720p",
                              "768p",
                              "1080p",
                              "4k"
                            ],
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    }
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "options"
            ],
            "properties": {
              "options": {
                "type": "object"
              },
              "videoQuote": {
                "type": "object",
                "required": [
                  "model",
                  "seconds",
                  "resolution",
                  "estimatedCredits",
                  "creditsRemaining",
                  "allowed",
                  "reason",
                  "shorterOption"
                ],
                "properties": {
                  "model": {
                    "type": "string"
                  },
                  "reason": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "allowed": {
                    "type": "boolean"
                  },
                  "seconds": {
                    "type": "integer"
                  },
                  "resolution": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "shorterOption": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "required": [
                      "seconds",
                      "estimatedCredits"
                    ],
                    "properties": {
                      "seconds": {
                        "type": "integer"
                      },
                      "estimatedCredits": {
                        "type": "number"
                      }
                    }
                  },
                  "creditsRemaining": {
                    "type": "number"
                  },
                  "estimatedCredits": {
                    "type": "number"
                  }
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "generation_image_create",
          "title": "Generate Image",
          "description": "Queue an AI image generation into the BlitzReels media library. Spends AI credits and returns a job to poll with generation_jobs_get.",
          "inputSchema": {
            "type": "object",
            "required": [
              "prompt"
            ],
            "properties": {
              "size": {
                "anyOf": [
                  {
                    "type": "string",
                    "pattern": "^[1-9][0-9]{1,4}x[1-9][0-9]{1,4}$"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Exact output size as WIDTHxHEIGHT, for example 1920x2304. Only models whose parameters.size.supported is true in generation_options_list; it replaces aspectRatio, and credits scale with pixel count."
              },
              "model": {
                "enum": [
                  "fal-ai/gpt-image-1.5",
                  "fal-ai/gpt-image-2.6-flare",
                  "fal-ai/gpt-image-2.6-sunburst",
                  "bfl/flux-3-image",
                  "bfl/flux-3-image-klein",
                  "bytedance/seedream/v5/pro/text-to-image",
                  "bytedance/seedream/v5.5/text-to-image",
                  "fal-ai/nano-banana-2",
                  "google/nano-banana-2.1",
                  "google/nano-banana-2-lite",
                  "fal-ai/nano-banana-pro"
                ],
                "type": "string",
                "default": "fal-ai/nano-banana-2",
                "description": "Image model. Call generation_options_list for costs."
              },
              "prompt": {
                "type": "string",
                "maxLength": 5000,
                "minLength": 8,
                "description": "What the image should show (8-5000 characters)."
              },
              "folderId": {
                "type": "string",
                "format": "uuid",
                "description": "Optional media library folder ID."
              },
              "background": {
                "enum": [
                  "auto",
                  "opaque",
                  "transparent"
                ],
                "type": "string",
                "default": "auto",
                "description": "Background of the generated image: auto (the model decides), opaque or transparent (an RGBA PNG for cut-outs and overlays). Only models whose parameters.background.supported is true in generation_options_list accept opaque or transparent."
              },
              "resolution": {
                "anyOf": [
                  {
                    "enum": [
                      "0.5k",
                      "1k",
                      "2k",
                      "4k"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Native image resolution. Call generation_options_list for model support and resolution pricing. Unsupported settings are rejected."
              },
              "aspectRatio": {
                "enum": [
                  "1:1",
                  "16:9",
                  "9:16",
                  "4:3",
                  "3:4",
                  "3:2",
                  "2:3",
                  "5:4",
                  "4:5",
                  "21:9"
                ],
                "type": "string",
                "default": "1:1",
                "description": "Output aspect ratio."
              },
              "characterId": {
                "type": "string",
                "format": "uuid",
                "description": "Workspace character to keep consistent (characters_list). Its reference images or trained weights and description are added; they count toward the model reference limit."
              },
              "workspaceId": {
                "type": "string",
                "format": "uuid",
                "description": "Optional workspace ID. Defaults to the user's default workspace. UUID string."
              },
              "enhancePrompt": {
                "type": "boolean",
                "default": false,
                "description": "Enhance using BlitzReels model grammar and actual input context."
              },
              "idempotencyKey": {
                "type": "string",
                "pattern": "^[A-Za-z0-9._:-]+$",
                "maxLength": 200,
                "minLength": 8,
                "description": "Retry key. Reuse only with identical inputs."
              },
              "referenceAssetIds": {
                "type": "array",
                "items": {
                  "type": "string",
                  "format": "uuid"
                },
                "default": [],
                "maxItems": 14,
                "description": "Ordered image references. Model-specific limits are listed in generation_options_list; unsupported references fail."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "generation"
            ],
            "properties": {
              "generation": {
                "type": "object",
                "required": [
                  "job_id",
                  "kind",
                  "status",
                  "mutationReceipt"
                ],
                "properties": {
                  "kind": {
                    "enum": [
                      "image",
                      "video",
                      "voiceover",
                      "music",
                      "sound",
                      "faceless"
                    ],
                    "type": "string"
                  },
                  "job_id": {
                    "type": "string"
                  },
                  "status": {
                    "type": "string"
                  },
                  "app_url": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "media_id": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "project_id": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "mutationReceipt": {
                    "type": "object",
                    "required": [
                      "id",
                      "key",
                      "operation",
                      "status",
                      "replayed"
                    ],
                    "properties": {
                      "id": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "key": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "status": {
                        "enum": [
                          "completed"
                        ],
                        "type": "string"
                      },
                      "replayed": {
                        "type": "boolean"
                      },
                      "operation": {
                        "type": "string"
                      }
                    },
                    "additionalProperties": false
                  },
                  "estimated_credits": {
                    "type": [
                      "number",
                      "null"
                    ]
                  }
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "generation_video_create",
          "title": "Generate Video",
          "description": "Queue video generation, image animation, source-video editing or character replacement into the media library. Spends AI credits. Check the selected model and duration first with generation_options_list and videoQuote. Editing accepts referenceVideoAssetIds and transformation controls, including original-audio preservation. Read the queued job with generation_jobs_get.",
          "inputSchema": {
            "type": "object",
            "required": [
              "prompt"
            ],
            "properties": {
              "seed": {
                "type": "integer",
                "description": "Optional seed for reproducible output."
              },
              "model": {
                "enum": [
                  "sync-lipsync-2",
                  "flux-3-max",
                  "flux-3-max-t2v",
                  "grok-imagine-1.5",
                  "grok-imagine-1.5-t2v",
                  "heygen-video",
                  "heygen-video-t2v",
                  "omnihuman-v2",
                  "creatify-aurora",
                  "veed-fabric-1",
                  "seedance-2.5-flash",
                  "seedance-2.5-flash-ref2v",
                  "seedance-2.5-flash-t2v",
                  "seedance-2.5-edit",
                  "kling-o3-standard-edit",
                  "kling-o3-pro-edit",
                  "kling-v4-edit",
                  "kling-v3-standard-motion-control",
                  "kling-v3-pro-motion-control",
                  "wan-2.2-animate-replace",
                  "kling-2.1",
                  "kling-2.6-pro",
                  "kling-o1",
                  "kling-3.0",
                  "kling-v4",
                  "kling-v4-ref2v",
                  "kling-o3-standard",
                  "kling-o3-pro",
                  "kling-o3-4k",
                  "kling-v3-pro",
                  "minimax-01",
                  "minimax-hailuo-02",
                  "minimax-hailuo-2.3-pro",
                  "minimax-h3-max",
                  "minimax-hailuo-2.3-pro-t2v",
                  "minimax-h3-max-t2v",
                  "veo3",
                  "veo3.1",
                  "veo3.1-fast",
                  "gemini-omni-flash-ref2v",
                  "gemini-omni-flash-1.2-ref2v",
                  "gemini-omni-flash-edit",
                  "gemini-omni-flash-1.2-edit",
                  "gemini-omni-flash",
                  "gemini-omni-flash-1.2",
                  "veo3-fast",
                  "gemini-omni-flash-t2v",
                  "gemini-omni-flash-1.2-t2v",
                  "wan-2.7",
                  "wan-2.7-ref2v",
                  "wan-2.7-t2v",
                  "wan-3.0",
                  "wan-3.0-prime",
                  "wan-3.0-t2v",
                  "wan-3.0-prime-t2v",
                  "happy-horse",
                  "happy-horse-ref2v",
                  "happy-horse-t2v",
                  "grok-imagine-lite",
                  "grok-imagine-lite-t2v",
                  "seedance-2.0-pro",
                  "seedance-2.5",
                  "seedance-2.0-pro-fast",
                  "seedance-2.0-ref2v",
                  "seedance-2.0-ref2v-fast",
                  "seedance-2.0-pro-t2v",
                  "seedance-2.5-t2v",
                  "seedance-2.0-pro-fast-t2v",
                  "kling-o3-standard-t2v",
                  "kling-o3-pro-t2v",
                  "kling-v3-standard-t2v",
                  "kling-v3-pro-t2v",
                  "kling-v4-t2v"
                ],
                "type": "string",
                "default": "kling-v3-pro-t2v",
                "description": "Video model. generation_options_list publishes generation type, source limits, character controls, resolution and pricing for each model."
              },
              "prompt": {
                "type": "string",
                "maxLength": 5000,
                "minLength": 3,
                "description": "What should happen in the shot (3-5000 characters)."
              },
              "folderId": {
                "type": "string",
                "format": "uuid",
                "description": "Optional media library folder ID."
              },
              "provider": {
                "enum": [
                  "auto",
                  "byteplus-modelark",
                  "fal"
                ],
                "type": "string",
                "default": "auto",
                "description": "Explicit provider must support the model and input mode. auto uses a configured compatible provider."
              },
              "provenance": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "originalRequest",
                      "previousJobId"
                    ],
                    "properties": {
                      "previousJobId": {
                        "anyOf": [
                          {
                            "type": "string",
                            "format": "uuid",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                          },
                          {
                            "type": "null"
                          }
                        ],
                        "default": null
                      },
                      "originalRequest": {
                        "anyOf": [
                          {
                            "type": "string",
                            "maxLength": 40000,
                            "minLength": 1
                          },
                          {
                            "type": "null"
                          }
                        ],
                        "default": null
                      }
                    },
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ],
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "description": "Original user request before prompt authoring, and previous failed job ID when retrying. Retained for review; never infer missing wording."
              },
              "resolution": {
                "anyOf": [
                  {
                    "enum": [
                      "360p",
                      "480p",
                      "720p",
                      "768p",
                      "1080p",
                      "4k"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Output resolution. Call generation_options_list for model-specific supported values and defaults. Unsupported settings are rejected."
              },
              "aspectRatio": {
                "enum": [
                  "9:16",
                  "16:9",
                  "1:1"
                ],
                "type": "string",
                "default": "9:16",
                "description": "Output aspect ratio."
              },
              "characterId": {
                "type": "string",
                "format": "uuid",
                "description": "Workspace character to keep consistent (characters_list). Its reference images come first (@Image1 is the primary), capped to the model limit. Only models whose parameters.character_id.supported is true in generation_options_list."
              },
              "workspaceId": {
                "type": "string",
                "format": "uuid",
                "description": "Optional workspace ID. Defaults to the user's default workspace. UUID string."
              },
              "enhancePrompt": {
                "type": "boolean",
                "default": false,
                "description": "Enhance using BlitzReels model grammar and actual input context."
              },
              "generateAudio": {
                "type": "boolean",
                "description": "null uses model audio behavior. Explicit true/false must be supported by the selected model."
              },
              "sourceAssetId": {
                "type": "string",
                "format": "uuid",
                "description": "First-frame still. Required only when that model's parameters.source_asset_id.required is true. Optional on reference-capable I2V including Seedance 2.5. Text-to-video rejects it. Cannot combine with reference arrays and end_frame_asset_id."
              },
              "idempotencyKey": {
                "type": "string",
                "pattern": "^[A-Za-z0-9._:-]+$",
                "maxLength": 200,
                "minLength": 8,
                "description": "Retry key. Reuse only with identical inputs."
              },
              "negativePrompt": {
                "type": "string",
                "maxLength": 2500,
                "description": "What to avoid in the shot."
              },
              "transformation": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "characters",
                      "sourcePersonCount",
                      "keepOriginalAudio",
                      "characterOrientation"
                    ],
                    "properties": {
                      "intent": {
                        "enum": [
                          "swap",
                          "scene",
                          "camera",
                          "style"
                        ],
                        "type": "string",
                        "description": "What the edit changes: swap (people, needs characters), scene (environment), camera (angle or framing) or style. Omitted: inferred from the prompt."
                      },
                      "output": {
                        "enum": [
                          "range",
                          "full"
                        ],
                        "type": "string",
                        "description": "With reference_video_range: range returns only the edited range (default); full splices it back into the whole source video with its original audio."
                      },
                      "characters": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "sourceRole",
                            "frontalAssetId",
                            "referenceAssetIds"
                          ],
                          "properties": {
                            "sourceRole": {
                              "type": "string",
                              "maxLength": 200,
                              "minLength": 1
                            },
                            "frontalAssetId": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "referenceAssetIds": {
                              "type": "array",
                              "items": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                              },
                              "default": [],
                              "maxItems": 3
                            }
                          },
                          "additionalProperties": false
                        },
                        "default": [],
                        "maxItems": 4
                      },
                      "transition": {
                        "enum": [
                          "cut",
                          "crossfade"
                        ],
                        "type": "string",
                        "description": "Seam between the source and a spliced range when output is full: cut (default) or a short crossfade."
                      },
                      "lookFrameAssetId": {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                        "description": "Image of the first frame after the change, approved before paying for the video (create one with POST /generate-look-frame). Sent as @Image1 so the edit matches its look. Video edit models only; counts toward their reference image limit."
                      },
                      "keepOriginalAudio": {
                        "type": "boolean",
                        "default": true
                      },
                      "sourcePersonCount": {
                        "anyOf": [
                          {
                            "type": "integer",
                            "maximum": 1000,
                            "minimum": 1
                          },
                          {
                            "type": "null"
                          }
                        ],
                        "default": null
                      },
                      "characterOrientation": {
                        "enum": [
                          "video",
                          "image"
                        ],
                        "type": "string",
                        "default": "video"
                      }
                    },
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ],
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "default": null
              },
              "durationSeconds": {
                "type": "integer",
                "default": 5,
                "maximum": 30,
                "minimum": 2,
                "description": "Video transformations inherit the processed source duration and aspect ratio; duration_seconds is not a trim request. Choose a value from the selected model's durations_seconds. duration_seconds_min and duration_seconds_max are the bounds of that list, not a continuous range."
              },
              "endFrameAssetId": {
                "type": "string",
                "format": "uuid",
                "description": "Last-frame still. Interpolates from the source first frame to this image across the full duration. Requires a source first frame; cannot combine with reference arrays."
              },
              "referenceAssetIds": {
                "type": "array",
                "items": {
                  "type": "string",
                  "format": "uuid"
                },
                "default": [],
                "maxItems": 30,
                "description": "Ordered reference images: Seedance 2.5 up to 30; Seedance 2.0 ref2v up to 9; other reference models up to 4. Source counts toward the limit."
              },
              "referenceAssetUris": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^asset://[A-Za-z0-9][A-Za-z0-9._-]{0,127}$"
                },
                "default": [],
                "maxItems": 30,
                "description": "BytePlus ModelArk real-human assets as asset://ID, for people who verified themselves in the BytePlus console. Requires provider byteplus-modelark and a model whose parameters.reference_asset_uris.supported is true in generation_options_list. They follow referenceAssetIds in @ImageN numbering and count toward the reference limit."
              },
              "referenceVideoRange": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "startSeconds",
                      "endSeconds"
                    ],
                    "properties": {
                      "endSeconds": {
                        "type": "number",
                        "exclusiveMinimum": 0
                      },
                      "startSeconds": {
                        "type": "number",
                        "minimum": 0
                      }
                    }
                  },
                  {
                    "type": "object",
                    "required": [
                      "startPhrase",
                      "endPhrase"
                    ],
                    "properties": {
                      "endPhrase": {
                        "type": "string",
                        "maxLength": 200,
                        "minLength": 1
                      },
                      "startPhrase": {
                        "type": "string",
                        "maxLength": 200,
                        "minLength": 1
                      }
                    }
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Cut this range from the reference video before a character swap or video edit; billed for the range length. Seconds, or phrases spoken in the source transcript (cut in the pauses around them; each phrase must occur once)."
              },
              "referenceAudioAssetIds": {
                "type": "array",
                "items": {
                  "type": "string",
                  "format": "uuid"
                },
                "default": [],
                "maxItems": 10,
                "description": "Reference audio: Seedance 2.5 up to 10; Seedance 2.0 ref2v and fast up to 3. Other models reject them."
              },
              "referenceVideoAssetIds": {
                "type": "array",
                "items": {
                  "type": "string",
                  "format": "uuid"
                },
                "default": [],
                "maxItems": 10,
                "description": "Video transformations require one processed source video. Other reference modes have model-specific counts published by generation_options_list."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "generation"
            ],
            "properties": {
              "generation": {
                "type": "object",
                "required": [
                  "job_id",
                  "kind",
                  "status",
                  "mutationReceipt"
                ],
                "properties": {
                  "kind": {
                    "enum": [
                      "image",
                      "video",
                      "voiceover",
                      "music",
                      "sound",
                      "faceless"
                    ],
                    "type": "string"
                  },
                  "job_id": {
                    "type": "string"
                  },
                  "status": {
                    "type": "string"
                  },
                  "app_url": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "media_id": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "project_id": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "mutationReceipt": {
                    "type": "object",
                    "required": [
                      "id",
                      "key",
                      "operation",
                      "status",
                      "replayed"
                    ],
                    "properties": {
                      "id": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "key": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "status": {
                        "enum": [
                          "completed"
                        ],
                        "type": "string"
                      },
                      "replayed": {
                        "type": "boolean"
                      },
                      "operation": {
                        "type": "string"
                      }
                    },
                    "additionalProperties": false
                  },
                  "estimated_credits": {
                    "type": [
                      "number",
                      "null"
                    ]
                  }
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "generation_voiceover_create",
          "title": "Generate Voiceover",
          "description": "Queue a text-to-speech voiceover into the BlitzReels media library. Spends AI credits and returns a job to poll with generation_jobs_get.",
          "inputSchema": {
            "type": "object",
            "required": [
              "text"
            ],
            "properties": {
              "text": {
                "type": "string",
                "maxLength": 8000,
                "minLength": 3,
                "description": "Script to read aloud (3-8000 characters)."
              },
              "speed": {
                "type": "number",
                "default": 1,
                "maximum": 1.6,
                "minimum": 0.5,
                "description": "Speaking rate between 0.5 and 1.6."
              },
              "voiceId": {
                "type": "string",
                "default": "pNInz6obpgDQGcFmaJgB",
                "maxLength": 200,
                "minLength": 1,
                "description": "Catalog voice ID (generation_options_list with kind voiceover) or a workspace voice ID (voices_list), such as a cloned voice."
              },
              "voiceStyle": {
                "enum": [
                  "curiosity",
                  "intrigue",
                  "urgency",
                  "tension",
                  "concern",
                  "surprise",
                  "hope",
                  "satisfaction",
                  "inspiration",
                  "revelation",
                  "neutral"
                ],
                "type": "string",
                "default": "neutral",
                "description": "Delivery emotion."
              },
              "workspaceId": {
                "type": "string",
                "format": "uuid",
                "description": "Optional workspace ID. Defaults to the user's default workspace. UUID string."
              },
              "idempotencyKey": {
                "type": "string",
                "pattern": "^[A-Za-z0-9._:-]+$",
                "maxLength": 200,
                "minLength": 8,
                "description": "Retry key. Reuse only with identical inputs."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "generation"
            ],
            "properties": {
              "generation": {
                "type": "object",
                "required": [
                  "job_id",
                  "kind",
                  "status",
                  "mutationReceipt"
                ],
                "properties": {
                  "kind": {
                    "enum": [
                      "image",
                      "video",
                      "voiceover",
                      "music",
                      "sound",
                      "faceless"
                    ],
                    "type": "string"
                  },
                  "job_id": {
                    "type": "string"
                  },
                  "status": {
                    "type": "string"
                  },
                  "app_url": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "media_id": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "project_id": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "mutationReceipt": {
                    "type": "object",
                    "required": [
                      "id",
                      "key",
                      "operation",
                      "status",
                      "replayed"
                    ],
                    "properties": {
                      "id": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "key": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "status": {
                        "enum": [
                          "completed"
                        ],
                        "type": "string"
                      },
                      "replayed": {
                        "type": "boolean"
                      },
                      "operation": {
                        "type": "string"
                      }
                    },
                    "additionalProperties": false
                  },
                  "estimated_credits": {
                    "type": [
                      "number",
                      "null"
                    ]
                  }
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "generation_music_create",
          "title": "Generate Music",
          "description": "Queue a background music track into the BlitzReels media library. Spends AI credits and returns a job to poll with generation_jobs_get.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "mood": {
                "enum": [
                  "curiosity",
                  "intrigue",
                  "urgency",
                  "tension",
                  "concern",
                  "surprise",
                  "hope",
                  "satisfaction",
                  "inspiration",
                  "revelation",
                  "neutral"
                ],
                "type": "string",
                "default": "neutral",
                "description": "Track mood."
              },
              "prompt": {
                "type": "string",
                "default": "",
                "maxLength": 500,
                "description": "Optional description of the track."
              },
              "workspaceId": {
                "type": "string",
                "format": "uuid",
                "description": "Optional workspace ID. Defaults to the user's default workspace. UUID string."
              },
              "idempotencyKey": {
                "type": "string",
                "pattern": "^[A-Za-z0-9._:-]+$",
                "maxLength": 200,
                "minLength": 8,
                "description": "Retry key. Reuse only with identical inputs."
              },
              "durationSeconds": {
                "type": "number",
                "default": 30,
                "maximum": 120,
                "minimum": 10,
                "description": "Track length between 10 and 120 seconds."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "generation"
            ],
            "properties": {
              "generation": {
                "type": "object",
                "required": [
                  "job_id",
                  "kind",
                  "status",
                  "mutationReceipt"
                ],
                "properties": {
                  "kind": {
                    "enum": [
                      "image",
                      "video",
                      "voiceover",
                      "music",
                      "sound",
                      "faceless"
                    ],
                    "type": "string"
                  },
                  "job_id": {
                    "type": "string"
                  },
                  "status": {
                    "type": "string"
                  },
                  "app_url": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "media_id": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "project_id": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "mutationReceipt": {
                    "type": "object",
                    "required": [
                      "id",
                      "key",
                      "operation",
                      "status",
                      "replayed"
                    ],
                    "properties": {
                      "id": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "key": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "status": {
                        "enum": [
                          "completed"
                        ],
                        "type": "string"
                      },
                      "replayed": {
                        "type": "boolean"
                      },
                      "operation": {
                        "type": "string"
                      }
                    },
                    "additionalProperties": false
                  },
                  "estimated_credits": {
                    "type": [
                      "number",
                      "null"
                    ]
                  }
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "generation_sound_create",
          "title": "Generate Sound Effect",
          "description": "Queue a sound effect into the BlitzReels media library. Spends AI credits and returns a job to poll with generation_jobs_get.",
          "inputSchema": {
            "type": "object",
            "required": [
              "prompt"
            ],
            "properties": {
              "loop": {
                "type": "boolean",
                "default": false,
                "description": "Produce a seamlessly loopable effect."
              },
              "prompt": {
                "type": "string",
                "maxLength": 500,
                "minLength": 3,
                "description": "The sound to create (3-500 characters)."
              },
              "workspaceId": {
                "type": "string",
                "format": "uuid",
                "description": "Optional workspace ID. Defaults to the user's default workspace. UUID string."
              },
              "idempotencyKey": {
                "type": "string",
                "pattern": "^[A-Za-z0-9._:-]+$",
                "maxLength": 200,
                "minLength": 8,
                "description": "Retry key. Reuse only with identical inputs."
              },
              "durationSeconds": {
                "type": "number",
                "default": 2,
                "maximum": 30,
                "minimum": 0.5,
                "description": "Effect length between 0.5 and 30 seconds."
              },
              "promptInfluence": {
                "type": "number",
                "default": 0.5,
                "maximum": 1,
                "minimum": 0,
                "description": "How literally to follow the prompt, between 0 and 1. Higher is more literal."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "generation"
            ],
            "properties": {
              "generation": {
                "type": "object",
                "required": [
                  "job_id",
                  "kind",
                  "status",
                  "mutationReceipt"
                ],
                "properties": {
                  "kind": {
                    "enum": [
                      "image",
                      "video",
                      "voiceover",
                      "music",
                      "sound",
                      "faceless"
                    ],
                    "type": "string"
                  },
                  "job_id": {
                    "type": "string"
                  },
                  "status": {
                    "type": "string"
                  },
                  "app_url": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "media_id": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "project_id": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "mutationReceipt": {
                    "type": "object",
                    "required": [
                      "id",
                      "key",
                      "operation",
                      "status",
                      "replayed"
                    ],
                    "properties": {
                      "id": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "key": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "status": {
                        "enum": [
                          "completed"
                        ],
                        "type": "string"
                      },
                      "replayed": {
                        "type": "boolean"
                      },
                      "operation": {
                        "type": "string"
                      }
                    },
                    "additionalProperties": false
                  },
                  "estimated_credits": {
                    "type": [
                      "number",
                      "null"
                    ]
                  }
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "generation_faceless_create",
          "title": "Generate Faceless Video",
          "description": "Prepare a storyboard for a faceless video with optional voiceover, captions, music and sound. Poll generation_jobs_get for the storyboard, then use video_storyboard_get to review the scenes and estimated cost before approving production. Planning spends AI credits.",
          "inputSchema": {
            "type": "object",
            "required": [
              "script"
            ],
            "properties": {
              "script": {
                "type": "string",
                "maxLength": 30000,
                "minLength": 1,
                "description": "The narration or story to turn into a video."
              },
              "voiceId": {
                "type": "string",
                "maxLength": 200,
                "description": "Optional voice override from the BlitzReels voice catalog. The Story Kit narrator voice is used when omitted."
              },
              "seriesId": {
                "type": "string",
                "description": "Optional Series UUID. Inherits its Story Kit and branding defaults for this new video."
              },
              "storyKitId": {
                "type": "string",
                "description": "Reusable Story Kit UUID for characters, references, locations, style, and narrator voice."
              },
              "videoModel": {
                "enum": [
                  "sync-lipsync-2",
                  "flux-3-max",
                  "grok-imagine-1.5",
                  "heygen-video",
                  "omnihuman-v2",
                  "creatify-aurora",
                  "veed-fabric-1",
                  "seedance-2.5-flash",
                  "seedance-2.5-flash-ref2v",
                  "seedance-2.5-edit",
                  "kling-o3-standard-edit",
                  "kling-o3-pro-edit",
                  "kling-v4-edit",
                  "kling-v3-standard-motion-control",
                  "kling-v3-pro-motion-control",
                  "wan-2.2-animate-replace",
                  "kling-2.1",
                  "kling-2.6-pro",
                  "kling-o1",
                  "kling-3.0",
                  "kling-v4",
                  "kling-v4-ref2v",
                  "kling-o3-standard",
                  "kling-o3-pro",
                  "kling-o3-4k",
                  "kling-v3-pro",
                  "minimax-01",
                  "minimax-hailuo-02",
                  "minimax-hailuo-2.3-pro",
                  "minimax-h3-max",
                  "veo3",
                  "veo3.1",
                  "veo3.1-fast",
                  "gemini-omni-flash-ref2v",
                  "gemini-omni-flash-1.2-ref2v",
                  "gemini-omni-flash-edit",
                  "gemini-omni-flash-1.2-edit",
                  "gemini-omni-flash",
                  "gemini-omni-flash-1.2",
                  "wan-2.7",
                  "wan-2.7-ref2v",
                  "wan-3.0",
                  "wan-3.0-prime",
                  "happy-horse",
                  "happy-horse-ref2v",
                  "grok-imagine-lite",
                  "seedance-2.0-pro",
                  "seedance-2.5",
                  "seedance-2.0-pro-fast",
                  "seedance-2.0-ref2v",
                  "seedance-2.0-ref2v-fast"
                ],
                "type": "string",
                "default": "seedance-2.0-ref2v",
                "description": "Image-to-video model used to animate scenes."
              },
              "projectName": {
                "type": "string",
                "default": "Faceless Video",
                "maxLength": 200,
                "minLength": 1,
                "description": "Name for the created BlitzReels project."
              },
              "visualStyle": {
                "type": "string",
                "maxLength": 2000,
                "minLength": 1,
                "description": "Optional art direction override. A Story Kit style is used when omitted."
              },
              "workspaceId": {
                "type": "string",
                "format": "uuid",
                "description": "Optional workspace ID. Defaults to the user's default workspace. UUID string."
              },
              "imageModelId": {
                "type": "string",
                "default": "fal-ai/nano-banana-pro",
                "maxLength": 200,
                "minLength": 3,
                "description": "Model used to generate scene images."
              },
              "captionStyleId": {
                "type": "string",
                "maxLength": 200,
                "description": "Optional caption theme ID from captions_themes_list."
              },
              "idempotencyKey": {
                "type": "string",
                "pattern": "^[A-Za-z0-9._:-]+$",
                "maxLength": 200,
                "minLength": 8,
                "description": "Retry key. Reuse only with identical inputs."
              },
              "plannerModelId": {
                "type": "string",
                "default": "google/gemini-3.8-flash",
                "maxLength": 200,
                "minLength": 3,
                "description": "Model used to plan the video scenes."
              },
              "includeCaptions": {
                "type": "boolean",
                "default": true,
                "description": "Burn captions into the timeline."
              },
              "generateVoiceover": {
                "type": "boolean",
                "default": true,
                "description": "Narrate the script with a generated voice."
              },
              "generateSoundEffects": {
                "type": "boolean",
                "default": false,
                "description": "Add generated sound effects."
              },
              "targetDurationSeconds": {
                "type": "number",
                "default": 45,
                "maximum": 120,
                "minimum": 10,
                "description": "Target runtime between 10 and 120 seconds."
              },
              "styleReferenceAssetIds": {
                "type": "array",
                "items": {
                  "type": "string",
                  "format": "uuid"
                },
                "default": [],
                "maxItems": 10,
                "description": "Optional stills that lock rendering medium, palette, lighting and texture. Not used as scene frames."
              },
              "generateBackgroundMusic": {
                "type": "boolean",
                "default": false,
                "description": "Add a generated background track."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "generation"
            ],
            "properties": {
              "generation": {
                "type": "object",
                "required": [
                  "job_id",
                  "kind",
                  "status",
                  "mutationReceipt"
                ],
                "properties": {
                  "kind": {
                    "enum": [
                      "image",
                      "video",
                      "voiceover",
                      "music",
                      "sound",
                      "faceless"
                    ],
                    "type": "string"
                  },
                  "job_id": {
                    "type": "string"
                  },
                  "status": {
                    "type": "string"
                  },
                  "app_url": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "media_id": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "project_id": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "mutationReceipt": {
                    "type": "object",
                    "required": [
                      "id",
                      "key",
                      "operation",
                      "status",
                      "replayed"
                    ],
                    "properties": {
                      "id": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "key": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "status": {
                        "enum": [
                          "completed"
                        ],
                        "type": "string"
                      },
                      "replayed": {
                        "type": "boolean"
                      },
                      "operation": {
                        "type": "string"
                      }
                    },
                    "additionalProperties": false
                  },
                  "estimated_credits": {
                    "type": [
                      "number",
                      "null"
                    ]
                  }
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "generation_jobs_get",
          "title": "Get Generation Job",
          "description": "Read generation status, failure category, ledger-confirmed credit outcome, prompt history and compatible model alternatives. Alternatives report duration splits, estimated credits and unverified acceptance. reviewUrl opens prompt review and support escalation. Completed media jobs include the asset when available. A completed faceless planning job returns a storyboard revision for review before video production.",
          "inputSchema": {
            "type": "object",
            "required": [
              "jobId"
            ],
            "properties": {
              "jobId": {
                "type": "string",
                "format": "uuid",
                "description": "Job ID returned by any generation_*_create tool."
              },
              "workspaceId": {
                "type": "string",
                "format": "uuid",
                "description": "Optional workspace ID. Defaults to the user's default workspace. UUID string."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "job"
            ],
            "properties": {
              "job": {
                "type": "object",
                "required": [
                  "job_id",
                  "kind",
                  "status",
                  "progress",
                  "content_direction"
                ],
                "properties": {
                  "kind": {
                    "enum": [
                      "image",
                      "video",
                      "voiceover",
                      "music",
                      "sound",
                      "faceless"
                    ],
                    "type": "string"
                  },
                  "error": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "job_id": {
                    "type": "string"
                  },
                  "result": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "additionalProperties": true
                  },
                  "status": {
                    "enum": [
                      "queued",
                      "processing",
                      "complete",
                      "failed",
                      "canceled"
                    ],
                    "type": "string"
                  },
                  "app_url": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "media_id": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "progress": {
                    "type": "number"
                  },
                  "recovery": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "jobId",
                          "runId",
                          "failure",
                          "credits",
                          "history",
                          "alternatives",
                          "actions",
                          "reviewUrl"
                        ],
                        "properties": {
                          "jobId": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "runId": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "actions": {
                            "type": "array",
                            "items": {
                              "enum": [
                                "review_prompt",
                                "choose_model",
                                "request_review"
                              ],
                              "type": "string"
                            }
                          },
                          "credits": {
                            "type": "object",
                            "required": [
                              "status",
                              "charged",
                              "refunded",
                              "net"
                            ],
                            "properties": {
                              "net": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "status": {
                                "enum": [
                                  "not_charged",
                                  "charged",
                                  "refunded",
                                  "pending",
                                  "unknown"
                                ],
                                "type": "string"
                              },
                              "charged": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "refunded": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              }
                            },
                            "additionalProperties": false
                          },
                          "failure": {
                            "type": "object",
                            "required": [
                              "category",
                              "message",
                              "stage",
                              "retryable",
                              "model",
                              "provider"
                            ],
                            "properties": {
                              "model": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "stage": {
                                "enum": [
                                  "input",
                                  "output",
                                  "unknown"
                                ],
                                "type": "string"
                              },
                              "message": {
                                "type": "string"
                              },
                              "category": {
                                "enum": [
                                  "trial_limit",
                                  "copyright",
                                  "content_policy",
                                  "reference",
                                  "invalid_input",
                                  "temporary",
                                  "unknown"
                                ],
                                "type": "string"
                              },
                              "provider": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "retryable": {
                                "type": "boolean"
                              }
                            },
                            "additionalProperties": false
                          },
                          "history": {
                            "type": "object",
                            "required": [
                              "originalRequest",
                              "authoredPrompt",
                              "submittedPrompt",
                              "enhancementApplied",
                              "previousJobId",
                              "previews",
                              "settings",
                              "references",
                              "providerRequests"
                            ],
                            "properties": {
                              "previews": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "required": [
                                    "before",
                                    "after",
                                    "approach",
                                    "createdAt"
                                  ],
                                  "properties": {
                                    "after": {
                                      "type": "string"
                                    },
                                    "before": {
                                      "type": "string"
                                    },
                                    "approach": {
                                      "enum": [
                                        "clarify",
                                        "original_character"
                                      ],
                                      "type": "string"
                                    },
                                    "createdAt": {
                                      "type": "string"
                                    }
                                  },
                                  "additionalProperties": false
                                }
                              },
                              "settings": {
                                "type": "object",
                                "propertyNames": {
                                  "type": "string"
                                },
                                "additionalProperties": {}
                              },
                              "references": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "previousJobId": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "authoredPrompt": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "originalRequest": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "submittedPrompt": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "providerRequests": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "required": [
                                    "id",
                                    "provider",
                                    "status"
                                  ],
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "status": {
                                      "type": "string"
                                    },
                                    "provider": {
                                      "type": "string"
                                    }
                                  },
                                  "additionalProperties": false
                                }
                              },
                              "enhancementApplied": {
                                "type": "boolean"
                              }
                            },
                            "additionalProperties": false
                          },
                          "reviewUrl": {
                            "type": "string"
                          },
                          "alternatives": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "required": [
                                "model",
                                "label",
                                "segments",
                                "estimatedCredits",
                                "resolution",
                                "outputResolution",
                                "aspectRatio",
                                "generateAudio",
                                "requiresAssembly",
                                "acceptance"
                              ],
                              "properties": {
                                "label": {
                                  "type": "string"
                                },
                                "model": {
                                  "type": "string"
                                },
                                "segments": {
                                  "type": "array",
                                  "items": {
                                    "type": "number"
                                  }
                                },
                                "acceptance": {
                                  "type": "string",
                                  "const": "unverified"
                                },
                                "resolution": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "aspectRatio": {
                                  "type": "string"
                                },
                                "generateAudio": {
                                  "type": "boolean"
                                },
                                "estimatedCredits": {
                                  "type": "number"
                                },
                                "outputResolution": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "requiresAssembly": {
                                  "type": "boolean"
                                }
                              },
                              "additionalProperties": false
                            }
                          }
                        },
                        "additionalProperties": false
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "$schema": "https://json-schema.org/draft/2020-12/schema"
                  },
                  "created_at": {
                    "type": "string"
                  },
                  "project_id": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "completed_at": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "download_url": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "audio_recovery": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "attempt",
                          "mode"
                        ],
                        "properties": {
                          "mode": {
                            "type": "string",
                            "const": "saved_audio_only"
                          },
                          "attempt": {
                            "type": "integer",
                            "maximum": 16,
                            "minimum": 0
                          }
                        },
                        "additionalProperties": false
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "$schema": "https://json-schema.org/draft/2020-12/schema"
                  },
                  "content_direction": {
                    "type": "object",
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "required": [
                      "snapshot",
                      "status",
                      "current"
                    ],
                    "properties": {
                      "status": {
                        "enum": [
                          "current",
                          "changed",
                          "unavailable",
                          "unrecorded"
                        ],
                        "type": "string"
                      },
                      "current": {
                        "anyOf": [
                          {
                            "type": "object",
                            "required": [
                              "brandRevision",
                              "brandContentHash",
                              "seriesRevision",
                              "seriesContentHash"
                            ],
                            "properties": {
                              "brandRevision": {
                                "type": "integer",
                                "maximum": 9007199254740991,
                                "minimum": 0
                              },
                              "seriesRevision": {
                                "anyOf": [
                                  {
                                    "type": "integer",
                                    "maximum": 9007199254740991,
                                    "minimum": 0
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "brandContentHash": {
                                "type": "string"
                              },
                              "seriesContentHash": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "additionalProperties": false
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "snapshot": {
                        "anyOf": [
                          {
                            "type": "object",
                            "required": [
                              "capturedAt",
                              "scope",
                              "brand",
                              "series"
                            ],
                            "properties": {
                              "brand": {
                                "type": "object",
                                "required": [
                                  "title",
                                  "sources",
                                  "path",
                                  "documentId",
                                  "revision",
                                  "markdown",
                                  "contentHash"
                                ],
                                "properties": {
                                  "path": {
                                    "type": "string"
                                  },
                                  "title": {
                                    "type": "string"
                                  },
                                  "sources": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "required": [
                                        "url",
                                        "title"
                                      ],
                                      "properties": {
                                        "url": {
                                          "type": "string",
                                          "format": "uri",
                                          "maxLength": 2048
                                        },
                                        "title": {
                                          "type": "string",
                                          "maxLength": 240
                                        }
                                      },
                                      "additionalProperties": false
                                    }
                                  },
                                  "markdown": {
                                    "type": "string"
                                  },
                                  "revision": {
                                    "type": "integer",
                                    "maximum": 9007199254740991,
                                    "minimum": 0
                                  },
                                  "documentId": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "format": "uuid",
                                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "contentHash": {
                                    "type": "string"
                                  }
                                },
                                "additionalProperties": false
                              },
                              "scope": {
                                "type": "object",
                                "required": [
                                  "kind",
                                  "seriesId",
                                  "name"
                                ],
                                "properties": {
                                  "kind": {
                                    "enum": [
                                      "brand",
                                      "series"
                                    ],
                                    "type": "string"
                                  },
                                  "name": {
                                    "type": "string"
                                  },
                                  "seriesId": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "format": "uuid",
                                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  }
                                },
                                "additionalProperties": false
                              },
                              "series": {
                                "anyOf": [
                                  {
                                    "type": "object",
                                    "required": [
                                      "title",
                                      "sources",
                                      "path",
                                      "documentId",
                                      "revision",
                                      "markdown",
                                      "contentHash"
                                    ],
                                    "properties": {
                                      "path": {
                                        "type": "string"
                                      },
                                      "title": {
                                        "type": "string"
                                      },
                                      "sources": {
                                        "type": "array",
                                        "items": {
                                          "type": "object",
                                          "required": [
                                            "url",
                                            "title"
                                          ],
                                          "properties": {
                                            "url": {
                                              "type": "string",
                                              "format": "uri",
                                              "maxLength": 2048
                                            },
                                            "title": {
                                              "type": "string",
                                              "maxLength": 240
                                            }
                                          },
                                          "additionalProperties": false
                                        }
                                      },
                                      "markdown": {
                                        "type": "string"
                                      },
                                      "revision": {
                                        "type": "integer",
                                        "maximum": 9007199254740991,
                                        "minimum": 0
                                      },
                                      "documentId": {
                                        "anyOf": [
                                          {
                                            "type": "string",
                                            "format": "uuid",
                                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                          },
                                          {
                                            "type": "null"
                                          }
                                        ]
                                      },
                                      "contentHash": {
                                        "type": "string"
                                      }
                                    },
                                    "additionalProperties": false
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "capturedAt": {
                                "type": "string"
                              }
                            },
                            "additionalProperties": false
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "additionalProperties": false
                  },
                  "estimated_credits": {
                    "type": [
                      "number",
                      "null"
                    ]
                  }
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "generation_jobs_cancel",
          "title": "Cancel Generation Job",
          "description": "Request cancellation of the identified queued or running generation. Work already performed can consume credits; cancellation does not establish a refund.",
          "inputSchema": {
            "type": "object",
            "required": [
              "jobId"
            ],
            "properties": {
              "jobId": {
                "type": "string",
                "format": "uuid",
                "description": "Job ID returned by any generation_*_create tool."
              },
              "workspaceId": {
                "type": "string",
                "format": "uuid",
                "description": "Optional workspace ID. Defaults to the user's default workspace. UUID string."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "job"
            ],
            "properties": {
              "job": {
                "type": "object",
                "required": [
                  "job_id",
                  "kind",
                  "status",
                  "progress",
                  "content_direction"
                ],
                "properties": {
                  "kind": {
                    "enum": [
                      "image",
                      "video",
                      "voiceover",
                      "music",
                      "sound",
                      "faceless"
                    ],
                    "type": "string"
                  },
                  "error": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "job_id": {
                    "type": "string"
                  },
                  "result": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "additionalProperties": true
                  },
                  "status": {
                    "enum": [
                      "queued",
                      "processing",
                      "complete",
                      "failed",
                      "canceled"
                    ],
                    "type": "string"
                  },
                  "app_url": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "media_id": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "progress": {
                    "type": "number"
                  },
                  "recovery": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "jobId",
                          "runId",
                          "failure",
                          "credits",
                          "history",
                          "alternatives",
                          "actions",
                          "reviewUrl"
                        ],
                        "properties": {
                          "jobId": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "runId": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "actions": {
                            "type": "array",
                            "items": {
                              "enum": [
                                "review_prompt",
                                "choose_model",
                                "request_review"
                              ],
                              "type": "string"
                            }
                          },
                          "credits": {
                            "type": "object",
                            "required": [
                              "status",
                              "charged",
                              "refunded",
                              "net"
                            ],
                            "properties": {
                              "net": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "status": {
                                "enum": [
                                  "not_charged",
                                  "charged",
                                  "refunded",
                                  "pending",
                                  "unknown"
                                ],
                                "type": "string"
                              },
                              "charged": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "refunded": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              }
                            },
                            "additionalProperties": false
                          },
                          "failure": {
                            "type": "object",
                            "required": [
                              "category",
                              "message",
                              "stage",
                              "retryable",
                              "model",
                              "provider"
                            ],
                            "properties": {
                              "model": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "stage": {
                                "enum": [
                                  "input",
                                  "output",
                                  "unknown"
                                ],
                                "type": "string"
                              },
                              "message": {
                                "type": "string"
                              },
                              "category": {
                                "enum": [
                                  "trial_limit",
                                  "copyright",
                                  "content_policy",
                                  "reference",
                                  "invalid_input",
                                  "temporary",
                                  "unknown"
                                ],
                                "type": "string"
                              },
                              "provider": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "retryable": {
                                "type": "boolean"
                              }
                            },
                            "additionalProperties": false
                          },
                          "history": {
                            "type": "object",
                            "required": [
                              "originalRequest",
                              "authoredPrompt",
                              "submittedPrompt",
                              "enhancementApplied",
                              "previousJobId",
                              "previews",
                              "settings",
                              "references",
                              "providerRequests"
                            ],
                            "properties": {
                              "previews": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "required": [
                                    "before",
                                    "after",
                                    "approach",
                                    "createdAt"
                                  ],
                                  "properties": {
                                    "after": {
                                      "type": "string"
                                    },
                                    "before": {
                                      "type": "string"
                                    },
                                    "approach": {
                                      "enum": [
                                        "clarify",
                                        "original_character"
                                      ],
                                      "type": "string"
                                    },
                                    "createdAt": {
                                      "type": "string"
                                    }
                                  },
                                  "additionalProperties": false
                                }
                              },
                              "settings": {
                                "type": "object",
                                "propertyNames": {
                                  "type": "string"
                                },
                                "additionalProperties": {}
                              },
                              "references": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "previousJobId": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "authoredPrompt": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "originalRequest": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "submittedPrompt": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "providerRequests": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "required": [
                                    "id",
                                    "provider",
                                    "status"
                                  ],
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "status": {
                                      "type": "string"
                                    },
                                    "provider": {
                                      "type": "string"
                                    }
                                  },
                                  "additionalProperties": false
                                }
                              },
                              "enhancementApplied": {
                                "type": "boolean"
                              }
                            },
                            "additionalProperties": false
                          },
                          "reviewUrl": {
                            "type": "string"
                          },
                          "alternatives": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "required": [
                                "model",
                                "label",
                                "segments",
                                "estimatedCredits",
                                "resolution",
                                "outputResolution",
                                "aspectRatio",
                                "generateAudio",
                                "requiresAssembly",
                                "acceptance"
                              ],
                              "properties": {
                                "label": {
                                  "type": "string"
                                },
                                "model": {
                                  "type": "string"
                                },
                                "segments": {
                                  "type": "array",
                                  "items": {
                                    "type": "number"
                                  }
                                },
                                "acceptance": {
                                  "type": "string",
                                  "const": "unverified"
                                },
                                "resolution": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "aspectRatio": {
                                  "type": "string"
                                },
                                "generateAudio": {
                                  "type": "boolean"
                                },
                                "estimatedCredits": {
                                  "type": "number"
                                },
                                "outputResolution": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "requiresAssembly": {
                                  "type": "boolean"
                                }
                              },
                              "additionalProperties": false
                            }
                          }
                        },
                        "additionalProperties": false
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "$schema": "https://json-schema.org/draft/2020-12/schema"
                  },
                  "created_at": {
                    "type": "string"
                  },
                  "project_id": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "completed_at": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "download_url": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "audio_recovery": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "attempt",
                          "mode"
                        ],
                        "properties": {
                          "mode": {
                            "type": "string",
                            "const": "saved_audio_only"
                          },
                          "attempt": {
                            "type": "integer",
                            "maximum": 16,
                            "minimum": 0
                          }
                        },
                        "additionalProperties": false
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "$schema": "https://json-schema.org/draft/2020-12/schema"
                  },
                  "content_direction": {
                    "type": "object",
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "required": [
                      "snapshot",
                      "status",
                      "current"
                    ],
                    "properties": {
                      "status": {
                        "enum": [
                          "current",
                          "changed",
                          "unavailable",
                          "unrecorded"
                        ],
                        "type": "string"
                      },
                      "current": {
                        "anyOf": [
                          {
                            "type": "object",
                            "required": [
                              "brandRevision",
                              "brandContentHash",
                              "seriesRevision",
                              "seriesContentHash"
                            ],
                            "properties": {
                              "brandRevision": {
                                "type": "integer",
                                "maximum": 9007199254740991,
                                "minimum": 0
                              },
                              "seriesRevision": {
                                "anyOf": [
                                  {
                                    "type": "integer",
                                    "maximum": 9007199254740991,
                                    "minimum": 0
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "brandContentHash": {
                                "type": "string"
                              },
                              "seriesContentHash": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "additionalProperties": false
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "snapshot": {
                        "anyOf": [
                          {
                            "type": "object",
                            "required": [
                              "capturedAt",
                              "scope",
                              "brand",
                              "series"
                            ],
                            "properties": {
                              "brand": {
                                "type": "object",
                                "required": [
                                  "title",
                                  "sources",
                                  "path",
                                  "documentId",
                                  "revision",
                                  "markdown",
                                  "contentHash"
                                ],
                                "properties": {
                                  "path": {
                                    "type": "string"
                                  },
                                  "title": {
                                    "type": "string"
                                  },
                                  "sources": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "required": [
                                        "url",
                                        "title"
                                      ],
                                      "properties": {
                                        "url": {
                                          "type": "string",
                                          "format": "uri",
                                          "maxLength": 2048
                                        },
                                        "title": {
                                          "type": "string",
                                          "maxLength": 240
                                        }
                                      },
                                      "additionalProperties": false
                                    }
                                  },
                                  "markdown": {
                                    "type": "string"
                                  },
                                  "revision": {
                                    "type": "integer",
                                    "maximum": 9007199254740991,
                                    "minimum": 0
                                  },
                                  "documentId": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "format": "uuid",
                                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "contentHash": {
                                    "type": "string"
                                  }
                                },
                                "additionalProperties": false
                              },
                              "scope": {
                                "type": "object",
                                "required": [
                                  "kind",
                                  "seriesId",
                                  "name"
                                ],
                                "properties": {
                                  "kind": {
                                    "enum": [
                                      "brand",
                                      "series"
                                    ],
                                    "type": "string"
                                  },
                                  "name": {
                                    "type": "string"
                                  },
                                  "seriesId": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "format": "uuid",
                                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  }
                                },
                                "additionalProperties": false
                              },
                              "series": {
                                "anyOf": [
                                  {
                                    "type": "object",
                                    "required": [
                                      "title",
                                      "sources",
                                      "path",
                                      "documentId",
                                      "revision",
                                      "markdown",
                                      "contentHash"
                                    ],
                                    "properties": {
                                      "path": {
                                        "type": "string"
                                      },
                                      "title": {
                                        "type": "string"
                                      },
                                      "sources": {
                                        "type": "array",
                                        "items": {
                                          "type": "object",
                                          "required": [
                                            "url",
                                            "title"
                                          ],
                                          "properties": {
                                            "url": {
                                              "type": "string",
                                              "format": "uri",
                                              "maxLength": 2048
                                            },
                                            "title": {
                                              "type": "string",
                                              "maxLength": 240
                                            }
                                          },
                                          "additionalProperties": false
                                        }
                                      },
                                      "markdown": {
                                        "type": "string"
                                      },
                                      "revision": {
                                        "type": "integer",
                                        "maximum": 9007199254740991,
                                        "minimum": 0
                                      },
                                      "documentId": {
                                        "anyOf": [
                                          {
                                            "type": "string",
                                            "format": "uuid",
                                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                          },
                                          {
                                            "type": "null"
                                          }
                                        ]
                                      },
                                      "contentHash": {
                                        "type": "string"
                                      }
                                    },
                                    "additionalProperties": false
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "capturedAt": {
                                "type": "string"
                              }
                            },
                            "additionalProperties": false
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "additionalProperties": false
                  },
                  "estimated_credits": {
                    "type": [
                      "number",
                      "null"
                    ]
                  }
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "generation_plan_brief",
          "title": "Get Generation Plan Brief",
          "description": "Read a generation brief from rawPrompt. Source-video edits return execution for generation_video_create with required assets and transformation controls. New scenes return an authoring grammar and planJsonSchema for generation_plan_validate. The video creation provenance.originalRequest field retains rawPrompt when supplied. This read does not generate media or spend credits.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "genre": {
                "type": "string",
                "description": "Genre pack id (e.g. pixar-culture-skit). The brief lists available ids in availableGenres; the pack's beats and visual contract override the generic grammar."
              },
              "rawPrompt": {
                "type": "string",
                "maxLength": 5000,
                "description": "Original request. Clone or character-replacement requests select a video transformation brief instead of a new-story plan."
              },
              "aspectRatio": {
                "enum": [
                  "9:16",
                  "16:9",
                  "1:1"
                ],
                "type": "string",
                "default": "9:16"
              },
              "visualStyle": {
                "type": "string",
                "description": "Visual style preset id; its locked style contract is included in the brief."
              },
              "videoModelId": {
                "type": "string",
                "description": "Target video model id (see generation_options_list, kind: video). Defaults to the strongest single-take model."
              },
              "targetDurationSeconds": {
                "type": "number",
                "default": 15,
                "maximum": 300,
                "minimum": 2,
                "description": "Desired final video duration in seconds."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "brief"
            ],
            "properties": {
              "brief": {
                "type": "object",
                "required": [
                  "instructions",
                  "videoModelId",
                  "modelLabel",
                  "supportsNativeAudio",
                  "maxSingleTakeSeconds",
                  "allowedModes",
                  "targetDurationSeconds",
                  "aspectRatio",
                  "styleContract",
                  "grammar",
                  "planJsonSchema"
                ],
                "properties": {
                  "grammar": {
                    "type": "string"
                  },
                  "execution": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "description": "Source-video operation, model and required assets; null for new-story plans."
                  },
                  "genrePack": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "modelLabel": {
                    "type": "string"
                  },
                  "aspectRatio": {
                    "type": "string"
                  },
                  "allowedModes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "instructions": {
                    "type": "string"
                  },
                  "videoModelId": {
                    "type": "string"
                  },
                  "styleContract": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "planJsonSchema": {
                    "type": "object"
                  },
                  "availableGenres": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "supportsNativeAudio": {
                    "type": "boolean"
                  },
                  "maxSingleTakeSeconds": {
                    "type": "number"
                  },
                  "targetDurationSeconds": {
                    "type": "number"
                  }
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "generation_plan_validate",
          "title": "Validate Generation Plan",
          "description": "Validate a self-authored generation plan against the schema and the target model's real capabilities before execution. Returns directive errors to fix and revalidate; only a valid plan is executable.",
          "inputSchema": {
            "type": "object",
            "required": [
              "plan"
            ],
            "properties": {
              "plan": {
                "type": "object",
                "description": "The generation plan object authored from generation_plan_brief's planJsonSchema.",
                "additionalProperties": true
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "valid",
              "errors"
            ],
            "properties": {
              "valid": {
                "type": "boolean"
              },
              "errors": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Empty when valid. Each entry states exactly what to change."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "characters_list",
          "title": "List Reusable Characters",
          "description": "List bounded reusable characters with identity, voice, facts, and image-reference metadata.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "number",
                "default": 20,
                "maximum": 50,
                "minimum": 1
              },
              "offset": {
                "type": "number",
                "default": 0,
                "minimum": 0
              },
              "workspaceId": {
                "type": "string",
                "format": "uuid",
                "description": "Optional workspace UUID. Defaults to the user's default workspace. UUID string."
              },
              "includeArchived": {
                "type": "boolean",
                "default": false
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "characters",
              "bounds"
            ],
            "properties": {
              "bounds": {
                "type": "object",
                "required": [
                  "limit",
                  "maxLimit",
                  "offset",
                  "total",
                  "returned",
                  "hasMore",
                  "truncated"
                ],
                "properties": {
                  "limit": {
                    "type": "number"
                  },
                  "total": {
                    "type": "number"
                  },
                  "offset": {
                    "type": "number"
                  },
                  "hasMore": {
                    "type": "boolean"
                  },
                  "maxLimit": {
                    "type": "number"
                  },
                  "returned": {
                    "type": "number"
                  },
                  "truncated": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              "characters": {
                "type": "array",
                "items": {
                  "type": "object"
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "characters_get",
          "title": "Get Reusable Character",
          "description": "Inspect one reusable character and its ordered reference-image set before planning a story.",
          "inputSchema": {
            "type": "object",
            "required": [
              "characterId"
            ],
            "properties": {
              "characterId": {
                "type": "string"
              },
              "workspaceId": {
                "type": "string",
                "format": "uuid",
                "description": "Optional workspace UUID. Defaults to the user's default workspace. UUID string."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "character"
            ],
            "properties": {
              "character": {
                "type": "object"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "characters_apply",
          "title": "Apply Reusable Character",
          "description": "Create or update a reference-based character for repeatable faceless story generation.",
          "inputSchema": {
            "type": "object",
            "required": [
              "name",
              "idempotencyKey"
            ],
            "properties": {
              "name": {
                "type": "string"
              },
              "type": {
                "enum": [
                  "human",
                  "fictional",
                  "other"
                ],
                "type": "string",
                "default": "human"
              },
              "species": {
                "type": "string"
              },
              "storyFacts": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "characterId": {
                "type": "string"
              },
              "workspaceId": {
                "type": "string",
                "format": "uuid",
                "description": "Optional workspace UUID. Defaults to the user's default workspace. UUID string."
              },
              "defaultVoiceId": {
                "type": "string"
              },
              "idempotencyKey": {
                "type": "string"
              },
              "defaultVoiceStyle": {
                "type": "string"
              },
              "referenceAssetIds": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "canonicalDescription": {
                "type": "string"
              },
              "confirmLikenessConsent": {
                "type": "boolean",
                "default": false,
                "description": "For a human character, set true only after the user confirms consent to use the depicted person's likeness."
              },
              "primaryReferenceAssetId": {
                "type": "string"
              },
              "confirmRightsToReferences": {
                "type": "boolean",
                "default": false,
                "description": "Set true only after the user confirms they own the reference media or have permission to use it."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "character",
              "mutationReceipt"
            ],
            "properties": {
              "character": {
                "type": "object"
              },
              "mutationReceipt": {
                "type": "object",
                "required": [
                  "id",
                  "key",
                  "operation",
                  "status",
                  "replayed"
                ],
                "properties": {
                  "id": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "key": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "status": {
                    "enum": [
                      "completed"
                    ],
                    "type": "string"
                  },
                  "replayed": {
                    "type": "boolean"
                  },
                  "operation": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "story_kits_list",
          "title": "List Story Kits",
          "description": "List bounded reusable Story Kits that bind characters, locations, style, facts, and narrator voice.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "number",
                "default": 20,
                "maximum": 50,
                "minimum": 1
              },
              "offset": {
                "type": "number",
                "default": 0,
                "minimum": 0
              },
              "workspaceId": {
                "type": "string",
                "format": "uuid",
                "description": "Optional workspace UUID. Defaults to the user's default workspace. UUID string."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "storyKits",
              "bounds"
            ],
            "properties": {
              "bounds": {
                "type": "object",
                "required": [
                  "limit",
                  "maxLimit",
                  "offset",
                  "total",
                  "returned",
                  "hasMore",
                  "truncated"
                ],
                "properties": {
                  "limit": {
                    "type": "number"
                  },
                  "total": {
                    "type": "number"
                  },
                  "offset": {
                    "type": "number"
                  },
                  "hasMore": {
                    "type": "boolean"
                  },
                  "maxLimit": {
                    "type": "number"
                  },
                  "returned": {
                    "type": "number"
                  },
                  "truncated": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              "storyKits": {
                "type": "array",
                "items": {
                  "type": "object"
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "story_kits_get",
          "title": "Get Story Kit",
          "description": "Inspect one Story Kit and its revision before generating or updating a story.",
          "inputSchema": {
            "type": "object",
            "required": [
              "storyKitId"
            ],
            "properties": {
              "storyKitId": {
                "type": "string"
              },
              "workspaceId": {
                "type": "string",
                "format": "uuid",
                "description": "Optional workspace UUID. Defaults to the user's default workspace. UUID string."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "storyKit"
            ],
            "properties": {
              "storyKit": {
                "type": "object"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "story_kits_apply",
          "title": "Apply Story Kit",
          "description": "Create or update a Story Kit with optimistic concurrency and an idempotent mutation receipt.",
          "inputSchema": {
            "type": "object",
            "required": [
              "name",
              "visualStyle",
              "idempotencyKey"
            ],
            "properties": {
              "name": {
                "type": "string",
                "description": "Stable Story Kit name."
              },
              "facts": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "locations": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "name",
                    "canonicalDescription",
                    "referenceAssetIds",
                    "facts"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "facts": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "referenceAssetIds": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "canonicalDescription": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "storyKitId": {
                "type": "string"
              },
              "description": {
                "type": "string"
              },
              "visualStyle": {
                "type": "string",
                "description": "Canonical visual-style contract."
              },
              "workspaceId": {
                "type": "string",
                "format": "uuid",
                "description": "Optional workspace UUID. Defaults to the user's default workspace. UUID string."
              },
              "characterIds": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "idempotencyKey": {
                "type": "string"
              },
              "expectedRevision": {
                "type": "number"
              },
              "narratorCharacterId": {
                "type": "string"
              },
              "styleReferenceAssetIds": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "storyKit",
              "mutationReceipt"
            ],
            "properties": {
              "storyKit": {
                "type": "object"
              },
              "mutationReceipt": {
                "type": "object",
                "required": [
                  "id",
                  "key",
                  "operation",
                  "status",
                  "replayed"
                ],
                "properties": {
                  "id": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "key": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "status": {
                    "enum": [
                      "completed"
                    ],
                    "type": "string"
                  },
                  "replayed": {
                    "type": "boolean"
                  },
                  "operation": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "series_list",
          "title": "List Series",
          "description": "List optional Series with bounded counts and cover previews.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "limit",
              "offset",
              "workspaceId"
            ],
            "properties": {
              "limit": {
                "type": "integer",
                "default": 30,
                "maximum": 100,
                "minimum": 1
              },
              "offset": {
                "type": "integer",
                "default": 0,
                "maximum": 9007199254740991,
                "minimum": 0
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "items",
              "bounds"
            ],
            "properties": {
              "items": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "name",
                    "defaultCreationMode",
                    "description",
                    "coverAssetId",
                    "logoAssetId",
                    "storyKitId",
                    "captionThemeId",
                    "id",
                    "revision",
                    "createdAt",
                    "updatedAt",
                    "coverUrl",
                    "projectCount",
                    "sourceCount"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                    },
                    "name": {
                      "type": "string",
                      "maxLength": 120,
                      "minLength": 1
                    },
                    "coverUrl": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "revision": {
                      "type": "integer",
                      "maximum": 9007199254740991,
                      "exclusiveMinimum": 0
                    },
                    "createdAt": {
                      "type": "string"
                    },
                    "updatedAt": {
                      "type": "string"
                    },
                    "storyKitId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null
                    },
                    "description": {
                      "anyOf": [
                        {
                          "type": "string",
                          "maxLength": 2000
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null
                    },
                    "logoAssetId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null
                    },
                    "sourceCount": {
                      "type": "integer",
                      "maximum": 9007199254740991,
                      "minimum": -9007199254740991
                    },
                    "coverAssetId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null
                    },
                    "projectCount": {
                      "type": "integer",
                      "maximum": 9007199254740991,
                      "minimum": -9007199254740991
                    },
                    "captionThemeId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "maxLength": 120,
                          "minLength": 1
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null
                    },
                    "defaultCreationMode": {
                      "enum": [
                        "podcast",
                        "faceless"
                      ],
                      "type": "string",
                      "default": "podcast"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "bounds": {
                "type": "object",
                "required": [
                  "limit",
                  "offset",
                  "total",
                  "returned",
                  "hasMore",
                  "truncated"
                ],
                "properties": {
                  "limit": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991
                  },
                  "total": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991
                  },
                  "offset": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991
                  },
                  "hasMore": {
                    "type": "boolean"
                  },
                  "returned": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991
                  },
                  "truncated": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "series_get",
          "title": "Get Series",
          "description": "Read a Series identity, creative defaults and revision.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "workspaceId",
              "seriesId"
            ],
            "properties": {
              "seriesId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "series"
            ],
            "properties": {
              "series": {
                "type": "object",
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "required": [
                  "name",
                  "defaultCreationMode",
                  "description",
                  "coverAssetId",
                  "logoAssetId",
                  "storyKitId",
                  "captionThemeId",
                  "id",
                  "revision",
                  "createdAt",
                  "updatedAt"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  "name": {
                    "type": "string",
                    "maxLength": 120,
                    "minLength": 1
                  },
                  "revision": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "exclusiveMinimum": 0
                  },
                  "createdAt": {
                    "type": "string"
                  },
                  "updatedAt": {
                    "type": "string"
                  },
                  "storyKitId": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "description": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 2000
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "logoAssetId": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "coverAssetId": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "captionThemeId": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 120,
                        "minLength": 1
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "defaultCreationMode": {
                    "enum": [
                      "podcast",
                      "faceless"
                    ],
                    "type": "string",
                    "default": "podcast"
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "series_content",
          "title": "List Series Content",
          "description": "List sources or projects in a Series. Null seriesId lists standalone content. sourceId filters projects by clip origin.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "limit",
              "offset",
              "seriesId",
              "kind",
              "sourceId",
              "search",
              "workspaceId"
            ],
            "properties": {
              "kind": {
                "enum": [
                  "project",
                  "source"
                ],
                "type": "string"
              },
              "limit": {
                "type": "integer",
                "default": 30,
                "maximum": 100,
                "minimum": 1
              },
              "offset": {
                "type": "integer",
                "default": 0,
                "maximum": 9007199254740991,
                "minimum": 0
              },
              "search": {
                "type": "string",
                "default": "",
                "maxLength": 120
              },
              "seriesId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "sourceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "items",
              "bounds"
            ],
            "properties": {
              "items": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "kind",
                    "name",
                    "seriesId",
                    "sourceId",
                    "thumbnailUrl",
                    "durationSeconds"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                    },
                    "kind": {
                      "enum": [
                        "project",
                        "source"
                      ],
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "seriesId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sourceId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "thumbnailUrl": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "durationSeconds": {
                      "type": [
                        "number",
                        "null"
                      ]
                    }
                  },
                  "additionalProperties": false
                }
              },
              "bounds": {
                "type": "object",
                "required": [
                  "limit",
                  "offset",
                  "total",
                  "returned",
                  "hasMore",
                  "truncated"
                ],
                "properties": {
                  "limit": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991
                  },
                  "total": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991
                  },
                  "offset": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991
                  },
                  "hasMore": {
                    "type": "boolean"
                  },
                  "returned": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991
                  },
                  "truncated": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "series_apply",
          "title": "Apply Series",
          "description": "Create or replace a Growth+ Series identity and defaults. defaultCreationMode selects podcast branding or faceless Story Kit defaults; membership stays mixed. Updates require expectedRevision. Existing content keeps its settings.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "name",
              "defaultCreationMode",
              "description",
              "coverAssetId",
              "logoAssetId",
              "storyKitId",
              "captionThemeId",
              "seriesId",
              "expectedRevision",
              "workspaceId",
              "idempotencyKey"
            ],
            "properties": {
              "name": {
                "type": "string",
                "maxLength": 120,
                "minLength": 1
              },
              "seriesId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "storyKitId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "description": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 2000
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "logoAssetId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "coverAssetId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "captionThemeId": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 120,
                    "minLength": 1
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "idempotencyKey": {
                "type": "string",
                "maxLength": 200,
                "minLength": 8
              },
              "expectedRevision": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "exclusiveMinimum": 0
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "defaultCreationMode": {
                "enum": [
                  "podcast",
                  "faceless"
                ],
                "type": "string",
                "default": "podcast"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "series",
              "mutationReceipt"
            ],
            "properties": {
              "series": {
                "type": "object",
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "required": [
                  "name",
                  "defaultCreationMode",
                  "description",
                  "coverAssetId",
                  "logoAssetId",
                  "storyKitId",
                  "captionThemeId",
                  "id",
                  "revision",
                  "createdAt",
                  "updatedAt"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  "name": {
                    "type": "string",
                    "maxLength": 120,
                    "minLength": 1
                  },
                  "revision": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "exclusiveMinimum": 0
                  },
                  "createdAt": {
                    "type": "string"
                  },
                  "updatedAt": {
                    "type": "string"
                  },
                  "storyKitId": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "description": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 2000
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "logoAssetId": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "coverAssetId": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "captionThemeId": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 120,
                        "minLength": 1
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "defaultCreationMode": {
                    "enum": [
                      "podcast",
                      "faceless"
                    ],
                    "type": "string",
                    "default": "podcast"
                  }
                },
                "additionalProperties": false
              },
              "mutationReceipt": {
                "type": "object",
                "required": [
                  "id",
                  "key",
                  "operation",
                  "status",
                  "replayed"
                ],
                "properties": {
                  "id": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "key": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "status": {
                    "enum": [
                      "completed"
                    ],
                    "type": "string"
                  },
                  "replayed": {
                    "type": "boolean"
                  },
                  "operation": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "series_assign",
          "title": "Assign Series Content",
          "description": "Assign, move or detach one source or project using expectedSeriesId. Moving a source does not move existing clips or change branding.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "kind",
              "contentId",
              "seriesId",
              "expectedSeriesId",
              "workspaceId",
              "idempotencyKey"
            ],
            "properties": {
              "kind": {
                "enum": [
                  "project",
                  "source"
                ],
                "type": "string"
              },
              "seriesId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "contentId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "idempotencyKey": {
                "type": "string",
                "maxLength": 200,
                "minLength": 8
              },
              "expectedSeriesId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "id",
              "kind",
              "seriesId",
              "previousSeriesId",
              "changed",
              "mutationReceipt"
            ],
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "kind": {
                "enum": [
                  "project",
                  "source"
                ],
                "type": "string"
              },
              "changed": {
                "type": "boolean"
              },
              "seriesId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "mutationReceipt": {
                "type": "object",
                "required": [
                  "id",
                  "key",
                  "operation",
                  "status",
                  "replayed"
                ],
                "properties": {
                  "id": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "key": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "status": {
                    "enum": [
                      "completed"
                    ],
                    "type": "string"
                  },
                  "replayed": {
                    "type": "boolean"
                  },
                  "operation": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "previousSeriesId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "series_delete",
          "title": "Delete Series",
          "description": "Delete the Series container at an expected revision and detach its content. Sources, projects and exports are preserved.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "seriesId",
              "expectedRevision",
              "workspaceId",
              "idempotencyKey"
            ],
            "properties": {
              "seriesId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "idempotencyKey": {
                "type": "string",
                "maxLength": 200,
                "minLength": 8
              },
              "expectedRevision": {
                "type": "integer",
                "maximum": 9007199254740991,
                "exclusiveMinimum": 0
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "id",
              "detachedProjects",
              "detachedSources",
              "contentPreserved",
              "mutationReceipt"
            ],
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "detachedSources": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": -9007199254740991
              },
              "mutationReceipt": {
                "type": "object",
                "required": [
                  "id",
                  "key",
                  "operation",
                  "status",
                  "replayed"
                ],
                "properties": {
                  "id": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "key": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "status": {
                    "enum": [
                      "completed"
                    ],
                    "type": "string"
                  },
                  "replayed": {
                    "type": "boolean"
                  },
                  "operation": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "contentPreserved": {
                "type": "boolean",
                "const": true
              },
              "detachedProjects": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": -9007199254740991
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "customer_measurements_list",
          "title": "Read customer outcomes",
          "description": "Read observed link clicks and self-reported outcomes in a bounded window up to 90 days. Counts are not verified conversions. Provider engagement remains separate.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "from",
              "to",
              "limit",
              "offset",
              "workspaceId"
            ],
            "properties": {
              "to": {
                "type": "string",
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
              },
              "from": {
                "type": "string",
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
              },
              "limit": {
                "type": "integer",
                "default": 30,
                "maximum": 100,
                "minimum": 1
              },
              "offset": {
                "type": "integer",
                "default": 0,
                "maximum": 10000,
                "minimum": 0
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "links",
              "outcomes",
              "linkBounds",
              "outcomeBounds",
              "window",
              "clickSemantics",
              "outcomeSemantics",
              "retentionDays"
            ],
            "properties": {
              "links": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "seriesId",
                    "projectId",
                    "postId",
                    "id",
                    "label",
                    "destination",
                    "enabled",
                    "revision",
                    "url",
                    "createdAt",
                    "clicks",
                    "capped"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                    },
                    "url": {
                      "type": "string",
                      "format": "uri"
                    },
                    "label": {
                      "type": "string",
                      "maxLength": 120,
                      "minLength": 1
                    },
                    "capped": {
                      "type": "boolean"
                    },
                    "clicks": {
                      "type": "integer",
                      "maximum": 9007199254740991,
                      "minimum": 0
                    },
                    "postId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "enabled": {
                      "type": "boolean"
                    },
                    "revision": {
                      "type": "integer",
                      "maximum": 9007199254740991,
                      "exclusiveMinimum": 0
                    },
                    "seriesId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                    },
                    "projectId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "destination": {
                      "type": "string",
                      "format": "uri",
                      "maxLength": 2048
                    }
                  },
                  "additionalProperties": false
                }
              },
              "window": {
                "type": "object",
                "required": [
                  "from",
                  "to"
                ],
                "properties": {
                  "to": {
                    "type": "string",
                    "format": "date-time",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                  },
                  "from": {
                    "type": "string",
                    "format": "date-time",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                  }
                },
                "additionalProperties": false
              },
              "outcomes": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "seriesId",
                    "projectId",
                    "postId",
                    "id",
                    "kind",
                    "value",
                    "unit",
                    "occurredAt",
                    "source",
                    "attribution",
                    "voided",
                    "revision",
                    "authorId",
                    "recordedAt"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                    },
                    "kind": {
                      "enum": [
                        "leads",
                        "sales",
                        "revenue",
                        "other"
                      ],
                      "type": "string"
                    },
                    "unit": {
                      "type": "string",
                      "maxLength": 32,
                      "minLength": 1
                    },
                    "value": {
                      "type": "number",
                      "maximum": 1000000000,
                      "minimum": 0,
                      "multipleOf": 0.000001
                    },
                    "postId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "source": {
                      "type": "string",
                      "maxLength": 1000,
                      "minLength": 1
                    },
                    "voided": {
                      "type": "boolean"
                    },
                    "authorId": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                    },
                    "revision": {
                      "type": "integer",
                      "maximum": 9007199254740991,
                      "exclusiveMinimum": 0
                    },
                    "seriesId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "projectId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "occurredAt": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                    },
                    "recordedAt": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                    },
                    "attribution": {
                      "enum": [
                        "unknown",
                        "self_reported"
                      ],
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "linkBounds": {
                "type": "object",
                "required": [
                  "limit",
                  "offset",
                  "total",
                  "returned",
                  "hasMore",
                  "truncated"
                ],
                "properties": {
                  "limit": {
                    "type": "number"
                  },
                  "total": {
                    "type": "number"
                  },
                  "offset": {
                    "type": "number"
                  },
                  "hasMore": {
                    "type": "boolean"
                  },
                  "returned": {
                    "type": "number"
                  },
                  "truncated": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              "outcomeBounds": {
                "type": "object",
                "required": [
                  "limit",
                  "offset",
                  "total",
                  "returned",
                  "hasMore",
                  "truncated"
                ],
                "properties": {
                  "limit": {
                    "type": "number"
                  },
                  "total": {
                    "type": "number"
                  },
                  "offset": {
                    "type": "number"
                  },
                  "hasMore": {
                    "type": "boolean"
                  },
                  "returned": {
                    "type": "number"
                  },
                  "truncated": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              "retentionDays": {
                "type": "number",
                "const": 90
              },
              "clickSemantics": {
                "type": "string",
                "const": "observed_clicks_deduplicated_per_link_per_utc_day"
              },
              "outcomeSemantics": {
                "type": "string",
                "const": "self_reported_not_verified_conversions"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "customer_link_apply",
          "title": "Save customer tracking link",
          "description": "Create a stable HTTPS tracking link or revise its label/enabled state. Destination and content association are immutable. Revisions require expectedRevision; null creates.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "seriesId",
              "projectId",
              "postId",
              "id",
              "expectedRevision",
              "label",
              "destination",
              "enabled",
              "workspaceId",
              "idempotencyKey"
            ],
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "label": {
                "type": "string",
                "maxLength": 120,
                "minLength": 1
              },
              "postId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "enabled": {
                "type": "boolean"
              },
              "seriesId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "projectId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "destination": {
                "type": "string",
                "format": "uri",
                "maxLength": 2048
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "idempotencyKey": {
                "type": "string",
                "maxLength": 200,
                "minLength": 8
              },
              "expectedRevision": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "exclusiveMinimum": 0
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "link",
              "mutationReceipt"
            ],
            "properties": {
              "link": {
                "type": "object",
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "required": [
                  "seriesId",
                  "projectId",
                  "postId",
                  "id",
                  "label",
                  "destination",
                  "enabled",
                  "revision",
                  "url",
                  "createdAt"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  "url": {
                    "type": "string",
                    "format": "uri"
                  },
                  "label": {
                    "type": "string",
                    "maxLength": 120,
                    "minLength": 1
                  },
                  "postId": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "enabled": {
                    "type": "boolean"
                  },
                  "revision": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "exclusiveMinimum": 0
                  },
                  "seriesId": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "createdAt": {
                    "type": "string",
                    "format": "date-time",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                  },
                  "projectId": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "destination": {
                    "type": "string",
                    "format": "uri",
                    "maxLength": 2048
                  }
                },
                "additionalProperties": false
              },
              "mutationReceipt": {
                "type": "object",
                "required": [
                  "id",
                  "key",
                  "operation",
                  "status",
                  "replayed"
                ],
                "properties": {
                  "id": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "key": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "status": {
                    "enum": [
                      "completed"
                    ],
                    "type": "string"
                  },
                  "replayed": {
                    "type": "boolean"
                  },
                  "operation": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "customer_outcome_apply",
          "title": "Save self-reported outcome",
          "description": "Record or revise leads, sales, revenue or another measured outcome with source, time and explicit attribution. Revision history is retained; voided records remain visible. No conversion is inferred from clicks.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "seriesId",
              "projectId",
              "postId",
              "id",
              "expectedRevision",
              "kind",
              "value",
              "unit",
              "occurredAt",
              "source",
              "attribution",
              "voided",
              "workspaceId",
              "idempotencyKey"
            ],
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "kind": {
                "enum": [
                  "leads",
                  "sales",
                  "revenue",
                  "other"
                ],
                "type": "string"
              },
              "unit": {
                "type": "string",
                "maxLength": 32,
                "minLength": 1
              },
              "value": {
                "type": "number",
                "maximum": 1000000000,
                "minimum": 0,
                "multipleOf": 0.000001
              },
              "postId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "source": {
                "type": "string",
                "maxLength": 1000,
                "minLength": 1
              },
              "voided": {
                "type": "boolean"
              },
              "seriesId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "projectId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "occurredAt": {
                "type": "string",
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
              },
              "attribution": {
                "enum": [
                  "unknown",
                  "self_reported"
                ],
                "type": "string"
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "idempotencyKey": {
                "type": "string",
                "maxLength": 200,
                "minLength": 8
              },
              "expectedRevision": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "exclusiveMinimum": 0
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "outcome",
              "mutationReceipt"
            ],
            "properties": {
              "outcome": {
                "type": "object",
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "required": [
                  "seriesId",
                  "projectId",
                  "postId",
                  "id",
                  "kind",
                  "value",
                  "unit",
                  "occurredAt",
                  "source",
                  "attribution",
                  "voided",
                  "revision",
                  "authorId",
                  "recordedAt"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  "kind": {
                    "enum": [
                      "leads",
                      "sales",
                      "revenue",
                      "other"
                    ],
                    "type": "string"
                  },
                  "unit": {
                    "type": "string",
                    "maxLength": 32,
                    "minLength": 1
                  },
                  "value": {
                    "type": "number",
                    "maximum": 1000000000,
                    "minimum": 0,
                    "multipleOf": 0.000001
                  },
                  "postId": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "source": {
                    "type": "string",
                    "maxLength": 1000,
                    "minLength": 1
                  },
                  "voided": {
                    "type": "boolean"
                  },
                  "authorId": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  "revision": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "exclusiveMinimum": 0
                  },
                  "seriesId": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "projectId": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "occurredAt": {
                    "type": "string",
                    "format": "date-time",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                  },
                  "recordedAt": {
                    "type": "string",
                    "format": "date-time",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                  },
                  "attribution": {
                    "enum": [
                      "unknown",
                      "self_reported"
                    ],
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "mutationReceipt": {
                "type": "object",
                "required": [
                  "id",
                  "key",
                  "operation",
                  "status",
                  "replayed"
                ],
                "properties": {
                  "id": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "key": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "status": {
                    "enum": [
                      "completed"
                    ],
                    "type": "string"
                  },
                  "replayed": {
                    "type": "boolean"
                  },
                  "operation": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "learning_quote",
          "title": "Inspect learning evidence",
          "description": "Read bounded Series feedback, metrics, clicks and self-reported outcomes with current owner direction and a cost quote. No model call. Missing or incomparable evidence remains explicit.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "seriesId",
              "goal",
              "from",
              "to",
              "maxVariations",
              "language",
              "workspaceId"
            ],
            "properties": {
              "to": {
                "type": "string",
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
              },
              "from": {
                "type": "string",
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
              },
              "goal": {
                "enum": [
                  "reach",
                  "engagement",
                  "traffic",
                  "leads",
                  "sales",
                  "revenue"
                ],
                "type": "string"
              },
              "language": {
                "enum": [
                  "en",
                  "fr"
                ],
                "type": "string"
              },
              "seriesId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "maxVariations": {
                "type": "integer",
                "default": 3,
                "maximum": 5,
                "minimum": 1
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "evidence",
              "quoteId",
              "maximumUsd",
              "credits",
              "expiresAt"
            ],
            "properties": {
              "credits": {
                "type": "number",
                "minimum": 0
              },
              "quoteId": {
                "type": "string",
                "pattern": "^[a-f0-9]{64}$"
              },
              "evidence": {
                "type": "object",
                "required": [
                  "fingerprint",
                  "capturedAt",
                  "seriesName",
                  "request",
                  "context",
                  "observations",
                  "comparisons",
                  "bounds",
                  "authorityComplete"
                ],
                "properties": {
                  "bounds": {
                    "type": "object",
                    "required": [
                      "metricLimit",
                      "reviewLimit",
                      "editLimit",
                      "linkLimit",
                      "outcomeLimit",
                      "truncated"
                    ],
                    "properties": {
                      "editLimit": {
                        "type": "number",
                        "const": 30
                      },
                      "linkLimit": {
                        "type": "number",
                        "const": 30
                      },
                      "truncated": {
                        "type": "boolean"
                      },
                      "metricLimit": {
                        "type": "number",
                        "const": 100
                      },
                      "reviewLimit": {
                        "type": "number",
                        "const": 30
                      },
                      "outcomeLimit": {
                        "type": "number",
                        "const": 30
                      }
                    },
                    "additionalProperties": false
                  },
                  "context": {
                    "type": "object",
                    "required": [
                      "direction",
                      "precedence",
                      "documents",
                      "bounds",
                      "characterLimit",
                      "truncatedDocumentIds"
                    ],
                    "properties": {
                      "bounds": {
                        "type": "object",
                        "required": [
                          "limit",
                          "offset",
                          "total",
                          "returned",
                          "hasMore",
                          "truncated"
                        ],
                        "properties": {
                          "limit": {
                            "type": "number"
                          },
                          "total": {
                            "type": "number"
                          },
                          "offset": {
                            "type": "number"
                          },
                          "hasMore": {
                            "type": "boolean"
                          },
                          "returned": {
                            "type": "number"
                          },
                          "truncated": {
                            "type": "boolean"
                          }
                        },
                        "additionalProperties": false
                      },
                      "direction": {
                        "type": "object",
                        "required": [
                          "capturedAt",
                          "scope",
                          "brand",
                          "series"
                        ],
                        "properties": {
                          "brand": {
                            "type": "object",
                            "required": [
                              "title",
                              "sources",
                              "path",
                              "documentId",
                              "revision",
                              "markdown",
                              "contentHash"
                            ],
                            "properties": {
                              "path": {
                                "type": "string"
                              },
                              "title": {
                                "type": "string"
                              },
                              "sources": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "required": [
                                    "url",
                                    "title"
                                  ],
                                  "properties": {
                                    "url": {
                                      "type": "string",
                                      "format": "uri",
                                      "maxLength": 2048
                                    },
                                    "title": {
                                      "type": "string",
                                      "maxLength": 240
                                    }
                                  },
                                  "additionalProperties": false
                                }
                              },
                              "markdown": {
                                "type": "string"
                              },
                              "revision": {
                                "type": "integer",
                                "maximum": 9007199254740991,
                                "minimum": 0
                              },
                              "documentId": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "contentHash": {
                                "type": "string"
                              }
                            },
                            "additionalProperties": false
                          },
                          "scope": {
                            "type": "object",
                            "required": [
                              "kind",
                              "seriesId",
                              "name"
                            ],
                            "properties": {
                              "kind": {
                                "enum": [
                                  "brand",
                                  "series"
                                ],
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "seriesId": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              }
                            },
                            "additionalProperties": false
                          },
                          "series": {
                            "anyOf": [
                              {
                                "type": "object",
                                "required": [
                                  "title",
                                  "sources",
                                  "path",
                                  "documentId",
                                  "revision",
                                  "markdown",
                                  "contentHash"
                                ],
                                "properties": {
                                  "path": {
                                    "type": "string"
                                  },
                                  "title": {
                                    "type": "string"
                                  },
                                  "sources": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "required": [
                                        "url",
                                        "title"
                                      ],
                                      "properties": {
                                        "url": {
                                          "type": "string",
                                          "format": "uri",
                                          "maxLength": 2048
                                        },
                                        "title": {
                                          "type": "string",
                                          "maxLength": 240
                                        }
                                      },
                                      "additionalProperties": false
                                    }
                                  },
                                  "markdown": {
                                    "type": "string"
                                  },
                                  "revision": {
                                    "type": "integer",
                                    "maximum": 9007199254740991,
                                    "minimum": 0
                                  },
                                  "documentId": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "format": "uuid",
                                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "contentHash": {
                                    "type": "string"
                                  }
                                },
                                "additionalProperties": false
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "capturedAt": {
                            "type": "string"
                          }
                        },
                        "additionalProperties": false
                      },
                      "documents": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "id",
                            "path",
                            "title",
                            "kind",
                            "revision",
                            "updatedAt",
                            "content"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "kind": {
                              "enum": [
                                "brief",
                                "research",
                                "correction",
                                "reference"
                              ],
                              "type": "string"
                            },
                            "path": {
                              "type": "string"
                            },
                            "title": {
                              "type": "string"
                            },
                            "content": {
                              "type": "object",
                              "required": [
                                "documentId",
                                "revision",
                                "title",
                                "kind",
                                "markdown",
                                "sources",
                                "authorUserId",
                                "origin",
                                "sourceRef",
                                "contentHash",
                                "createdAt"
                              ],
                              "properties": {
                                "kind": {
                                  "enum": [
                                    "brief",
                                    "research",
                                    "correction",
                                    "reference"
                                  ],
                                  "type": "string"
                                },
                                "title": {
                                  "type": "string"
                                },
                                "origin": {
                                  "enum": [
                                    "web",
                                    "agent",
                                    "legacy",
                                    "seed"
                                  ],
                                  "type": "string"
                                },
                                "sources": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "required": [
                                      "url",
                                      "title"
                                    ],
                                    "properties": {
                                      "url": {
                                        "type": "string",
                                        "format": "uri",
                                        "maxLength": 2048
                                      },
                                      "title": {
                                        "type": "string",
                                        "maxLength": 240
                                      }
                                    },
                                    "additionalProperties": false
                                  }
                                },
                                "markdown": {
                                  "type": "string"
                                },
                                "revision": {
                                  "type": "integer",
                                  "maximum": 9007199254740991,
                                  "exclusiveMinimum": 0
                                },
                                "createdAt": {
                                  "type": "string"
                                },
                                "sourceRef": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "documentId": {
                                  "type": "string",
                                  "format": "uuid",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                },
                                "contentHash": {
                                  "type": "string"
                                },
                                "authorUserId": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                }
                              },
                              "additionalProperties": false
                            },
                            "revision": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "exclusiveMinimum": 0
                            },
                            "updatedAt": {
                              "type": "string"
                            }
                          },
                          "additionalProperties": false
                        }
                      },
                      "precedence": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "characterLimit": {
                        "type": "number"
                      },
                      "truncatedDocumentIds": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      }
                    },
                    "additionalProperties": false
                  },
                  "request": {
                    "type": "object",
                    "required": [
                      "seriesId",
                      "goal",
                      "from",
                      "to",
                      "maxVariations",
                      "language"
                    ],
                    "properties": {
                      "to": {
                        "type": "string",
                        "format": "date-time",
                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                      },
                      "from": {
                        "type": "string",
                        "format": "date-time",
                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                      },
                      "goal": {
                        "enum": [
                          "reach",
                          "engagement",
                          "traffic",
                          "leads",
                          "sales",
                          "revenue"
                        ],
                        "type": "string"
                      },
                      "language": {
                        "enum": [
                          "en",
                          "fr"
                        ],
                        "type": "string"
                      },
                      "seriesId": {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                      },
                      "maxVariations": {
                        "type": "integer",
                        "default": 3,
                        "maximum": 5,
                        "minimum": 1
                      }
                    },
                    "additionalProperties": false
                  },
                  "capturedAt": {
                    "type": "string",
                    "format": "date-time",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                  },
                  "seriesName": {
                    "type": "string"
                  },
                  "comparisons": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "cohort",
                        "samples",
                        "median",
                        "status",
                        "observationIds"
                      ],
                      "properties": {
                        "cohort": {
                          "type": "string"
                        },
                        "median": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "status": {
                          "enum": [
                            "descriptive_comparison",
                            "insufficient_evidence"
                          ],
                          "type": "string"
                        },
                        "samples": {
                          "type": "integer",
                          "maximum": 9007199254740991,
                          "minimum": 0
                        },
                        "observationIds": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          },
                          "maxItems": 100
                        }
                      },
                      "additionalProperties": false
                    },
                    "maxItems": 100
                  },
                  "fingerprint": {
                    "type": "string",
                    "pattern": "^[a-f0-9]{64}$"
                  },
                  "observations": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "kind",
                        "anchor",
                        "projectId",
                        "creativeRevision",
                        "accountId",
                        "format",
                        "observedAt",
                        "sourceUrl",
                        "summary",
                        "value",
                        "unit",
                        "attribution",
                        "cohort",
                        "eligible",
                        "details"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "maxLength": 100
                        },
                        "kind": {
                          "enum": [
                            "metric",
                            "review",
                            "click",
                            "outcome"
                          ],
                          "type": "string"
                        },
                        "unit": {
                          "type": "string",
                          "maxLength": 50
                        },
                        "value": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "anchor": {
                          "type": "string",
                          "maxLength": 230
                        },
                        "cohort": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 300
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "format": {
                          "anyOf": [
                            {
                              "enum": [
                                "video",
                                "carousel",
                                "image"
                              ],
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "details": {
                          "type": "object",
                          "propertyNames": {
                            "type": "string"
                          },
                          "additionalProperties": {}
                        },
                        "summary": {
                          "type": "string",
                          "maxLength": 2500
                        },
                        "eligible": {
                          "type": "boolean"
                        },
                        "accountId": {
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "projectId": {
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "sourceUrl": {
                          "type": "string",
                          "format": "uri"
                        },
                        "observedAt": {
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "attribution": {
                          "enum": [
                            "observed",
                            "self_reported",
                            "unknown"
                          ],
                          "type": "string"
                        },
                        "creativeRevision": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 200
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "additionalProperties": false
                    },
                    "maxItems": 200
                  },
                  "authorityComplete": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              "expiresAt": {
                "type": "string",
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
              },
              "maximumUsd": {
                "type": "number",
                "minimum": 0
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "learning_start",
          "title": "Propose content variations",
          "description": "Start one bounded model call from a reviewed learning quote and approved credits/USD cap. Saves cited lessons and up to five experimental briefs in the shared brain. Idempotent; never publishes or promises performance.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "seriesId",
              "goal",
              "from",
              "to",
              "maxVariations",
              "language",
              "quoteId",
              "expectedEvidence",
              "maxUsd",
              "maxCredits",
              "idempotencyKey",
              "workspaceId"
            ],
            "properties": {
              "to": {
                "type": "string",
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
              },
              "from": {
                "type": "string",
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
              },
              "goal": {
                "enum": [
                  "reach",
                  "engagement",
                  "traffic",
                  "leads",
                  "sales",
                  "revenue"
                ],
                "type": "string"
              },
              "maxUsd": {
                "type": "number",
                "maximum": 10,
                "exclusiveMinimum": 0
              },
              "quoteId": {
                "type": "string",
                "pattern": "^[a-f0-9]{64}$"
              },
              "language": {
                "enum": [
                  "en",
                  "fr"
                ],
                "type": "string"
              },
              "seriesId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "maxCredits": {
                "type": "number",
                "maximum": 10000,
                "minimum": 0
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "maxVariations": {
                "type": "integer",
                "default": 3,
                "maximum": 5,
                "minimum": 1
              },
              "idempotencyKey": {
                "type": "string",
                "pattern": "^[a-zA-Z0-9._:-]+$",
                "maxLength": 150,
                "minLength": 8
              },
              "expectedEvidence": {
                "type": "string",
                "pattern": "^[a-f0-9]{64}$"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "id",
              "status",
              "evidence",
              "documents",
              "proposal",
              "error",
              "direction",
              "runId",
              "canResume"
            ],
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "error": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "runId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "status": {
                "enum": [
                  "queued",
                  "generating",
                  "saving",
                  "complete",
                  "unknown",
                  "cancelled",
                  "failed"
                ],
                "type": "string"
              },
              "evidence": {
                "type": "object",
                "required": [
                  "fingerprint",
                  "capturedAt",
                  "seriesName",
                  "request",
                  "context",
                  "observations",
                  "comparisons",
                  "bounds",
                  "authorityComplete"
                ],
                "properties": {
                  "bounds": {
                    "type": "object",
                    "required": [
                      "metricLimit",
                      "reviewLimit",
                      "editLimit",
                      "linkLimit",
                      "outcomeLimit",
                      "truncated"
                    ],
                    "properties": {
                      "editLimit": {
                        "type": "number",
                        "const": 30
                      },
                      "linkLimit": {
                        "type": "number",
                        "const": 30
                      },
                      "truncated": {
                        "type": "boolean"
                      },
                      "metricLimit": {
                        "type": "number",
                        "const": 100
                      },
                      "reviewLimit": {
                        "type": "number",
                        "const": 30
                      },
                      "outcomeLimit": {
                        "type": "number",
                        "const": 30
                      }
                    },
                    "additionalProperties": false
                  },
                  "context": {
                    "type": "object",
                    "required": [
                      "direction",
                      "precedence",
                      "documents",
                      "bounds",
                      "characterLimit",
                      "truncatedDocumentIds"
                    ],
                    "properties": {
                      "bounds": {
                        "type": "object",
                        "required": [
                          "limit",
                          "offset",
                          "total",
                          "returned",
                          "hasMore",
                          "truncated"
                        ],
                        "properties": {
                          "limit": {
                            "type": "number"
                          },
                          "total": {
                            "type": "number"
                          },
                          "offset": {
                            "type": "number"
                          },
                          "hasMore": {
                            "type": "boolean"
                          },
                          "returned": {
                            "type": "number"
                          },
                          "truncated": {
                            "type": "boolean"
                          }
                        },
                        "additionalProperties": false
                      },
                      "direction": {
                        "type": "object",
                        "required": [
                          "capturedAt",
                          "scope",
                          "brand",
                          "series"
                        ],
                        "properties": {
                          "brand": {
                            "type": "object",
                            "required": [
                              "title",
                              "sources",
                              "path",
                              "documentId",
                              "revision",
                              "markdown",
                              "contentHash"
                            ],
                            "properties": {
                              "path": {
                                "type": "string"
                              },
                              "title": {
                                "type": "string"
                              },
                              "sources": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "required": [
                                    "url",
                                    "title"
                                  ],
                                  "properties": {
                                    "url": {
                                      "type": "string",
                                      "format": "uri",
                                      "maxLength": 2048
                                    },
                                    "title": {
                                      "type": "string",
                                      "maxLength": 240
                                    }
                                  },
                                  "additionalProperties": false
                                }
                              },
                              "markdown": {
                                "type": "string"
                              },
                              "revision": {
                                "type": "integer",
                                "maximum": 9007199254740991,
                                "minimum": 0
                              },
                              "documentId": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "contentHash": {
                                "type": "string"
                              }
                            },
                            "additionalProperties": false
                          },
                          "scope": {
                            "type": "object",
                            "required": [
                              "kind",
                              "seriesId",
                              "name"
                            ],
                            "properties": {
                              "kind": {
                                "enum": [
                                  "brand",
                                  "series"
                                ],
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "seriesId": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              }
                            },
                            "additionalProperties": false
                          },
                          "series": {
                            "anyOf": [
                              {
                                "type": "object",
                                "required": [
                                  "title",
                                  "sources",
                                  "path",
                                  "documentId",
                                  "revision",
                                  "markdown",
                                  "contentHash"
                                ],
                                "properties": {
                                  "path": {
                                    "type": "string"
                                  },
                                  "title": {
                                    "type": "string"
                                  },
                                  "sources": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "required": [
                                        "url",
                                        "title"
                                      ],
                                      "properties": {
                                        "url": {
                                          "type": "string",
                                          "format": "uri",
                                          "maxLength": 2048
                                        },
                                        "title": {
                                          "type": "string",
                                          "maxLength": 240
                                        }
                                      },
                                      "additionalProperties": false
                                    }
                                  },
                                  "markdown": {
                                    "type": "string"
                                  },
                                  "revision": {
                                    "type": "integer",
                                    "maximum": 9007199254740991,
                                    "minimum": 0
                                  },
                                  "documentId": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "format": "uuid",
                                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "contentHash": {
                                    "type": "string"
                                  }
                                },
                                "additionalProperties": false
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "capturedAt": {
                            "type": "string"
                          }
                        },
                        "additionalProperties": false
                      },
                      "documents": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "id",
                            "path",
                            "title",
                            "kind",
                            "revision",
                            "updatedAt",
                            "content"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "kind": {
                              "enum": [
                                "brief",
                                "research",
                                "correction",
                                "reference"
                              ],
                              "type": "string"
                            },
                            "path": {
                              "type": "string"
                            },
                            "title": {
                              "type": "string"
                            },
                            "content": {
                              "type": "object",
                              "required": [
                                "documentId",
                                "revision",
                                "title",
                                "kind",
                                "markdown",
                                "sources",
                                "authorUserId",
                                "origin",
                                "sourceRef",
                                "contentHash",
                                "createdAt"
                              ],
                              "properties": {
                                "kind": {
                                  "enum": [
                                    "brief",
                                    "research",
                                    "correction",
                                    "reference"
                                  ],
                                  "type": "string"
                                },
                                "title": {
                                  "type": "string"
                                },
                                "origin": {
                                  "enum": [
                                    "web",
                                    "agent",
                                    "legacy",
                                    "seed"
                                  ],
                                  "type": "string"
                                },
                                "sources": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "required": [
                                      "url",
                                      "title"
                                    ],
                                    "properties": {
                                      "url": {
                                        "type": "string",
                                        "format": "uri",
                                        "maxLength": 2048
                                      },
                                      "title": {
                                        "type": "string",
                                        "maxLength": 240
                                      }
                                    },
                                    "additionalProperties": false
                                  }
                                },
                                "markdown": {
                                  "type": "string"
                                },
                                "revision": {
                                  "type": "integer",
                                  "maximum": 9007199254740991,
                                  "exclusiveMinimum": 0
                                },
                                "createdAt": {
                                  "type": "string"
                                },
                                "sourceRef": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "documentId": {
                                  "type": "string",
                                  "format": "uuid",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                },
                                "contentHash": {
                                  "type": "string"
                                },
                                "authorUserId": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                }
                              },
                              "additionalProperties": false
                            },
                            "revision": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "exclusiveMinimum": 0
                            },
                            "updatedAt": {
                              "type": "string"
                            }
                          },
                          "additionalProperties": false
                        }
                      },
                      "precedence": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "characterLimit": {
                        "type": "number"
                      },
                      "truncatedDocumentIds": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      }
                    },
                    "additionalProperties": false
                  },
                  "request": {
                    "type": "object",
                    "required": [
                      "seriesId",
                      "goal",
                      "from",
                      "to",
                      "maxVariations",
                      "language"
                    ],
                    "properties": {
                      "to": {
                        "type": "string",
                        "format": "date-time",
                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                      },
                      "from": {
                        "type": "string",
                        "format": "date-time",
                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                      },
                      "goal": {
                        "enum": [
                          "reach",
                          "engagement",
                          "traffic",
                          "leads",
                          "sales",
                          "revenue"
                        ],
                        "type": "string"
                      },
                      "language": {
                        "enum": [
                          "en",
                          "fr"
                        ],
                        "type": "string"
                      },
                      "seriesId": {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                      },
                      "maxVariations": {
                        "type": "integer",
                        "default": 3,
                        "maximum": 5,
                        "minimum": 1
                      }
                    },
                    "additionalProperties": false
                  },
                  "capturedAt": {
                    "type": "string",
                    "format": "date-time",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                  },
                  "seriesName": {
                    "type": "string"
                  },
                  "comparisons": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "cohort",
                        "samples",
                        "median",
                        "status",
                        "observationIds"
                      ],
                      "properties": {
                        "cohort": {
                          "type": "string"
                        },
                        "median": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "status": {
                          "enum": [
                            "descriptive_comparison",
                            "insufficient_evidence"
                          ],
                          "type": "string"
                        },
                        "samples": {
                          "type": "integer",
                          "maximum": 9007199254740991,
                          "minimum": 0
                        },
                        "observationIds": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          },
                          "maxItems": 100
                        }
                      },
                      "additionalProperties": false
                    },
                    "maxItems": 100
                  },
                  "fingerprint": {
                    "type": "string",
                    "pattern": "^[a-f0-9]{64}$"
                  },
                  "observations": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "kind",
                        "anchor",
                        "projectId",
                        "creativeRevision",
                        "accountId",
                        "format",
                        "observedAt",
                        "sourceUrl",
                        "summary",
                        "value",
                        "unit",
                        "attribution",
                        "cohort",
                        "eligible",
                        "details"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "maxLength": 100
                        },
                        "kind": {
                          "enum": [
                            "metric",
                            "review",
                            "click",
                            "outcome"
                          ],
                          "type": "string"
                        },
                        "unit": {
                          "type": "string",
                          "maxLength": 50
                        },
                        "value": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "anchor": {
                          "type": "string",
                          "maxLength": 230
                        },
                        "cohort": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 300
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "format": {
                          "anyOf": [
                            {
                              "enum": [
                                "video",
                                "carousel",
                                "image"
                              ],
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "details": {
                          "type": "object",
                          "propertyNames": {
                            "type": "string"
                          },
                          "additionalProperties": {}
                        },
                        "summary": {
                          "type": "string",
                          "maxLength": 2500
                        },
                        "eligible": {
                          "type": "boolean"
                        },
                        "accountId": {
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "projectId": {
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "sourceUrl": {
                          "type": "string",
                          "format": "uri"
                        },
                        "observedAt": {
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "attribution": {
                          "enum": [
                            "observed",
                            "self_reported",
                            "unknown"
                          ],
                          "type": "string"
                        },
                        "creativeRevision": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 200
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "additionalProperties": false
                    },
                    "maxItems": 200
                  },
                  "authorityComplete": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              "proposal": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "lesson",
                      "evidenceIds",
                      "limitations",
                      "variations"
                    ],
                    "properties": {
                      "lesson": {
                        "type": "string",
                        "maxLength": 4000,
                        "minLength": 1
                      },
                      "variations": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "title",
                            "axis",
                            "observationId",
                            "hypothesis",
                            "brief",
                            "measure"
                          ],
                          "properties": {
                            "axis": {
                              "enum": [
                                "hook",
                                "format",
                                "pacing",
                                "cta",
                                "topic",
                                "visual"
                              ],
                              "type": "string"
                            },
                            "brief": {
                              "type": "string",
                              "maxLength": 4000,
                              "minLength": 1
                            },
                            "title": {
                              "type": "string",
                              "maxLength": 120,
                              "minLength": 1
                            },
                            "measure": {
                              "type": "string",
                              "maxLength": 700,
                              "minLength": 1
                            },
                            "hypothesis": {
                              "type": "string",
                              "maxLength": 1200,
                              "minLength": 1
                            },
                            "observationId": {
                              "type": "string",
                              "maxLength": 100
                            }
                          },
                          "additionalProperties": false
                        },
                        "maxItems": 5
                      },
                      "evidenceIds": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 100
                        },
                        "maxItems": 12,
                        "minItems": 1
                      },
                      "limitations": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 500,
                          "minLength": 1
                        },
                        "maxItems": 8,
                        "minItems": 1
                      }
                    },
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "canResume": {
                "type": "boolean"
              },
              "direction": {
                "enum": [
                  "current",
                  "changed",
                  "unavailable"
                ],
                "type": "string"
              },
              "documents": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "path",
                    "title",
                    "kind",
                    "revision",
                    "updatedAt"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                    },
                    "kind": {
                      "enum": [
                        "brief",
                        "research",
                        "correction",
                        "reference"
                      ],
                      "type": "string"
                    },
                    "path": {
                      "type": "string"
                    },
                    "title": {
                      "type": "string"
                    },
                    "revision": {
                      "type": "integer",
                      "maximum": 9007199254740991,
                      "exclusiveMinimum": 0
                    },
                    "updatedAt": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 6
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "learning_get",
          "title": "Read learning job",
          "description": "Read frozen evidence, exact creative lineage, progress and saved lessons for a workspace learning job. Current owner direction overrides saved suggestions.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "jobId",
              "workspaceId"
            ],
            "properties": {
              "jobId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "id",
              "status",
              "evidence",
              "documents",
              "proposal",
              "error",
              "direction",
              "runId",
              "canResume"
            ],
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "error": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "runId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "status": {
                "enum": [
                  "queued",
                  "generating",
                  "saving",
                  "complete",
                  "unknown",
                  "cancelled",
                  "failed"
                ],
                "type": "string"
              },
              "evidence": {
                "type": "object",
                "required": [
                  "fingerprint",
                  "capturedAt",
                  "seriesName",
                  "request",
                  "context",
                  "observations",
                  "comparisons",
                  "bounds",
                  "authorityComplete"
                ],
                "properties": {
                  "bounds": {
                    "type": "object",
                    "required": [
                      "metricLimit",
                      "reviewLimit",
                      "editLimit",
                      "linkLimit",
                      "outcomeLimit",
                      "truncated"
                    ],
                    "properties": {
                      "editLimit": {
                        "type": "number",
                        "const": 30
                      },
                      "linkLimit": {
                        "type": "number",
                        "const": 30
                      },
                      "truncated": {
                        "type": "boolean"
                      },
                      "metricLimit": {
                        "type": "number",
                        "const": 100
                      },
                      "reviewLimit": {
                        "type": "number",
                        "const": 30
                      },
                      "outcomeLimit": {
                        "type": "number",
                        "const": 30
                      }
                    },
                    "additionalProperties": false
                  },
                  "context": {
                    "type": "object",
                    "required": [
                      "direction",
                      "precedence",
                      "documents",
                      "bounds",
                      "characterLimit",
                      "truncatedDocumentIds"
                    ],
                    "properties": {
                      "bounds": {
                        "type": "object",
                        "required": [
                          "limit",
                          "offset",
                          "total",
                          "returned",
                          "hasMore",
                          "truncated"
                        ],
                        "properties": {
                          "limit": {
                            "type": "number"
                          },
                          "total": {
                            "type": "number"
                          },
                          "offset": {
                            "type": "number"
                          },
                          "hasMore": {
                            "type": "boolean"
                          },
                          "returned": {
                            "type": "number"
                          },
                          "truncated": {
                            "type": "boolean"
                          }
                        },
                        "additionalProperties": false
                      },
                      "direction": {
                        "type": "object",
                        "required": [
                          "capturedAt",
                          "scope",
                          "brand",
                          "series"
                        ],
                        "properties": {
                          "brand": {
                            "type": "object",
                            "required": [
                              "title",
                              "sources",
                              "path",
                              "documentId",
                              "revision",
                              "markdown",
                              "contentHash"
                            ],
                            "properties": {
                              "path": {
                                "type": "string"
                              },
                              "title": {
                                "type": "string"
                              },
                              "sources": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "required": [
                                    "url",
                                    "title"
                                  ],
                                  "properties": {
                                    "url": {
                                      "type": "string",
                                      "format": "uri",
                                      "maxLength": 2048
                                    },
                                    "title": {
                                      "type": "string",
                                      "maxLength": 240
                                    }
                                  },
                                  "additionalProperties": false
                                }
                              },
                              "markdown": {
                                "type": "string"
                              },
                              "revision": {
                                "type": "integer",
                                "maximum": 9007199254740991,
                                "minimum": 0
                              },
                              "documentId": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "contentHash": {
                                "type": "string"
                              }
                            },
                            "additionalProperties": false
                          },
                          "scope": {
                            "type": "object",
                            "required": [
                              "kind",
                              "seriesId",
                              "name"
                            ],
                            "properties": {
                              "kind": {
                                "enum": [
                                  "brand",
                                  "series"
                                ],
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "seriesId": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              }
                            },
                            "additionalProperties": false
                          },
                          "series": {
                            "anyOf": [
                              {
                                "type": "object",
                                "required": [
                                  "title",
                                  "sources",
                                  "path",
                                  "documentId",
                                  "revision",
                                  "markdown",
                                  "contentHash"
                                ],
                                "properties": {
                                  "path": {
                                    "type": "string"
                                  },
                                  "title": {
                                    "type": "string"
                                  },
                                  "sources": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "required": [
                                        "url",
                                        "title"
                                      ],
                                      "properties": {
                                        "url": {
                                          "type": "string",
                                          "format": "uri",
                                          "maxLength": 2048
                                        },
                                        "title": {
                                          "type": "string",
                                          "maxLength": 240
                                        }
                                      },
                                      "additionalProperties": false
                                    }
                                  },
                                  "markdown": {
                                    "type": "string"
                                  },
                                  "revision": {
                                    "type": "integer",
                                    "maximum": 9007199254740991,
                                    "minimum": 0
                                  },
                                  "documentId": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "format": "uuid",
                                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "contentHash": {
                                    "type": "string"
                                  }
                                },
                                "additionalProperties": false
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "capturedAt": {
                            "type": "string"
                          }
                        },
                        "additionalProperties": false
                      },
                      "documents": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "id",
                            "path",
                            "title",
                            "kind",
                            "revision",
                            "updatedAt",
                            "content"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "kind": {
                              "enum": [
                                "brief",
                                "research",
                                "correction",
                                "reference"
                              ],
                              "type": "string"
                            },
                            "path": {
                              "type": "string"
                            },
                            "title": {
                              "type": "string"
                            },
                            "content": {
                              "type": "object",
                              "required": [
                                "documentId",
                                "revision",
                                "title",
                                "kind",
                                "markdown",
                                "sources",
                                "authorUserId",
                                "origin",
                                "sourceRef",
                                "contentHash",
                                "createdAt"
                              ],
                              "properties": {
                                "kind": {
                                  "enum": [
                                    "brief",
                                    "research",
                                    "correction",
                                    "reference"
                                  ],
                                  "type": "string"
                                },
                                "title": {
                                  "type": "string"
                                },
                                "origin": {
                                  "enum": [
                                    "web",
                                    "agent",
                                    "legacy",
                                    "seed"
                                  ],
                                  "type": "string"
                                },
                                "sources": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "required": [
                                      "url",
                                      "title"
                                    ],
                                    "properties": {
                                      "url": {
                                        "type": "string",
                                        "format": "uri",
                                        "maxLength": 2048
                                      },
                                      "title": {
                                        "type": "string",
                                        "maxLength": 240
                                      }
                                    },
                                    "additionalProperties": false
                                  }
                                },
                                "markdown": {
                                  "type": "string"
                                },
                                "revision": {
                                  "type": "integer",
                                  "maximum": 9007199254740991,
                                  "exclusiveMinimum": 0
                                },
                                "createdAt": {
                                  "type": "string"
                                },
                                "sourceRef": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "documentId": {
                                  "type": "string",
                                  "format": "uuid",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                },
                                "contentHash": {
                                  "type": "string"
                                },
                                "authorUserId": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                }
                              },
                              "additionalProperties": false
                            },
                            "revision": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "exclusiveMinimum": 0
                            },
                            "updatedAt": {
                              "type": "string"
                            }
                          },
                          "additionalProperties": false
                        }
                      },
                      "precedence": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "characterLimit": {
                        "type": "number"
                      },
                      "truncatedDocumentIds": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      }
                    },
                    "additionalProperties": false
                  },
                  "request": {
                    "type": "object",
                    "required": [
                      "seriesId",
                      "goal",
                      "from",
                      "to",
                      "maxVariations",
                      "language"
                    ],
                    "properties": {
                      "to": {
                        "type": "string",
                        "format": "date-time",
                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                      },
                      "from": {
                        "type": "string",
                        "format": "date-time",
                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                      },
                      "goal": {
                        "enum": [
                          "reach",
                          "engagement",
                          "traffic",
                          "leads",
                          "sales",
                          "revenue"
                        ],
                        "type": "string"
                      },
                      "language": {
                        "enum": [
                          "en",
                          "fr"
                        ],
                        "type": "string"
                      },
                      "seriesId": {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                      },
                      "maxVariations": {
                        "type": "integer",
                        "default": 3,
                        "maximum": 5,
                        "minimum": 1
                      }
                    },
                    "additionalProperties": false
                  },
                  "capturedAt": {
                    "type": "string",
                    "format": "date-time",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                  },
                  "seriesName": {
                    "type": "string"
                  },
                  "comparisons": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "cohort",
                        "samples",
                        "median",
                        "status",
                        "observationIds"
                      ],
                      "properties": {
                        "cohort": {
                          "type": "string"
                        },
                        "median": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "status": {
                          "enum": [
                            "descriptive_comparison",
                            "insufficient_evidence"
                          ],
                          "type": "string"
                        },
                        "samples": {
                          "type": "integer",
                          "maximum": 9007199254740991,
                          "minimum": 0
                        },
                        "observationIds": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          },
                          "maxItems": 100
                        }
                      },
                      "additionalProperties": false
                    },
                    "maxItems": 100
                  },
                  "fingerprint": {
                    "type": "string",
                    "pattern": "^[a-f0-9]{64}$"
                  },
                  "observations": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "kind",
                        "anchor",
                        "projectId",
                        "creativeRevision",
                        "accountId",
                        "format",
                        "observedAt",
                        "sourceUrl",
                        "summary",
                        "value",
                        "unit",
                        "attribution",
                        "cohort",
                        "eligible",
                        "details"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "maxLength": 100
                        },
                        "kind": {
                          "enum": [
                            "metric",
                            "review",
                            "click",
                            "outcome"
                          ],
                          "type": "string"
                        },
                        "unit": {
                          "type": "string",
                          "maxLength": 50
                        },
                        "value": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "anchor": {
                          "type": "string",
                          "maxLength": 230
                        },
                        "cohort": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 300
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "format": {
                          "anyOf": [
                            {
                              "enum": [
                                "video",
                                "carousel",
                                "image"
                              ],
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "details": {
                          "type": "object",
                          "propertyNames": {
                            "type": "string"
                          },
                          "additionalProperties": {}
                        },
                        "summary": {
                          "type": "string",
                          "maxLength": 2500
                        },
                        "eligible": {
                          "type": "boolean"
                        },
                        "accountId": {
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "projectId": {
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "sourceUrl": {
                          "type": "string",
                          "format": "uri"
                        },
                        "observedAt": {
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "attribution": {
                          "enum": [
                            "observed",
                            "self_reported",
                            "unknown"
                          ],
                          "type": "string"
                        },
                        "creativeRevision": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 200
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "additionalProperties": false
                    },
                    "maxItems": 200
                  },
                  "authorityComplete": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              "proposal": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "lesson",
                      "evidenceIds",
                      "limitations",
                      "variations"
                    ],
                    "properties": {
                      "lesson": {
                        "type": "string",
                        "maxLength": 4000,
                        "minLength": 1
                      },
                      "variations": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "title",
                            "axis",
                            "observationId",
                            "hypothesis",
                            "brief",
                            "measure"
                          ],
                          "properties": {
                            "axis": {
                              "enum": [
                                "hook",
                                "format",
                                "pacing",
                                "cta",
                                "topic",
                                "visual"
                              ],
                              "type": "string"
                            },
                            "brief": {
                              "type": "string",
                              "maxLength": 4000,
                              "minLength": 1
                            },
                            "title": {
                              "type": "string",
                              "maxLength": 120,
                              "minLength": 1
                            },
                            "measure": {
                              "type": "string",
                              "maxLength": 700,
                              "minLength": 1
                            },
                            "hypothesis": {
                              "type": "string",
                              "maxLength": 1200,
                              "minLength": 1
                            },
                            "observationId": {
                              "type": "string",
                              "maxLength": 100
                            }
                          },
                          "additionalProperties": false
                        },
                        "maxItems": 5
                      },
                      "evidenceIds": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 100
                        },
                        "maxItems": 12,
                        "minItems": 1
                      },
                      "limitations": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 500,
                          "minLength": 1
                        },
                        "maxItems": 8,
                        "minItems": 1
                      }
                    },
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "canResume": {
                "type": "boolean"
              },
              "direction": {
                "enum": [
                  "current",
                  "changed",
                  "unavailable"
                ],
                "type": "string"
              },
              "documents": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "path",
                    "title",
                    "kind",
                    "revision",
                    "updatedAt"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                    },
                    "kind": {
                      "enum": [
                        "brief",
                        "research",
                        "correction",
                        "reference"
                      ],
                      "type": "string"
                    },
                    "path": {
                      "type": "string"
                    },
                    "title": {
                      "type": "string"
                    },
                    "revision": {
                      "type": "integer",
                      "maximum": 9007199254740991,
                      "exclusiveMinimum": 0
                    },
                    "updatedAt": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 6
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "learning_control",
          "title": "Control learning job",
          "description": "Cancel a queued or running analysis, recover an unconfirmed dispatch by its existing identity, or deliver a retained result. Resume never repeats an uncertain model call and rejects changed owner direction.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "jobId",
              "action",
              "workspaceId"
            ],
            "properties": {
              "jobId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "action": {
                "enum": [
                  "resume",
                  "cancel"
                ],
                "type": "string"
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "id",
              "status",
              "evidence",
              "documents",
              "proposal",
              "error",
              "direction",
              "runId",
              "canResume"
            ],
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "error": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "runId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "status": {
                "enum": [
                  "queued",
                  "generating",
                  "saving",
                  "complete",
                  "unknown",
                  "cancelled",
                  "failed"
                ],
                "type": "string"
              },
              "evidence": {
                "type": "object",
                "required": [
                  "fingerprint",
                  "capturedAt",
                  "seriesName",
                  "request",
                  "context",
                  "observations",
                  "comparisons",
                  "bounds",
                  "authorityComplete"
                ],
                "properties": {
                  "bounds": {
                    "type": "object",
                    "required": [
                      "metricLimit",
                      "reviewLimit",
                      "editLimit",
                      "linkLimit",
                      "outcomeLimit",
                      "truncated"
                    ],
                    "properties": {
                      "editLimit": {
                        "type": "number",
                        "const": 30
                      },
                      "linkLimit": {
                        "type": "number",
                        "const": 30
                      },
                      "truncated": {
                        "type": "boolean"
                      },
                      "metricLimit": {
                        "type": "number",
                        "const": 100
                      },
                      "reviewLimit": {
                        "type": "number",
                        "const": 30
                      },
                      "outcomeLimit": {
                        "type": "number",
                        "const": 30
                      }
                    },
                    "additionalProperties": false
                  },
                  "context": {
                    "type": "object",
                    "required": [
                      "direction",
                      "precedence",
                      "documents",
                      "bounds",
                      "characterLimit",
                      "truncatedDocumentIds"
                    ],
                    "properties": {
                      "bounds": {
                        "type": "object",
                        "required": [
                          "limit",
                          "offset",
                          "total",
                          "returned",
                          "hasMore",
                          "truncated"
                        ],
                        "properties": {
                          "limit": {
                            "type": "number"
                          },
                          "total": {
                            "type": "number"
                          },
                          "offset": {
                            "type": "number"
                          },
                          "hasMore": {
                            "type": "boolean"
                          },
                          "returned": {
                            "type": "number"
                          },
                          "truncated": {
                            "type": "boolean"
                          }
                        },
                        "additionalProperties": false
                      },
                      "direction": {
                        "type": "object",
                        "required": [
                          "capturedAt",
                          "scope",
                          "brand",
                          "series"
                        ],
                        "properties": {
                          "brand": {
                            "type": "object",
                            "required": [
                              "title",
                              "sources",
                              "path",
                              "documentId",
                              "revision",
                              "markdown",
                              "contentHash"
                            ],
                            "properties": {
                              "path": {
                                "type": "string"
                              },
                              "title": {
                                "type": "string"
                              },
                              "sources": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "required": [
                                    "url",
                                    "title"
                                  ],
                                  "properties": {
                                    "url": {
                                      "type": "string",
                                      "format": "uri",
                                      "maxLength": 2048
                                    },
                                    "title": {
                                      "type": "string",
                                      "maxLength": 240
                                    }
                                  },
                                  "additionalProperties": false
                                }
                              },
                              "markdown": {
                                "type": "string"
                              },
                              "revision": {
                                "type": "integer",
                                "maximum": 9007199254740991,
                                "minimum": 0
                              },
                              "documentId": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "contentHash": {
                                "type": "string"
                              }
                            },
                            "additionalProperties": false
                          },
                          "scope": {
                            "type": "object",
                            "required": [
                              "kind",
                              "seriesId",
                              "name"
                            ],
                            "properties": {
                              "kind": {
                                "enum": [
                                  "brand",
                                  "series"
                                ],
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "seriesId": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              }
                            },
                            "additionalProperties": false
                          },
                          "series": {
                            "anyOf": [
                              {
                                "type": "object",
                                "required": [
                                  "title",
                                  "sources",
                                  "path",
                                  "documentId",
                                  "revision",
                                  "markdown",
                                  "contentHash"
                                ],
                                "properties": {
                                  "path": {
                                    "type": "string"
                                  },
                                  "title": {
                                    "type": "string"
                                  },
                                  "sources": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "required": [
                                        "url",
                                        "title"
                                      ],
                                      "properties": {
                                        "url": {
                                          "type": "string",
                                          "format": "uri",
                                          "maxLength": 2048
                                        },
                                        "title": {
                                          "type": "string",
                                          "maxLength": 240
                                        }
                                      },
                                      "additionalProperties": false
                                    }
                                  },
                                  "markdown": {
                                    "type": "string"
                                  },
                                  "revision": {
                                    "type": "integer",
                                    "maximum": 9007199254740991,
                                    "minimum": 0
                                  },
                                  "documentId": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "format": "uuid",
                                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "contentHash": {
                                    "type": "string"
                                  }
                                },
                                "additionalProperties": false
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "capturedAt": {
                            "type": "string"
                          }
                        },
                        "additionalProperties": false
                      },
                      "documents": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "id",
                            "path",
                            "title",
                            "kind",
                            "revision",
                            "updatedAt",
                            "content"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "kind": {
                              "enum": [
                                "brief",
                                "research",
                                "correction",
                                "reference"
                              ],
                              "type": "string"
                            },
                            "path": {
                              "type": "string"
                            },
                            "title": {
                              "type": "string"
                            },
                            "content": {
                              "type": "object",
                              "required": [
                                "documentId",
                                "revision",
                                "title",
                                "kind",
                                "markdown",
                                "sources",
                                "authorUserId",
                                "origin",
                                "sourceRef",
                                "contentHash",
                                "createdAt"
                              ],
                              "properties": {
                                "kind": {
                                  "enum": [
                                    "brief",
                                    "research",
                                    "correction",
                                    "reference"
                                  ],
                                  "type": "string"
                                },
                                "title": {
                                  "type": "string"
                                },
                                "origin": {
                                  "enum": [
                                    "web",
                                    "agent",
                                    "legacy",
                                    "seed"
                                  ],
                                  "type": "string"
                                },
                                "sources": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "required": [
                                      "url",
                                      "title"
                                    ],
                                    "properties": {
                                      "url": {
                                        "type": "string",
                                        "format": "uri",
                                        "maxLength": 2048
                                      },
                                      "title": {
                                        "type": "string",
                                        "maxLength": 240
                                      }
                                    },
                                    "additionalProperties": false
                                  }
                                },
                                "markdown": {
                                  "type": "string"
                                },
                                "revision": {
                                  "type": "integer",
                                  "maximum": 9007199254740991,
                                  "exclusiveMinimum": 0
                                },
                                "createdAt": {
                                  "type": "string"
                                },
                                "sourceRef": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "documentId": {
                                  "type": "string",
                                  "format": "uuid",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                },
                                "contentHash": {
                                  "type": "string"
                                },
                                "authorUserId": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                }
                              },
                              "additionalProperties": false
                            },
                            "revision": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "exclusiveMinimum": 0
                            },
                            "updatedAt": {
                              "type": "string"
                            }
                          },
                          "additionalProperties": false
                        }
                      },
                      "precedence": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "characterLimit": {
                        "type": "number"
                      },
                      "truncatedDocumentIds": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      }
                    },
                    "additionalProperties": false
                  },
                  "request": {
                    "type": "object",
                    "required": [
                      "seriesId",
                      "goal",
                      "from",
                      "to",
                      "maxVariations",
                      "language"
                    ],
                    "properties": {
                      "to": {
                        "type": "string",
                        "format": "date-time",
                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                      },
                      "from": {
                        "type": "string",
                        "format": "date-time",
                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                      },
                      "goal": {
                        "enum": [
                          "reach",
                          "engagement",
                          "traffic",
                          "leads",
                          "sales",
                          "revenue"
                        ],
                        "type": "string"
                      },
                      "language": {
                        "enum": [
                          "en",
                          "fr"
                        ],
                        "type": "string"
                      },
                      "seriesId": {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                      },
                      "maxVariations": {
                        "type": "integer",
                        "default": 3,
                        "maximum": 5,
                        "minimum": 1
                      }
                    },
                    "additionalProperties": false
                  },
                  "capturedAt": {
                    "type": "string",
                    "format": "date-time",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                  },
                  "seriesName": {
                    "type": "string"
                  },
                  "comparisons": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "cohort",
                        "samples",
                        "median",
                        "status",
                        "observationIds"
                      ],
                      "properties": {
                        "cohort": {
                          "type": "string"
                        },
                        "median": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "status": {
                          "enum": [
                            "descriptive_comparison",
                            "insufficient_evidence"
                          ],
                          "type": "string"
                        },
                        "samples": {
                          "type": "integer",
                          "maximum": 9007199254740991,
                          "minimum": 0
                        },
                        "observationIds": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          },
                          "maxItems": 100
                        }
                      },
                      "additionalProperties": false
                    },
                    "maxItems": 100
                  },
                  "fingerprint": {
                    "type": "string",
                    "pattern": "^[a-f0-9]{64}$"
                  },
                  "observations": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "kind",
                        "anchor",
                        "projectId",
                        "creativeRevision",
                        "accountId",
                        "format",
                        "observedAt",
                        "sourceUrl",
                        "summary",
                        "value",
                        "unit",
                        "attribution",
                        "cohort",
                        "eligible",
                        "details"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "maxLength": 100
                        },
                        "kind": {
                          "enum": [
                            "metric",
                            "review",
                            "click",
                            "outcome"
                          ],
                          "type": "string"
                        },
                        "unit": {
                          "type": "string",
                          "maxLength": 50
                        },
                        "value": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "anchor": {
                          "type": "string",
                          "maxLength": 230
                        },
                        "cohort": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 300
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "format": {
                          "anyOf": [
                            {
                              "enum": [
                                "video",
                                "carousel",
                                "image"
                              ],
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "details": {
                          "type": "object",
                          "propertyNames": {
                            "type": "string"
                          },
                          "additionalProperties": {}
                        },
                        "summary": {
                          "type": "string",
                          "maxLength": 2500
                        },
                        "eligible": {
                          "type": "boolean"
                        },
                        "accountId": {
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "projectId": {
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "sourceUrl": {
                          "type": "string",
                          "format": "uri"
                        },
                        "observedAt": {
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "attribution": {
                          "enum": [
                            "observed",
                            "self_reported",
                            "unknown"
                          ],
                          "type": "string"
                        },
                        "creativeRevision": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 200
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "additionalProperties": false
                    },
                    "maxItems": 200
                  },
                  "authorityComplete": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              "proposal": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "lesson",
                      "evidenceIds",
                      "limitations",
                      "variations"
                    ],
                    "properties": {
                      "lesson": {
                        "type": "string",
                        "maxLength": 4000,
                        "minLength": 1
                      },
                      "variations": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "title",
                            "axis",
                            "observationId",
                            "hypothesis",
                            "brief",
                            "measure"
                          ],
                          "properties": {
                            "axis": {
                              "enum": [
                                "hook",
                                "format",
                                "pacing",
                                "cta",
                                "topic",
                                "visual"
                              ],
                              "type": "string"
                            },
                            "brief": {
                              "type": "string",
                              "maxLength": 4000,
                              "minLength": 1
                            },
                            "title": {
                              "type": "string",
                              "maxLength": 120,
                              "minLength": 1
                            },
                            "measure": {
                              "type": "string",
                              "maxLength": 700,
                              "minLength": 1
                            },
                            "hypothesis": {
                              "type": "string",
                              "maxLength": 1200,
                              "minLength": 1
                            },
                            "observationId": {
                              "type": "string",
                              "maxLength": 100
                            }
                          },
                          "additionalProperties": false
                        },
                        "maxItems": 5
                      },
                      "evidenceIds": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 100
                        },
                        "maxItems": 12,
                        "minItems": 1
                      },
                      "limitations": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 500,
                          "minLength": 1
                        },
                        "maxItems": 8,
                        "minItems": 1
                      }
                    },
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "canResume": {
                "type": "boolean"
              },
              "direction": {
                "enum": [
                  "current",
                  "changed",
                  "unavailable"
                ],
                "type": "string"
              },
              "documents": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "path",
                    "title",
                    "kind",
                    "revision",
                    "updatedAt"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                    },
                    "kind": {
                      "enum": [
                        "brief",
                        "research",
                        "correction",
                        "reference"
                      ],
                      "type": "string"
                    },
                    "path": {
                      "type": "string"
                    },
                    "title": {
                      "type": "string"
                    },
                    "revision": {
                      "type": "integer",
                      "maximum": 9007199254740991,
                      "exclusiveMinimum": 0
                    },
                    "updatedAt": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 6
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "carousels_board_get",
          "title": "Get Carousel Board",
          "description": "Read a carousel board: revision, caption, pending AI images and a summary of every slide with its elements in paint order (ID, type, parent, text, image source, box in slide pixels, font, color, hidden, locked), plus the brand theme and saved themes. carousels_board_edit targets these IDs and theme ids. view full adds the board composition (editor element model; colors may be brand tokens like var(--br-accent); media sources are asset:<id>, brand:logo or bundled paths). slideIds limits the summary to those slides.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "projectId",
              "view",
              "slideIds"
            ],
            "properties": {
              "view": {
                "enum": [
                  "summary",
                  "full"
                ],
                "type": "string",
                "default": "summary"
              },
              "slideIds": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "maxLength": 200,
                      "minLength": 1
                    },
                    "maxItems": 30
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Only these slides in the summary; null returns every slide"
              },
              "projectId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "UUID string."
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "carousels_board_templates",
          "title": "List Carousel Board Templates",
          "description": "List carousel slide templates: id, family, label and slots (key, kind text or image, sample). carousels_board_edit insertTemplateSlide takes a template id and slot values.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "carousels_board_edit",
          "title": "Edit Carousel Board",
          "description": "Apply ordered operations to a carousel board by slide and element ID: add a slide from a template with its text and photos, change text and style, insert, duplicate, move or remove slides, set the theme, apply the brand or a saved theme, hide or lock an element. Operations apply to the latest board unless expectedRevision is set; dryRun saves nothing. Returns the base and new revision, affected IDs, slide order and a summary of each changed slide; errors name the failing operation. Identical idempotency keys replay.",
          "inputSchema": {
            "type": "object",
            "required": [
              "idempotencyKey",
              "projectId",
              "operations"
            ],
            "properties": {
              "dryRun": {
                "type": "boolean",
                "description": "Apply to the latest board without saving and return the would-be result."
              },
              "projectId": {
                "type": "string",
                "format": "uuid",
                "description": "UUID string."
              },
              "operations": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "kind"
                  ],
                  "properties": {
                    "kind": {
                      "enum": [
                        "insertTemplateSlide",
                        "applyTheme",
                        "edit",
                        "insertSlide",
                        "duplicateSlide",
                        "moveSlide",
                        "removeSlide",
                        "setTheme",
                        "setLayer",
                        "layoutSlides",
                        "showPart",
                        "placeImages"
                      ],
                      "type": "string"
                    }
                  },
                  "description": "Applied in order. Every operation is a flat object with its kind, e.g. {\"kind\":\"edit\",\"edit\":{\"changes\":[{\"elementId\":\"slide-1-headline\",\"content\":\"New hook\"}]}} or {\"kind\":\"layoutSlides\",\"slideIds\":null,\"align\":\"center\"}. insertTemplateSlide {templateId, values: {slotKey: text or asset:<id>}, index (null appends), slideId (null picks slide-N)}; applyTheme {themeId: 'brand' or a saved theme id from carousels_board_get}; edit {edit: {changes: [{elementId, content (text), runs (text), src (image: asset:<id>), style}], structure}} where style values of null remove an override; swap a photo with src on its image element, never by rebuilding the slide; insertSlide {index, slide: group element}; duplicateSlide {slideId, idSuffix}; moveSlide {slideId, index}; removeSlide {slideId}; setTheme {theme}; setLayer {elementId, hidden and/or locked (an omitted flag keeps its state)}; layoutSlides {slideIds (null = every slide), align: left|center|right, textScale: e.g. 1.1} aligns text blocks and scales text on any slide; placeImages {slideId, images: [{src: asset:<id>, name}], area: top|center|bottom|top-left|top-right|bottom-left|bottom-right, height (null fits)} lines up images or logos on a slide; showPart {part: logo|swipe|texture, visible, slideIds (null = every slide)}.",
                  "additionalProperties": true
                },
                "maxItems": 200,
                "minItems": 1
              },
              "workspaceId": {
                "type": "string",
                "format": "uuid",
                "description": "UUID string."
              },
              "idempotencyKey": {
                "type": "string",
                "maxLength": 200,
                "minLength": 8
              },
              "expectedRevision": {
                "type": "integer",
                "minimum": 0,
                "description": "Null (default) applies the operations to the latest board. A revision rejects the edit with a conflict when the board has moved."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "carousels_board_generate",
          "title": "Generate Carousel",
          "description": "Write and design a full carousel from a prompt into the project board: hook, body slides, ending call to action and a post caption, styled with the brand kit or a preset style, with optional AI photos (photos finish in the background; pendingAssetIds lists them). Replaces the current board and renames the project. Uses AI and image credits; a retry with the same idempotency key and input replays the first result without generating or charging again.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "projectId",
              "expectedRevision",
              "prompt",
              "goal",
              "slideCount",
              "style",
              "withImages",
              "imageModelId",
              "characterIds",
              "places",
              "sourceUrl",
              "idempotencyKey"
            ],
            "properties": {
              "goal": {
                "enum": [
                  "grow",
                  "convert",
                  "both"
                ],
                "type": "string"
              },
              "style": {
                "anyOf": [
                  {
                    "enum": [
                      "brand",
                      "midnight",
                      "paper",
                      "cobalt",
                      "forest",
                      "editorial",
                      "night_city",
                      "neon_86",
                      "west_coast",
                      "rust_belt",
                      "golden_hour",
                      "postcard"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Ready-made look; null keeps the carousel's current look."
              },
              "places": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "storyKitId",
                    "locationId"
                  ],
                  "properties": {
                    "locationId": {
                      "type": "string",
                      "maxLength": 120,
                      "minLength": 1
                    },
                    "storyKitId": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                    }
                  },
                  "additionalProperties": false
                },
                "default": [],
                "maxItems": 3,
                "description": "Saved places to set the photos in (a Story Kit location); their reference photo keeps the same room. Empty lets the prompt decide."
              },
              "prompt": {
                "type": "string",
                "maxLength": 2000,
                "minLength": 3
              },
              "projectId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "UUID string."
              },
              "sourceUrl": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 2000,
                    "minLength": 3
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "A public web page the carousel is about (full URL or domain); its text grounds the slides. Null reads a web address written in the prompt, if any."
              },
              "slideCount": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 20,
                    "minimum": 4
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Total slides including cover and call to action; null lets the prompt decide."
              },
              "withImages": {
                "type": "boolean"
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "characterIds": {
                "type": "array",
                "items": {
                  "type": "string",
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                },
                "default": [],
                "maxItems": 3,
                "description": "Saved AI characters to cast in the photos, by id; their saved references keep their faces. Empty lets the prompt decide."
              },
              "imageModelId": {
                "anyOf": [
                  {
                    "enum": [
                      "fal-ai/nano-banana-2",
                      "fal-ai/nano-banana-pro",
                      "bytedance/seedream/v5/pro/text-to-image",
                      "bytedance/seedream/v5.5/text-to-image"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Image model for the generated photos; null uses Nano Banana 2. Ignored when withImages is false."
              },
              "idempotencyKey": {
                "type": "string",
                "maxLength": 200,
                "minLength": 8
              },
              "expectedRevision": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": 0
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Replace the board only at this revision; null replaces the latest board."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "carousels_board_ideas",
          "title": "Recommend Carousel Ideas",
          "description": "Recommend six carousel ideas from the workspace brand brief, each with a cover hook, angle, goal (grow, convert or both), archetype and why it should perform. Pass one to carousels_board_generate as its prompt.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "carousels_board_image",
          "title": "Generate Carousel Photo",
          "description": "Start one AI photo shaped for the board (slide or square) and return its asset:<id> source. The image finishes in the background; place it with carousels_board_edit right away, it appears once ready. Uses image credits.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "projectId",
              "prompt",
              "shape"
            ],
            "properties": {
              "shape": {
                "enum": [
                  "slide",
                  "square"
                ],
                "type": "string"
              },
              "prompt": {
                "type": "string",
                "maxLength": 600,
                "minLength": 3
              },
              "projectId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "UUID string."
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "carousels_board_versions",
          "title": "List Carousel Board Versions",
          "description": "List saved versions of a carousel board, newest first (revision, source: baseline, editor, agent, api, generation or restore; author, merged change count, slide count), or with versionId read one version as a board summary. Saves by the same author and source within three minutes share one version; the newest 50 are kept.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "projectId",
              "versionId",
              "view",
              "limit"
            ],
            "properties": {
              "view": {
                "enum": [
                  "summary",
                  "full"
                ],
                "type": "string",
                "default": "summary"
              },
              "limit": {
                "type": "integer",
                "default": 20,
                "maximum": 50,
                "minimum": 1
              },
              "projectId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "UUID string."
              },
              "versionId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "carousels_board_version_restore",
          "title": "Restore Carousel Board Version",
          "description": "Replace a carousel board with a saved version from carousels_board_versions as a new revision; every version stays in the history, so a restore can itself be undone by restoring another. Replaces the latest board unless expectedRevision is set. Identical idempotency keys replay.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "idempotencyKey",
              "projectId",
              "versionId",
              "expectedRevision"
            ],
            "properties": {
              "projectId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "UUID string."
              },
              "versionId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "idempotencyKey": {
                "type": "string",
                "maxLength": 200,
                "minLength": 8
              },
              "expectedRevision": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": 0
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "carousels_compile",
          "title": "Compile Carousel",
          "description": "Create or replace a carousel project from a slide document. Server owns chip layout, safezones, and exact export pixels.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "platform",
              "name",
              "slides",
              "idempotencyKey"
            ],
            "properties": {
              "name": {
                "type": "string",
                "maxLength": 120,
                "minLength": 1
              },
              "style": {
                "type": "object",
                "properties": {
                  "chip": {
                    "type": "object",
                    "properties": {
                      "color": {
                        "type": "string",
                        "maxLength": 32,
                        "minLength": 1
                      },
                      "radius": {
                        "type": "integer",
                        "maximum": 48,
                        "minimum": 0
                      },
                      "font_size": {
                        "type": "integer",
                        "maximum": 120,
                        "minimum": 12
                      },
                      "padding_x": {
                        "type": "integer",
                        "maximum": 80,
                        "minimum": 0
                      },
                      "padding_y": {
                        "type": "integer",
                        "maximum": 80,
                        "minimum": 0
                      },
                      "background": {
                        "type": "string",
                        "maxLength": 32,
                        "minLength": 1
                      },
                      "font_family": {
                        "type": "string",
                        "maxLength": 80,
                        "minLength": 1
                      },
                      "font_weight": {
                        "anyOf": [
                          {
                            "type": "integer",
                            "maximum": 900,
                            "minimum": 100
                          },
                          {
                            "type": "string"
                          }
                        ]
                      },
                      "max_lines_per_chip": {
                        "type": "integer",
                        "maximum": 4,
                        "minimum": 1
                      }
                    },
                    "additionalProperties": false
                  }
                },
                "additionalProperties": false
              },
              "locale": {
                "type": "string",
                "maxLength": 12,
                "minLength": 2
              },
              "slides": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "lines",
                    "visual"
                  ],
                  "properties": {
                    "role": {
                      "enum": [
                        "hook",
                        "body",
                        "proof",
                        "cta"
                      ],
                      "type": "string"
                    },
                    "lines": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "maxLength": 200,
                        "minLength": 1
                      },
                      "default": [],
                      "maxItems": 6
                    },
                    "slots": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string",
                        "maxLength": 80,
                        "minLength": 1
                      },
                      "additionalProperties": {
                        "type": "string",
                        "maxLength": 4000
                      }
                    },
                    "layout": {
                      "enum": [
                        "chip_stack_ui",
                        "chip_stack_face_safe",
                        "chip_stack_top",
                        "title_body_card"
                      ],
                      "type": "string"
                    },
                    "visual": {
                      "type": "object",
                      "required": [
                        "kind"
                      ],
                      "properties": {
                        "crop": {
                          "type": "object",
                          "required": [
                            "left",
                            "top",
                            "width",
                            "height"
                          ],
                          "properties": {
                            "top": {
                              "type": "number",
                              "maximum": 1,
                              "minimum": 0
                            },
                            "left": {
                              "type": "number",
                              "maximum": 1,
                              "minimum": 0
                            },
                            "width": {
                              "type": "number",
                              "maximum": 1,
                              "exclusiveMinimum": 0
                            },
                            "height": {
                              "type": "number",
                              "maximum": 1,
                              "exclusiveMinimum": 0
                            }
                          },
                          "additionalProperties": false
                        },
                        "html": {
                          "type": "string",
                          "maxLength": 80000,
                          "minLength": 20
                        },
                        "kind": {
                          "enum": [
                            "creative_source",
                            "media_asset",
                            "generate",
                            "solid",
                            "gradient",
                            "html",
                            "template"
                          ],
                          "type": "string"
                        },
                        "color": {
                          "type": "string",
                          "pattern": "^#[0-9a-fA-F]{6}$"
                        },
                        "colors": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "pattern": "^#[0-9a-fA-F]{6}$"
                          },
                          "maxItems": 2,
                          "minItems": 1
                        },
                        "prompt": {
                          "type": "string",
                          "maxLength": 1000,
                          "minLength": 3
                        },
                        "model_id": {
                          "type": "string",
                          "maxLength": 120,
                          "minLength": 1
                        },
                        "template_id": {
                          "type": "string",
                          "maxLength": 80,
                          "minLength": 1
                        },
                        "media_asset_id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "creative_artifact_id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "source_media_asset_id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        }
                      },
                      "additionalProperties": false
                    },
                    "layout_overrides": {
                      "type": "object",
                      "properties": {
                        "top_px": {
                          "type": "integer",
                          "maximum": 1920,
                          "minimum": 0
                        }
                      },
                      "additionalProperties": false
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 35,
                "minItems": 1
              },
              "platform": {
                "enum": [
                  "tiktok_photo",
                  "instagram_4x5",
                  "linkedin"
                ],
                "type": "string"
              },
              "series_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "project_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "clear_existing": {
                "type": "boolean"
              },
              "idempotencyKey": {
                "type": "string",
                "maxLength": 200,
                "minLength": 8
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "project_id",
              "revision",
              "platform",
              "slide_count",
              "slides",
              "frame",
              "warnings",
              "next_actions",
              "mutationReceipt"
            ],
            "properties": {
              "frame": {
                "type": "object",
                "required": [
                  "width",
                  "height",
                  "aspect_ratio"
                ],
                "properties": {
                  "width": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991
                  },
                  "height": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991
                  },
                  "aspect_ratio": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "job_id": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "slides": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "index",
                    "role",
                    "timeline_item_ids",
                    "overlay_ids",
                    "layout_applied",
                    "chip_band_px"
                  ],
                  "properties": {
                    "role": {
                      "anyOf": [
                        {
                          "enum": [
                            "hook",
                            "body",
                            "proof",
                            "cta"
                          ],
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "index": {
                      "type": "integer",
                      "maximum": 9007199254740991,
                      "minimum": 0
                    },
                    "overlay_ids": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "chip_band_px": {
                      "type": "object",
                      "required": [
                        "top",
                        "bottom"
                      ],
                      "properties": {
                        "top": {
                          "type": "number"
                        },
                        "bottom": {
                          "type": "number"
                        }
                      },
                      "additionalProperties": false
                    },
                    "layout_applied": {
                      "enum": [
                        "chip_stack_ui",
                        "chip_stack_face_safe",
                        "chip_stack_top",
                        "title_body_card"
                      ],
                      "type": "string"
                    },
                    "timeline_item_ids": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  },
                  "additionalProperties": false
                }
              },
              "platform": {
                "enum": [
                  "tiktok_photo",
                  "instagram_4x5",
                  "linkedin"
                ],
                "type": "string"
              },
              "revision": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string"
                    },
                    "field": {
                      "type": "string"
                    },
                    "repair": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "project_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "slide_count": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 1
              },
              "next_actions": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "method",
                    "path",
                    "reason"
                  ],
                  "properties": {
                    "path": {
                      "type": "string"
                    },
                    "method": {
                      "enum": [
                        "GET",
                        "POST",
                        "PATCH",
                        "DELETE"
                      ],
                      "type": "string"
                    },
                    "reason": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "ai_image_run_id": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "mutationReceipt": {
                "type": "object",
                "required": [
                  "id",
                  "key",
                  "operation",
                  "status",
                  "replayed"
                ],
                "properties": {
                  "id": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "key": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "status": {
                    "enum": [
                      "completed"
                    ],
                    "type": "string"
                  },
                  "replayed": {
                    "type": "boolean"
                  },
                  "operation": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "carousels_preview",
          "title": "Preview Carousel",
          "description": "Render and store private JPEG previews for the selected carousel slides. Replaces cached previews at deterministic storage keys; preserves the source project and slide document.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "idempotencyKey",
              "projectId",
              "chrome"
            ],
            "properties": {
              "chrome": {
                "enum": [
                  "tiktok",
                  "instagram",
                  "none"
                ],
                "type": "string",
                "default": "none"
              },
              "projectId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "UUID string."
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "slideIndexes": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "maximum": 34,
                  "minimum": 0
                },
                "maxItems": 35
              },
              "idempotencyKey": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 200,
                    "minLength": 8
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "project_id",
              "revision",
              "platform",
              "frame",
              "slides",
              "warnings",
              "next_actions"
            ],
            "properties": {
              "frame": {
                "type": "object",
                "required": [
                  "width",
                  "height",
                  "aspect_ratio"
                ],
                "properties": {
                  "width": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991
                  },
                  "height": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991
                  },
                  "aspect_ratio": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "slides": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "index",
                    "preview_url",
                    "width",
                    "height",
                    "expires_at"
                  ],
                  "properties": {
                    "index": {
                      "type": "integer",
                      "maximum": 9007199254740991,
                      "minimum": 0
                    },
                    "print": {
                      "enum": [
                        "slots",
                        "ingested",
                        "board"
                      ],
                      "type": "string"
                    },
                    "width": {
                      "type": "integer",
                      "maximum": 9007199254740991,
                      "minimum": -9007199254740991
                    },
                    "height": {
                      "type": "integer",
                      "maximum": 9007199254740991,
                      "minimum": -9007199254740991
                    },
                    "expires_at": {
                      "type": "string"
                    },
                    "preview_url": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "platform": {
                "anyOf": [
                  {
                    "enum": [
                      "tiktok_photo",
                      "instagram_4x5",
                      "linkedin"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "revision": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string"
                    },
                    "field": {
                      "type": "string"
                    },
                    "repair": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "project_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "next_actions": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "method",
                    "path",
                    "reason"
                  ],
                  "properties": {
                    "path": {
                      "type": "string"
                    },
                    "method": {
                      "enum": [
                        "GET",
                        "POST",
                        "PATCH",
                        "DELETE"
                      ],
                      "type": "string"
                    },
                    "reason": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "carousels_get",
          "title": "Get Carousel Document",
          "description": "Read the carousel slot document and the named template catalog.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "projectId"
            ],
            "properties": {
              "projectId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "UUID string."
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "project_id",
              "revision",
              "name",
              "platform",
              "locale",
              "frame",
              "style",
              "slides",
              "templates",
              "can_undo",
              "warnings",
              "next_actions"
            ],
            "properties": {
              "kit": {
                "type": "object",
                "required": [
                  "themes",
                  "templates",
                  "active_theme_id"
                ],
                "properties": {
                  "themes": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "name",
                        "scope",
                        "fontFamily",
                        "titleColor",
                        "bodyColor",
                        "background",
                        "pageColor",
                        "overlayEnabled",
                        "overlayOpacity"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "name": {
                          "type": "string",
                          "maxLength": 80,
                          "minLength": 1
                        },
                        "scope": {
                          "enum": [
                            "project",
                            "brand"
                          ],
                          "type": "string"
                        },
                        "bodyColor": {
                          "type": "string",
                          "pattern": "^#[0-9a-fA-F]{6}$"
                        },
                        "pageColor": {
                          "type": "string",
                          "default": "",
                          "maxLength": 32
                        },
                        "background": {
                          "type": "string",
                          "default": "",
                          "maxLength": 32
                        },
                        "fontFamily": {
                          "type": "string",
                          "default": "",
                          "maxLength": 80
                        },
                        "titleColor": {
                          "type": "string",
                          "pattern": "^#[0-9a-fA-F]{6}$"
                        },
                        "logoAssetId": {
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "overlayEnabled": {
                          "type": "boolean"
                        },
                        "overlayOpacity": {
                          "type": "integer",
                          "maximum": 100,
                          "minimum": 0
                        }
                      },
                      "additionalProperties": false
                    },
                    "maxItems": 40
                  },
                  "templates": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "name",
                        "scope",
                        "template_id",
                        "slots"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "name": {
                          "type": "string",
                          "maxLength": 80,
                          "minLength": 1
                        },
                        "scope": {
                          "enum": [
                            "project",
                            "brand"
                          ],
                          "type": "string"
                        },
                        "slots": {
                          "type": "object",
                          "propertyNames": {
                            "type": "string",
                            "maxLength": 80,
                            "minLength": 1
                          },
                          "additionalProperties": {
                            "type": "string",
                            "maxLength": 4000
                          }
                        },
                        "template_id": {
                          "type": "string",
                          "maxLength": 80,
                          "minLength": 1
                        }
                      },
                      "additionalProperties": false
                    },
                    "maxItems": 40
                  },
                  "active_theme_id": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "additionalProperties": false
              },
              "name": {
                "type": "string"
              },
              "frame": {
                "type": "object",
                "required": [
                  "width",
                  "height",
                  "aspect_ratio"
                ],
                "properties": {
                  "width": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991
                  },
                  "height": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991
                  },
                  "aspect_ratio": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "style": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "chip": {
                        "type": "object",
                        "properties": {
                          "color": {
                            "type": "string",
                            "maxLength": 32,
                            "minLength": 1
                          },
                          "radius": {
                            "type": "integer",
                            "maximum": 48,
                            "minimum": 0
                          },
                          "font_size": {
                            "type": "integer",
                            "maximum": 120,
                            "minimum": 12
                          },
                          "padding_x": {
                            "type": "integer",
                            "maximum": 80,
                            "minimum": 0
                          },
                          "padding_y": {
                            "type": "integer",
                            "maximum": 80,
                            "minimum": 0
                          },
                          "background": {
                            "type": "string",
                            "maxLength": 32,
                            "minLength": 1
                          },
                          "font_family": {
                            "type": "string",
                            "maxLength": 80,
                            "minLength": 1
                          },
                          "font_weight": {
                            "anyOf": [
                              {
                                "type": "integer",
                                "maximum": 900,
                                "minimum": 100
                              },
                              {
                                "type": "string"
                              }
                            ]
                          },
                          "max_lines_per_chip": {
                            "type": "integer",
                            "maximum": 4,
                            "minimum": 1
                          }
                        },
                        "additionalProperties": false
                      }
                    },
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "locale": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "slides": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "index",
                    "role",
                    "lines",
                    "slots",
                    "layout",
                    "visual"
                  ],
                  "properties": {
                    "role": {
                      "anyOf": [
                        {
                          "enum": [
                            "hook",
                            "body",
                            "proof",
                            "cta"
                          ],
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "index": {
                      "type": "integer",
                      "maximum": 9007199254740991,
                      "minimum": 0
                    },
                    "lines": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "slots": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string",
                        "maxLength": 80,
                        "minLength": 1
                      },
                      "additionalProperties": {
                        "type": "string",
                        "maxLength": 4000
                      }
                    },
                    "layout": {
                      "anyOf": [
                        {
                          "enum": [
                            "chip_stack_ui",
                            "chip_stack_face_safe",
                            "chip_stack_top",
                            "title_body_card"
                          ],
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "visual": {
                      "type": "object",
                      "required": [
                        "kind"
                      ],
                      "properties": {
                        "crop": {
                          "type": "object",
                          "required": [
                            "left",
                            "top",
                            "width",
                            "height"
                          ],
                          "properties": {
                            "top": {
                              "type": "number",
                              "maximum": 1,
                              "minimum": 0
                            },
                            "left": {
                              "type": "number",
                              "maximum": 1,
                              "minimum": 0
                            },
                            "width": {
                              "type": "number",
                              "maximum": 1,
                              "exclusiveMinimum": 0
                            },
                            "height": {
                              "type": "number",
                              "maximum": 1,
                              "exclusiveMinimum": 0
                            }
                          },
                          "additionalProperties": false
                        },
                        "html": {
                          "type": "string",
                          "maxLength": 80000,
                          "minLength": 20
                        },
                        "kind": {
                          "enum": [
                            "creative_source",
                            "media_asset",
                            "generate",
                            "solid",
                            "gradient",
                            "html",
                            "template"
                          ],
                          "type": "string"
                        },
                        "color": {
                          "type": "string",
                          "pattern": "^#[0-9a-fA-F]{6}$"
                        },
                        "colors": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "pattern": "^#[0-9a-fA-F]{6}$"
                          },
                          "maxItems": 2,
                          "minItems": 1
                        },
                        "prompt": {
                          "type": "string",
                          "maxLength": 1000,
                          "minLength": 3
                        },
                        "model_id": {
                          "type": "string",
                          "maxLength": 120,
                          "minLength": 1
                        },
                        "template_id": {
                          "type": "string",
                          "maxLength": 80,
                          "minLength": 1
                        },
                        "media_asset_id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "creative_source": {
                          "type": "object",
                          "required": [
                            "artifact_id",
                            "project_id",
                            "source_revision_id",
                            "source_revision",
                            "source_hash",
                            "runtime_identity",
                            "composition_id",
                            "frame",
                            "width",
                            "height",
                            "fps",
                            "frame_hash",
                            "media_asset_id",
                            "controls",
                            "values"
                          ],
                          "properties": {
                            "fps": {
                              "type": "number",
                              "exclusiveMinimum": 0
                            },
                            "frame": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "minimum": 0
                            },
                            "width": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "exclusiveMinimum": 0
                            },
                            "height": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "exclusiveMinimum": 0
                            },
                            "values": {
                              "type": "object",
                              "propertyNames": {
                                "type": "string",
                                "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
                                "maxLength": 80,
                                "minLength": 1
                              },
                              "additionalProperties": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "maxLength": 10000
                                  },
                                  {
                                    "type": "number"
                                  }
                                ]
                              }
                            },
                            "controls": {
                              "anyOf": [
                                {
                                  "type": "object",
                                  "required": [
                                    "file",
                                    "fields"
                                  ],
                                  "properties": {
                                    "file": {
                                      "type": "string",
                                      "format": "ends_with",
                                      "pattern": ".*\\.json$",
                                      "maxLength": 180,
                                      "minLength": 1
                                    },
                                    "fields": {
                                      "type": "array",
                                      "items": {
                                        "oneOf": [
                                          {
                                            "type": "object",
                                            "required": [
                                              "key",
                                              "label",
                                              "type",
                                              "maxLength"
                                            ],
                                            "properties": {
                                              "key": {
                                                "type": "string",
                                                "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
                                                "maxLength": 80,
                                                "minLength": 1
                                              },
                                              "type": {
                                                "type": "string",
                                                "const": "text"
                                              },
                                              "label": {
                                                "type": "string",
                                                "maxLength": 120,
                                                "minLength": 1
                                              },
                                              "maxLength": {
                                                "type": "integer",
                                                "maximum": 10000,
                                                "minimum": 1
                                              }
                                            },
                                            "additionalProperties": false
                                          },
                                          {
                                            "type": "object",
                                            "required": [
                                              "key",
                                              "label",
                                              "type"
                                            ],
                                            "properties": {
                                              "key": {
                                                "type": "string",
                                                "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
                                                "maxLength": 80,
                                                "minLength": 1
                                              },
                                              "type": {
                                                "type": "string",
                                                "const": "color"
                                              },
                                              "label": {
                                                "type": "string",
                                                "maxLength": 120,
                                                "minLength": 1
                                              }
                                            },
                                            "additionalProperties": false
                                          },
                                          {
                                            "type": "object",
                                            "required": [
                                              "key",
                                              "label",
                                              "type"
                                            ],
                                            "properties": {
                                              "key": {
                                                "type": "string",
                                                "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
                                                "maxLength": 80,
                                                "minLength": 1
                                              },
                                              "type": {
                                                "type": "string",
                                                "const": "media"
                                              },
                                              "label": {
                                                "type": "string",
                                                "maxLength": 120,
                                                "minLength": 1
                                              }
                                            },
                                            "additionalProperties": false
                                          },
                                          {
                                            "type": "object",
                                            "required": [
                                              "key",
                                              "label",
                                              "type",
                                              "min",
                                              "max",
                                              "step"
                                            ],
                                            "properties": {
                                              "key": {
                                                "type": "string",
                                                "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
                                                "maxLength": 80,
                                                "minLength": 1
                                              },
                                              "max": {
                                                "type": "number",
                                                "maximum": 10800
                                              },
                                              "min": {
                                                "type": "number",
                                                "minimum": 0
                                              },
                                              "step": {
                                                "type": "number",
                                                "exclusiveMinimum": 0
                                              },
                                              "type": {
                                                "type": "string",
                                                "const": "timing"
                                              },
                                              "label": {
                                                "type": "string",
                                                "maxLength": 120,
                                                "minLength": 1
                                              }
                                            },
                                            "additionalProperties": false
                                          }
                                        ]
                                      },
                                      "maxItems": 40,
                                      "minItems": 1
                                    }
                                  },
                                  "additionalProperties": false
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "frame_hash": {
                              "type": "string",
                              "pattern": "^[a-f0-9]{64}$"
                            },
                            "project_id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "artifact_id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "source_hash": {
                              "type": "string",
                              "pattern": "^[a-f0-9]{64}$"
                            },
                            "composition_id": {
                              "type": "string",
                              "minLength": 1
                            },
                            "media_asset_id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "source_revision": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "exclusiveMinimum": 0
                            },
                            "runtime_identity": {
                              "type": "string",
                              "minLength": 1
                            },
                            "source_revision_id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            }
                          },
                          "additionalProperties": false
                        },
                        "creative_artifact_id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "source_media_asset_id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        }
                      },
                      "additionalProperties": false
                    },
                    "photo_url": {
                      "anyOf": [
                        {
                          "type": "string",
                          "maxLength": 4000,
                          "minLength": 1
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "slot_urls": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {
                        "type": "string",
                        "maxLength": 4000,
                        "minLength": 1
                      }
                    }
                  },
                  "additionalProperties": false
                }
              },
              "can_undo": {
                "type": "boolean"
              },
              "platform": {
                "anyOf": [
                  {
                    "enum": [
                      "tiktok_photo",
                      "instagram_4x5",
                      "linkedin"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "revision": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string"
                    },
                    "field": {
                      "type": "string"
                    },
                    "repair": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "templates": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "label",
                    "family",
                    "slots"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "label": {
                      "type": "string"
                    },
                    "slots": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "key",
                          "label"
                        ],
                        "properties": {
                          "key": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          }
                        },
                        "additionalProperties": false
                      }
                    },
                    "family": {
                      "enum": [
                        "photo",
                        "designed"
                      ],
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "font_faces": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "family",
                    "src",
                    "weight",
                    "style",
                    "unicodeRange"
                  ],
                  "properties": {
                    "src": {
                      "type": "string",
                      "maxLength": 4000,
                      "minLength": 1
                    },
                    "style": {
                      "enum": [
                        "normal",
                        "italic",
                        "oblique"
                      ],
                      "type": "string"
                    },
                    "family": {
                      "type": "string",
                      "maxLength": 160,
                      "minLength": 1
                    },
                    "weight": {
                      "type": "string",
                      "maxLength": 32,
                      "minLength": 1
                    },
                    "unicodeRange": {
                      "type": "string",
                      "maxLength": 8000
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 256
              },
              "project_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "next_actions": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "method",
                    "path",
                    "reason"
                  ],
                  "properties": {
                    "path": {
                      "type": "string"
                    },
                    "method": {
                      "enum": [
                        "GET",
                        "POST",
                        "PATCH",
                        "DELETE"
                      ],
                      "type": "string"
                    },
                    "reason": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "carousels_patch_slide",
          "title": "Patch Carousel Slide",
          "description": "Patch native slots/media or select a completed Remotion frame artifact and crop. Requires expectedRevision; identical keys replay.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "idempotencyKey",
              "projectId",
              "expectedRevision",
              "slideIndex"
            ],
            "properties": {
              "crop": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "left",
                      "top",
                      "width",
                      "height"
                    ],
                    "properties": {
                      "top": {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      },
                      "left": {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      },
                      "width": {
                        "type": "number",
                        "maximum": 1,
                        "exclusiveMinimum": 0
                      },
                      "height": {
                        "type": "number",
                        "maximum": 1,
                        "exclusiveMinimum": 0
                      }
                    },
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "lines": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 200,
                  "minLength": 1
                },
                "maxItems": 6
              },
              "slots": {
                "type": "object",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {
                  "type": "string"
                }
              },
              "projectId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "UUID string."
              },
              "slideIndex": {
                "type": "integer",
                "maximum": 34,
                "minimum": 0
              },
              "templateId": {
                "type": "string",
                "maxLength": 80,
                "minLength": 1
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "mediaAssetId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "idempotencyKey": {
                "type": "string",
                "maxLength": 200,
                "minLength": 8
              },
              "expectedRevision": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0
              },
              "creativeArtifactId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "project_id",
              "revision",
              "name",
              "platform",
              "locale",
              "frame",
              "style",
              "slides",
              "templates",
              "can_undo",
              "warnings",
              "next_actions",
              "txid",
              "mutationReceipt"
            ],
            "properties": {
              "kit": {
                "type": "object",
                "required": [
                  "themes",
                  "templates",
                  "active_theme_id"
                ],
                "properties": {
                  "themes": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "name",
                        "scope",
                        "fontFamily",
                        "titleColor",
                        "bodyColor",
                        "background",
                        "pageColor",
                        "overlayEnabled",
                        "overlayOpacity"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "name": {
                          "type": "string",
                          "maxLength": 80,
                          "minLength": 1
                        },
                        "scope": {
                          "enum": [
                            "project",
                            "brand"
                          ],
                          "type": "string"
                        },
                        "bodyColor": {
                          "type": "string",
                          "pattern": "^#[0-9a-fA-F]{6}$"
                        },
                        "pageColor": {
                          "type": "string",
                          "default": "",
                          "maxLength": 32
                        },
                        "background": {
                          "type": "string",
                          "default": "",
                          "maxLength": 32
                        },
                        "fontFamily": {
                          "type": "string",
                          "default": "",
                          "maxLength": 80
                        },
                        "titleColor": {
                          "type": "string",
                          "pattern": "^#[0-9a-fA-F]{6}$"
                        },
                        "logoAssetId": {
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "overlayEnabled": {
                          "type": "boolean"
                        },
                        "overlayOpacity": {
                          "type": "integer",
                          "maximum": 100,
                          "minimum": 0
                        }
                      },
                      "additionalProperties": false
                    },
                    "maxItems": 40
                  },
                  "templates": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "name",
                        "scope",
                        "template_id",
                        "slots"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "name": {
                          "type": "string",
                          "maxLength": 80,
                          "minLength": 1
                        },
                        "scope": {
                          "enum": [
                            "project",
                            "brand"
                          ],
                          "type": "string"
                        },
                        "slots": {
                          "type": "object",
                          "propertyNames": {
                            "type": "string",
                            "maxLength": 80,
                            "minLength": 1
                          },
                          "additionalProperties": {
                            "type": "string",
                            "maxLength": 4000
                          }
                        },
                        "template_id": {
                          "type": "string",
                          "maxLength": 80,
                          "minLength": 1
                        }
                      },
                      "additionalProperties": false
                    },
                    "maxItems": 40
                  },
                  "active_theme_id": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "additionalProperties": false
              },
              "name": {
                "type": "string"
              },
              "txid": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "frame": {
                "type": "object",
                "required": [
                  "width",
                  "height",
                  "aspect_ratio"
                ],
                "properties": {
                  "width": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991
                  },
                  "height": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991
                  },
                  "aspect_ratio": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "style": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "chip": {
                        "type": "object",
                        "properties": {
                          "color": {
                            "type": "string",
                            "maxLength": 32,
                            "minLength": 1
                          },
                          "radius": {
                            "type": "integer",
                            "maximum": 48,
                            "minimum": 0
                          },
                          "font_size": {
                            "type": "integer",
                            "maximum": 120,
                            "minimum": 12
                          },
                          "padding_x": {
                            "type": "integer",
                            "maximum": 80,
                            "minimum": 0
                          },
                          "padding_y": {
                            "type": "integer",
                            "maximum": 80,
                            "minimum": 0
                          },
                          "background": {
                            "type": "string",
                            "maxLength": 32,
                            "minLength": 1
                          },
                          "font_family": {
                            "type": "string",
                            "maxLength": 80,
                            "minLength": 1
                          },
                          "font_weight": {
                            "anyOf": [
                              {
                                "type": "integer",
                                "maximum": 900,
                                "minimum": 100
                              },
                              {
                                "type": "string"
                              }
                            ]
                          },
                          "max_lines_per_chip": {
                            "type": "integer",
                            "maximum": 4,
                            "minimum": 1
                          }
                        },
                        "additionalProperties": false
                      }
                    },
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "locale": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "slides": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "index",
                    "role",
                    "lines",
                    "slots",
                    "layout",
                    "visual"
                  ],
                  "properties": {
                    "role": {
                      "anyOf": [
                        {
                          "enum": [
                            "hook",
                            "body",
                            "proof",
                            "cta"
                          ],
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "index": {
                      "type": "integer",
                      "maximum": 9007199254740991,
                      "minimum": 0
                    },
                    "lines": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "slots": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string",
                        "maxLength": 80,
                        "minLength": 1
                      },
                      "additionalProperties": {
                        "type": "string",
                        "maxLength": 4000
                      }
                    },
                    "layout": {
                      "anyOf": [
                        {
                          "enum": [
                            "chip_stack_ui",
                            "chip_stack_face_safe",
                            "chip_stack_top",
                            "title_body_card"
                          ],
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "visual": {
                      "type": "object",
                      "required": [
                        "kind"
                      ],
                      "properties": {
                        "crop": {
                          "type": "object",
                          "required": [
                            "left",
                            "top",
                            "width",
                            "height"
                          ],
                          "properties": {
                            "top": {
                              "type": "number",
                              "maximum": 1,
                              "minimum": 0
                            },
                            "left": {
                              "type": "number",
                              "maximum": 1,
                              "minimum": 0
                            },
                            "width": {
                              "type": "number",
                              "maximum": 1,
                              "exclusiveMinimum": 0
                            },
                            "height": {
                              "type": "number",
                              "maximum": 1,
                              "exclusiveMinimum": 0
                            }
                          },
                          "additionalProperties": false
                        },
                        "html": {
                          "type": "string",
                          "maxLength": 80000,
                          "minLength": 20
                        },
                        "kind": {
                          "enum": [
                            "creative_source",
                            "media_asset",
                            "generate",
                            "solid",
                            "gradient",
                            "html",
                            "template"
                          ],
                          "type": "string"
                        },
                        "color": {
                          "type": "string",
                          "pattern": "^#[0-9a-fA-F]{6}$"
                        },
                        "colors": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "pattern": "^#[0-9a-fA-F]{6}$"
                          },
                          "maxItems": 2,
                          "minItems": 1
                        },
                        "prompt": {
                          "type": "string",
                          "maxLength": 1000,
                          "minLength": 3
                        },
                        "model_id": {
                          "type": "string",
                          "maxLength": 120,
                          "minLength": 1
                        },
                        "template_id": {
                          "type": "string",
                          "maxLength": 80,
                          "minLength": 1
                        },
                        "media_asset_id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "creative_source": {
                          "type": "object",
                          "required": [
                            "artifact_id",
                            "project_id",
                            "source_revision_id",
                            "source_revision",
                            "source_hash",
                            "runtime_identity",
                            "composition_id",
                            "frame",
                            "width",
                            "height",
                            "fps",
                            "frame_hash",
                            "media_asset_id",
                            "controls",
                            "values"
                          ],
                          "properties": {
                            "fps": {
                              "type": "number",
                              "exclusiveMinimum": 0
                            },
                            "frame": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "minimum": 0
                            },
                            "width": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "exclusiveMinimum": 0
                            },
                            "height": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "exclusiveMinimum": 0
                            },
                            "values": {
                              "type": "object",
                              "propertyNames": {
                                "type": "string",
                                "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
                                "maxLength": 80,
                                "minLength": 1
                              },
                              "additionalProperties": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "maxLength": 10000
                                  },
                                  {
                                    "type": "number"
                                  }
                                ]
                              }
                            },
                            "controls": {
                              "anyOf": [
                                {
                                  "type": "object",
                                  "required": [
                                    "file",
                                    "fields"
                                  ],
                                  "properties": {
                                    "file": {
                                      "type": "string",
                                      "format": "ends_with",
                                      "pattern": ".*\\.json$",
                                      "maxLength": 180,
                                      "minLength": 1
                                    },
                                    "fields": {
                                      "type": "array",
                                      "items": {
                                        "oneOf": [
                                          {
                                            "type": "object",
                                            "required": [
                                              "key",
                                              "label",
                                              "type",
                                              "maxLength"
                                            ],
                                            "properties": {
                                              "key": {
                                                "type": "string",
                                                "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
                                                "maxLength": 80,
                                                "minLength": 1
                                              },
                                              "type": {
                                                "type": "string",
                                                "const": "text"
                                              },
                                              "label": {
                                                "type": "string",
                                                "maxLength": 120,
                                                "minLength": 1
                                              },
                                              "maxLength": {
                                                "type": "integer",
                                                "maximum": 10000,
                                                "minimum": 1
                                              }
                                            },
                                            "additionalProperties": false
                                          },
                                          {
                                            "type": "object",
                                            "required": [
                                              "key",
                                              "label",
                                              "type"
                                            ],
                                            "properties": {
                                              "key": {
                                                "type": "string",
                                                "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
                                                "maxLength": 80,
                                                "minLength": 1
                                              },
                                              "type": {
                                                "type": "string",
                                                "const": "color"
                                              },
                                              "label": {
                                                "type": "string",
                                                "maxLength": 120,
                                                "minLength": 1
                                              }
                                            },
                                            "additionalProperties": false
                                          },
                                          {
                                            "type": "object",
                                            "required": [
                                              "key",
                                              "label",
                                              "type"
                                            ],
                                            "properties": {
                                              "key": {
                                                "type": "string",
                                                "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
                                                "maxLength": 80,
                                                "minLength": 1
                                              },
                                              "type": {
                                                "type": "string",
                                                "const": "media"
                                              },
                                              "label": {
                                                "type": "string",
                                                "maxLength": 120,
                                                "minLength": 1
                                              }
                                            },
                                            "additionalProperties": false
                                          },
                                          {
                                            "type": "object",
                                            "required": [
                                              "key",
                                              "label",
                                              "type",
                                              "min",
                                              "max",
                                              "step"
                                            ],
                                            "properties": {
                                              "key": {
                                                "type": "string",
                                                "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
                                                "maxLength": 80,
                                                "minLength": 1
                                              },
                                              "max": {
                                                "type": "number",
                                                "maximum": 10800
                                              },
                                              "min": {
                                                "type": "number",
                                                "minimum": 0
                                              },
                                              "step": {
                                                "type": "number",
                                                "exclusiveMinimum": 0
                                              },
                                              "type": {
                                                "type": "string",
                                                "const": "timing"
                                              },
                                              "label": {
                                                "type": "string",
                                                "maxLength": 120,
                                                "minLength": 1
                                              }
                                            },
                                            "additionalProperties": false
                                          }
                                        ]
                                      },
                                      "maxItems": 40,
                                      "minItems": 1
                                    }
                                  },
                                  "additionalProperties": false
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "frame_hash": {
                              "type": "string",
                              "pattern": "^[a-f0-9]{64}$"
                            },
                            "project_id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "artifact_id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "source_hash": {
                              "type": "string",
                              "pattern": "^[a-f0-9]{64}$"
                            },
                            "composition_id": {
                              "type": "string",
                              "minLength": 1
                            },
                            "media_asset_id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "source_revision": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "exclusiveMinimum": 0
                            },
                            "runtime_identity": {
                              "type": "string",
                              "minLength": 1
                            },
                            "source_revision_id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            }
                          },
                          "additionalProperties": false
                        },
                        "creative_artifact_id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "source_media_asset_id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        }
                      },
                      "additionalProperties": false
                    },
                    "photo_url": {
                      "anyOf": [
                        {
                          "type": "string",
                          "maxLength": 4000,
                          "minLength": 1
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "slot_urls": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {
                        "type": "string",
                        "maxLength": 4000,
                        "minLength": 1
                      }
                    }
                  },
                  "additionalProperties": false
                }
              },
              "can_undo": {
                "type": "boolean"
              },
              "platform": {
                "anyOf": [
                  {
                    "enum": [
                      "tiktok_photo",
                      "instagram_4x5",
                      "linkedin"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "revision": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string"
                    },
                    "field": {
                      "type": "string"
                    },
                    "repair": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "templates": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "label",
                    "family",
                    "slots"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "label": {
                      "type": "string"
                    },
                    "slots": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "key",
                          "label"
                        ],
                        "properties": {
                          "key": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          }
                        },
                        "additionalProperties": false
                      }
                    },
                    "family": {
                      "enum": [
                        "photo",
                        "designed"
                      ],
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "font_faces": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "family",
                    "src",
                    "weight",
                    "style",
                    "unicodeRange"
                  ],
                  "properties": {
                    "src": {
                      "type": "string",
                      "maxLength": 4000,
                      "minLength": 1
                    },
                    "style": {
                      "enum": [
                        "normal",
                        "italic",
                        "oblique"
                      ],
                      "type": "string"
                    },
                    "family": {
                      "type": "string",
                      "maxLength": 160,
                      "minLength": 1
                    },
                    "weight": {
                      "type": "string",
                      "maxLength": 32,
                      "minLength": 1
                    },
                    "unicodeRange": {
                      "type": "string",
                      "maxLength": 8000
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 256
              },
              "project_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "next_actions": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "method",
                    "path",
                    "reason"
                  ],
                  "properties": {
                    "path": {
                      "type": "string"
                    },
                    "method": {
                      "enum": [
                        "GET",
                        "POST",
                        "PATCH",
                        "DELETE"
                      ],
                      "type": "string"
                    },
                    "reason": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "mutationReceipt": {
                "type": "object",
                "required": [
                  "id",
                  "key",
                  "operation",
                  "status",
                  "replayed"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  "key": {
                    "type": "string"
                  },
                  "status": {
                    "type": "string",
                    "const": "completed"
                  },
                  "replayed": {
                    "type": "boolean"
                  },
                  "operation": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "carousels_expand_recipe",
          "title": "Expand Carousel Recipe",
          "description": "Turn a named recipe or a brief into compile-ready named-template slides. Expand never publishes and never invents metrics.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "recipeId"
            ],
            "properties": {
              "name": {
                "type": "string",
                "maxLength": 120,
                "minLength": 1
              },
              "brief": {
                "type": "string",
                "maxLength": 8000,
                "minLength": 1
              },
              "offer": {
                "type": "string",
                "maxLength": 400,
                "minLength": 1
              },
              "locale": {
                "type": "string",
                "maxLength": 12,
                "minLength": 2
              },
              "product": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1
              },
              "audience": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1
              },
              "platform": {
                "enum": [
                  "tiktok_photo",
                  "instagram_4x5",
                  "linkedin"
                ],
                "type": "string"
              },
              "recipeId": {
                "enum": [
                  "curiosity_gap_ugc_7",
                  "result_first_demo_6",
                  "myth_guillotine_8",
                  "before_after_5",
                  "from_brief"
                ],
                "type": "string"
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "recipe_id",
              "name",
              "platform",
              "slides"
            ],
            "properties": {
              "name": {
                "type": "string"
              },
              "locale": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "slides": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "lines",
                    "visual"
                  ],
                  "properties": {
                    "role": {
                      "enum": [
                        "hook",
                        "body",
                        "proof",
                        "cta"
                      ],
                      "type": "string"
                    },
                    "lines": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "maxLength": 200,
                        "minLength": 1
                      },
                      "default": [],
                      "maxItems": 6
                    },
                    "slots": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string",
                        "maxLength": 80,
                        "minLength": 1
                      },
                      "additionalProperties": {
                        "type": "string",
                        "maxLength": 4000
                      }
                    },
                    "layout": {
                      "enum": [
                        "chip_stack_ui",
                        "chip_stack_face_safe",
                        "chip_stack_top",
                        "title_body_card"
                      ],
                      "type": "string"
                    },
                    "visual": {
                      "type": "object",
                      "required": [
                        "kind"
                      ],
                      "properties": {
                        "crop": {
                          "type": "object",
                          "required": [
                            "left",
                            "top",
                            "width",
                            "height"
                          ],
                          "properties": {
                            "top": {
                              "type": "number",
                              "maximum": 1,
                              "minimum": 0
                            },
                            "left": {
                              "type": "number",
                              "maximum": 1,
                              "minimum": 0
                            },
                            "width": {
                              "type": "number",
                              "maximum": 1,
                              "exclusiveMinimum": 0
                            },
                            "height": {
                              "type": "number",
                              "maximum": 1,
                              "exclusiveMinimum": 0
                            }
                          },
                          "additionalProperties": false
                        },
                        "html": {
                          "type": "string",
                          "maxLength": 80000,
                          "minLength": 20
                        },
                        "kind": {
                          "enum": [
                            "creative_source",
                            "media_asset",
                            "generate",
                            "solid",
                            "gradient",
                            "html",
                            "template"
                          ],
                          "type": "string"
                        },
                        "color": {
                          "type": "string",
                          "pattern": "^#[0-9a-fA-F]{6}$"
                        },
                        "colors": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "pattern": "^#[0-9a-fA-F]{6}$"
                          },
                          "maxItems": 2,
                          "minItems": 1
                        },
                        "prompt": {
                          "type": "string",
                          "maxLength": 1000,
                          "minLength": 3
                        },
                        "model_id": {
                          "type": "string",
                          "maxLength": 120,
                          "minLength": 1
                        },
                        "template_id": {
                          "type": "string",
                          "maxLength": 80,
                          "minLength": 1
                        },
                        "media_asset_id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "creative_artifact_id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "source_media_asset_id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        }
                      },
                      "additionalProperties": false
                    },
                    "layout_overrides": {
                      "type": "object",
                      "properties": {
                        "top_px": {
                          "type": "integer",
                          "maximum": 1920,
                          "minimum": 0
                        }
                      },
                      "additionalProperties": false
                    }
                  },
                  "additionalProperties": false
                }
              },
              "platform": {
                "enum": [
                  "tiktok_photo",
                  "instagram_4x5",
                  "linkedin"
                ],
                "type": "string"
              },
              "recipe_id": {
                "enum": [
                  "curiosity_gap_ugc_7",
                  "result_first_demo_6",
                  "myth_guillotine_8",
                  "before_after_5",
                  "from_brief"
                ],
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "carousels_migrate",
          "title": "Migrate Legacy Carousel",
          "description": "Rebuild a compile slot document from a legacy overlay carousel. Then patch slots like any compiled deck.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "idempotencyKey",
              "projectId"
            ],
            "properties": {
              "projectId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "UUID string."
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "idempotencyKey": {
                "type": "string",
                "maxLength": 200,
                "minLength": 8
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "properties": {
              "kit": {
                "type": "object",
                "required": [
                  "themes",
                  "templates",
                  "active_theme_id"
                ],
                "properties": {
                  "themes": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "name",
                        "scope",
                        "fontFamily",
                        "titleColor",
                        "bodyColor",
                        "background",
                        "pageColor",
                        "overlayEnabled",
                        "overlayOpacity"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "name": {
                          "type": "string",
                          "maxLength": 80,
                          "minLength": 1
                        },
                        "scope": {
                          "enum": [
                            "project",
                            "brand"
                          ],
                          "type": "string"
                        },
                        "bodyColor": {
                          "type": "string",
                          "pattern": "^#[0-9a-fA-F]{6}$"
                        },
                        "pageColor": {
                          "type": "string",
                          "default": "",
                          "maxLength": 32
                        },
                        "background": {
                          "type": "string",
                          "default": "",
                          "maxLength": 32
                        },
                        "fontFamily": {
                          "type": "string",
                          "default": "",
                          "maxLength": 80
                        },
                        "titleColor": {
                          "type": "string",
                          "pattern": "^#[0-9a-fA-F]{6}$"
                        },
                        "logoAssetId": {
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "overlayEnabled": {
                          "type": "boolean"
                        },
                        "overlayOpacity": {
                          "type": "integer",
                          "maximum": 100,
                          "minimum": 0
                        }
                      },
                      "additionalProperties": false
                    },
                    "maxItems": 40
                  },
                  "templates": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "name",
                        "scope",
                        "template_id",
                        "slots"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "name": {
                          "type": "string",
                          "maxLength": 80,
                          "minLength": 1
                        },
                        "scope": {
                          "enum": [
                            "project",
                            "brand"
                          ],
                          "type": "string"
                        },
                        "slots": {
                          "type": "object",
                          "propertyNames": {
                            "type": "string",
                            "maxLength": 80,
                            "minLength": 1
                          },
                          "additionalProperties": {
                            "type": "string",
                            "maxLength": 4000
                          }
                        },
                        "template_id": {
                          "type": "string",
                          "maxLength": 80,
                          "minLength": 1
                        }
                      },
                      "additionalProperties": false
                    },
                    "maxItems": 40
                  },
                  "active_theme_id": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "additionalProperties": false
              },
              "name": {
                "type": "string"
              },
              "frame": {
                "type": "object",
                "required": [
                  "width",
                  "height",
                  "aspect_ratio"
                ],
                "properties": {
                  "width": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991
                  },
                  "height": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991
                  },
                  "aspect_ratio": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "style": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "chip": {
                        "type": "object",
                        "properties": {
                          "color": {
                            "type": "string",
                            "maxLength": 32,
                            "minLength": 1
                          },
                          "radius": {
                            "type": "integer",
                            "maximum": 48,
                            "minimum": 0
                          },
                          "font_size": {
                            "type": "integer",
                            "maximum": 120,
                            "minimum": 12
                          },
                          "padding_x": {
                            "type": "integer",
                            "maximum": 80,
                            "minimum": 0
                          },
                          "padding_y": {
                            "type": "integer",
                            "maximum": 80,
                            "minimum": 0
                          },
                          "background": {
                            "type": "string",
                            "maxLength": 32,
                            "minLength": 1
                          },
                          "font_family": {
                            "type": "string",
                            "maxLength": 80,
                            "minLength": 1
                          },
                          "font_weight": {
                            "anyOf": [
                              {
                                "type": "integer",
                                "maximum": 900,
                                "minimum": 100
                              },
                              {
                                "type": "string"
                              }
                            ]
                          },
                          "max_lines_per_chip": {
                            "type": "integer",
                            "maximum": 4,
                            "minimum": 1
                          }
                        },
                        "additionalProperties": false
                      }
                    },
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "locale": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "slides": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "index",
                    "role",
                    "lines",
                    "slots",
                    "layout",
                    "visual"
                  ],
                  "properties": {
                    "role": {
                      "anyOf": [
                        {
                          "enum": [
                            "hook",
                            "body",
                            "proof",
                            "cta"
                          ],
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "index": {
                      "type": "integer",
                      "maximum": 9007199254740991,
                      "minimum": 0
                    },
                    "lines": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "slots": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string",
                        "maxLength": 80,
                        "minLength": 1
                      },
                      "additionalProperties": {
                        "type": "string",
                        "maxLength": 4000
                      }
                    },
                    "layout": {
                      "anyOf": [
                        {
                          "enum": [
                            "chip_stack_ui",
                            "chip_stack_face_safe",
                            "chip_stack_top",
                            "title_body_card"
                          ],
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "visual": {
                      "type": "object",
                      "required": [
                        "kind"
                      ],
                      "properties": {
                        "crop": {
                          "type": "object",
                          "required": [
                            "left",
                            "top",
                            "width",
                            "height"
                          ],
                          "properties": {
                            "top": {
                              "type": "number",
                              "maximum": 1,
                              "minimum": 0
                            },
                            "left": {
                              "type": "number",
                              "maximum": 1,
                              "minimum": 0
                            },
                            "width": {
                              "type": "number",
                              "maximum": 1,
                              "exclusiveMinimum": 0
                            },
                            "height": {
                              "type": "number",
                              "maximum": 1,
                              "exclusiveMinimum": 0
                            }
                          },
                          "additionalProperties": false
                        },
                        "html": {
                          "type": "string",
                          "maxLength": 80000,
                          "minLength": 20
                        },
                        "kind": {
                          "enum": [
                            "creative_source",
                            "media_asset",
                            "generate",
                            "solid",
                            "gradient",
                            "html",
                            "template"
                          ],
                          "type": "string"
                        },
                        "color": {
                          "type": "string",
                          "pattern": "^#[0-9a-fA-F]{6}$"
                        },
                        "colors": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "pattern": "^#[0-9a-fA-F]{6}$"
                          },
                          "maxItems": 2,
                          "minItems": 1
                        },
                        "prompt": {
                          "type": "string",
                          "maxLength": 1000,
                          "minLength": 3
                        },
                        "model_id": {
                          "type": "string",
                          "maxLength": 120,
                          "minLength": 1
                        },
                        "template_id": {
                          "type": "string",
                          "maxLength": 80,
                          "minLength": 1
                        },
                        "media_asset_id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "creative_source": {
                          "type": "object",
                          "required": [
                            "artifact_id",
                            "project_id",
                            "source_revision_id",
                            "source_revision",
                            "source_hash",
                            "runtime_identity",
                            "composition_id",
                            "frame",
                            "width",
                            "height",
                            "fps",
                            "frame_hash",
                            "media_asset_id",
                            "controls",
                            "values"
                          ],
                          "properties": {
                            "fps": {
                              "type": "number",
                              "exclusiveMinimum": 0
                            },
                            "frame": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "minimum": 0
                            },
                            "width": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "exclusiveMinimum": 0
                            },
                            "height": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "exclusiveMinimum": 0
                            },
                            "values": {
                              "type": "object",
                              "propertyNames": {
                                "type": "string",
                                "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
                                "maxLength": 80,
                                "minLength": 1
                              },
                              "additionalProperties": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "maxLength": 10000
                                  },
                                  {
                                    "type": "number"
                                  }
                                ]
                              }
                            },
                            "controls": {
                              "anyOf": [
                                {
                                  "type": "object",
                                  "required": [
                                    "file",
                                    "fields"
                                  ],
                                  "properties": {
                                    "file": {
                                      "type": "string",
                                      "format": "ends_with",
                                      "pattern": ".*\\.json$",
                                      "maxLength": 180,
                                      "minLength": 1
                                    },
                                    "fields": {
                                      "type": "array",
                                      "items": {
                                        "oneOf": [
                                          {
                                            "type": "object",
                                            "required": [
                                              "key",
                                              "label",
                                              "type",
                                              "maxLength"
                                            ],
                                            "properties": {
                                              "key": {
                                                "type": "string",
                                                "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
                                                "maxLength": 80,
                                                "minLength": 1
                                              },
                                              "type": {
                                                "type": "string",
                                                "const": "text"
                                              },
                                              "label": {
                                                "type": "string",
                                                "maxLength": 120,
                                                "minLength": 1
                                              },
                                              "maxLength": {
                                                "type": "integer",
                                                "maximum": 10000,
                                                "minimum": 1
                                              }
                                            },
                                            "additionalProperties": false
                                          },
                                          {
                                            "type": "object",
                                            "required": [
                                              "key",
                                              "label",
                                              "type"
                                            ],
                                            "properties": {
                                              "key": {
                                                "type": "string",
                                                "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
                                                "maxLength": 80,
                                                "minLength": 1
                                              },
                                              "type": {
                                                "type": "string",
                                                "const": "color"
                                              },
                                              "label": {
                                                "type": "string",
                                                "maxLength": 120,
                                                "minLength": 1
                                              }
                                            },
                                            "additionalProperties": false
                                          },
                                          {
                                            "type": "object",
                                            "required": [
                                              "key",
                                              "label",
                                              "type"
                                            ],
                                            "properties": {
                                              "key": {
                                                "type": "string",
                                                "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
                                                "maxLength": 80,
                                                "minLength": 1
                                              },
                                              "type": {
                                                "type": "string",
                                                "const": "media"
                                              },
                                              "label": {
                                                "type": "string",
                                                "maxLength": 120,
                                                "minLength": 1
                                              }
                                            },
                                            "additionalProperties": false
                                          },
                                          {
                                            "type": "object",
                                            "required": [
                                              "key",
                                              "label",
                                              "type",
                                              "min",
                                              "max",
                                              "step"
                                            ],
                                            "properties": {
                                              "key": {
                                                "type": "string",
                                                "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
                                                "maxLength": 80,
                                                "minLength": 1
                                              },
                                              "max": {
                                                "type": "number",
                                                "maximum": 10800
                                              },
                                              "min": {
                                                "type": "number",
                                                "minimum": 0
                                              },
                                              "step": {
                                                "type": "number",
                                                "exclusiveMinimum": 0
                                              },
                                              "type": {
                                                "type": "string",
                                                "const": "timing"
                                              },
                                              "label": {
                                                "type": "string",
                                                "maxLength": 120,
                                                "minLength": 1
                                              }
                                            },
                                            "additionalProperties": false
                                          }
                                        ]
                                      },
                                      "maxItems": 40,
                                      "minItems": 1
                                    }
                                  },
                                  "additionalProperties": false
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "frame_hash": {
                              "type": "string",
                              "pattern": "^[a-f0-9]{64}$"
                            },
                            "project_id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "artifact_id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "source_hash": {
                              "type": "string",
                              "pattern": "^[a-f0-9]{64}$"
                            },
                            "composition_id": {
                              "type": "string",
                              "minLength": 1
                            },
                            "media_asset_id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "source_revision": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "exclusiveMinimum": 0
                            },
                            "runtime_identity": {
                              "type": "string",
                              "minLength": 1
                            },
                            "source_revision_id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            }
                          },
                          "additionalProperties": false
                        },
                        "creative_artifact_id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "source_media_asset_id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        }
                      },
                      "additionalProperties": false
                    },
                    "photo_url": {
                      "anyOf": [
                        {
                          "type": "string",
                          "maxLength": 4000,
                          "minLength": 1
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "slot_urls": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {
                        "type": "string",
                        "maxLength": 4000,
                        "minLength": 1
                      }
                    }
                  },
                  "additionalProperties": false
                }
              },
              "can_undo": {
                "type": "boolean"
              },
              "platform": {
                "anyOf": [
                  {
                    "enum": [
                      "tiktok_photo",
                      "instagram_4x5",
                      "linkedin"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "revision": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string"
                    },
                    "field": {
                      "type": "string"
                    },
                    "repair": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "templates": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "label",
                    "family",
                    "slots"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "label": {
                      "type": "string"
                    },
                    "slots": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "key",
                          "label"
                        ],
                        "properties": {
                          "key": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          }
                        },
                        "additionalProperties": false
                      }
                    },
                    "family": {
                      "enum": [
                        "photo",
                        "designed"
                      ],
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "font_faces": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "family",
                    "src",
                    "weight",
                    "style",
                    "unicodeRange"
                  ],
                  "properties": {
                    "src": {
                      "type": "string",
                      "maxLength": 4000,
                      "minLength": 1
                    },
                    "style": {
                      "enum": [
                        "normal",
                        "italic",
                        "oblique"
                      ],
                      "type": "string"
                    },
                    "family": {
                      "type": "string",
                      "maxLength": 160,
                      "minLength": 1
                    },
                    "weight": {
                      "type": "string",
                      "maxLength": 32,
                      "minLength": 1
                    },
                    "unicodeRange": {
                      "type": "string",
                      "maxLength": 8000
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 256
              },
              "project_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "next_actions": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "method",
                    "path",
                    "reason"
                  ],
                  "properties": {
                    "path": {
                      "type": "string"
                    },
                    "method": {
                      "enum": [
                        "GET",
                        "POST",
                        "PATCH",
                        "DELETE"
                      ],
                      "type": "string"
                    },
                    "reason": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "mutationReceipt": {
                "type": "object",
                "required": [
                  "id",
                  "key",
                  "operation",
                  "status",
                  "replayed"
                ],
                "properties": {
                  "id": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "key": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "status": {
                    "enum": [
                      "completed"
                    ],
                    "type": "string"
                  },
                  "replayed": {
                    "type": "boolean"
                  },
                  "operation": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "carousels_clone",
          "title": "Clone Carousel",
          "description": "Duplicate a carousel onto a new project. Copies slots. Icon and shot values may be pack filenames or asset:<media_asset_id>.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "idempotencyKey",
              "projectId"
            ],
            "properties": {
              "name": {
                "type": "string",
                "maxLength": 120,
                "minLength": 1
              },
              "projectId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "UUID string."
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "idempotencyKey": {
                "type": "string",
                "maxLength": 200,
                "minLength": 8
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "properties": {
              "kit": {
                "type": "object",
                "required": [
                  "themes",
                  "templates",
                  "active_theme_id"
                ],
                "properties": {
                  "themes": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "name",
                        "scope",
                        "fontFamily",
                        "titleColor",
                        "bodyColor",
                        "background",
                        "pageColor",
                        "overlayEnabled",
                        "overlayOpacity"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "name": {
                          "type": "string",
                          "maxLength": 80,
                          "minLength": 1
                        },
                        "scope": {
                          "enum": [
                            "project",
                            "brand"
                          ],
                          "type": "string"
                        },
                        "bodyColor": {
                          "type": "string",
                          "pattern": "^#[0-9a-fA-F]{6}$"
                        },
                        "pageColor": {
                          "type": "string",
                          "default": "",
                          "maxLength": 32
                        },
                        "background": {
                          "type": "string",
                          "default": "",
                          "maxLength": 32
                        },
                        "fontFamily": {
                          "type": "string",
                          "default": "",
                          "maxLength": 80
                        },
                        "titleColor": {
                          "type": "string",
                          "pattern": "^#[0-9a-fA-F]{6}$"
                        },
                        "logoAssetId": {
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "overlayEnabled": {
                          "type": "boolean"
                        },
                        "overlayOpacity": {
                          "type": "integer",
                          "maximum": 100,
                          "minimum": 0
                        }
                      },
                      "additionalProperties": false
                    },
                    "maxItems": 40
                  },
                  "templates": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "name",
                        "scope",
                        "template_id",
                        "slots"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "name": {
                          "type": "string",
                          "maxLength": 80,
                          "minLength": 1
                        },
                        "scope": {
                          "enum": [
                            "project",
                            "brand"
                          ],
                          "type": "string"
                        },
                        "slots": {
                          "type": "object",
                          "propertyNames": {
                            "type": "string",
                            "maxLength": 80,
                            "minLength": 1
                          },
                          "additionalProperties": {
                            "type": "string",
                            "maxLength": 4000
                          }
                        },
                        "template_id": {
                          "type": "string",
                          "maxLength": 80,
                          "minLength": 1
                        }
                      },
                      "additionalProperties": false
                    },
                    "maxItems": 40
                  },
                  "active_theme_id": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "additionalProperties": false
              },
              "name": {
                "type": "string"
              },
              "frame": {
                "type": "object",
                "required": [
                  "width",
                  "height",
                  "aspect_ratio"
                ],
                "properties": {
                  "width": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991
                  },
                  "height": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991
                  },
                  "aspect_ratio": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "style": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "chip": {
                        "type": "object",
                        "properties": {
                          "color": {
                            "type": "string",
                            "maxLength": 32,
                            "minLength": 1
                          },
                          "radius": {
                            "type": "integer",
                            "maximum": 48,
                            "minimum": 0
                          },
                          "font_size": {
                            "type": "integer",
                            "maximum": 120,
                            "minimum": 12
                          },
                          "padding_x": {
                            "type": "integer",
                            "maximum": 80,
                            "minimum": 0
                          },
                          "padding_y": {
                            "type": "integer",
                            "maximum": 80,
                            "minimum": 0
                          },
                          "background": {
                            "type": "string",
                            "maxLength": 32,
                            "minLength": 1
                          },
                          "font_family": {
                            "type": "string",
                            "maxLength": 80,
                            "minLength": 1
                          },
                          "font_weight": {
                            "anyOf": [
                              {
                                "type": "integer",
                                "maximum": 900,
                                "minimum": 100
                              },
                              {
                                "type": "string"
                              }
                            ]
                          },
                          "max_lines_per_chip": {
                            "type": "integer",
                            "maximum": 4,
                            "minimum": 1
                          }
                        },
                        "additionalProperties": false
                      }
                    },
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "locale": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "slides": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "index",
                    "role",
                    "lines",
                    "slots",
                    "layout",
                    "visual"
                  ],
                  "properties": {
                    "role": {
                      "anyOf": [
                        {
                          "enum": [
                            "hook",
                            "body",
                            "proof",
                            "cta"
                          ],
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "index": {
                      "type": "integer",
                      "maximum": 9007199254740991,
                      "minimum": 0
                    },
                    "lines": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "slots": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string",
                        "maxLength": 80,
                        "minLength": 1
                      },
                      "additionalProperties": {
                        "type": "string",
                        "maxLength": 4000
                      }
                    },
                    "layout": {
                      "anyOf": [
                        {
                          "enum": [
                            "chip_stack_ui",
                            "chip_stack_face_safe",
                            "chip_stack_top",
                            "title_body_card"
                          ],
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "visual": {
                      "type": "object",
                      "required": [
                        "kind"
                      ],
                      "properties": {
                        "crop": {
                          "type": "object",
                          "required": [
                            "left",
                            "top",
                            "width",
                            "height"
                          ],
                          "properties": {
                            "top": {
                              "type": "number",
                              "maximum": 1,
                              "minimum": 0
                            },
                            "left": {
                              "type": "number",
                              "maximum": 1,
                              "minimum": 0
                            },
                            "width": {
                              "type": "number",
                              "maximum": 1,
                              "exclusiveMinimum": 0
                            },
                            "height": {
                              "type": "number",
                              "maximum": 1,
                              "exclusiveMinimum": 0
                            }
                          },
                          "additionalProperties": false
                        },
                        "html": {
                          "type": "string",
                          "maxLength": 80000,
                          "minLength": 20
                        },
                        "kind": {
                          "enum": [
                            "creative_source",
                            "media_asset",
                            "generate",
                            "solid",
                            "gradient",
                            "html",
                            "template"
                          ],
                          "type": "string"
                        },
                        "color": {
                          "type": "string",
                          "pattern": "^#[0-9a-fA-F]{6}$"
                        },
                        "colors": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "pattern": "^#[0-9a-fA-F]{6}$"
                          },
                          "maxItems": 2,
                          "minItems": 1
                        },
                        "prompt": {
                          "type": "string",
                          "maxLength": 1000,
                          "minLength": 3
                        },
                        "model_id": {
                          "type": "string",
                          "maxLength": 120,
                          "minLength": 1
                        },
                        "template_id": {
                          "type": "string",
                          "maxLength": 80,
                          "minLength": 1
                        },
                        "media_asset_id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "creative_source": {
                          "type": "object",
                          "required": [
                            "artifact_id",
                            "project_id",
                            "source_revision_id",
                            "source_revision",
                            "source_hash",
                            "runtime_identity",
                            "composition_id",
                            "frame",
                            "width",
                            "height",
                            "fps",
                            "frame_hash",
                            "media_asset_id",
                            "controls",
                            "values"
                          ],
                          "properties": {
                            "fps": {
                              "type": "number",
                              "exclusiveMinimum": 0
                            },
                            "frame": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "minimum": 0
                            },
                            "width": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "exclusiveMinimum": 0
                            },
                            "height": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "exclusiveMinimum": 0
                            },
                            "values": {
                              "type": "object",
                              "propertyNames": {
                                "type": "string",
                                "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
                                "maxLength": 80,
                                "minLength": 1
                              },
                              "additionalProperties": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "maxLength": 10000
                                  },
                                  {
                                    "type": "number"
                                  }
                                ]
                              }
                            },
                            "controls": {
                              "anyOf": [
                                {
                                  "type": "object",
                                  "required": [
                                    "file",
                                    "fields"
                                  ],
                                  "properties": {
                                    "file": {
                                      "type": "string",
                                      "format": "ends_with",
                                      "pattern": ".*\\.json$",
                                      "maxLength": 180,
                                      "minLength": 1
                                    },
                                    "fields": {
                                      "type": "array",
                                      "items": {
                                        "oneOf": [
                                          {
                                            "type": "object",
                                            "required": [
                                              "key",
                                              "label",
                                              "type",
                                              "maxLength"
                                            ],
                                            "properties": {
                                              "key": {
                                                "type": "string",
                                                "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
                                                "maxLength": 80,
                                                "minLength": 1
                                              },
                                              "type": {
                                                "type": "string",
                                                "const": "text"
                                              },
                                              "label": {
                                                "type": "string",
                                                "maxLength": 120,
                                                "minLength": 1
                                              },
                                              "maxLength": {
                                                "type": "integer",
                                                "maximum": 10000,
                                                "minimum": 1
                                              }
                                            },
                                            "additionalProperties": false
                                          },
                                          {
                                            "type": "object",
                                            "required": [
                                              "key",
                                              "label",
                                              "type"
                                            ],
                                            "properties": {
                                              "key": {
                                                "type": "string",
                                                "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
                                                "maxLength": 80,
                                                "minLength": 1
                                              },
                                              "type": {
                                                "type": "string",
                                                "const": "color"
                                              },
                                              "label": {
                                                "type": "string",
                                                "maxLength": 120,
                                                "minLength": 1
                                              }
                                            },
                                            "additionalProperties": false
                                          },
                                          {
                                            "type": "object",
                                            "required": [
                                              "key",
                                              "label",
                                              "type"
                                            ],
                                            "properties": {
                                              "key": {
                                                "type": "string",
                                                "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
                                                "maxLength": 80,
                                                "minLength": 1
                                              },
                                              "type": {
                                                "type": "string",
                                                "const": "media"
                                              },
                                              "label": {
                                                "type": "string",
                                                "maxLength": 120,
                                                "minLength": 1
                                              }
                                            },
                                            "additionalProperties": false
                                          },
                                          {
                                            "type": "object",
                                            "required": [
                                              "key",
                                              "label",
                                              "type",
                                              "min",
                                              "max",
                                              "step"
                                            ],
                                            "properties": {
                                              "key": {
                                                "type": "string",
                                                "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
                                                "maxLength": 80,
                                                "minLength": 1
                                              },
                                              "max": {
                                                "type": "number",
                                                "maximum": 10800
                                              },
                                              "min": {
                                                "type": "number",
                                                "minimum": 0
                                              },
                                              "step": {
                                                "type": "number",
                                                "exclusiveMinimum": 0
                                              },
                                              "type": {
                                                "type": "string",
                                                "const": "timing"
                                              },
                                              "label": {
                                                "type": "string",
                                                "maxLength": 120,
                                                "minLength": 1
                                              }
                                            },
                                            "additionalProperties": false
                                          }
                                        ]
                                      },
                                      "maxItems": 40,
                                      "minItems": 1
                                    }
                                  },
                                  "additionalProperties": false
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "frame_hash": {
                              "type": "string",
                              "pattern": "^[a-f0-9]{64}$"
                            },
                            "project_id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "artifact_id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "source_hash": {
                              "type": "string",
                              "pattern": "^[a-f0-9]{64}$"
                            },
                            "composition_id": {
                              "type": "string",
                              "minLength": 1
                            },
                            "media_asset_id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "source_revision": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "exclusiveMinimum": 0
                            },
                            "runtime_identity": {
                              "type": "string",
                              "minLength": 1
                            },
                            "source_revision_id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            }
                          },
                          "additionalProperties": false
                        },
                        "creative_artifact_id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "source_media_asset_id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        }
                      },
                      "additionalProperties": false
                    },
                    "photo_url": {
                      "anyOf": [
                        {
                          "type": "string",
                          "maxLength": 4000,
                          "minLength": 1
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "slot_urls": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {
                        "type": "string",
                        "maxLength": 4000,
                        "minLength": 1
                      }
                    }
                  },
                  "additionalProperties": false
                }
              },
              "can_undo": {
                "type": "boolean"
              },
              "platform": {
                "anyOf": [
                  {
                    "enum": [
                      "tiktok_photo",
                      "instagram_4x5",
                      "linkedin"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "revision": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string"
                    },
                    "field": {
                      "type": "string"
                    },
                    "repair": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "templates": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "label",
                    "family",
                    "slots"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "label": {
                      "type": "string"
                    },
                    "slots": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "key",
                          "label"
                        ],
                        "properties": {
                          "key": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          }
                        },
                        "additionalProperties": false
                      }
                    },
                    "family": {
                      "enum": [
                        "photo",
                        "designed"
                      ],
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "font_faces": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "family",
                    "src",
                    "weight",
                    "style",
                    "unicodeRange"
                  ],
                  "properties": {
                    "src": {
                      "type": "string",
                      "maxLength": 4000,
                      "minLength": 1
                    },
                    "style": {
                      "enum": [
                        "normal",
                        "italic",
                        "oblique"
                      ],
                      "type": "string"
                    },
                    "family": {
                      "type": "string",
                      "maxLength": 160,
                      "minLength": 1
                    },
                    "weight": {
                      "type": "string",
                      "maxLength": 32,
                      "minLength": 1
                    },
                    "unicodeRange": {
                      "type": "string",
                      "maxLength": 8000
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 256
              },
              "project_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "next_actions": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "method",
                    "path",
                    "reason"
                  ],
                  "properties": {
                    "path": {
                      "type": "string"
                    },
                    "method": {
                      "enum": [
                        "GET",
                        "POST",
                        "PATCH",
                        "DELETE"
                      ],
                      "type": "string"
                    },
                    "reason": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "mutationReceipt": {
                "type": "object",
                "required": [
                  "id",
                  "key",
                  "operation",
                  "status",
                  "replayed"
                ],
                "properties": {
                  "id": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "key": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "status": {
                    "enum": [
                      "completed"
                    ],
                    "type": "string"
                  },
                  "replayed": {
                    "type": "boolean"
                  },
                  "operation": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "publishing_connections_list",
          "title": "List Publishing Connections",
          "description": "List Instagram accounts connected through the BlitzReels UI for the authenticated workspace, including their connection status.",
          "inputSchema": {
            "type": "object",
            "properties": {},
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "connections",
              "count"
            ],
            "properties": {
              "count": {
                "type": "number"
              },
              "connections": {
                "type": "array",
                "items": {
                  "type": "object"
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "publishing_instagram_schedule",
          "title": "Schedule Instagram Publish",
          "description": "Schedule a completed project export to Instagram. Optional includeAffiliateCta appends Try BlitzReels for free plus the Affonso tracking URL. Requires an active Instagram account connected in the BlitzReels UI.",
          "inputSchema": {
            "type": "object",
            "required": [
              "projectId",
              "scheduledFor"
            ],
            "properties": {
              "caption": {
                "type": "string",
                "description": "Caption text (max 2200)."
              },
              "exportId": {
                "type": "string",
                "format": "uuid",
                "description": "Completed export UUID. Defaults to latest completed. UUID string."
              },
              "timezone": {
                "type": "string",
                "default": "UTC",
                "description": "IANA timezone. Defaults to UTC."
              },
              "projectId": {
                "type": "string",
                "format": "uuid",
                "description": "Project UUID. UUID string."
              },
              "trialReel": {
                "type": "boolean",
                "description": "Publish as Trial Reel (video only)."
              },
              "shareToFeed": {
                "type": "boolean",
                "description": "Also share Reel to profile feed."
              },
              "connectionId": {
                "type": "string",
                "description": "Instagram connection UUID when multiple exist."
              },
              "scheduledFor": {
                "type": "string",
                "description": "ISO-8601 datetime for the scheduled publish."
              },
              "affiliateCtaText": {
                "type": "string",
                "description": "Optional CTA text override (max 80)."
              },
              "includeAffiliateCta": {
                "type": "boolean",
                "default": false,
                "description": "Append Try BlitzReels for free plus Affonso tracking URL."
              },
              "affiliateTrackingUrl": {
                "type": "string",
                "description": "Optional BlitzReels URL with via/ref/aff override."
              },
              "trialGraduationStrategy": {
                "anyOf": [
                  {
                    "enum": [
                      "MANUAL",
                      "SS_PERFORMANCE"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "postId",
              "targetId",
              "platform",
              "status",
              "scheduledFor",
              "connectionId",
              "exportId",
              "projectId",
              "publishKind"
            ],
            "properties": {
              "postId": {
                "type": "string"
              },
              "status": {
                "type": "string"
              },
              "exportId": {
                "type": "string"
              },
              "platform": {
                "type": "string"
              },
              "targetId": {
                "type": "string"
              },
              "projectId": {
                "type": "string"
              },
              "publishKind": {
                "type": "string"
              },
              "connectionId": {
                "type": "string"
              },
              "scheduledFor": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "publishing_accounts_list",
          "title": "Read Connected Publishing Accounts",
          "description": "Read the supported accounts available through the existing workspace and provider access rules. Does not connect new accounts, publish, schedule or bypass provider review.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "workspaceId",
              "limit",
              "offset"
            ],
            "properties": {
              "limit": {
                "type": "integer",
                "default": 20,
                "maximum": 50,
                "minimum": 1
              },
              "offset": {
                "type": "integer",
                "default": 0,
                "maximum": 9007199254740991,
                "minimum": 0
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "result"
            ],
            "properties": {
              "result": {
                "type": "object",
                "additionalProperties": true
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "publishing_video_schedule",
          "title": "Schedule Reviewed Video Publication",
          "description": "Schedule a selected existing video asset to explicit active YouTube, Instagram, Facebook, TikTok, LinkedIn or Threads accounts connected in the BlitzReels UI, using reviewed copy, privacy/consent choices, synthetic-media disclosure, time and timezone. Requires confirmPublish=true. Existing workspace permissions and provider access rules apply. A scheduled receipt is not proof of publication.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "media_asset_id",
              "contains_synthetic_media",
              "scheduled_for",
              "targets",
              "workspaceId",
              "idempotencyKey",
              "confirmPublish"
            ],
            "properties": {
              "caption": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 5000
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "targets": {
                "type": "array",
                "items": {
                  "oneOf": [
                    {
                      "type": "object",
                      "required": [
                        "platform"
                      ],
                      "properties": {
                        "platform": {
                          "type": "string",
                          "const": "linkedin"
                        },
                        "connection_id": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "required": [
                        "platform"
                      ],
                      "properties": {
                        "platform": {
                          "type": "string",
                          "const": "threads"
                        },
                        "connection_id": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "required": [
                        "platform"
                      ],
                      "properties": {
                        "title": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 100,
                              "minLength": 1
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "platform": {
                          "type": "string",
                          "const": "youtube"
                        },
                        "description": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 5000
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "connection_id": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "made_for_kids": {
                          "type": [
                            "boolean",
                            "null"
                          ]
                        },
                        "privacy_status": {
                          "anyOf": [
                            {
                              "enum": [
                                "private",
                                "unlisted",
                                "public"
                              ],
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "required": [
                        "platform"
                      ],
                      "properties": {
                        "platform": {
                          "type": "string",
                          "const": "instagram"
                        },
                        "trial_reel": {
                          "type": [
                            "boolean",
                            "null"
                          ]
                        },
                        "connection_id": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "share_to_feed": {
                          "type": [
                            "boolean",
                            "null"
                          ]
                        },
                        "trial_graduation_strategy": {
                          "anyOf": [
                            {
                              "enum": [
                                "MANUAL",
                                "SS_PERFORMANCE"
                              ],
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "required": [
                        "platform"
                      ],
                      "properties": {
                        "title": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 255
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "platform": {
                          "type": "string",
                          "const": "facebook"
                        },
                        "connection_id": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "required": [
                        "platform"
                      ],
                      "properties": {
                        "platform": {
                          "type": "string",
                          "const": "tiktok"
                        },
                        "allow_duet": {
                          "type": [
                            "boolean",
                            "null"
                          ]
                        },
                        "allow_stitch": {
                          "type": [
                            "boolean",
                            "null"
                          ]
                        },
                        "publish_mode": {
                          "anyOf": [
                            {
                              "enum": [
                                "direct_post",
                                "draft"
                              ],
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "allow_comment": {
                          "type": [
                            "boolean",
                            "null"
                          ]
                        },
                        "brand_organic": {
                          "type": [
                            "boolean",
                            "null"
                          ]
                        },
                        "connection_id": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "privacy_level": {
                          "anyOf": [
                            {
                              "enum": [
                                "PUBLIC_TO_EVERYONE",
                                "FOLLOWER_OF_CREATOR",
                                "MUTUAL_FOLLOW_FRIENDS",
                                "SELF_ONLY"
                              ],
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "branded_content": {
                          "type": [
                            "boolean",
                            "null"
                          ]
                        },
                        "is_ai_generated": {
                          "type": [
                            "boolean",
                            "null"
                          ]
                        },
                        "consent_accepted": {
                          "type": [
                            "boolean",
                            "null"
                          ]
                        },
                        "cover_timestamp_ms": {
                          "anyOf": [
                            {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "minimum": 0
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "commercial_content_enabled": {
                          "type": [
                            "boolean",
                            "null"
                          ]
                        }
                      },
                      "additionalProperties": false
                    }
                  ]
                },
                "maxItems": 6,
                "minItems": 1
              },
              "timezone": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 64
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "scheduled_for": {
                "type": "string"
              },
              "confirmPublish": {
                "type": "boolean",
                "const": true
              },
              "idempotencyKey": {
                "type": "string",
                "maxLength": 200,
                "minLength": 8
              },
              "media_asset_id": {
                "type": "string"
              },
              "affiliate_cta_text": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 80
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "include_affiliate_cta": {
                "type": "boolean"
              },
              "affiliate_tracking_url": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uri",
                    "maxLength": 500
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "contains_synthetic_media": {
                "type": "boolean"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "result"
            ],
            "properties": {
              "result": {
                "type": "object",
                "additionalProperties": true
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "publishing_post_get",
          "title": "Verify Video Publication",
          "description": "Read the current targets for one publishing receipt with scheduled/published state and verified remote URLs. Does not retry or publish a failed target.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "workspaceId",
              "postId"
            ],
            "properties": {
              "postId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "result"
            ],
            "properties": {
              "result": {
                "type": "object",
                "additionalProperties": true
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "timeline_trim_preview",
          "title": "Preview Timeline Trim",
          "description": "Preview trimming or extending one timeline item without changing the project.",
          "inputSchema": {
            "type": "object",
            "required": [
              "projectId",
              "expectedRevision",
              "timelineItemId",
              "trimStartDeltaSeconds",
              "trimEndDeltaSeconds",
              "snapToFrame"
            ],
            "properties": {
              "projectId": {
                "type": "string",
                "format": "uuid",
                "description": "UUID string."
              },
              "snapToFrame": {
                "type": "boolean"
              },
              "timelineItemId": {
                "type": "string",
                "format": "uuid"
              },
              "expectedRevision": {
                "type": [
                  "integer",
                  "null"
                ],
                "minimum": 0,
                "description": "Expected sequence revision, or null."
              },
              "trimEndDeltaSeconds": {
                "type": "number"
              },
              "trimStartDeltaSeconds": {
                "type": "number"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "oneOf": [
              {
                "type": "object",
                "required": [
                  "plan"
                ],
                "properties": {
                  "plan": {
                    "type": "object",
                    "required": [
                      "operation_id",
                      "project_id",
                      "current_revision",
                      "expected_revision",
                      "destructive",
                      "affected_timeline_item_ids",
                      "would_create_timeline_item_ids",
                      "would_delete_timeline_item_ids",
                      "change_count",
                      "warnings"
                    ],
                    "properties": {
                      "warnings": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "project_id": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "destructive": {
                        "type": "boolean"
                      },
                      "change_count": {
                        "type": "number",
                        "minimum": 0
                      },
                      "operation_id": {
                        "enum": [
                          "timeline.item.trim",
                          "timeline.item.split"
                        ],
                        "type": "string"
                      },
                      "current_revision": {
                        "type": "number",
                        "minimum": 0
                      },
                      "expected_revision": {
                        "type": [
                          "number",
                          "null"
                        ],
                        "minimum": 0
                      },
                      "affected_timeline_item_ids": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "format": "uuid"
                        }
                      },
                      "would_create_timeline_item_ids": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "format": "uuid"
                        }
                      },
                      "would_delete_timeline_item_ids": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "format": "uuid"
                        }
                      }
                    },
                    "additionalProperties": false
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "object",
                "required": [
                  "error"
                ],
                "properties": {
                  "error": {
                    "type": "object",
                    "required": [
                      "code",
                      "message",
                      "retryable",
                      "details"
                    ],
                    "properties": {
                      "code": {
                        "enum": [
                          "validation_error",
                          "not_found",
                          "permission_denied",
                          "revision_conflict",
                          "idempotency_conflict",
                          "operation_in_progress",
                          "operation_previous_failure",
                          "sequence_busy",
                          "mutation_failed"
                        ],
                        "type": "string"
                      },
                      "details": {
                        "type": "object",
                        "additionalProperties": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "number"
                            },
                            {
                              "type": "boolean"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "message": {
                        "type": "string"
                      },
                      "retryable": {
                        "type": "boolean"
                      }
                    },
                    "additionalProperties": false
                  }
                },
                "additionalProperties": false
              }
            ]
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "timeline_trim_apply",
          "title": "Apply Timeline Trim",
          "description": "Trim or extend one timeline item at the expected project revision. Changes existing timeline state and returns a retry-safe receipt.",
          "inputSchema": {
            "type": "object",
            "required": [
              "projectId",
              "expectedRevision",
              "idempotencyKey",
              "timelineItemId",
              "trimStartDeltaSeconds",
              "trimEndDeltaSeconds",
              "snapToFrame"
            ],
            "properties": {
              "projectId": {
                "type": "string",
                "format": "uuid",
                "description": "UUID string."
              },
              "snapToFrame": {
                "type": "boolean"
              },
              "idempotencyKey": {
                "type": "string",
                "pattern": "^[A-Za-z0-9._:-]+$",
                "maxLength": 200,
                "minLength": 8
              },
              "timelineItemId": {
                "type": "string",
                "format": "uuid"
              },
              "expectedRevision": {
                "type": [
                  "integer",
                  "null"
                ],
                "minimum": 0,
                "description": "Expected sequence revision, or null."
              },
              "trimEndDeltaSeconds": {
                "type": "number"
              },
              "trimStartDeltaSeconds": {
                "type": "number"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "oneOf": [
              {
                "type": "object",
                "required": [
                  "result",
                  "mutationReceipt"
                ],
                "properties": {
                  "result": {
                    "oneOf": [
                      {
                        "type": "object",
                        "required": [
                          "success",
                          "operation_id",
                          "project_id",
                          "mutation_receipt_id",
                          "idempotency_key",
                          "base_revision",
                          "revision",
                          "replayed",
                          "txid",
                          "affected_timeline_item_ids",
                          "created_timeline_item_ids",
                          "deleted_timeline_item_ids",
                          "warnings",
                          "result"
                        ],
                        "properties": {
                          "txid": {
                            "type": "number",
                            "minimum": 0
                          },
                          "result": {
                            "type": "object",
                            "required": [
                              "timeline_item_id",
                              "trim_start_units",
                              "trim_end_units",
                              "trim_start_seconds",
                              "trim_end_seconds",
                              "message"
                            ],
                            "properties": {
                              "message": {
                                "type": "string"
                              },
                              "trim_end_units": {
                                "type": "string"
                              },
                              "timeline_item_id": {
                                "type": "string",
                                "format": "uuid"
                              },
                              "trim_end_seconds": {
                                "type": "number"
                              },
                              "trim_start_units": {
                                "type": "string"
                              },
                              "trim_start_seconds": {
                                "type": "number"
                              }
                            },
                            "additionalProperties": false
                          },
                          "success": {
                            "type": "boolean",
                            "const": true
                          },
                          "replayed": {
                            "type": "boolean"
                          },
                          "revision": {
                            "type": "number",
                            "minimum": 0
                          },
                          "warnings": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "project_id": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "operation_id": {
                            "type": "string",
                            "const": "timeline.item.trim"
                          },
                          "base_revision": {
                            "type": "number",
                            "minimum": 0
                          },
                          "idempotency_key": {
                            "type": "string"
                          },
                          "mutation_receipt_id": {
                            "type": "string"
                          },
                          "created_timeline_item_ids": {
                            "type": "array",
                            "items": {
                              "type": "string",
                              "format": "uuid"
                            }
                          },
                          "deleted_timeline_item_ids": {
                            "type": "array",
                            "items": {
                              "type": "string",
                              "format": "uuid"
                            }
                          },
                          "affected_timeline_item_ids": {
                            "type": "array",
                            "items": {
                              "type": "string",
                              "format": "uuid"
                            }
                          }
                        },
                        "additionalProperties": false
                      },
                      {
                        "type": "object",
                        "required": [
                          "success",
                          "operation_id",
                          "project_id",
                          "mutation_receipt_id",
                          "idempotency_key",
                          "base_revision",
                          "revision",
                          "replayed",
                          "txid",
                          "affected_timeline_item_ids",
                          "created_timeline_item_ids",
                          "deleted_timeline_item_ids",
                          "warnings",
                          "result"
                        ],
                        "properties": {
                          "txid": {
                            "type": "number",
                            "minimum": 0
                          },
                          "result": {
                            "type": "object",
                            "required": [
                              "left_timeline_item_id",
                              "right_timeline_item_id",
                              "split_at_units",
                              "split_at_seconds"
                            ],
                            "properties": {
                              "split_at_units": {
                                "type": "string"
                              },
                              "split_at_seconds": {
                                "type": "number"
                              },
                              "left_timeline_item_id": {
                                "type": "string",
                                "format": "uuid"
                              },
                              "right_timeline_item_id": {
                                "type": "string",
                                "format": "uuid"
                              }
                            },
                            "additionalProperties": false
                          },
                          "success": {
                            "type": "boolean",
                            "const": true
                          },
                          "replayed": {
                            "type": "boolean"
                          },
                          "revision": {
                            "type": "number",
                            "minimum": 0
                          },
                          "warnings": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "project_id": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "operation_id": {
                            "type": "string",
                            "const": "timeline.item.split"
                          },
                          "base_revision": {
                            "type": "number",
                            "minimum": 0
                          },
                          "idempotency_key": {
                            "type": "string"
                          },
                          "mutation_receipt_id": {
                            "type": "string"
                          },
                          "created_timeline_item_ids": {
                            "type": "array",
                            "items": {
                              "type": "string",
                              "format": "uuid"
                            }
                          },
                          "deleted_timeline_item_ids": {
                            "type": "array",
                            "items": {
                              "type": "string",
                              "format": "uuid"
                            }
                          },
                          "affected_timeline_item_ids": {
                            "type": "array",
                            "items": {
                              "type": "string",
                              "format": "uuid"
                            }
                          }
                        },
                        "additionalProperties": false
                      }
                    ]
                  },
                  "mutationReceipt": {
                    "type": "object",
                    "required": [
                      "id",
                      "key",
                      "operation",
                      "status",
                      "replayed"
                    ],
                    "properties": {
                      "id": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "key": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "status": {
                        "enum": [
                          "completed"
                        ],
                        "type": "string"
                      },
                      "replayed": {
                        "type": "boolean"
                      },
                      "operation": {
                        "type": "string"
                      }
                    },
                    "additionalProperties": false
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "object",
                "required": [
                  "error"
                ],
                "properties": {
                  "error": {
                    "type": "object",
                    "required": [
                      "code",
                      "message",
                      "retryable",
                      "details"
                    ],
                    "properties": {
                      "code": {
                        "enum": [
                          "validation_error",
                          "not_found",
                          "permission_denied",
                          "revision_conflict",
                          "idempotency_conflict",
                          "operation_in_progress",
                          "operation_previous_failure",
                          "sequence_busy",
                          "mutation_failed"
                        ],
                        "type": "string"
                      },
                      "details": {
                        "type": "object",
                        "additionalProperties": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "number"
                            },
                            {
                              "type": "boolean"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "message": {
                        "type": "string"
                      },
                      "retryable": {
                        "type": "boolean"
                      }
                    },
                    "additionalProperties": false
                  }
                },
                "additionalProperties": false
              }
            ]
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "timeline_split_preview",
          "title": "Preview Timeline Split",
          "description": "Preview splitting one timeline item without changing the project.",
          "inputSchema": {
            "type": "object",
            "required": [
              "projectId",
              "expectedRevision",
              "timelineItemId",
              "splitAtSeconds",
              "snapToFrame"
            ],
            "properties": {
              "projectId": {
                "type": "string",
                "format": "uuid",
                "description": "UUID string."
              },
              "snapToFrame": {
                "type": "boolean"
              },
              "splitAtSeconds": {
                "type": "number",
                "minimum": 0
              },
              "timelineItemId": {
                "type": "string",
                "format": "uuid"
              },
              "expectedRevision": {
                "type": [
                  "integer",
                  "null"
                ],
                "minimum": 0,
                "description": "Expected sequence revision, or null."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "oneOf": [
              {
                "type": "object",
                "required": [
                  "plan"
                ],
                "properties": {
                  "plan": {
                    "type": "object",
                    "required": [
                      "operation_id",
                      "project_id",
                      "current_revision",
                      "expected_revision",
                      "destructive",
                      "affected_timeline_item_ids",
                      "would_create_timeline_item_ids",
                      "would_delete_timeline_item_ids",
                      "change_count",
                      "warnings"
                    ],
                    "properties": {
                      "warnings": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "project_id": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "destructive": {
                        "type": "boolean"
                      },
                      "change_count": {
                        "type": "number",
                        "minimum": 0
                      },
                      "operation_id": {
                        "enum": [
                          "timeline.item.trim",
                          "timeline.item.split"
                        ],
                        "type": "string"
                      },
                      "current_revision": {
                        "type": "number",
                        "minimum": 0
                      },
                      "expected_revision": {
                        "type": [
                          "number",
                          "null"
                        ],
                        "minimum": 0
                      },
                      "affected_timeline_item_ids": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "format": "uuid"
                        }
                      },
                      "would_create_timeline_item_ids": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "format": "uuid"
                        }
                      },
                      "would_delete_timeline_item_ids": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "format": "uuid"
                        }
                      }
                    },
                    "additionalProperties": false
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "object",
                "required": [
                  "error"
                ],
                "properties": {
                  "error": {
                    "type": "object",
                    "required": [
                      "code",
                      "message",
                      "retryable",
                      "details"
                    ],
                    "properties": {
                      "code": {
                        "enum": [
                          "validation_error",
                          "not_found",
                          "permission_denied",
                          "revision_conflict",
                          "idempotency_conflict",
                          "operation_in_progress",
                          "operation_previous_failure",
                          "sequence_busy",
                          "mutation_failed"
                        ],
                        "type": "string"
                      },
                      "details": {
                        "type": "object",
                        "additionalProperties": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "number"
                            },
                            {
                              "type": "boolean"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "message": {
                        "type": "string"
                      },
                      "retryable": {
                        "type": "boolean"
                      }
                    },
                    "additionalProperties": false
                  }
                },
                "additionalProperties": false
              }
            ]
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "timeline_split_apply",
          "title": "Apply Timeline Split",
          "description": "Split one timeline item at the expected project revision. Changes existing timeline state and returns a retry-safe receipt.",
          "inputSchema": {
            "type": "object",
            "required": [
              "projectId",
              "expectedRevision",
              "idempotencyKey",
              "timelineItemId",
              "splitAtSeconds",
              "snapToFrame"
            ],
            "properties": {
              "projectId": {
                "type": "string",
                "format": "uuid",
                "description": "UUID string."
              },
              "snapToFrame": {
                "type": "boolean"
              },
              "idempotencyKey": {
                "type": "string",
                "pattern": "^[A-Za-z0-9._:-]+$",
                "maxLength": 200,
                "minLength": 8
              },
              "splitAtSeconds": {
                "type": "number",
                "minimum": 0
              },
              "timelineItemId": {
                "type": "string",
                "format": "uuid"
              },
              "expectedRevision": {
                "type": [
                  "integer",
                  "null"
                ],
                "minimum": 0,
                "description": "Expected sequence revision, or null."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "oneOf": [
              {
                "type": "object",
                "required": [
                  "result",
                  "mutationReceipt"
                ],
                "properties": {
                  "result": {
                    "oneOf": [
                      {
                        "type": "object",
                        "required": [
                          "success",
                          "operation_id",
                          "project_id",
                          "mutation_receipt_id",
                          "idempotency_key",
                          "base_revision",
                          "revision",
                          "replayed",
                          "txid",
                          "affected_timeline_item_ids",
                          "created_timeline_item_ids",
                          "deleted_timeline_item_ids",
                          "warnings",
                          "result"
                        ],
                        "properties": {
                          "txid": {
                            "type": "number",
                            "minimum": 0
                          },
                          "result": {
                            "type": "object",
                            "required": [
                              "timeline_item_id",
                              "trim_start_units",
                              "trim_end_units",
                              "trim_start_seconds",
                              "trim_end_seconds",
                              "message"
                            ],
                            "properties": {
                              "message": {
                                "type": "string"
                              },
                              "trim_end_units": {
                                "type": "string"
                              },
                              "timeline_item_id": {
                                "type": "string",
                                "format": "uuid"
                              },
                              "trim_end_seconds": {
                                "type": "number"
                              },
                              "trim_start_units": {
                                "type": "string"
                              },
                              "trim_start_seconds": {
                                "type": "number"
                              }
                            },
                            "additionalProperties": false
                          },
                          "success": {
                            "type": "boolean",
                            "const": true
                          },
                          "replayed": {
                            "type": "boolean"
                          },
                          "revision": {
                            "type": "number",
                            "minimum": 0
                          },
                          "warnings": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "project_id": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "operation_id": {
                            "type": "string",
                            "const": "timeline.item.trim"
                          },
                          "base_revision": {
                            "type": "number",
                            "minimum": 0
                          },
                          "idempotency_key": {
                            "type": "string"
                          },
                          "mutation_receipt_id": {
                            "type": "string"
                          },
                          "created_timeline_item_ids": {
                            "type": "array",
                            "items": {
                              "type": "string",
                              "format": "uuid"
                            }
                          },
                          "deleted_timeline_item_ids": {
                            "type": "array",
                            "items": {
                              "type": "string",
                              "format": "uuid"
                            }
                          },
                          "affected_timeline_item_ids": {
                            "type": "array",
                            "items": {
                              "type": "string",
                              "format": "uuid"
                            }
                          }
                        },
                        "additionalProperties": false
                      },
                      {
                        "type": "object",
                        "required": [
                          "success",
                          "operation_id",
                          "project_id",
                          "mutation_receipt_id",
                          "idempotency_key",
                          "base_revision",
                          "revision",
                          "replayed",
                          "txid",
                          "affected_timeline_item_ids",
                          "created_timeline_item_ids",
                          "deleted_timeline_item_ids",
                          "warnings",
                          "result"
                        ],
                        "properties": {
                          "txid": {
                            "type": "number",
                            "minimum": 0
                          },
                          "result": {
                            "type": "object",
                            "required": [
                              "left_timeline_item_id",
                              "right_timeline_item_id",
                              "split_at_units",
                              "split_at_seconds"
                            ],
                            "properties": {
                              "split_at_units": {
                                "type": "string"
                              },
                              "split_at_seconds": {
                                "type": "number"
                              },
                              "left_timeline_item_id": {
                                "type": "string",
                                "format": "uuid"
                              },
                              "right_timeline_item_id": {
                                "type": "string",
                                "format": "uuid"
                              }
                            },
                            "additionalProperties": false
                          },
                          "success": {
                            "type": "boolean",
                            "const": true
                          },
                          "replayed": {
                            "type": "boolean"
                          },
                          "revision": {
                            "type": "number",
                            "minimum": 0
                          },
                          "warnings": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "project_id": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "operation_id": {
                            "type": "string",
                            "const": "timeline.item.split"
                          },
                          "base_revision": {
                            "type": "number",
                            "minimum": 0
                          },
                          "idempotency_key": {
                            "type": "string"
                          },
                          "mutation_receipt_id": {
                            "type": "string"
                          },
                          "created_timeline_item_ids": {
                            "type": "array",
                            "items": {
                              "type": "string",
                              "format": "uuid"
                            }
                          },
                          "deleted_timeline_item_ids": {
                            "type": "array",
                            "items": {
                              "type": "string",
                              "format": "uuid"
                            }
                          },
                          "affected_timeline_item_ids": {
                            "type": "array",
                            "items": {
                              "type": "string",
                              "format": "uuid"
                            }
                          }
                        },
                        "additionalProperties": false
                      }
                    ]
                  },
                  "mutationReceipt": {
                    "type": "object",
                    "required": [
                      "id",
                      "key",
                      "operation",
                      "status",
                      "replayed"
                    ],
                    "properties": {
                      "id": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "key": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "status": {
                        "enum": [
                          "completed"
                        ],
                        "type": "string"
                      },
                      "replayed": {
                        "type": "boolean"
                      },
                      "operation": {
                        "type": "string"
                      }
                    },
                    "additionalProperties": false
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "object",
                "required": [
                  "error"
                ],
                "properties": {
                  "error": {
                    "type": "object",
                    "required": [
                      "code",
                      "message",
                      "retryable",
                      "details"
                    ],
                    "properties": {
                      "code": {
                        "enum": [
                          "validation_error",
                          "not_found",
                          "permission_denied",
                          "revision_conflict",
                          "idempotency_conflict",
                          "operation_in_progress",
                          "operation_previous_failure",
                          "sequence_busy",
                          "mutation_failed"
                        ],
                        "type": "string"
                      },
                      "details": {
                        "type": "object",
                        "additionalProperties": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "number"
                            },
                            {
                              "type": "boolean"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "message": {
                        "type": "string"
                      },
                      "retryable": {
                        "type": "boolean"
                      }
                    },
                    "additionalProperties": false
                  }
                },
                "additionalProperties": false
              }
            ]
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "carousels_slides_reorder",
          "title": "Carousel Slides reorder",
          "description": "Move one carousel slide to a new index. Replaces the existing slide order.",
          "inputSchema": {
            "type": "object",
            "required": [
              "idempotencyKey",
              "projectId",
              "from",
              "to"
            ],
            "properties": {
              "to": {
                "type": "integer",
                "maximum": 34,
                "minimum": 0
              },
              "from": {
                "type": "integer",
                "maximum": 34,
                "minimum": 0
              },
              "projectId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "UUID string."
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "idempotencyKey": {
                "type": "string",
                "maxLength": 200,
                "minLength": 8
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "project_id",
              "revision",
              "name",
              "platform",
              "locale",
              "frame",
              "style",
              "slides",
              "templates",
              "can_undo",
              "warnings",
              "next_actions",
              "txid",
              "mutationReceipt"
            ],
            "properties": {
              "kit": {
                "type": "object",
                "required": [
                  "themes",
                  "templates",
                  "active_theme_id"
                ],
                "properties": {
                  "themes": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "name",
                        "scope",
                        "fontFamily",
                        "titleColor",
                        "bodyColor",
                        "background",
                        "pageColor",
                        "overlayEnabled",
                        "overlayOpacity"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "name": {
                          "type": "string",
                          "maxLength": 80,
                          "minLength": 1
                        },
                        "scope": {
                          "enum": [
                            "project",
                            "brand"
                          ],
                          "type": "string"
                        },
                        "bodyColor": {
                          "type": "string",
                          "pattern": "^#[0-9a-fA-F]{6}$"
                        },
                        "pageColor": {
                          "type": "string",
                          "default": "",
                          "maxLength": 32
                        },
                        "background": {
                          "type": "string",
                          "default": "",
                          "maxLength": 32
                        },
                        "fontFamily": {
                          "type": "string",
                          "default": "",
                          "maxLength": 80
                        },
                        "titleColor": {
                          "type": "string",
                          "pattern": "^#[0-9a-fA-F]{6}$"
                        },
                        "logoAssetId": {
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "overlayEnabled": {
                          "type": "boolean"
                        },
                        "overlayOpacity": {
                          "type": "integer",
                          "maximum": 100,
                          "minimum": 0
                        }
                      },
                      "additionalProperties": false
                    },
                    "maxItems": 40
                  },
                  "templates": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "name",
                        "scope",
                        "template_id",
                        "slots"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "name": {
                          "type": "string",
                          "maxLength": 80,
                          "minLength": 1
                        },
                        "scope": {
                          "enum": [
                            "project",
                            "brand"
                          ],
                          "type": "string"
                        },
                        "slots": {
                          "type": "object",
                          "propertyNames": {
                            "type": "string",
                            "maxLength": 80,
                            "minLength": 1
                          },
                          "additionalProperties": {
                            "type": "string",
                            "maxLength": 4000
                          }
                        },
                        "template_id": {
                          "type": "string",
                          "maxLength": 80,
                          "minLength": 1
                        }
                      },
                      "additionalProperties": false
                    },
                    "maxItems": 40
                  },
                  "active_theme_id": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "additionalProperties": false
              },
              "name": {
                "type": "string"
              },
              "txid": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "frame": {
                "type": "object",
                "required": [
                  "width",
                  "height",
                  "aspect_ratio"
                ],
                "properties": {
                  "width": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991
                  },
                  "height": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991
                  },
                  "aspect_ratio": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "style": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "chip": {
                        "type": "object",
                        "properties": {
                          "color": {
                            "type": "string",
                            "maxLength": 32,
                            "minLength": 1
                          },
                          "radius": {
                            "type": "integer",
                            "maximum": 48,
                            "minimum": 0
                          },
                          "font_size": {
                            "type": "integer",
                            "maximum": 120,
                            "minimum": 12
                          },
                          "padding_x": {
                            "type": "integer",
                            "maximum": 80,
                            "minimum": 0
                          },
                          "padding_y": {
                            "type": "integer",
                            "maximum": 80,
                            "minimum": 0
                          },
                          "background": {
                            "type": "string",
                            "maxLength": 32,
                            "minLength": 1
                          },
                          "font_family": {
                            "type": "string",
                            "maxLength": 80,
                            "minLength": 1
                          },
                          "font_weight": {
                            "anyOf": [
                              {
                                "type": "integer",
                                "maximum": 900,
                                "minimum": 100
                              },
                              {
                                "type": "string"
                              }
                            ]
                          },
                          "max_lines_per_chip": {
                            "type": "integer",
                            "maximum": 4,
                            "minimum": 1
                          }
                        },
                        "additionalProperties": false
                      }
                    },
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "locale": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "slides": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "index",
                    "role",
                    "lines",
                    "slots",
                    "layout",
                    "visual"
                  ],
                  "properties": {
                    "role": {
                      "anyOf": [
                        {
                          "enum": [
                            "hook",
                            "body",
                            "proof",
                            "cta"
                          ],
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "index": {
                      "type": "integer",
                      "maximum": 9007199254740991,
                      "minimum": 0
                    },
                    "lines": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "slots": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string",
                        "maxLength": 80,
                        "minLength": 1
                      },
                      "additionalProperties": {
                        "type": "string",
                        "maxLength": 4000
                      }
                    },
                    "layout": {
                      "anyOf": [
                        {
                          "enum": [
                            "chip_stack_ui",
                            "chip_stack_face_safe",
                            "chip_stack_top",
                            "title_body_card"
                          ],
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "visual": {
                      "type": "object",
                      "required": [
                        "kind"
                      ],
                      "properties": {
                        "crop": {
                          "type": "object",
                          "required": [
                            "left",
                            "top",
                            "width",
                            "height"
                          ],
                          "properties": {
                            "top": {
                              "type": "number",
                              "maximum": 1,
                              "minimum": 0
                            },
                            "left": {
                              "type": "number",
                              "maximum": 1,
                              "minimum": 0
                            },
                            "width": {
                              "type": "number",
                              "maximum": 1,
                              "exclusiveMinimum": 0
                            },
                            "height": {
                              "type": "number",
                              "maximum": 1,
                              "exclusiveMinimum": 0
                            }
                          },
                          "additionalProperties": false
                        },
                        "html": {
                          "type": "string",
                          "maxLength": 80000,
                          "minLength": 20
                        },
                        "kind": {
                          "enum": [
                            "creative_source",
                            "media_asset",
                            "generate",
                            "solid",
                            "gradient",
                            "html",
                            "template"
                          ],
                          "type": "string"
                        },
                        "color": {
                          "type": "string",
                          "pattern": "^#[0-9a-fA-F]{6}$"
                        },
                        "colors": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "pattern": "^#[0-9a-fA-F]{6}$"
                          },
                          "maxItems": 2,
                          "minItems": 1
                        },
                        "prompt": {
                          "type": "string",
                          "maxLength": 1000,
                          "minLength": 3
                        },
                        "model_id": {
                          "type": "string",
                          "maxLength": 120,
                          "minLength": 1
                        },
                        "template_id": {
                          "type": "string",
                          "maxLength": 80,
                          "minLength": 1
                        },
                        "media_asset_id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "creative_source": {
                          "type": "object",
                          "required": [
                            "artifact_id",
                            "project_id",
                            "source_revision_id",
                            "source_revision",
                            "source_hash",
                            "runtime_identity",
                            "composition_id",
                            "frame",
                            "width",
                            "height",
                            "fps",
                            "frame_hash",
                            "media_asset_id",
                            "controls",
                            "values"
                          ],
                          "properties": {
                            "fps": {
                              "type": "number",
                              "exclusiveMinimum": 0
                            },
                            "frame": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "minimum": 0
                            },
                            "width": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "exclusiveMinimum": 0
                            },
                            "height": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "exclusiveMinimum": 0
                            },
                            "values": {
                              "type": "object",
                              "propertyNames": {
                                "type": "string",
                                "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
                                "maxLength": 80,
                                "minLength": 1
                              },
                              "additionalProperties": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "maxLength": 10000
                                  },
                                  {
                                    "type": "number"
                                  }
                                ]
                              }
                            },
                            "controls": {
                              "anyOf": [
                                {
                                  "type": "object",
                                  "required": [
                                    "file",
                                    "fields"
                                  ],
                                  "properties": {
                                    "file": {
                                      "type": "string",
                                      "format": "ends_with",
                                      "pattern": ".*\\.json$",
                                      "maxLength": 180,
                                      "minLength": 1
                                    },
                                    "fields": {
                                      "type": "array",
                                      "items": {
                                        "oneOf": [
                                          {
                                            "type": "object",
                                            "required": [
                                              "key",
                                              "label",
                                              "type",
                                              "maxLength"
                                            ],
                                            "properties": {
                                              "key": {
                                                "type": "string",
                                                "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
                                                "maxLength": 80,
                                                "minLength": 1
                                              },
                                              "type": {
                                                "type": "string",
                                                "const": "text"
                                              },
                                              "label": {
                                                "type": "string",
                                                "maxLength": 120,
                                                "minLength": 1
                                              },
                                              "maxLength": {
                                                "type": "integer",
                                                "maximum": 10000,
                                                "minimum": 1
                                              }
                                            },
                                            "additionalProperties": false
                                          },
                                          {
                                            "type": "object",
                                            "required": [
                                              "key",
                                              "label",
                                              "type"
                                            ],
                                            "properties": {
                                              "key": {
                                                "type": "string",
                                                "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
                                                "maxLength": 80,
                                                "minLength": 1
                                              },
                                              "type": {
                                                "type": "string",
                                                "const": "color"
                                              },
                                              "label": {
                                                "type": "string",
                                                "maxLength": 120,
                                                "minLength": 1
                                              }
                                            },
                                            "additionalProperties": false
                                          },
                                          {
                                            "type": "object",
                                            "required": [
                                              "key",
                                              "label",
                                              "type"
                                            ],
                                            "properties": {
                                              "key": {
                                                "type": "string",
                                                "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
                                                "maxLength": 80,
                                                "minLength": 1
                                              },
                                              "type": {
                                                "type": "string",
                                                "const": "media"
                                              },
                                              "label": {
                                                "type": "string",
                                                "maxLength": 120,
                                                "minLength": 1
                                              }
                                            },
                                            "additionalProperties": false
                                          },
                                          {
                                            "type": "object",
                                            "required": [
                                              "key",
                                              "label",
                                              "type",
                                              "min",
                                              "max",
                                              "step"
                                            ],
                                            "properties": {
                                              "key": {
                                                "type": "string",
                                                "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
                                                "maxLength": 80,
                                                "minLength": 1
                                              },
                                              "max": {
                                                "type": "number",
                                                "maximum": 10800
                                              },
                                              "min": {
                                                "type": "number",
                                                "minimum": 0
                                              },
                                              "step": {
                                                "type": "number",
                                                "exclusiveMinimum": 0
                                              },
                                              "type": {
                                                "type": "string",
                                                "const": "timing"
                                              },
                                              "label": {
                                                "type": "string",
                                                "maxLength": 120,
                                                "minLength": 1
                                              }
                                            },
                                            "additionalProperties": false
                                          }
                                        ]
                                      },
                                      "maxItems": 40,
                                      "minItems": 1
                                    }
                                  },
                                  "additionalProperties": false
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "frame_hash": {
                              "type": "string",
                              "pattern": "^[a-f0-9]{64}$"
                            },
                            "project_id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "artifact_id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "source_hash": {
                              "type": "string",
                              "pattern": "^[a-f0-9]{64}$"
                            },
                            "composition_id": {
                              "type": "string",
                              "minLength": 1
                            },
                            "media_asset_id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "source_revision": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "exclusiveMinimum": 0
                            },
                            "runtime_identity": {
                              "type": "string",
                              "minLength": 1
                            },
                            "source_revision_id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            }
                          },
                          "additionalProperties": false
                        },
                        "creative_artifact_id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "source_media_asset_id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        }
                      },
                      "additionalProperties": false
                    },
                    "photo_url": {
                      "anyOf": [
                        {
                          "type": "string",
                          "maxLength": 4000,
                          "minLength": 1
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "slot_urls": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {
                        "type": "string",
                        "maxLength": 4000,
                        "minLength": 1
                      }
                    }
                  },
                  "additionalProperties": false
                }
              },
              "can_undo": {
                "type": "boolean"
              },
              "platform": {
                "anyOf": [
                  {
                    "enum": [
                      "tiktok_photo",
                      "instagram_4x5",
                      "linkedin"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "revision": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string"
                    },
                    "field": {
                      "type": "string"
                    },
                    "repair": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "templates": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "label",
                    "family",
                    "slots"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "label": {
                      "type": "string"
                    },
                    "slots": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "key",
                          "label"
                        ],
                        "properties": {
                          "key": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          }
                        },
                        "additionalProperties": false
                      }
                    },
                    "family": {
                      "enum": [
                        "photo",
                        "designed"
                      ],
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "font_faces": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "family",
                    "src",
                    "weight",
                    "style",
                    "unicodeRange"
                  ],
                  "properties": {
                    "src": {
                      "type": "string",
                      "maxLength": 4000,
                      "minLength": 1
                    },
                    "style": {
                      "enum": [
                        "normal",
                        "italic",
                        "oblique"
                      ],
                      "type": "string"
                    },
                    "family": {
                      "type": "string",
                      "maxLength": 160,
                      "minLength": 1
                    },
                    "weight": {
                      "type": "string",
                      "maxLength": 32,
                      "minLength": 1
                    },
                    "unicodeRange": {
                      "type": "string",
                      "maxLength": 8000
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 256
              },
              "project_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "next_actions": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "method",
                    "path",
                    "reason"
                  ],
                  "properties": {
                    "path": {
                      "type": "string"
                    },
                    "method": {
                      "enum": [
                        "GET",
                        "POST",
                        "PATCH",
                        "DELETE"
                      ],
                      "type": "string"
                    },
                    "reason": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "mutationReceipt": {
                "type": "object",
                "required": [
                  "id",
                  "key",
                  "operation",
                  "status",
                  "replayed"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  "key": {
                    "type": "string"
                  },
                  "status": {
                    "type": "string",
                    "const": "completed"
                  },
                  "replayed": {
                    "type": "boolean"
                  },
                  "operation": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "carousels_slides_remove",
          "title": "Carousel Slides remove",
          "description": "Remove one carousel slide and its content from the project.",
          "inputSchema": {
            "type": "object",
            "required": [
              "idempotencyKey",
              "projectId",
              "index"
            ],
            "properties": {
              "index": {
                "type": "integer",
                "maximum": 34,
                "minimum": 0
              },
              "projectId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "UUID string."
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "idempotencyKey": {
                "type": "string",
                "maxLength": 200,
                "minLength": 8
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "project_id",
              "revision",
              "name",
              "platform",
              "locale",
              "frame",
              "style",
              "slides",
              "templates",
              "can_undo",
              "warnings",
              "next_actions",
              "txid",
              "mutationReceipt"
            ],
            "properties": {
              "kit": {
                "type": "object",
                "required": [
                  "themes",
                  "templates",
                  "active_theme_id"
                ],
                "properties": {
                  "themes": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "name",
                        "scope",
                        "fontFamily",
                        "titleColor",
                        "bodyColor",
                        "background",
                        "pageColor",
                        "overlayEnabled",
                        "overlayOpacity"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "name": {
                          "type": "string",
                          "maxLength": 80,
                          "minLength": 1
                        },
                        "scope": {
                          "enum": [
                            "project",
                            "brand"
                          ],
                          "type": "string"
                        },
                        "bodyColor": {
                          "type": "string",
                          "pattern": "^#[0-9a-fA-F]{6}$"
                        },
                        "pageColor": {
                          "type": "string",
                          "default": "",
                          "maxLength": 32
                        },
                        "background": {
                          "type": "string",
                          "default": "",
                          "maxLength": 32
                        },
                        "fontFamily": {
                          "type": "string",
                          "default": "",
                          "maxLength": 80
                        },
                        "titleColor": {
                          "type": "string",
                          "pattern": "^#[0-9a-fA-F]{6}$"
                        },
                        "logoAssetId": {
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "overlayEnabled": {
                          "type": "boolean"
                        },
                        "overlayOpacity": {
                          "type": "integer",
                          "maximum": 100,
                          "minimum": 0
                        }
                      },
                      "additionalProperties": false
                    },
                    "maxItems": 40
                  },
                  "templates": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "name",
                        "scope",
                        "template_id",
                        "slots"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "name": {
                          "type": "string",
                          "maxLength": 80,
                          "minLength": 1
                        },
                        "scope": {
                          "enum": [
                            "project",
                            "brand"
                          ],
                          "type": "string"
                        },
                        "slots": {
                          "type": "object",
                          "propertyNames": {
                            "type": "string",
                            "maxLength": 80,
                            "minLength": 1
                          },
                          "additionalProperties": {
                            "type": "string",
                            "maxLength": 4000
                          }
                        },
                        "template_id": {
                          "type": "string",
                          "maxLength": 80,
                          "minLength": 1
                        }
                      },
                      "additionalProperties": false
                    },
                    "maxItems": 40
                  },
                  "active_theme_id": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "additionalProperties": false
              },
              "name": {
                "type": "string"
              },
              "txid": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "frame": {
                "type": "object",
                "required": [
                  "width",
                  "height",
                  "aspect_ratio"
                ],
                "properties": {
                  "width": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991
                  },
                  "height": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991
                  },
                  "aspect_ratio": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "style": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "chip": {
                        "type": "object",
                        "properties": {
                          "color": {
                            "type": "string",
                            "maxLength": 32,
                            "minLength": 1
                          },
                          "radius": {
                            "type": "integer",
                            "maximum": 48,
                            "minimum": 0
                          },
                          "font_size": {
                            "type": "integer",
                            "maximum": 120,
                            "minimum": 12
                          },
                          "padding_x": {
                            "type": "integer",
                            "maximum": 80,
                            "minimum": 0
                          },
                          "padding_y": {
                            "type": "integer",
                            "maximum": 80,
                            "minimum": 0
                          },
                          "background": {
                            "type": "string",
                            "maxLength": 32,
                            "minLength": 1
                          },
                          "font_family": {
                            "type": "string",
                            "maxLength": 80,
                            "minLength": 1
                          },
                          "font_weight": {
                            "anyOf": [
                              {
                                "type": "integer",
                                "maximum": 900,
                                "minimum": 100
                              },
                              {
                                "type": "string"
                              }
                            ]
                          },
                          "max_lines_per_chip": {
                            "type": "integer",
                            "maximum": 4,
                            "minimum": 1
                          }
                        },
                        "additionalProperties": false
                      }
                    },
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "locale": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "slides": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "index",
                    "role",
                    "lines",
                    "slots",
                    "layout",
                    "visual"
                  ],
                  "properties": {
                    "role": {
                      "anyOf": [
                        {
                          "enum": [
                            "hook",
                            "body",
                            "proof",
                            "cta"
                          ],
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "index": {
                      "type": "integer",
                      "maximum": 9007199254740991,
                      "minimum": 0
                    },
                    "lines": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "slots": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string",
                        "maxLength": 80,
                        "minLength": 1
                      },
                      "additionalProperties": {
                        "type": "string",
                        "maxLength": 4000
                      }
                    },
                    "layout": {
                      "anyOf": [
                        {
                          "enum": [
                            "chip_stack_ui",
                            "chip_stack_face_safe",
                            "chip_stack_top",
                            "title_body_card"
                          ],
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "visual": {
                      "type": "object",
                      "required": [
                        "kind"
                      ],
                      "properties": {
                        "crop": {
                          "type": "object",
                          "required": [
                            "left",
                            "top",
                            "width",
                            "height"
                          ],
                          "properties": {
                            "top": {
                              "type": "number",
                              "maximum": 1,
                              "minimum": 0
                            },
                            "left": {
                              "type": "number",
                              "maximum": 1,
                              "minimum": 0
                            },
                            "width": {
                              "type": "number",
                              "maximum": 1,
                              "exclusiveMinimum": 0
                            },
                            "height": {
                              "type": "number",
                              "maximum": 1,
                              "exclusiveMinimum": 0
                            }
                          },
                          "additionalProperties": false
                        },
                        "html": {
                          "type": "string",
                          "maxLength": 80000,
                          "minLength": 20
                        },
                        "kind": {
                          "enum": [
                            "creative_source",
                            "media_asset",
                            "generate",
                            "solid",
                            "gradient",
                            "html",
                            "template"
                          ],
                          "type": "string"
                        },
                        "color": {
                          "type": "string",
                          "pattern": "^#[0-9a-fA-F]{6}$"
                        },
                        "colors": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "pattern": "^#[0-9a-fA-F]{6}$"
                          },
                          "maxItems": 2,
                          "minItems": 1
                        },
                        "prompt": {
                          "type": "string",
                          "maxLength": 1000,
                          "minLength": 3
                        },
                        "model_id": {
                          "type": "string",
                          "maxLength": 120,
                          "minLength": 1
                        },
                        "template_id": {
                          "type": "string",
                          "maxLength": 80,
                          "minLength": 1
                        },
                        "media_asset_id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "creative_source": {
                          "type": "object",
                          "required": [
                            "artifact_id",
                            "project_id",
                            "source_revision_id",
                            "source_revision",
                            "source_hash",
                            "runtime_identity",
                            "composition_id",
                            "frame",
                            "width",
                            "height",
                            "fps",
                            "frame_hash",
                            "media_asset_id",
                            "controls",
                            "values"
                          ],
                          "properties": {
                            "fps": {
                              "type": "number",
                              "exclusiveMinimum": 0
                            },
                            "frame": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "minimum": 0
                            },
                            "width": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "exclusiveMinimum": 0
                            },
                            "height": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "exclusiveMinimum": 0
                            },
                            "values": {
                              "type": "object",
                              "propertyNames": {
                                "type": "string",
                                "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
                                "maxLength": 80,
                                "minLength": 1
                              },
                              "additionalProperties": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "maxLength": 10000
                                  },
                                  {
                                    "type": "number"
                                  }
                                ]
                              }
                            },
                            "controls": {
                              "anyOf": [
                                {
                                  "type": "object",
                                  "required": [
                                    "file",
                                    "fields"
                                  ],
                                  "properties": {
                                    "file": {
                                      "type": "string",
                                      "format": "ends_with",
                                      "pattern": ".*\\.json$",
                                      "maxLength": 180,
                                      "minLength": 1
                                    },
                                    "fields": {
                                      "type": "array",
                                      "items": {
                                        "oneOf": [
                                          {
                                            "type": "object",
                                            "required": [
                                              "key",
                                              "label",
                                              "type",
                                              "maxLength"
                                            ],
                                            "properties": {
                                              "key": {
                                                "type": "string",
                                                "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
                                                "maxLength": 80,
                                                "minLength": 1
                                              },
                                              "type": {
                                                "type": "string",
                                                "const": "text"
                                              },
                                              "label": {
                                                "type": "string",
                                                "maxLength": 120,
                                                "minLength": 1
                                              },
                                              "maxLength": {
                                                "type": "integer",
                                                "maximum": 10000,
                                                "minimum": 1
                                              }
                                            },
                                            "additionalProperties": false
                                          },
                                          {
                                            "type": "object",
                                            "required": [
                                              "key",
                                              "label",
                                              "type"
                                            ],
                                            "properties": {
                                              "key": {
                                                "type": "string",
                                                "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
                                                "maxLength": 80,
                                                "minLength": 1
                                              },
                                              "type": {
                                                "type": "string",
                                                "const": "color"
                                              },
                                              "label": {
                                                "type": "string",
                                                "maxLength": 120,
                                                "minLength": 1
                                              }
                                            },
                                            "additionalProperties": false
                                          },
                                          {
                                            "type": "object",
                                            "required": [
                                              "key",
                                              "label",
                                              "type"
                                            ],
                                            "properties": {
                                              "key": {
                                                "type": "string",
                                                "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
                                                "maxLength": 80,
                                                "minLength": 1
                                              },
                                              "type": {
                                                "type": "string",
                                                "const": "media"
                                              },
                                              "label": {
                                                "type": "string",
                                                "maxLength": 120,
                                                "minLength": 1
                                              }
                                            },
                                            "additionalProperties": false
                                          },
                                          {
                                            "type": "object",
                                            "required": [
                                              "key",
                                              "label",
                                              "type",
                                              "min",
                                              "max",
                                              "step"
                                            ],
                                            "properties": {
                                              "key": {
                                                "type": "string",
                                                "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
                                                "maxLength": 80,
                                                "minLength": 1
                                              },
                                              "max": {
                                                "type": "number",
                                                "maximum": 10800
                                              },
                                              "min": {
                                                "type": "number",
                                                "minimum": 0
                                              },
                                              "step": {
                                                "type": "number",
                                                "exclusiveMinimum": 0
                                              },
                                              "type": {
                                                "type": "string",
                                                "const": "timing"
                                              },
                                              "label": {
                                                "type": "string",
                                                "maxLength": 120,
                                                "minLength": 1
                                              }
                                            },
                                            "additionalProperties": false
                                          }
                                        ]
                                      },
                                      "maxItems": 40,
                                      "minItems": 1
                                    }
                                  },
                                  "additionalProperties": false
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "frame_hash": {
                              "type": "string",
                              "pattern": "^[a-f0-9]{64}$"
                            },
                            "project_id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "artifact_id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "source_hash": {
                              "type": "string",
                              "pattern": "^[a-f0-9]{64}$"
                            },
                            "composition_id": {
                              "type": "string",
                              "minLength": 1
                            },
                            "media_asset_id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "source_revision": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "exclusiveMinimum": 0
                            },
                            "runtime_identity": {
                              "type": "string",
                              "minLength": 1
                            },
                            "source_revision_id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            }
                          },
                          "additionalProperties": false
                        },
                        "creative_artifact_id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "source_media_asset_id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        }
                      },
                      "additionalProperties": false
                    },
                    "photo_url": {
                      "anyOf": [
                        {
                          "type": "string",
                          "maxLength": 4000,
                          "minLength": 1
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "slot_urls": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {
                        "type": "string",
                        "maxLength": 4000,
                        "minLength": 1
                      }
                    }
                  },
                  "additionalProperties": false
                }
              },
              "can_undo": {
                "type": "boolean"
              },
              "platform": {
                "anyOf": [
                  {
                    "enum": [
                      "tiktok_photo",
                      "instagram_4x5",
                      "linkedin"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "revision": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string"
                    },
                    "field": {
                      "type": "string"
                    },
                    "repair": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "templates": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "label",
                    "family",
                    "slots"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "label": {
                      "type": "string"
                    },
                    "slots": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "key",
                          "label"
                        ],
                        "properties": {
                          "key": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          }
                        },
                        "additionalProperties": false
                      }
                    },
                    "family": {
                      "enum": [
                        "photo",
                        "designed"
                      ],
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "font_faces": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "family",
                    "src",
                    "weight",
                    "style",
                    "unicodeRange"
                  ],
                  "properties": {
                    "src": {
                      "type": "string",
                      "maxLength": 4000,
                      "minLength": 1
                    },
                    "style": {
                      "enum": [
                        "normal",
                        "italic",
                        "oblique"
                      ],
                      "type": "string"
                    },
                    "family": {
                      "type": "string",
                      "maxLength": 160,
                      "minLength": 1
                    },
                    "weight": {
                      "type": "string",
                      "maxLength": 32,
                      "minLength": 1
                    },
                    "unicodeRange": {
                      "type": "string",
                      "maxLength": 8000
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 256
              },
              "project_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "next_actions": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "method",
                    "path",
                    "reason"
                  ],
                  "properties": {
                    "path": {
                      "type": "string"
                    },
                    "method": {
                      "enum": [
                        "GET",
                        "POST",
                        "PATCH",
                        "DELETE"
                      ],
                      "type": "string"
                    },
                    "reason": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "mutationReceipt": {
                "type": "object",
                "required": [
                  "id",
                  "key",
                  "operation",
                  "status",
                  "replayed"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  "key": {
                    "type": "string"
                  },
                  "status": {
                    "type": "string",
                    "const": "completed"
                  },
                  "replayed": {
                    "type": "boolean"
                  },
                  "operation": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "carousels_slides_insert",
          "title": "Carousel Slides insert",
          "description": "Insert one new carousel slide from a named template or copy an existing slide. Preserves existing slide content.",
          "inputSchema": {
            "type": "object",
            "required": [
              "idempotencyKey",
              "projectId",
              "index"
            ],
            "properties": {
              "index": {
                "type": "integer",
                "maximum": 34,
                "minimum": 0
              },
              "projectId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "UUID string."
              },
              "templateId": {
                "type": "string",
                "maxLength": 80,
                "minLength": 1
              },
              "sourceIndex": {
                "type": "integer",
                "maximum": 34,
                "minimum": 0
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "idempotencyKey": {
                "type": "string",
                "maxLength": 200,
                "minLength": 8
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "project_id",
              "revision",
              "name",
              "platform",
              "locale",
              "frame",
              "style",
              "slides",
              "templates",
              "can_undo",
              "warnings",
              "next_actions",
              "txid",
              "mutationReceipt"
            ],
            "properties": {
              "kit": {
                "type": "object",
                "required": [
                  "themes",
                  "templates",
                  "active_theme_id"
                ],
                "properties": {
                  "themes": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "name",
                        "scope",
                        "fontFamily",
                        "titleColor",
                        "bodyColor",
                        "background",
                        "pageColor",
                        "overlayEnabled",
                        "overlayOpacity"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "name": {
                          "type": "string",
                          "maxLength": 80,
                          "minLength": 1
                        },
                        "scope": {
                          "enum": [
                            "project",
                            "brand"
                          ],
                          "type": "string"
                        },
                        "bodyColor": {
                          "type": "string",
                          "pattern": "^#[0-9a-fA-F]{6}$"
                        },
                        "pageColor": {
                          "type": "string",
                          "default": "",
                          "maxLength": 32
                        },
                        "background": {
                          "type": "string",
                          "default": "",
                          "maxLength": 32
                        },
                        "fontFamily": {
                          "type": "string",
                          "default": "",
                          "maxLength": 80
                        },
                        "titleColor": {
                          "type": "string",
                          "pattern": "^#[0-9a-fA-F]{6}$"
                        },
                        "logoAssetId": {
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "overlayEnabled": {
                          "type": "boolean"
                        },
                        "overlayOpacity": {
                          "type": "integer",
                          "maximum": 100,
                          "minimum": 0
                        }
                      },
                      "additionalProperties": false
                    },
                    "maxItems": 40
                  },
                  "templates": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "name",
                        "scope",
                        "template_id",
                        "slots"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "name": {
                          "type": "string",
                          "maxLength": 80,
                          "minLength": 1
                        },
                        "scope": {
                          "enum": [
                            "project",
                            "brand"
                          ],
                          "type": "string"
                        },
                        "slots": {
                          "type": "object",
                          "propertyNames": {
                            "type": "string",
                            "maxLength": 80,
                            "minLength": 1
                          },
                          "additionalProperties": {
                            "type": "string",
                            "maxLength": 4000
                          }
                        },
                        "template_id": {
                          "type": "string",
                          "maxLength": 80,
                          "minLength": 1
                        }
                      },
                      "additionalProperties": false
                    },
                    "maxItems": 40
                  },
                  "active_theme_id": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "additionalProperties": false
              },
              "name": {
                "type": "string"
              },
              "txid": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "frame": {
                "type": "object",
                "required": [
                  "width",
                  "height",
                  "aspect_ratio"
                ],
                "properties": {
                  "width": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991
                  },
                  "height": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991
                  },
                  "aspect_ratio": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "style": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "chip": {
                        "type": "object",
                        "properties": {
                          "color": {
                            "type": "string",
                            "maxLength": 32,
                            "minLength": 1
                          },
                          "radius": {
                            "type": "integer",
                            "maximum": 48,
                            "minimum": 0
                          },
                          "font_size": {
                            "type": "integer",
                            "maximum": 120,
                            "minimum": 12
                          },
                          "padding_x": {
                            "type": "integer",
                            "maximum": 80,
                            "minimum": 0
                          },
                          "padding_y": {
                            "type": "integer",
                            "maximum": 80,
                            "minimum": 0
                          },
                          "background": {
                            "type": "string",
                            "maxLength": 32,
                            "minLength": 1
                          },
                          "font_family": {
                            "type": "string",
                            "maxLength": 80,
                            "minLength": 1
                          },
                          "font_weight": {
                            "anyOf": [
                              {
                                "type": "integer",
                                "maximum": 900,
                                "minimum": 100
                              },
                              {
                                "type": "string"
                              }
                            ]
                          },
                          "max_lines_per_chip": {
                            "type": "integer",
                            "maximum": 4,
                            "minimum": 1
                          }
                        },
                        "additionalProperties": false
                      }
                    },
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "locale": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "slides": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "index",
                    "role",
                    "lines",
                    "slots",
                    "layout",
                    "visual"
                  ],
                  "properties": {
                    "role": {
                      "anyOf": [
                        {
                          "enum": [
                            "hook",
                            "body",
                            "proof",
                            "cta"
                          ],
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "index": {
                      "type": "integer",
                      "maximum": 9007199254740991,
                      "minimum": 0
                    },
                    "lines": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "slots": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string",
                        "maxLength": 80,
                        "minLength": 1
                      },
                      "additionalProperties": {
                        "type": "string",
                        "maxLength": 4000
                      }
                    },
                    "layout": {
                      "anyOf": [
                        {
                          "enum": [
                            "chip_stack_ui",
                            "chip_stack_face_safe",
                            "chip_stack_top",
                            "title_body_card"
                          ],
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "visual": {
                      "type": "object",
                      "required": [
                        "kind"
                      ],
                      "properties": {
                        "crop": {
                          "type": "object",
                          "required": [
                            "left",
                            "top",
                            "width",
                            "height"
                          ],
                          "properties": {
                            "top": {
                              "type": "number",
                              "maximum": 1,
                              "minimum": 0
                            },
                            "left": {
                              "type": "number",
                              "maximum": 1,
                              "minimum": 0
                            },
                            "width": {
                              "type": "number",
                              "maximum": 1,
                              "exclusiveMinimum": 0
                            },
                            "height": {
                              "type": "number",
                              "maximum": 1,
                              "exclusiveMinimum": 0
                            }
                          },
                          "additionalProperties": false
                        },
                        "html": {
                          "type": "string",
                          "maxLength": 80000,
                          "minLength": 20
                        },
                        "kind": {
                          "enum": [
                            "creative_source",
                            "media_asset",
                            "generate",
                            "solid",
                            "gradient",
                            "html",
                            "template"
                          ],
                          "type": "string"
                        },
                        "color": {
                          "type": "string",
                          "pattern": "^#[0-9a-fA-F]{6}$"
                        },
                        "colors": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "pattern": "^#[0-9a-fA-F]{6}$"
                          },
                          "maxItems": 2,
                          "minItems": 1
                        },
                        "prompt": {
                          "type": "string",
                          "maxLength": 1000,
                          "minLength": 3
                        },
                        "model_id": {
                          "type": "string",
                          "maxLength": 120,
                          "minLength": 1
                        },
                        "template_id": {
                          "type": "string",
                          "maxLength": 80,
                          "minLength": 1
                        },
                        "media_asset_id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "creative_source": {
                          "type": "object",
                          "required": [
                            "artifact_id",
                            "project_id",
                            "source_revision_id",
                            "source_revision",
                            "source_hash",
                            "runtime_identity",
                            "composition_id",
                            "frame",
                            "width",
                            "height",
                            "fps",
                            "frame_hash",
                            "media_asset_id",
                            "controls",
                            "values"
                          ],
                          "properties": {
                            "fps": {
                              "type": "number",
                              "exclusiveMinimum": 0
                            },
                            "frame": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "minimum": 0
                            },
                            "width": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "exclusiveMinimum": 0
                            },
                            "height": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "exclusiveMinimum": 0
                            },
                            "values": {
                              "type": "object",
                              "propertyNames": {
                                "type": "string",
                                "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
                                "maxLength": 80,
                                "minLength": 1
                              },
                              "additionalProperties": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "maxLength": 10000
                                  },
                                  {
                                    "type": "number"
                                  }
                                ]
                              }
                            },
                            "controls": {
                              "anyOf": [
                                {
                                  "type": "object",
                                  "required": [
                                    "file",
                                    "fields"
                                  ],
                                  "properties": {
                                    "file": {
                                      "type": "string",
                                      "format": "ends_with",
                                      "pattern": ".*\\.json$",
                                      "maxLength": 180,
                                      "minLength": 1
                                    },
                                    "fields": {
                                      "type": "array",
                                      "items": {
                                        "oneOf": [
                                          {
                                            "type": "object",
                                            "required": [
                                              "key",
                                              "label",
                                              "type",
                                              "maxLength"
                                            ],
                                            "properties": {
                                              "key": {
                                                "type": "string",
                                                "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
                                                "maxLength": 80,
                                                "minLength": 1
                                              },
                                              "type": {
                                                "type": "string",
                                                "const": "text"
                                              },
                                              "label": {
                                                "type": "string",
                                                "maxLength": 120,
                                                "minLength": 1
                                              },
                                              "maxLength": {
                                                "type": "integer",
                                                "maximum": 10000,
                                                "minimum": 1
                                              }
                                            },
                                            "additionalProperties": false
                                          },
                                          {
                                            "type": "object",
                                            "required": [
                                              "key",
                                              "label",
                                              "type"
                                            ],
                                            "properties": {
                                              "key": {
                                                "type": "string",
                                                "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
                                                "maxLength": 80,
                                                "minLength": 1
                                              },
                                              "type": {
                                                "type": "string",
                                                "const": "color"
                                              },
                                              "label": {
                                                "type": "string",
                                                "maxLength": 120,
                                                "minLength": 1
                                              }
                                            },
                                            "additionalProperties": false
                                          },
                                          {
                                            "type": "object",
                                            "required": [
                                              "key",
                                              "label",
                                              "type"
                                            ],
                                            "properties": {
                                              "key": {
                                                "type": "string",
                                                "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
                                                "maxLength": 80,
                                                "minLength": 1
                                              },
                                              "type": {
                                                "type": "string",
                                                "const": "media"
                                              },
                                              "label": {
                                                "type": "string",
                                                "maxLength": 120,
                                                "minLength": 1
                                              }
                                            },
                                            "additionalProperties": false
                                          },
                                          {
                                            "type": "object",
                                            "required": [
                                              "key",
                                              "label",
                                              "type",
                                              "min",
                                              "max",
                                              "step"
                                            ],
                                            "properties": {
                                              "key": {
                                                "type": "string",
                                                "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
                                                "maxLength": 80,
                                                "minLength": 1
                                              },
                                              "max": {
                                                "type": "number",
                                                "maximum": 10800
                                              },
                                              "min": {
                                                "type": "number",
                                                "minimum": 0
                                              },
                                              "step": {
                                                "type": "number",
                                                "exclusiveMinimum": 0
                                              },
                                              "type": {
                                                "type": "string",
                                                "const": "timing"
                                              },
                                              "label": {
                                                "type": "string",
                                                "maxLength": 120,
                                                "minLength": 1
                                              }
                                            },
                                            "additionalProperties": false
                                          }
                                        ]
                                      },
                                      "maxItems": 40,
                                      "minItems": 1
                                    }
                                  },
                                  "additionalProperties": false
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "frame_hash": {
                              "type": "string",
                              "pattern": "^[a-f0-9]{64}$"
                            },
                            "project_id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "artifact_id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "source_hash": {
                              "type": "string",
                              "pattern": "^[a-f0-9]{64}$"
                            },
                            "composition_id": {
                              "type": "string",
                              "minLength": 1
                            },
                            "media_asset_id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "source_revision": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "exclusiveMinimum": 0
                            },
                            "runtime_identity": {
                              "type": "string",
                              "minLength": 1
                            },
                            "source_revision_id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            }
                          },
                          "additionalProperties": false
                        },
                        "creative_artifact_id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "source_media_asset_id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        }
                      },
                      "additionalProperties": false
                    },
                    "photo_url": {
                      "anyOf": [
                        {
                          "type": "string",
                          "maxLength": 4000,
                          "minLength": 1
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "slot_urls": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {
                        "type": "string",
                        "maxLength": 4000,
                        "minLength": 1
                      }
                    }
                  },
                  "additionalProperties": false
                }
              },
              "can_undo": {
                "type": "boolean"
              },
              "platform": {
                "anyOf": [
                  {
                    "enum": [
                      "tiktok_photo",
                      "instagram_4x5",
                      "linkedin"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "revision": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string"
                    },
                    "field": {
                      "type": "string"
                    },
                    "repair": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "templates": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "label",
                    "family",
                    "slots"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "label": {
                      "type": "string"
                    },
                    "slots": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "key",
                          "label"
                        ],
                        "properties": {
                          "key": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          }
                        },
                        "additionalProperties": false
                      }
                    },
                    "family": {
                      "enum": [
                        "photo",
                        "designed"
                      ],
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "font_faces": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "family",
                    "src",
                    "weight",
                    "style",
                    "unicodeRange"
                  ],
                  "properties": {
                    "src": {
                      "type": "string",
                      "maxLength": 4000,
                      "minLength": 1
                    },
                    "style": {
                      "enum": [
                        "normal",
                        "italic",
                        "oblique"
                      ],
                      "type": "string"
                    },
                    "family": {
                      "type": "string",
                      "maxLength": 160,
                      "minLength": 1
                    },
                    "weight": {
                      "type": "string",
                      "maxLength": 32,
                      "minLength": 1
                    },
                    "unicodeRange": {
                      "type": "string",
                      "maxLength": 8000
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 256
              },
              "project_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "next_actions": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "method",
                    "path",
                    "reason"
                  ],
                  "properties": {
                    "path": {
                      "type": "string"
                    },
                    "method": {
                      "enum": [
                        "GET",
                        "POST",
                        "PATCH",
                        "DELETE"
                      ],
                      "type": "string"
                    },
                    "reason": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "mutationReceipt": {
                "type": "object",
                "required": [
                  "id",
                  "key",
                  "operation",
                  "status",
                  "replayed"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  "key": {
                    "type": "string"
                  },
                  "status": {
                    "type": "string",
                    "const": "completed"
                  },
                  "replayed": {
                    "type": "boolean"
                  },
                  "operation": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "carousels_slides_undo",
          "title": "Carousel Slides undo",
          "description": "Restore the previous carousel document revision, replacing the current slide document.",
          "inputSchema": {
            "type": "object",
            "required": [
              "idempotencyKey",
              "projectId"
            ],
            "properties": {
              "projectId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "UUID string."
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "idempotencyKey": {
                "type": "string",
                "maxLength": 200,
                "minLength": 8
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "project_id",
              "revision",
              "name",
              "platform",
              "locale",
              "frame",
              "style",
              "slides",
              "templates",
              "can_undo",
              "warnings",
              "next_actions",
              "txid",
              "mutationReceipt"
            ],
            "properties": {
              "kit": {
                "type": "object",
                "required": [
                  "themes",
                  "templates",
                  "active_theme_id"
                ],
                "properties": {
                  "themes": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "name",
                        "scope",
                        "fontFamily",
                        "titleColor",
                        "bodyColor",
                        "background",
                        "pageColor",
                        "overlayEnabled",
                        "overlayOpacity"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "name": {
                          "type": "string",
                          "maxLength": 80,
                          "minLength": 1
                        },
                        "scope": {
                          "enum": [
                            "project",
                            "brand"
                          ],
                          "type": "string"
                        },
                        "bodyColor": {
                          "type": "string",
                          "pattern": "^#[0-9a-fA-F]{6}$"
                        },
                        "pageColor": {
                          "type": "string",
                          "default": "",
                          "maxLength": 32
                        },
                        "background": {
                          "type": "string",
                          "default": "",
                          "maxLength": 32
                        },
                        "fontFamily": {
                          "type": "string",
                          "default": "",
                          "maxLength": 80
                        },
                        "titleColor": {
                          "type": "string",
                          "pattern": "^#[0-9a-fA-F]{6}$"
                        },
                        "logoAssetId": {
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "overlayEnabled": {
                          "type": "boolean"
                        },
                        "overlayOpacity": {
                          "type": "integer",
                          "maximum": 100,
                          "minimum": 0
                        }
                      },
                      "additionalProperties": false
                    },
                    "maxItems": 40
                  },
                  "templates": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "name",
                        "scope",
                        "template_id",
                        "slots"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "name": {
                          "type": "string",
                          "maxLength": 80,
                          "minLength": 1
                        },
                        "scope": {
                          "enum": [
                            "project",
                            "brand"
                          ],
                          "type": "string"
                        },
                        "slots": {
                          "type": "object",
                          "propertyNames": {
                            "type": "string",
                            "maxLength": 80,
                            "minLength": 1
                          },
                          "additionalProperties": {
                            "type": "string",
                            "maxLength": 4000
                          }
                        },
                        "template_id": {
                          "type": "string",
                          "maxLength": 80,
                          "minLength": 1
                        }
                      },
                      "additionalProperties": false
                    },
                    "maxItems": 40
                  },
                  "active_theme_id": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "additionalProperties": false
              },
              "name": {
                "type": "string"
              },
              "txid": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "frame": {
                "type": "object",
                "required": [
                  "width",
                  "height",
                  "aspect_ratio"
                ],
                "properties": {
                  "width": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991
                  },
                  "height": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991
                  },
                  "aspect_ratio": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "style": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "chip": {
                        "type": "object",
                        "properties": {
                          "color": {
                            "type": "string",
                            "maxLength": 32,
                            "minLength": 1
                          },
                          "radius": {
                            "type": "integer",
                            "maximum": 48,
                            "minimum": 0
                          },
                          "font_size": {
                            "type": "integer",
                            "maximum": 120,
                            "minimum": 12
                          },
                          "padding_x": {
                            "type": "integer",
                            "maximum": 80,
                            "minimum": 0
                          },
                          "padding_y": {
                            "type": "integer",
                            "maximum": 80,
                            "minimum": 0
                          },
                          "background": {
                            "type": "string",
                            "maxLength": 32,
                            "minLength": 1
                          },
                          "font_family": {
                            "type": "string",
                            "maxLength": 80,
                            "minLength": 1
                          },
                          "font_weight": {
                            "anyOf": [
                              {
                                "type": "integer",
                                "maximum": 900,
                                "minimum": 100
                              },
                              {
                                "type": "string"
                              }
                            ]
                          },
                          "max_lines_per_chip": {
                            "type": "integer",
                            "maximum": 4,
                            "minimum": 1
                          }
                        },
                        "additionalProperties": false
                      }
                    },
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "locale": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "slides": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "index",
                    "role",
                    "lines",
                    "slots",
                    "layout",
                    "visual"
                  ],
                  "properties": {
                    "role": {
                      "anyOf": [
                        {
                          "enum": [
                            "hook",
                            "body",
                            "proof",
                            "cta"
                          ],
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "index": {
                      "type": "integer",
                      "maximum": 9007199254740991,
                      "minimum": 0
                    },
                    "lines": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "slots": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string",
                        "maxLength": 80,
                        "minLength": 1
                      },
                      "additionalProperties": {
                        "type": "string",
                        "maxLength": 4000
                      }
                    },
                    "layout": {
                      "anyOf": [
                        {
                          "enum": [
                            "chip_stack_ui",
                            "chip_stack_face_safe",
                            "chip_stack_top",
                            "title_body_card"
                          ],
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "visual": {
                      "type": "object",
                      "required": [
                        "kind"
                      ],
                      "properties": {
                        "crop": {
                          "type": "object",
                          "required": [
                            "left",
                            "top",
                            "width",
                            "height"
                          ],
                          "properties": {
                            "top": {
                              "type": "number",
                              "maximum": 1,
                              "minimum": 0
                            },
                            "left": {
                              "type": "number",
                              "maximum": 1,
                              "minimum": 0
                            },
                            "width": {
                              "type": "number",
                              "maximum": 1,
                              "exclusiveMinimum": 0
                            },
                            "height": {
                              "type": "number",
                              "maximum": 1,
                              "exclusiveMinimum": 0
                            }
                          },
                          "additionalProperties": false
                        },
                        "html": {
                          "type": "string",
                          "maxLength": 80000,
                          "minLength": 20
                        },
                        "kind": {
                          "enum": [
                            "creative_source",
                            "media_asset",
                            "generate",
                            "solid",
                            "gradient",
                            "html",
                            "template"
                          ],
                          "type": "string"
                        },
                        "color": {
                          "type": "string",
                          "pattern": "^#[0-9a-fA-F]{6}$"
                        },
                        "colors": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "pattern": "^#[0-9a-fA-F]{6}$"
                          },
                          "maxItems": 2,
                          "minItems": 1
                        },
                        "prompt": {
                          "type": "string",
                          "maxLength": 1000,
                          "minLength": 3
                        },
                        "model_id": {
                          "type": "string",
                          "maxLength": 120,
                          "minLength": 1
                        },
                        "template_id": {
                          "type": "string",
                          "maxLength": 80,
                          "minLength": 1
                        },
                        "media_asset_id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "creative_source": {
                          "type": "object",
                          "required": [
                            "artifact_id",
                            "project_id",
                            "source_revision_id",
                            "source_revision",
                            "source_hash",
                            "runtime_identity",
                            "composition_id",
                            "frame",
                            "width",
                            "height",
                            "fps",
                            "frame_hash",
                            "media_asset_id",
                            "controls",
                            "values"
                          ],
                          "properties": {
                            "fps": {
                              "type": "number",
                              "exclusiveMinimum": 0
                            },
                            "frame": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "minimum": 0
                            },
                            "width": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "exclusiveMinimum": 0
                            },
                            "height": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "exclusiveMinimum": 0
                            },
                            "values": {
                              "type": "object",
                              "propertyNames": {
                                "type": "string",
                                "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
                                "maxLength": 80,
                                "minLength": 1
                              },
                              "additionalProperties": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "maxLength": 10000
                                  },
                                  {
                                    "type": "number"
                                  }
                                ]
                              }
                            },
                            "controls": {
                              "anyOf": [
                                {
                                  "type": "object",
                                  "required": [
                                    "file",
                                    "fields"
                                  ],
                                  "properties": {
                                    "file": {
                                      "type": "string",
                                      "format": "ends_with",
                                      "pattern": ".*\\.json$",
                                      "maxLength": 180,
                                      "minLength": 1
                                    },
                                    "fields": {
                                      "type": "array",
                                      "items": {
                                        "oneOf": [
                                          {
                                            "type": "object",
                                            "required": [
                                              "key",
                                              "label",
                                              "type",
                                              "maxLength"
                                            ],
                                            "properties": {
                                              "key": {
                                                "type": "string",
                                                "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
                                                "maxLength": 80,
                                                "minLength": 1
                                              },
                                              "type": {
                                                "type": "string",
                                                "const": "text"
                                              },
                                              "label": {
                                                "type": "string",
                                                "maxLength": 120,
                                                "minLength": 1
                                              },
                                              "maxLength": {
                                                "type": "integer",
                                                "maximum": 10000,
                                                "minimum": 1
                                              }
                                            },
                                            "additionalProperties": false
                                          },
                                          {
                                            "type": "object",
                                            "required": [
                                              "key",
                                              "label",
                                              "type"
                                            ],
                                            "properties": {
                                              "key": {
                                                "type": "string",
                                                "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
                                                "maxLength": 80,
                                                "minLength": 1
                                              },
                                              "type": {
                                                "type": "string",
                                                "const": "color"
                                              },
                                              "label": {
                                                "type": "string",
                                                "maxLength": 120,
                                                "minLength": 1
                                              }
                                            },
                                            "additionalProperties": false
                                          },
                                          {
                                            "type": "object",
                                            "required": [
                                              "key",
                                              "label",
                                              "type"
                                            ],
                                            "properties": {
                                              "key": {
                                                "type": "string",
                                                "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
                                                "maxLength": 80,
                                                "minLength": 1
                                              },
                                              "type": {
                                                "type": "string",
                                                "const": "media"
                                              },
                                              "label": {
                                                "type": "string",
                                                "maxLength": 120,
                                                "minLength": 1
                                              }
                                            },
                                            "additionalProperties": false
                                          },
                                          {
                                            "type": "object",
                                            "required": [
                                              "key",
                                              "label",
                                              "type",
                                              "min",
                                              "max",
                                              "step"
                                            ],
                                            "properties": {
                                              "key": {
                                                "type": "string",
                                                "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
                                                "maxLength": 80,
                                                "minLength": 1
                                              },
                                              "max": {
                                                "type": "number",
                                                "maximum": 10800
                                              },
                                              "min": {
                                                "type": "number",
                                                "minimum": 0
                                              },
                                              "step": {
                                                "type": "number",
                                                "exclusiveMinimum": 0
                                              },
                                              "type": {
                                                "type": "string",
                                                "const": "timing"
                                              },
                                              "label": {
                                                "type": "string",
                                                "maxLength": 120,
                                                "minLength": 1
                                              }
                                            },
                                            "additionalProperties": false
                                          }
                                        ]
                                      },
                                      "maxItems": 40,
                                      "minItems": 1
                                    }
                                  },
                                  "additionalProperties": false
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "frame_hash": {
                              "type": "string",
                              "pattern": "^[a-f0-9]{64}$"
                            },
                            "project_id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "artifact_id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "source_hash": {
                              "type": "string",
                              "pattern": "^[a-f0-9]{64}$"
                            },
                            "composition_id": {
                              "type": "string",
                              "minLength": 1
                            },
                            "media_asset_id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "source_revision": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "exclusiveMinimum": 0
                            },
                            "runtime_identity": {
                              "type": "string",
                              "minLength": 1
                            },
                            "source_revision_id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            }
                          },
                          "additionalProperties": false
                        },
                        "creative_artifact_id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "source_media_asset_id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        }
                      },
                      "additionalProperties": false
                    },
                    "photo_url": {
                      "anyOf": [
                        {
                          "type": "string",
                          "maxLength": 4000,
                          "minLength": 1
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "slot_urls": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {
                        "type": "string",
                        "maxLength": 4000,
                        "minLength": 1
                      }
                    }
                  },
                  "additionalProperties": false
                }
              },
              "can_undo": {
                "type": "boolean"
              },
              "platform": {
                "anyOf": [
                  {
                    "enum": [
                      "tiktok_photo",
                      "instagram_4x5",
                      "linkedin"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "revision": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string"
                    },
                    "field": {
                      "type": "string"
                    },
                    "repair": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "templates": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "label",
                    "family",
                    "slots"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "label": {
                      "type": "string"
                    },
                    "slots": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "key",
                          "label"
                        ],
                        "properties": {
                          "key": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          }
                        },
                        "additionalProperties": false
                      }
                    },
                    "family": {
                      "enum": [
                        "photo",
                        "designed"
                      ],
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "font_faces": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "family",
                    "src",
                    "weight",
                    "style",
                    "unicodeRange"
                  ],
                  "properties": {
                    "src": {
                      "type": "string",
                      "maxLength": 4000,
                      "minLength": 1
                    },
                    "style": {
                      "enum": [
                        "normal",
                        "italic",
                        "oblique"
                      ],
                      "type": "string"
                    },
                    "family": {
                      "type": "string",
                      "maxLength": 160,
                      "minLength": 1
                    },
                    "weight": {
                      "type": "string",
                      "maxLength": 32,
                      "minLength": 1
                    },
                    "unicodeRange": {
                      "type": "string",
                      "maxLength": 8000
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 256
              },
              "project_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "next_actions": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "method",
                    "path",
                    "reason"
                  ],
                  "properties": {
                    "path": {
                      "type": "string"
                    },
                    "method": {
                      "enum": [
                        "GET",
                        "POST",
                        "PATCH",
                        "DELETE"
                      ],
                      "type": "string"
                    },
                    "reason": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "mutationReceipt": {
                "type": "object",
                "required": [
                  "id",
                  "key",
                  "operation",
                  "status",
                  "replayed"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  "key": {
                    "type": "string"
                  },
                  "status": {
                    "type": "string",
                    "const": "completed"
                  },
                  "replayed": {
                    "type": "boolean"
                  },
                  "operation": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "carousels_save_theme",
          "title": "Carousel save theme",
          "description": "Save and activate the current carousel styling as a private theme; removes the oldest saved theme when the 40-theme limit is reached.",
          "inputSchema": {
            "type": "object",
            "required": [
              "idempotencyKey",
              "projectId",
              "name"
            ],
            "properties": {
              "name": {
                "type": "string",
                "maxLength": 80,
                "minLength": 1
              },
              "scope": {
                "enum": [
                  "project",
                  "brand"
                ],
                "type": "string"
              },
              "projectId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "UUID string."
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "idempotencyKey": {
                "type": "string",
                "maxLength": 200,
                "minLength": 8
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "properties": {
              "kit": {
                "type": "object",
                "required": [
                  "themes",
                  "templates",
                  "active_theme_id"
                ],
                "properties": {
                  "themes": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "name",
                        "scope",
                        "fontFamily",
                        "titleColor",
                        "bodyColor",
                        "background",
                        "pageColor",
                        "overlayEnabled",
                        "overlayOpacity"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "name": {
                          "type": "string",
                          "maxLength": 80,
                          "minLength": 1
                        },
                        "scope": {
                          "enum": [
                            "project",
                            "brand"
                          ],
                          "type": "string"
                        },
                        "bodyColor": {
                          "type": "string",
                          "pattern": "^#[0-9a-fA-F]{6}$"
                        },
                        "pageColor": {
                          "type": "string",
                          "default": "",
                          "maxLength": 32
                        },
                        "background": {
                          "type": "string",
                          "default": "",
                          "maxLength": 32
                        },
                        "fontFamily": {
                          "type": "string",
                          "default": "",
                          "maxLength": 80
                        },
                        "titleColor": {
                          "type": "string",
                          "pattern": "^#[0-9a-fA-F]{6}$"
                        },
                        "logoAssetId": {
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "overlayEnabled": {
                          "type": "boolean"
                        },
                        "overlayOpacity": {
                          "type": "integer",
                          "maximum": 100,
                          "minimum": 0
                        }
                      },
                      "additionalProperties": false
                    },
                    "maxItems": 40
                  },
                  "templates": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "name",
                        "scope",
                        "template_id",
                        "slots"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "name": {
                          "type": "string",
                          "maxLength": 80,
                          "minLength": 1
                        },
                        "scope": {
                          "enum": [
                            "project",
                            "brand"
                          ],
                          "type": "string"
                        },
                        "slots": {
                          "type": "object",
                          "propertyNames": {
                            "type": "string",
                            "maxLength": 80,
                            "minLength": 1
                          },
                          "additionalProperties": {
                            "type": "string",
                            "maxLength": 4000
                          }
                        },
                        "template_id": {
                          "type": "string",
                          "maxLength": 80,
                          "minLength": 1
                        }
                      },
                      "additionalProperties": false
                    },
                    "maxItems": 40
                  },
                  "active_theme_id": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "additionalProperties": false
              },
              "name": {
                "type": "string"
              },
              "frame": {
                "type": "object",
                "required": [
                  "width",
                  "height",
                  "aspect_ratio"
                ],
                "properties": {
                  "width": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991
                  },
                  "height": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991
                  },
                  "aspect_ratio": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "style": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "chip": {
                        "type": "object",
                        "properties": {
                          "color": {
                            "type": "string",
                            "maxLength": 32,
                            "minLength": 1
                          },
                          "radius": {
                            "type": "integer",
                            "maximum": 48,
                            "minimum": 0
                          },
                          "font_size": {
                            "type": "integer",
                            "maximum": 120,
                            "minimum": 12
                          },
                          "padding_x": {
                            "type": "integer",
                            "maximum": 80,
                            "minimum": 0
                          },
                          "padding_y": {
                            "type": "integer",
                            "maximum": 80,
                            "minimum": 0
                          },
                          "background": {
                            "type": "string",
                            "maxLength": 32,
                            "minLength": 1
                          },
                          "font_family": {
                            "type": "string",
                            "maxLength": 80,
                            "minLength": 1
                          },
                          "font_weight": {
                            "anyOf": [
                              {
                                "type": "integer",
                                "maximum": 900,
                                "minimum": 100
                              },
                              {
                                "type": "string"
                              }
                            ]
                          },
                          "max_lines_per_chip": {
                            "type": "integer",
                            "maximum": 4,
                            "minimum": 1
                          }
                        },
                        "additionalProperties": false
                      }
                    },
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "locale": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "slides": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "index",
                    "role",
                    "lines",
                    "slots",
                    "layout",
                    "visual"
                  ],
                  "properties": {
                    "role": {
                      "anyOf": [
                        {
                          "enum": [
                            "hook",
                            "body",
                            "proof",
                            "cta"
                          ],
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "index": {
                      "type": "integer",
                      "maximum": 9007199254740991,
                      "minimum": 0
                    },
                    "lines": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "slots": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string",
                        "maxLength": 80,
                        "minLength": 1
                      },
                      "additionalProperties": {
                        "type": "string",
                        "maxLength": 4000
                      }
                    },
                    "layout": {
                      "anyOf": [
                        {
                          "enum": [
                            "chip_stack_ui",
                            "chip_stack_face_safe",
                            "chip_stack_top",
                            "title_body_card"
                          ],
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "visual": {
                      "type": "object",
                      "required": [
                        "kind"
                      ],
                      "properties": {
                        "crop": {
                          "type": "object",
                          "required": [
                            "left",
                            "top",
                            "width",
                            "height"
                          ],
                          "properties": {
                            "top": {
                              "type": "number",
                              "maximum": 1,
                              "minimum": 0
                            },
                            "left": {
                              "type": "number",
                              "maximum": 1,
                              "minimum": 0
                            },
                            "width": {
                              "type": "number",
                              "maximum": 1,
                              "exclusiveMinimum": 0
                            },
                            "height": {
                              "type": "number",
                              "maximum": 1,
                              "exclusiveMinimum": 0
                            }
                          },
                          "additionalProperties": false
                        },
                        "html": {
                          "type": "string",
                          "maxLength": 80000,
                          "minLength": 20
                        },
                        "kind": {
                          "enum": [
                            "creative_source",
                            "media_asset",
                            "generate",
                            "solid",
                            "gradient",
                            "html",
                            "template"
                          ],
                          "type": "string"
                        },
                        "color": {
                          "type": "string",
                          "pattern": "^#[0-9a-fA-F]{6}$"
                        },
                        "colors": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "pattern": "^#[0-9a-fA-F]{6}$"
                          },
                          "maxItems": 2,
                          "minItems": 1
                        },
                        "prompt": {
                          "type": "string",
                          "maxLength": 1000,
                          "minLength": 3
                        },
                        "model_id": {
                          "type": "string",
                          "maxLength": 120,
                          "minLength": 1
                        },
                        "template_id": {
                          "type": "string",
                          "maxLength": 80,
                          "minLength": 1
                        },
                        "media_asset_id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "creative_source": {
                          "type": "object",
                          "required": [
                            "artifact_id",
                            "project_id",
                            "source_revision_id",
                            "source_revision",
                            "source_hash",
                            "runtime_identity",
                            "composition_id",
                            "frame",
                            "width",
                            "height",
                            "fps",
                            "frame_hash",
                            "media_asset_id",
                            "controls",
                            "values"
                          ],
                          "properties": {
                            "fps": {
                              "type": "number",
                              "exclusiveMinimum": 0
                            },
                            "frame": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "minimum": 0
                            },
                            "width": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "exclusiveMinimum": 0
                            },
                            "height": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "exclusiveMinimum": 0
                            },
                            "values": {
                              "type": "object",
                              "propertyNames": {
                                "type": "string",
                                "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
                                "maxLength": 80,
                                "minLength": 1
                              },
                              "additionalProperties": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "maxLength": 10000
                                  },
                                  {
                                    "type": "number"
                                  }
                                ]
                              }
                            },
                            "controls": {
                              "anyOf": [
                                {
                                  "type": "object",
                                  "required": [
                                    "file",
                                    "fields"
                                  ],
                                  "properties": {
                                    "file": {
                                      "type": "string",
                                      "format": "ends_with",
                                      "pattern": ".*\\.json$",
                                      "maxLength": 180,
                                      "minLength": 1
                                    },
                                    "fields": {
                                      "type": "array",
                                      "items": {
                                        "oneOf": [
                                          {
                                            "type": "object",
                                            "required": [
                                              "key",
                                              "label",
                                              "type",
                                              "maxLength"
                                            ],
                                            "properties": {
                                              "key": {
                                                "type": "string",
                                                "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
                                                "maxLength": 80,
                                                "minLength": 1
                                              },
                                              "type": {
                                                "type": "string",
                                                "const": "text"
                                              },
                                              "label": {
                                                "type": "string",
                                                "maxLength": 120,
                                                "minLength": 1
                                              },
                                              "maxLength": {
                                                "type": "integer",
                                                "maximum": 10000,
                                                "minimum": 1
                                              }
                                            },
                                            "additionalProperties": false
                                          },
                                          {
                                            "type": "object",
                                            "required": [
                                              "key",
                                              "label",
                                              "type"
                                            ],
                                            "properties": {
                                              "key": {
                                                "type": "string",
                                                "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
                                                "maxLength": 80,
                                                "minLength": 1
                                              },
                                              "type": {
                                                "type": "string",
                                                "const": "color"
                                              },
                                              "label": {
                                                "type": "string",
                                                "maxLength": 120,
                                                "minLength": 1
                                              }
                                            },
                                            "additionalProperties": false
                                          },
                                          {
                                            "type": "object",
                                            "required": [
                                              "key",
                                              "label",
                                              "type"
                                            ],
                                            "properties": {
                                              "key": {
                                                "type": "string",
                                                "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
                                                "maxLength": 80,
                                                "minLength": 1
                                              },
                                              "type": {
                                                "type": "string",
                                                "const": "media"
                                              },
                                              "label": {
                                                "type": "string",
                                                "maxLength": 120,
                                                "minLength": 1
                                              }
                                            },
                                            "additionalProperties": false
                                          },
                                          {
                                            "type": "object",
                                            "required": [
                                              "key",
                                              "label",
                                              "type",
                                              "min",
                                              "max",
                                              "step"
                                            ],
                                            "properties": {
                                              "key": {
                                                "type": "string",
                                                "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
                                                "maxLength": 80,
                                                "minLength": 1
                                              },
                                              "max": {
                                                "type": "number",
                                                "maximum": 10800
                                              },
                                              "min": {
                                                "type": "number",
                                                "minimum": 0
                                              },
                                              "step": {
                                                "type": "number",
                                                "exclusiveMinimum": 0
                                              },
                                              "type": {
                                                "type": "string",
                                                "const": "timing"
                                              },
                                              "label": {
                                                "type": "string",
                                                "maxLength": 120,
                                                "minLength": 1
                                              }
                                            },
                                            "additionalProperties": false
                                          }
                                        ]
                                      },
                                      "maxItems": 40,
                                      "minItems": 1
                                    }
                                  },
                                  "additionalProperties": false
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "frame_hash": {
                              "type": "string",
                              "pattern": "^[a-f0-9]{64}$"
                            },
                            "project_id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "artifact_id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "source_hash": {
                              "type": "string",
                              "pattern": "^[a-f0-9]{64}$"
                            },
                            "composition_id": {
                              "type": "string",
                              "minLength": 1
                            },
                            "media_asset_id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "source_revision": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "exclusiveMinimum": 0
                            },
                            "runtime_identity": {
                              "type": "string",
                              "minLength": 1
                            },
                            "source_revision_id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            }
                          },
                          "additionalProperties": false
                        },
                        "creative_artifact_id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "source_media_asset_id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        }
                      },
                      "additionalProperties": false
                    },
                    "photo_url": {
                      "anyOf": [
                        {
                          "type": "string",
                          "maxLength": 4000,
                          "minLength": 1
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "slot_urls": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {
                        "type": "string",
                        "maxLength": 4000,
                        "minLength": 1
                      }
                    }
                  },
                  "additionalProperties": false
                }
              },
              "can_undo": {
                "type": "boolean"
              },
              "platform": {
                "anyOf": [
                  {
                    "enum": [
                      "tiktok_photo",
                      "instagram_4x5",
                      "linkedin"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "revision": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string"
                    },
                    "field": {
                      "type": "string"
                    },
                    "repair": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "templates": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "label",
                    "family",
                    "slots"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "label": {
                      "type": "string"
                    },
                    "slots": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "key",
                          "label"
                        ],
                        "properties": {
                          "key": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          }
                        },
                        "additionalProperties": false
                      }
                    },
                    "family": {
                      "enum": [
                        "photo",
                        "designed"
                      ],
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "font_faces": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "family",
                    "src",
                    "weight",
                    "style",
                    "unicodeRange"
                  ],
                  "properties": {
                    "src": {
                      "type": "string",
                      "maxLength": 4000,
                      "minLength": 1
                    },
                    "style": {
                      "enum": [
                        "normal",
                        "italic",
                        "oblique"
                      ],
                      "type": "string"
                    },
                    "family": {
                      "type": "string",
                      "maxLength": 160,
                      "minLength": 1
                    },
                    "weight": {
                      "type": "string",
                      "maxLength": 32,
                      "minLength": 1
                    },
                    "unicodeRange": {
                      "type": "string",
                      "maxLength": 8000
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 256
              },
              "project_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "next_actions": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "method",
                    "path",
                    "reason"
                  ],
                  "properties": {
                    "path": {
                      "type": "string"
                    },
                    "method": {
                      "enum": [
                        "GET",
                        "POST",
                        "PATCH",
                        "DELETE"
                      ],
                      "type": "string"
                    },
                    "reason": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "mutationReceipt": {
                "type": "object",
                "required": [
                  "id",
                  "key",
                  "operation",
                  "status",
                  "replayed"
                ],
                "properties": {
                  "id": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "key": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "status": {
                    "enum": [
                      "completed"
                    ],
                    "type": "string"
                  },
                  "replayed": {
                    "type": "boolean"
                  },
                  "operation": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "carousels_apply_theme",
          "title": "Carousel apply theme",
          "description": "Replace this carousel's styling with an existing saved theme.",
          "inputSchema": {
            "type": "object",
            "required": [
              "idempotencyKey",
              "projectId",
              "themeId"
            ],
            "properties": {
              "themeId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "projectId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "UUID string."
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "idempotencyKey": {
                "type": "string",
                "maxLength": 200,
                "minLength": 8
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "properties": {
              "kit": {
                "type": "object",
                "required": [
                  "themes",
                  "templates",
                  "active_theme_id"
                ],
                "properties": {
                  "themes": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "name",
                        "scope",
                        "fontFamily",
                        "titleColor",
                        "bodyColor",
                        "background",
                        "pageColor",
                        "overlayEnabled",
                        "overlayOpacity"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "name": {
                          "type": "string",
                          "maxLength": 80,
                          "minLength": 1
                        },
                        "scope": {
                          "enum": [
                            "project",
                            "brand"
                          ],
                          "type": "string"
                        },
                        "bodyColor": {
                          "type": "string",
                          "pattern": "^#[0-9a-fA-F]{6}$"
                        },
                        "pageColor": {
                          "type": "string",
                          "default": "",
                          "maxLength": 32
                        },
                        "background": {
                          "type": "string",
                          "default": "",
                          "maxLength": 32
                        },
                        "fontFamily": {
                          "type": "string",
                          "default": "",
                          "maxLength": 80
                        },
                        "titleColor": {
                          "type": "string",
                          "pattern": "^#[0-9a-fA-F]{6}$"
                        },
                        "logoAssetId": {
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "overlayEnabled": {
                          "type": "boolean"
                        },
                        "overlayOpacity": {
                          "type": "integer",
                          "maximum": 100,
                          "minimum": 0
                        }
                      },
                      "additionalProperties": false
                    },
                    "maxItems": 40
                  },
                  "templates": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "name",
                        "scope",
                        "template_id",
                        "slots"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "name": {
                          "type": "string",
                          "maxLength": 80,
                          "minLength": 1
                        },
                        "scope": {
                          "enum": [
                            "project",
                            "brand"
                          ],
                          "type": "string"
                        },
                        "slots": {
                          "type": "object",
                          "propertyNames": {
                            "type": "string",
                            "maxLength": 80,
                            "minLength": 1
                          },
                          "additionalProperties": {
                            "type": "string",
                            "maxLength": 4000
                          }
                        },
                        "template_id": {
                          "type": "string",
                          "maxLength": 80,
                          "minLength": 1
                        }
                      },
                      "additionalProperties": false
                    },
                    "maxItems": 40
                  },
                  "active_theme_id": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "additionalProperties": false
              },
              "name": {
                "type": "string"
              },
              "frame": {
                "type": "object",
                "required": [
                  "width",
                  "height",
                  "aspect_ratio"
                ],
                "properties": {
                  "width": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991
                  },
                  "height": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991
                  },
                  "aspect_ratio": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "style": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "chip": {
                        "type": "object",
                        "properties": {
                          "color": {
                            "type": "string",
                            "maxLength": 32,
                            "minLength": 1
                          },
                          "radius": {
                            "type": "integer",
                            "maximum": 48,
                            "minimum": 0
                          },
                          "font_size": {
                            "type": "integer",
                            "maximum": 120,
                            "minimum": 12
                          },
                          "padding_x": {
                            "type": "integer",
                            "maximum": 80,
                            "minimum": 0
                          },
                          "padding_y": {
                            "type": "integer",
                            "maximum": 80,
                            "minimum": 0
                          },
                          "background": {
                            "type": "string",
                            "maxLength": 32,
                            "minLength": 1
                          },
                          "font_family": {
                            "type": "string",
                            "maxLength": 80,
                            "minLength": 1
                          },
                          "font_weight": {
                            "anyOf": [
                              {
                                "type": "integer",
                                "maximum": 900,
                                "minimum": 100
                              },
                              {
                                "type": "string"
                              }
                            ]
                          },
                          "max_lines_per_chip": {
                            "type": "integer",
                            "maximum": 4,
                            "minimum": 1
                          }
                        },
                        "additionalProperties": false
                      }
                    },
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "locale": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "slides": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "index",
                    "role",
                    "lines",
                    "slots",
                    "layout",
                    "visual"
                  ],
                  "properties": {
                    "role": {
                      "anyOf": [
                        {
                          "enum": [
                            "hook",
                            "body",
                            "proof",
                            "cta"
                          ],
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "index": {
                      "type": "integer",
                      "maximum": 9007199254740991,
                      "minimum": 0
                    },
                    "lines": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "slots": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string",
                        "maxLength": 80,
                        "minLength": 1
                      },
                      "additionalProperties": {
                        "type": "string",
                        "maxLength": 4000
                      }
                    },
                    "layout": {
                      "anyOf": [
                        {
                          "enum": [
                            "chip_stack_ui",
                            "chip_stack_face_safe",
                            "chip_stack_top",
                            "title_body_card"
                          ],
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "visual": {
                      "type": "object",
                      "required": [
                        "kind"
                      ],
                      "properties": {
                        "crop": {
                          "type": "object",
                          "required": [
                            "left",
                            "top",
                            "width",
                            "height"
                          ],
                          "properties": {
                            "top": {
                              "type": "number",
                              "maximum": 1,
                              "minimum": 0
                            },
                            "left": {
                              "type": "number",
                              "maximum": 1,
                              "minimum": 0
                            },
                            "width": {
                              "type": "number",
                              "maximum": 1,
                              "exclusiveMinimum": 0
                            },
                            "height": {
                              "type": "number",
                              "maximum": 1,
                              "exclusiveMinimum": 0
                            }
                          },
                          "additionalProperties": false
                        },
                        "html": {
                          "type": "string",
                          "maxLength": 80000,
                          "minLength": 20
                        },
                        "kind": {
                          "enum": [
                            "creative_source",
                            "media_asset",
                            "generate",
                            "solid",
                            "gradient",
                            "html",
                            "template"
                          ],
                          "type": "string"
                        },
                        "color": {
                          "type": "string",
                          "pattern": "^#[0-9a-fA-F]{6}$"
                        },
                        "colors": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "pattern": "^#[0-9a-fA-F]{6}$"
                          },
                          "maxItems": 2,
                          "minItems": 1
                        },
                        "prompt": {
                          "type": "string",
                          "maxLength": 1000,
                          "minLength": 3
                        },
                        "model_id": {
                          "type": "string",
                          "maxLength": 120,
                          "minLength": 1
                        },
                        "template_id": {
                          "type": "string",
                          "maxLength": 80,
                          "minLength": 1
                        },
                        "media_asset_id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "creative_source": {
                          "type": "object",
                          "required": [
                            "artifact_id",
                            "project_id",
                            "source_revision_id",
                            "source_revision",
                            "source_hash",
                            "runtime_identity",
                            "composition_id",
                            "frame",
                            "width",
                            "height",
                            "fps",
                            "frame_hash",
                            "media_asset_id",
                            "controls",
                            "values"
                          ],
                          "properties": {
                            "fps": {
                              "type": "number",
                              "exclusiveMinimum": 0
                            },
                            "frame": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "minimum": 0
                            },
                            "width": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "exclusiveMinimum": 0
                            },
                            "height": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "exclusiveMinimum": 0
                            },
                            "values": {
                              "type": "object",
                              "propertyNames": {
                                "type": "string",
                                "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
                                "maxLength": 80,
                                "minLength": 1
                              },
                              "additionalProperties": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "maxLength": 10000
                                  },
                                  {
                                    "type": "number"
                                  }
                                ]
                              }
                            },
                            "controls": {
                              "anyOf": [
                                {
                                  "type": "object",
                                  "required": [
                                    "file",
                                    "fields"
                                  ],
                                  "properties": {
                                    "file": {
                                      "type": "string",
                                      "format": "ends_with",
                                      "pattern": ".*\\.json$",
                                      "maxLength": 180,
                                      "minLength": 1
                                    },
                                    "fields": {
                                      "type": "array",
                                      "items": {
                                        "oneOf": [
                                          {
                                            "type": "object",
                                            "required": [
                                              "key",
                                              "label",
                                              "type",
                                              "maxLength"
                                            ],
                                            "properties": {
                                              "key": {
                                                "type": "string",
                                                "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
                                                "maxLength": 80,
                                                "minLength": 1
                                              },
                                              "type": {
                                                "type": "string",
                                                "const": "text"
                                              },
                                              "label": {
                                                "type": "string",
                                                "maxLength": 120,
                                                "minLength": 1
                                              },
                                              "maxLength": {
                                                "type": "integer",
                                                "maximum": 10000,
                                                "minimum": 1
                                              }
                                            },
                                            "additionalProperties": false
                                          },
                                          {
                                            "type": "object",
                                            "required": [
                                              "key",
                                              "label",
                                              "type"
                                            ],
                                            "properties": {
                                              "key": {
                                                "type": "string",
                                                "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
                                                "maxLength": 80,
                                                "minLength": 1
                                              },
                                              "type": {
                                                "type": "string",
                                                "const": "color"
                                              },
                                              "label": {
                                                "type": "string",
                                                "maxLength": 120,
                                                "minLength": 1
                                              }
                                            },
                                            "additionalProperties": false
                                          },
                                          {
                                            "type": "object",
                                            "required": [
                                              "key",
                                              "label",
                                              "type"
                                            ],
                                            "properties": {
                                              "key": {
                                                "type": "string",
                                                "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
                                                "maxLength": 80,
                                                "minLength": 1
                                              },
                                              "type": {
                                                "type": "string",
                                                "const": "media"
                                              },
                                              "label": {
                                                "type": "string",
                                                "maxLength": 120,
                                                "minLength": 1
                                              }
                                            },
                                            "additionalProperties": false
                                          },
                                          {
                                            "type": "object",
                                            "required": [
                                              "key",
                                              "label",
                                              "type",
                                              "min",
                                              "max",
                                              "step"
                                            ],
                                            "properties": {
                                              "key": {
                                                "type": "string",
                                                "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
                                                "maxLength": 80,
                                                "minLength": 1
                                              },
                                              "max": {
                                                "type": "number",
                                                "maximum": 10800
                                              },
                                              "min": {
                                                "type": "number",
                                                "minimum": 0
                                              },
                                              "step": {
                                                "type": "number",
                                                "exclusiveMinimum": 0
                                              },
                                              "type": {
                                                "type": "string",
                                                "const": "timing"
                                              },
                                              "label": {
                                                "type": "string",
                                                "maxLength": 120,
                                                "minLength": 1
                                              }
                                            },
                                            "additionalProperties": false
                                          }
                                        ]
                                      },
                                      "maxItems": 40,
                                      "minItems": 1
                                    }
                                  },
                                  "additionalProperties": false
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "frame_hash": {
                              "type": "string",
                              "pattern": "^[a-f0-9]{64}$"
                            },
                            "project_id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "artifact_id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "source_hash": {
                              "type": "string",
                              "pattern": "^[a-f0-9]{64}$"
                            },
                            "composition_id": {
                              "type": "string",
                              "minLength": 1
                            },
                            "media_asset_id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "source_revision": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "exclusiveMinimum": 0
                            },
                            "runtime_identity": {
                              "type": "string",
                              "minLength": 1
                            },
                            "source_revision_id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            }
                          },
                          "additionalProperties": false
                        },
                        "creative_artifact_id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "source_media_asset_id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        }
                      },
                      "additionalProperties": false
                    },
                    "photo_url": {
                      "anyOf": [
                        {
                          "type": "string",
                          "maxLength": 4000,
                          "minLength": 1
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "slot_urls": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {
                        "type": "string",
                        "maxLength": 4000,
                        "minLength": 1
                      }
                    }
                  },
                  "additionalProperties": false
                }
              },
              "can_undo": {
                "type": "boolean"
              },
              "platform": {
                "anyOf": [
                  {
                    "enum": [
                      "tiktok_photo",
                      "instagram_4x5",
                      "linkedin"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "revision": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string"
                    },
                    "field": {
                      "type": "string"
                    },
                    "repair": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "templates": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "label",
                    "family",
                    "slots"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "label": {
                      "type": "string"
                    },
                    "slots": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "key",
                          "label"
                        ],
                        "properties": {
                          "key": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          }
                        },
                        "additionalProperties": false
                      }
                    },
                    "family": {
                      "enum": [
                        "photo",
                        "designed"
                      ],
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "font_faces": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "family",
                    "src",
                    "weight",
                    "style",
                    "unicodeRange"
                  ],
                  "properties": {
                    "src": {
                      "type": "string",
                      "maxLength": 4000,
                      "minLength": 1
                    },
                    "style": {
                      "enum": [
                        "normal",
                        "italic",
                        "oblique"
                      ],
                      "type": "string"
                    },
                    "family": {
                      "type": "string",
                      "maxLength": 160,
                      "minLength": 1
                    },
                    "weight": {
                      "type": "string",
                      "maxLength": 32,
                      "minLength": 1
                    },
                    "unicodeRange": {
                      "type": "string",
                      "maxLength": 8000
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 256
              },
              "project_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "next_actions": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "method",
                    "path",
                    "reason"
                  ],
                  "properties": {
                    "path": {
                      "type": "string"
                    },
                    "method": {
                      "enum": [
                        "GET",
                        "POST",
                        "PATCH",
                        "DELETE"
                      ],
                      "type": "string"
                    },
                    "reason": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "mutationReceipt": {
                "type": "object",
                "required": [
                  "id",
                  "key",
                  "operation",
                  "status",
                  "replayed"
                ],
                "properties": {
                  "id": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "key": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "status": {
                    "enum": [
                      "completed"
                    ],
                    "type": "string"
                  },
                  "replayed": {
                    "type": "boolean"
                  },
                  "operation": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "carousels_delete_theme",
          "title": "Carousel delete theme",
          "description": "Delete one saved private carousel theme.",
          "inputSchema": {
            "type": "object",
            "required": [
              "idempotencyKey",
              "projectId",
              "themeId"
            ],
            "properties": {
              "themeId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "projectId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "UUID string."
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "idempotencyKey": {
                "type": "string",
                "maxLength": 200,
                "minLength": 8
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "properties": {
              "kit": {
                "type": "object",
                "required": [
                  "themes",
                  "templates",
                  "active_theme_id"
                ],
                "properties": {
                  "themes": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "name",
                        "scope",
                        "fontFamily",
                        "titleColor",
                        "bodyColor",
                        "background",
                        "pageColor",
                        "overlayEnabled",
                        "overlayOpacity"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "name": {
                          "type": "string",
                          "maxLength": 80,
                          "minLength": 1
                        },
                        "scope": {
                          "enum": [
                            "project",
                            "brand"
                          ],
                          "type": "string"
                        },
                        "bodyColor": {
                          "type": "string",
                          "pattern": "^#[0-9a-fA-F]{6}$"
                        },
                        "pageColor": {
                          "type": "string",
                          "default": "",
                          "maxLength": 32
                        },
                        "background": {
                          "type": "string",
                          "default": "",
                          "maxLength": 32
                        },
                        "fontFamily": {
                          "type": "string",
                          "default": "",
                          "maxLength": 80
                        },
                        "titleColor": {
                          "type": "string",
                          "pattern": "^#[0-9a-fA-F]{6}$"
                        },
                        "logoAssetId": {
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "overlayEnabled": {
                          "type": "boolean"
                        },
                        "overlayOpacity": {
                          "type": "integer",
                          "maximum": 100,
                          "minimum": 0
                        }
                      },
                      "additionalProperties": false
                    },
                    "maxItems": 40
                  },
                  "templates": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "name",
                        "scope",
                        "template_id",
                        "slots"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "name": {
                          "type": "string",
                          "maxLength": 80,
                          "minLength": 1
                        },
                        "scope": {
                          "enum": [
                            "project",
                            "brand"
                          ],
                          "type": "string"
                        },
                        "slots": {
                          "type": "object",
                          "propertyNames": {
                            "type": "string",
                            "maxLength": 80,
                            "minLength": 1
                          },
                          "additionalProperties": {
                            "type": "string",
                            "maxLength": 4000
                          }
                        },
                        "template_id": {
                          "type": "string",
                          "maxLength": 80,
                          "minLength": 1
                        }
                      },
                      "additionalProperties": false
                    },
                    "maxItems": 40
                  },
                  "active_theme_id": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "additionalProperties": false
              },
              "name": {
                "type": "string"
              },
              "frame": {
                "type": "object",
                "required": [
                  "width",
                  "height",
                  "aspect_ratio"
                ],
                "properties": {
                  "width": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991
                  },
                  "height": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991
                  },
                  "aspect_ratio": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "style": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "chip": {
                        "type": "object",
                        "properties": {
                          "color": {
                            "type": "string",
                            "maxLength": 32,
                            "minLength": 1
                          },
                          "radius": {
                            "type": "integer",
                            "maximum": 48,
                            "minimum": 0
                          },
                          "font_size": {
                            "type": "integer",
                            "maximum": 120,
                            "minimum": 12
                          },
                          "padding_x": {
                            "type": "integer",
                            "maximum": 80,
                            "minimum": 0
                          },
                          "padding_y": {
                            "type": "integer",
                            "maximum": 80,
                            "minimum": 0
                          },
                          "background": {
                            "type": "string",
                            "maxLength": 32,
                            "minLength": 1
                          },
                          "font_family": {
                            "type": "string",
                            "maxLength": 80,
                            "minLength": 1
                          },
                          "font_weight": {
                            "anyOf": [
                              {
                                "type": "integer",
                                "maximum": 900,
                                "minimum": 100
                              },
                              {
                                "type": "string"
                              }
                            ]
                          },
                          "max_lines_per_chip": {
                            "type": "integer",
                            "maximum": 4,
                            "minimum": 1
                          }
                        },
                        "additionalProperties": false
                      }
                    },
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "locale": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "slides": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "index",
                    "role",
                    "lines",
                    "slots",
                    "layout",
                    "visual"
                  ],
                  "properties": {
                    "role": {
                      "anyOf": [
                        {
                          "enum": [
                            "hook",
                            "body",
                            "proof",
                            "cta"
                          ],
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "index": {
                      "type": "integer",
                      "maximum": 9007199254740991,
                      "minimum": 0
                    },
                    "lines": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "slots": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string",
                        "maxLength": 80,
                        "minLength": 1
                      },
                      "additionalProperties": {
                        "type": "string",
                        "maxLength": 4000
                      }
                    },
                    "layout": {
                      "anyOf": [
                        {
                          "enum": [
                            "chip_stack_ui",
                            "chip_stack_face_safe",
                            "chip_stack_top",
                            "title_body_card"
                          ],
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "visual": {
                      "type": "object",
                      "required": [
                        "kind"
                      ],
                      "properties": {
                        "crop": {
                          "type": "object",
                          "required": [
                            "left",
                            "top",
                            "width",
                            "height"
                          ],
                          "properties": {
                            "top": {
                              "type": "number",
                              "maximum": 1,
                              "minimum": 0
                            },
                            "left": {
                              "type": "number",
                              "maximum": 1,
                              "minimum": 0
                            },
                            "width": {
                              "type": "number",
                              "maximum": 1,
                              "exclusiveMinimum": 0
                            },
                            "height": {
                              "type": "number",
                              "maximum": 1,
                              "exclusiveMinimum": 0
                            }
                          },
                          "additionalProperties": false
                        },
                        "html": {
                          "type": "string",
                          "maxLength": 80000,
                          "minLength": 20
                        },
                        "kind": {
                          "enum": [
                            "creative_source",
                            "media_asset",
                            "generate",
                            "solid",
                            "gradient",
                            "html",
                            "template"
                          ],
                          "type": "string"
                        },
                        "color": {
                          "type": "string",
                          "pattern": "^#[0-9a-fA-F]{6}$"
                        },
                        "colors": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "pattern": "^#[0-9a-fA-F]{6}$"
                          },
                          "maxItems": 2,
                          "minItems": 1
                        },
                        "prompt": {
                          "type": "string",
                          "maxLength": 1000,
                          "minLength": 3
                        },
                        "model_id": {
                          "type": "string",
                          "maxLength": 120,
                          "minLength": 1
                        },
                        "template_id": {
                          "type": "string",
                          "maxLength": 80,
                          "minLength": 1
                        },
                        "media_asset_id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "creative_source": {
                          "type": "object",
                          "required": [
                            "artifact_id",
                            "project_id",
                            "source_revision_id",
                            "source_revision",
                            "source_hash",
                            "runtime_identity",
                            "composition_id",
                            "frame",
                            "width",
                            "height",
                            "fps",
                            "frame_hash",
                            "media_asset_id",
                            "controls",
                            "values"
                          ],
                          "properties": {
                            "fps": {
                              "type": "number",
                              "exclusiveMinimum": 0
                            },
                            "frame": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "minimum": 0
                            },
                            "width": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "exclusiveMinimum": 0
                            },
                            "height": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "exclusiveMinimum": 0
                            },
                            "values": {
                              "type": "object",
                              "propertyNames": {
                                "type": "string",
                                "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
                                "maxLength": 80,
                                "minLength": 1
                              },
                              "additionalProperties": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "maxLength": 10000
                                  },
                                  {
                                    "type": "number"
                                  }
                                ]
                              }
                            },
                            "controls": {
                              "anyOf": [
                                {
                                  "type": "object",
                                  "required": [
                                    "file",
                                    "fields"
                                  ],
                                  "properties": {
                                    "file": {
                                      "type": "string",
                                      "format": "ends_with",
                                      "pattern": ".*\\.json$",
                                      "maxLength": 180,
                                      "minLength": 1
                                    },
                                    "fields": {
                                      "type": "array",
                                      "items": {
                                        "oneOf": [
                                          {
                                            "type": "object",
                                            "required": [
                                              "key",
                                              "label",
                                              "type",
                                              "maxLength"
                                            ],
                                            "properties": {
                                              "key": {
                                                "type": "string",
                                                "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
                                                "maxLength": 80,
                                                "minLength": 1
                                              },
                                              "type": {
                                                "type": "string",
                                                "const": "text"
                                              },
                                              "label": {
                                                "type": "string",
                                                "maxLength": 120,
                                                "minLength": 1
                                              },
                                              "maxLength": {
                                                "type": "integer",
                                                "maximum": 10000,
                                                "minimum": 1
                                              }
                                            },
                                            "additionalProperties": false
                                          },
                                          {
                                            "type": "object",
                                            "required": [
                                              "key",
                                              "label",
                                              "type"
                                            ],
                                            "properties": {
                                              "key": {
                                                "type": "string",
                                                "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
                                                "maxLength": 80,
                                                "minLength": 1
                                              },
                                              "type": {
                                                "type": "string",
                                                "const": "color"
                                              },
                                              "label": {
                                                "type": "string",
                                                "maxLength": 120,
                                                "minLength": 1
                                              }
                                            },
                                            "additionalProperties": false
                                          },
                                          {
                                            "type": "object",
                                            "required": [
                                              "key",
                                              "label",
                                              "type"
                                            ],
                                            "properties": {
                                              "key": {
                                                "type": "string",
                                                "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
                                                "maxLength": 80,
                                                "minLength": 1
                                              },
                                              "type": {
                                                "type": "string",
                                                "const": "media"
                                              },
                                              "label": {
                                                "type": "string",
                                                "maxLength": 120,
                                                "minLength": 1
                                              }
                                            },
                                            "additionalProperties": false
                                          },
                                          {
                                            "type": "object",
                                            "required": [
                                              "key",
                                              "label",
                                              "type",
                                              "min",
                                              "max",
                                              "step"
                                            ],
                                            "properties": {
                                              "key": {
                                                "type": "string",
                                                "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
                                                "maxLength": 80,
                                                "minLength": 1
                                              },
                                              "max": {
                                                "type": "number",
                                                "maximum": 10800
                                              },
                                              "min": {
                                                "type": "number",
                                                "minimum": 0
                                              },
                                              "step": {
                                                "type": "number",
                                                "exclusiveMinimum": 0
                                              },
                                              "type": {
                                                "type": "string",
                                                "const": "timing"
                                              },
                                              "label": {
                                                "type": "string",
                                                "maxLength": 120,
                                                "minLength": 1
                                              }
                                            },
                                            "additionalProperties": false
                                          }
                                        ]
                                      },
                                      "maxItems": 40,
                                      "minItems": 1
                                    }
                                  },
                                  "additionalProperties": false
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "frame_hash": {
                              "type": "string",
                              "pattern": "^[a-f0-9]{64}$"
                            },
                            "project_id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "artifact_id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "source_hash": {
                              "type": "string",
                              "pattern": "^[a-f0-9]{64}$"
                            },
                            "composition_id": {
                              "type": "string",
                              "minLength": 1
                            },
                            "media_asset_id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "source_revision": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "exclusiveMinimum": 0
                            },
                            "runtime_identity": {
                              "type": "string",
                              "minLength": 1
                            },
                            "source_revision_id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            }
                          },
                          "additionalProperties": false
                        },
                        "creative_artifact_id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "source_media_asset_id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        }
                      },
                      "additionalProperties": false
                    },
                    "photo_url": {
                      "anyOf": [
                        {
                          "type": "string",
                          "maxLength": 4000,
                          "minLength": 1
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "slot_urls": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {
                        "type": "string",
                        "maxLength": 4000,
                        "minLength": 1
                      }
                    }
                  },
                  "additionalProperties": false
                }
              },
              "can_undo": {
                "type": "boolean"
              },
              "platform": {
                "anyOf": [
                  {
                    "enum": [
                      "tiktok_photo",
                      "instagram_4x5",
                      "linkedin"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "revision": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string"
                    },
                    "field": {
                      "type": "string"
                    },
                    "repair": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "templates": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "label",
                    "family",
                    "slots"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "label": {
                      "type": "string"
                    },
                    "slots": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "key",
                          "label"
                        ],
                        "properties": {
                          "key": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          }
                        },
                        "additionalProperties": false
                      }
                    },
                    "family": {
                      "enum": [
                        "photo",
                        "designed"
                      ],
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "font_faces": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "family",
                    "src",
                    "weight",
                    "style",
                    "unicodeRange"
                  ],
                  "properties": {
                    "src": {
                      "type": "string",
                      "maxLength": 4000,
                      "minLength": 1
                    },
                    "style": {
                      "enum": [
                        "normal",
                        "italic",
                        "oblique"
                      ],
                      "type": "string"
                    },
                    "family": {
                      "type": "string",
                      "maxLength": 160,
                      "minLength": 1
                    },
                    "weight": {
                      "type": "string",
                      "maxLength": 32,
                      "minLength": 1
                    },
                    "unicodeRange": {
                      "type": "string",
                      "maxLength": 8000
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 256
              },
              "project_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "next_actions": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "method",
                    "path",
                    "reason"
                  ],
                  "properties": {
                    "path": {
                      "type": "string"
                    },
                    "method": {
                      "enum": [
                        "GET",
                        "POST",
                        "PATCH",
                        "DELETE"
                      ],
                      "type": "string"
                    },
                    "reason": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "mutationReceipt": {
                "type": "object",
                "required": [
                  "id",
                  "key",
                  "operation",
                  "status",
                  "replayed"
                ],
                "properties": {
                  "id": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "key": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "status": {
                    "enum": [
                      "completed"
                    ],
                    "type": "string"
                  },
                  "replayed": {
                    "type": "boolean"
                  },
                  "operation": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "carousels_save_template",
          "title": "Carousel save template",
          "description": "Save one carousel slide as a private template; removes the oldest saved template when the 40-template limit is reached.",
          "inputSchema": {
            "type": "object",
            "required": [
              "idempotencyKey",
              "projectId",
              "name",
              "slideIndex"
            ],
            "properties": {
              "name": {
                "type": "string",
                "maxLength": 80,
                "minLength": 1
              },
              "scope": {
                "enum": [
                  "project",
                  "brand"
                ],
                "type": "string"
              },
              "projectId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "UUID string."
              },
              "slideIndex": {
                "type": "integer",
                "maximum": 34,
                "minimum": 0
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "idempotencyKey": {
                "type": "string",
                "maxLength": 200,
                "minLength": 8
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "properties": {
              "kit": {
                "type": "object",
                "required": [
                  "themes",
                  "templates",
                  "active_theme_id"
                ],
                "properties": {
                  "themes": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "name",
                        "scope",
                        "fontFamily",
                        "titleColor",
                        "bodyColor",
                        "background",
                        "pageColor",
                        "overlayEnabled",
                        "overlayOpacity"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "name": {
                          "type": "string",
                          "maxLength": 80,
                          "minLength": 1
                        },
                        "scope": {
                          "enum": [
                            "project",
                            "brand"
                          ],
                          "type": "string"
                        },
                        "bodyColor": {
                          "type": "string",
                          "pattern": "^#[0-9a-fA-F]{6}$"
                        },
                        "pageColor": {
                          "type": "string",
                          "default": "",
                          "maxLength": 32
                        },
                        "background": {
                          "type": "string",
                          "default": "",
                          "maxLength": 32
                        },
                        "fontFamily": {
                          "type": "string",
                          "default": "",
                          "maxLength": 80
                        },
                        "titleColor": {
                          "type": "string",
                          "pattern": "^#[0-9a-fA-F]{6}$"
                        },
                        "logoAssetId": {
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "overlayEnabled": {
                          "type": "boolean"
                        },
                        "overlayOpacity": {
                          "type": "integer",
                          "maximum": 100,
                          "minimum": 0
                        }
                      },
                      "additionalProperties": false
                    },
                    "maxItems": 40
                  },
                  "templates": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "name",
                        "scope",
                        "template_id",
                        "slots"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "name": {
                          "type": "string",
                          "maxLength": 80,
                          "minLength": 1
                        },
                        "scope": {
                          "enum": [
                            "project",
                            "brand"
                          ],
                          "type": "string"
                        },
                        "slots": {
                          "type": "object",
                          "propertyNames": {
                            "type": "string",
                            "maxLength": 80,
                            "minLength": 1
                          },
                          "additionalProperties": {
                            "type": "string",
                            "maxLength": 4000
                          }
                        },
                        "template_id": {
                          "type": "string",
                          "maxLength": 80,
                          "minLength": 1
                        }
                      },
                      "additionalProperties": false
                    },
                    "maxItems": 40
                  },
                  "active_theme_id": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "additionalProperties": false
              },
              "name": {
                "type": "string"
              },
              "frame": {
                "type": "object",
                "required": [
                  "width",
                  "height",
                  "aspect_ratio"
                ],
                "properties": {
                  "width": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991
                  },
                  "height": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991
                  },
                  "aspect_ratio": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "style": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "chip": {
                        "type": "object",
                        "properties": {
                          "color": {
                            "type": "string",
                            "maxLength": 32,
                            "minLength": 1
                          },
                          "radius": {
                            "type": "integer",
                            "maximum": 48,
                            "minimum": 0
                          },
                          "font_size": {
                            "type": "integer",
                            "maximum": 120,
                            "minimum": 12
                          },
                          "padding_x": {
                            "type": "integer",
                            "maximum": 80,
                            "minimum": 0
                          },
                          "padding_y": {
                            "type": "integer",
                            "maximum": 80,
                            "minimum": 0
                          },
                          "background": {
                            "type": "string",
                            "maxLength": 32,
                            "minLength": 1
                          },
                          "font_family": {
                            "type": "string",
                            "maxLength": 80,
                            "minLength": 1
                          },
                          "font_weight": {
                            "anyOf": [
                              {
                                "type": "integer",
                                "maximum": 900,
                                "minimum": 100
                              },
                              {
                                "type": "string"
                              }
                            ]
                          },
                          "max_lines_per_chip": {
                            "type": "integer",
                            "maximum": 4,
                            "minimum": 1
                          }
                        },
                        "additionalProperties": false
                      }
                    },
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "locale": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "slides": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "index",
                    "role",
                    "lines",
                    "slots",
                    "layout",
                    "visual"
                  ],
                  "properties": {
                    "role": {
                      "anyOf": [
                        {
                          "enum": [
                            "hook",
                            "body",
                            "proof",
                            "cta"
                          ],
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "index": {
                      "type": "integer",
                      "maximum": 9007199254740991,
                      "minimum": 0
                    },
                    "lines": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "slots": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string",
                        "maxLength": 80,
                        "minLength": 1
                      },
                      "additionalProperties": {
                        "type": "string",
                        "maxLength": 4000
                      }
                    },
                    "layout": {
                      "anyOf": [
                        {
                          "enum": [
                            "chip_stack_ui",
                            "chip_stack_face_safe",
                            "chip_stack_top",
                            "title_body_card"
                          ],
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "visual": {
                      "type": "object",
                      "required": [
                        "kind"
                      ],
                      "properties": {
                        "crop": {
                          "type": "object",
                          "required": [
                            "left",
                            "top",
                            "width",
                            "height"
                          ],
                          "properties": {
                            "top": {
                              "type": "number",
                              "maximum": 1,
                              "minimum": 0
                            },
                            "left": {
                              "type": "number",
                              "maximum": 1,
                              "minimum": 0
                            },
                            "width": {
                              "type": "number",
                              "maximum": 1,
                              "exclusiveMinimum": 0
                            },
                            "height": {
                              "type": "number",
                              "maximum": 1,
                              "exclusiveMinimum": 0
                            }
                          },
                          "additionalProperties": false
                        },
                        "html": {
                          "type": "string",
                          "maxLength": 80000,
                          "minLength": 20
                        },
                        "kind": {
                          "enum": [
                            "creative_source",
                            "media_asset",
                            "generate",
                            "solid",
                            "gradient",
                            "html",
                            "template"
                          ],
                          "type": "string"
                        },
                        "color": {
                          "type": "string",
                          "pattern": "^#[0-9a-fA-F]{6}$"
                        },
                        "colors": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "pattern": "^#[0-9a-fA-F]{6}$"
                          },
                          "maxItems": 2,
                          "minItems": 1
                        },
                        "prompt": {
                          "type": "string",
                          "maxLength": 1000,
                          "minLength": 3
                        },
                        "model_id": {
                          "type": "string",
                          "maxLength": 120,
                          "minLength": 1
                        },
                        "template_id": {
                          "type": "string",
                          "maxLength": 80,
                          "minLength": 1
                        },
                        "media_asset_id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "creative_source": {
                          "type": "object",
                          "required": [
                            "artifact_id",
                            "project_id",
                            "source_revision_id",
                            "source_revision",
                            "source_hash",
                            "runtime_identity",
                            "composition_id",
                            "frame",
                            "width",
                            "height",
                            "fps",
                            "frame_hash",
                            "media_asset_id",
                            "controls",
                            "values"
                          ],
                          "properties": {
                            "fps": {
                              "type": "number",
                              "exclusiveMinimum": 0
                            },
                            "frame": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "minimum": 0
                            },
                            "width": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "exclusiveMinimum": 0
                            },
                            "height": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "exclusiveMinimum": 0
                            },
                            "values": {
                              "type": "object",
                              "propertyNames": {
                                "type": "string",
                                "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
                                "maxLength": 80,
                                "minLength": 1
                              },
                              "additionalProperties": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "maxLength": 10000
                                  },
                                  {
                                    "type": "number"
                                  }
                                ]
                              }
                            },
                            "controls": {
                              "anyOf": [
                                {
                                  "type": "object",
                                  "required": [
                                    "file",
                                    "fields"
                                  ],
                                  "properties": {
                                    "file": {
                                      "type": "string",
                                      "format": "ends_with",
                                      "pattern": ".*\\.json$",
                                      "maxLength": 180,
                                      "minLength": 1
                                    },
                                    "fields": {
                                      "type": "array",
                                      "items": {
                                        "oneOf": [
                                          {
                                            "type": "object",
                                            "required": [
                                              "key",
                                              "label",
                                              "type",
                                              "maxLength"
                                            ],
                                            "properties": {
                                              "key": {
                                                "type": "string",
                                                "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
                                                "maxLength": 80,
                                                "minLength": 1
                                              },
                                              "type": {
                                                "type": "string",
                                                "const": "text"
                                              },
                                              "label": {
                                                "type": "string",
                                                "maxLength": 120,
                                                "minLength": 1
                                              },
                                              "maxLength": {
                                                "type": "integer",
                                                "maximum": 10000,
                                                "minimum": 1
                                              }
                                            },
                                            "additionalProperties": false
                                          },
                                          {
                                            "type": "object",
                                            "required": [
                                              "key",
                                              "label",
                                              "type"
                                            ],
                                            "properties": {
                                              "key": {
                                                "type": "string",
                                                "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
                                                "maxLength": 80,
                                                "minLength": 1
                                              },
                                              "type": {
                                                "type": "string",
                                                "const": "color"
                                              },
                                              "label": {
                                                "type": "string",
                                                "maxLength": 120,
                                                "minLength": 1
                                              }
                                            },
                                            "additionalProperties": false
                                          },
                                          {
                                            "type": "object",
                                            "required": [
                                              "key",
                                              "label",
                                              "type"
                                            ],
                                            "properties": {
                                              "key": {
                                                "type": "string",
                                                "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
                                                "maxLength": 80,
                                                "minLength": 1
                                              },
                                              "type": {
                                                "type": "string",
                                                "const": "media"
                                              },
                                              "label": {
                                                "type": "string",
                                                "maxLength": 120,
                                                "minLength": 1
                                              }
                                            },
                                            "additionalProperties": false
                                          },
                                          {
                                            "type": "object",
                                            "required": [
                                              "key",
                                              "label",
                                              "type",
                                              "min",
                                              "max",
                                              "step"
                                            ],
                                            "properties": {
                                              "key": {
                                                "type": "string",
                                                "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
                                                "maxLength": 80,
                                                "minLength": 1
                                              },
                                              "max": {
                                                "type": "number",
                                                "maximum": 10800
                                              },
                                              "min": {
                                                "type": "number",
                                                "minimum": 0
                                              },
                                              "step": {
                                                "type": "number",
                                                "exclusiveMinimum": 0
                                              },
                                              "type": {
                                                "type": "string",
                                                "const": "timing"
                                              },
                                              "label": {
                                                "type": "string",
                                                "maxLength": 120,
                                                "minLength": 1
                                              }
                                            },
                                            "additionalProperties": false
                                          }
                                        ]
                                      },
                                      "maxItems": 40,
                                      "minItems": 1
                                    }
                                  },
                                  "additionalProperties": false
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "frame_hash": {
                              "type": "string",
                              "pattern": "^[a-f0-9]{64}$"
                            },
                            "project_id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "artifact_id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "source_hash": {
                              "type": "string",
                              "pattern": "^[a-f0-9]{64}$"
                            },
                            "composition_id": {
                              "type": "string",
                              "minLength": 1
                            },
                            "media_asset_id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "source_revision": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "exclusiveMinimum": 0
                            },
                            "runtime_identity": {
                              "type": "string",
                              "minLength": 1
                            },
                            "source_revision_id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            }
                          },
                          "additionalProperties": false
                        },
                        "creative_artifact_id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "source_media_asset_id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        }
                      },
                      "additionalProperties": false
                    },
                    "photo_url": {
                      "anyOf": [
                        {
                          "type": "string",
                          "maxLength": 4000,
                          "minLength": 1
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "slot_urls": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {
                        "type": "string",
                        "maxLength": 4000,
                        "minLength": 1
                      }
                    }
                  },
                  "additionalProperties": false
                }
              },
              "can_undo": {
                "type": "boolean"
              },
              "platform": {
                "anyOf": [
                  {
                    "enum": [
                      "tiktok_photo",
                      "instagram_4x5",
                      "linkedin"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "revision": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string"
                    },
                    "field": {
                      "type": "string"
                    },
                    "repair": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "templates": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "label",
                    "family",
                    "slots"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "label": {
                      "type": "string"
                    },
                    "slots": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "key",
                          "label"
                        ],
                        "properties": {
                          "key": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          }
                        },
                        "additionalProperties": false
                      }
                    },
                    "family": {
                      "enum": [
                        "photo",
                        "designed"
                      ],
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "font_faces": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "family",
                    "src",
                    "weight",
                    "style",
                    "unicodeRange"
                  ],
                  "properties": {
                    "src": {
                      "type": "string",
                      "maxLength": 4000,
                      "minLength": 1
                    },
                    "style": {
                      "enum": [
                        "normal",
                        "italic",
                        "oblique"
                      ],
                      "type": "string"
                    },
                    "family": {
                      "type": "string",
                      "maxLength": 160,
                      "minLength": 1
                    },
                    "weight": {
                      "type": "string",
                      "maxLength": 32,
                      "minLength": 1
                    },
                    "unicodeRange": {
                      "type": "string",
                      "maxLength": 8000
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 256
              },
              "project_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "next_actions": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "method",
                    "path",
                    "reason"
                  ],
                  "properties": {
                    "path": {
                      "type": "string"
                    },
                    "method": {
                      "enum": [
                        "GET",
                        "POST",
                        "PATCH",
                        "DELETE"
                      ],
                      "type": "string"
                    },
                    "reason": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "mutationReceipt": {
                "type": "object",
                "required": [
                  "id",
                  "key",
                  "operation",
                  "status",
                  "replayed"
                ],
                "properties": {
                  "id": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "key": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "status": {
                    "enum": [
                      "completed"
                    ],
                    "type": "string"
                  },
                  "replayed": {
                    "type": "boolean"
                  },
                  "operation": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "carousels_apply_template",
          "title": "Carousel apply template",
          "description": "Replace one carousel slide with a saved private template.",
          "inputSchema": {
            "type": "object",
            "required": [
              "idempotencyKey",
              "projectId",
              "savedTemplateId",
              "slideIndex"
            ],
            "properties": {
              "projectId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "UUID string."
              },
              "slideIndex": {
                "type": "integer",
                "maximum": 34,
                "minimum": 0
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "idempotencyKey": {
                "type": "string",
                "maxLength": 200,
                "minLength": 8
              },
              "savedTemplateId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "properties": {
              "kit": {
                "type": "object",
                "required": [
                  "themes",
                  "templates",
                  "active_theme_id"
                ],
                "properties": {
                  "themes": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "name",
                        "scope",
                        "fontFamily",
                        "titleColor",
                        "bodyColor",
                        "background",
                        "pageColor",
                        "overlayEnabled",
                        "overlayOpacity"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "name": {
                          "type": "string",
                          "maxLength": 80,
                          "minLength": 1
                        },
                        "scope": {
                          "enum": [
                            "project",
                            "brand"
                          ],
                          "type": "string"
                        },
                        "bodyColor": {
                          "type": "string",
                          "pattern": "^#[0-9a-fA-F]{6}$"
                        },
                        "pageColor": {
                          "type": "string",
                          "default": "",
                          "maxLength": 32
                        },
                        "background": {
                          "type": "string",
                          "default": "",
                          "maxLength": 32
                        },
                        "fontFamily": {
                          "type": "string",
                          "default": "",
                          "maxLength": 80
                        },
                        "titleColor": {
                          "type": "string",
                          "pattern": "^#[0-9a-fA-F]{6}$"
                        },
                        "logoAssetId": {
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "overlayEnabled": {
                          "type": "boolean"
                        },
                        "overlayOpacity": {
                          "type": "integer",
                          "maximum": 100,
                          "minimum": 0
                        }
                      },
                      "additionalProperties": false
                    },
                    "maxItems": 40
                  },
                  "templates": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "name",
                        "scope",
                        "template_id",
                        "slots"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "name": {
                          "type": "string",
                          "maxLength": 80,
                          "minLength": 1
                        },
                        "scope": {
                          "enum": [
                            "project",
                            "brand"
                          ],
                          "type": "string"
                        },
                        "slots": {
                          "type": "object",
                          "propertyNames": {
                            "type": "string",
                            "maxLength": 80,
                            "minLength": 1
                          },
                          "additionalProperties": {
                            "type": "string",
                            "maxLength": 4000
                          }
                        },
                        "template_id": {
                          "type": "string",
                          "maxLength": 80,
                          "minLength": 1
                        }
                      },
                      "additionalProperties": false
                    },
                    "maxItems": 40
                  },
                  "active_theme_id": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "additionalProperties": false
              },
              "name": {
                "type": "string"
              },
              "frame": {
                "type": "object",
                "required": [
                  "width",
                  "height",
                  "aspect_ratio"
                ],
                "properties": {
                  "width": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991
                  },
                  "height": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991
                  },
                  "aspect_ratio": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "style": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "chip": {
                        "type": "object",
                        "properties": {
                          "color": {
                            "type": "string",
                            "maxLength": 32,
                            "minLength": 1
                          },
                          "radius": {
                            "type": "integer",
                            "maximum": 48,
                            "minimum": 0
                          },
                          "font_size": {
                            "type": "integer",
                            "maximum": 120,
                            "minimum": 12
                          },
                          "padding_x": {
                            "type": "integer",
                            "maximum": 80,
                            "minimum": 0
                          },
                          "padding_y": {
                            "type": "integer",
                            "maximum": 80,
                            "minimum": 0
                          },
                          "background": {
                            "type": "string",
                            "maxLength": 32,
                            "minLength": 1
                          },
                          "font_family": {
                            "type": "string",
                            "maxLength": 80,
                            "minLength": 1
                          },
                          "font_weight": {
                            "anyOf": [
                              {
                                "type": "integer",
                                "maximum": 900,
                                "minimum": 100
                              },
                              {
                                "type": "string"
                              }
                            ]
                          },
                          "max_lines_per_chip": {
                            "type": "integer",
                            "maximum": 4,
                            "minimum": 1
                          }
                        },
                        "additionalProperties": false
                      }
                    },
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "locale": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "slides": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "index",
                    "role",
                    "lines",
                    "slots",
                    "layout",
                    "visual"
                  ],
                  "properties": {
                    "role": {
                      "anyOf": [
                        {
                          "enum": [
                            "hook",
                            "body",
                            "proof",
                            "cta"
                          ],
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "index": {
                      "type": "integer",
                      "maximum": 9007199254740991,
                      "minimum": 0
                    },
                    "lines": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "slots": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string",
                        "maxLength": 80,
                        "minLength": 1
                      },
                      "additionalProperties": {
                        "type": "string",
                        "maxLength": 4000
                      }
                    },
                    "layout": {
                      "anyOf": [
                        {
                          "enum": [
                            "chip_stack_ui",
                            "chip_stack_face_safe",
                            "chip_stack_top",
                            "title_body_card"
                          ],
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "visual": {
                      "type": "object",
                      "required": [
                        "kind"
                      ],
                      "properties": {
                        "crop": {
                          "type": "object",
                          "required": [
                            "left",
                            "top",
                            "width",
                            "height"
                          ],
                          "properties": {
                            "top": {
                              "type": "number",
                              "maximum": 1,
                              "minimum": 0
                            },
                            "left": {
                              "type": "number",
                              "maximum": 1,
                              "minimum": 0
                            },
                            "width": {
                              "type": "number",
                              "maximum": 1,
                              "exclusiveMinimum": 0
                            },
                            "height": {
                              "type": "number",
                              "maximum": 1,
                              "exclusiveMinimum": 0
                            }
                          },
                          "additionalProperties": false
                        },
                        "html": {
                          "type": "string",
                          "maxLength": 80000,
                          "minLength": 20
                        },
                        "kind": {
                          "enum": [
                            "creative_source",
                            "media_asset",
                            "generate",
                            "solid",
                            "gradient",
                            "html",
                            "template"
                          ],
                          "type": "string"
                        },
                        "color": {
                          "type": "string",
                          "pattern": "^#[0-9a-fA-F]{6}$"
                        },
                        "colors": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "pattern": "^#[0-9a-fA-F]{6}$"
                          },
                          "maxItems": 2,
                          "minItems": 1
                        },
                        "prompt": {
                          "type": "string",
                          "maxLength": 1000,
                          "minLength": 3
                        },
                        "model_id": {
                          "type": "string",
                          "maxLength": 120,
                          "minLength": 1
                        },
                        "template_id": {
                          "type": "string",
                          "maxLength": 80,
                          "minLength": 1
                        },
                        "media_asset_id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "creative_source": {
                          "type": "object",
                          "required": [
                            "artifact_id",
                            "project_id",
                            "source_revision_id",
                            "source_revision",
                            "source_hash",
                            "runtime_identity",
                            "composition_id",
                            "frame",
                            "width",
                            "height",
                            "fps",
                            "frame_hash",
                            "media_asset_id",
                            "controls",
                            "values"
                          ],
                          "properties": {
                            "fps": {
                              "type": "number",
                              "exclusiveMinimum": 0
                            },
                            "frame": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "minimum": 0
                            },
                            "width": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "exclusiveMinimum": 0
                            },
                            "height": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "exclusiveMinimum": 0
                            },
                            "values": {
                              "type": "object",
                              "propertyNames": {
                                "type": "string",
                                "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
                                "maxLength": 80,
                                "minLength": 1
                              },
                              "additionalProperties": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "maxLength": 10000
                                  },
                                  {
                                    "type": "number"
                                  }
                                ]
                              }
                            },
                            "controls": {
                              "anyOf": [
                                {
                                  "type": "object",
                                  "required": [
                                    "file",
                                    "fields"
                                  ],
                                  "properties": {
                                    "file": {
                                      "type": "string",
                                      "format": "ends_with",
                                      "pattern": ".*\\.json$",
                                      "maxLength": 180,
                                      "minLength": 1
                                    },
                                    "fields": {
                                      "type": "array",
                                      "items": {
                                        "oneOf": [
                                          {
                                            "type": "object",
                                            "required": [
                                              "key",
                                              "label",
                                              "type",
                                              "maxLength"
                                            ],
                                            "properties": {
                                              "key": {
                                                "type": "string",
                                                "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
                                                "maxLength": 80,
                                                "minLength": 1
                                              },
                                              "type": {
                                                "type": "string",
                                                "const": "text"
                                              },
                                              "label": {
                                                "type": "string",
                                                "maxLength": 120,
                                                "minLength": 1
                                              },
                                              "maxLength": {
                                                "type": "integer",
                                                "maximum": 10000,
                                                "minimum": 1
                                              }
                                            },
                                            "additionalProperties": false
                                          },
                                          {
                                            "type": "object",
                                            "required": [
                                              "key",
                                              "label",
                                              "type"
                                            ],
                                            "properties": {
                                              "key": {
                                                "type": "string",
                                                "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
                                                "maxLength": 80,
                                                "minLength": 1
                                              },
                                              "type": {
                                                "type": "string",
                                                "const": "color"
                                              },
                                              "label": {
                                                "type": "string",
                                                "maxLength": 120,
                                                "minLength": 1
                                              }
                                            },
                                            "additionalProperties": false
                                          },
                                          {
                                            "type": "object",
                                            "required": [
                                              "key",
                                              "label",
                                              "type"
                                            ],
                                            "properties": {
                                              "key": {
                                                "type": "string",
                                                "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
                                                "maxLength": 80,
                                                "minLength": 1
                                              },
                                              "type": {
                                                "type": "string",
                                                "const": "media"
                                              },
                                              "label": {
                                                "type": "string",
                                                "maxLength": 120,
                                                "minLength": 1
                                              }
                                            },
                                            "additionalProperties": false
                                          },
                                          {
                                            "type": "object",
                                            "required": [
                                              "key",
                                              "label",
                                              "type",
                                              "min",
                                              "max",
                                              "step"
                                            ],
                                            "properties": {
                                              "key": {
                                                "type": "string",
                                                "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
                                                "maxLength": 80,
                                                "minLength": 1
                                              },
                                              "max": {
                                                "type": "number",
                                                "maximum": 10800
                                              },
                                              "min": {
                                                "type": "number",
                                                "minimum": 0
                                              },
                                              "step": {
                                                "type": "number",
                                                "exclusiveMinimum": 0
                                              },
                                              "type": {
                                                "type": "string",
                                                "const": "timing"
                                              },
                                              "label": {
                                                "type": "string",
                                                "maxLength": 120,
                                                "minLength": 1
                                              }
                                            },
                                            "additionalProperties": false
                                          }
                                        ]
                                      },
                                      "maxItems": 40,
                                      "minItems": 1
                                    }
                                  },
                                  "additionalProperties": false
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "frame_hash": {
                              "type": "string",
                              "pattern": "^[a-f0-9]{64}$"
                            },
                            "project_id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "artifact_id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "source_hash": {
                              "type": "string",
                              "pattern": "^[a-f0-9]{64}$"
                            },
                            "composition_id": {
                              "type": "string",
                              "minLength": 1
                            },
                            "media_asset_id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "source_revision": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "exclusiveMinimum": 0
                            },
                            "runtime_identity": {
                              "type": "string",
                              "minLength": 1
                            },
                            "source_revision_id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            }
                          },
                          "additionalProperties": false
                        },
                        "creative_artifact_id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "source_media_asset_id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        }
                      },
                      "additionalProperties": false
                    },
                    "photo_url": {
                      "anyOf": [
                        {
                          "type": "string",
                          "maxLength": 4000,
                          "minLength": 1
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "slot_urls": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {
                        "type": "string",
                        "maxLength": 4000,
                        "minLength": 1
                      }
                    }
                  },
                  "additionalProperties": false
                }
              },
              "can_undo": {
                "type": "boolean"
              },
              "platform": {
                "anyOf": [
                  {
                    "enum": [
                      "tiktok_photo",
                      "instagram_4x5",
                      "linkedin"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "revision": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string"
                    },
                    "field": {
                      "type": "string"
                    },
                    "repair": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "templates": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "label",
                    "family",
                    "slots"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "label": {
                      "type": "string"
                    },
                    "slots": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "key",
                          "label"
                        ],
                        "properties": {
                          "key": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          }
                        },
                        "additionalProperties": false
                      }
                    },
                    "family": {
                      "enum": [
                        "photo",
                        "designed"
                      ],
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "font_faces": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "family",
                    "src",
                    "weight",
                    "style",
                    "unicodeRange"
                  ],
                  "properties": {
                    "src": {
                      "type": "string",
                      "maxLength": 4000,
                      "minLength": 1
                    },
                    "style": {
                      "enum": [
                        "normal",
                        "italic",
                        "oblique"
                      ],
                      "type": "string"
                    },
                    "family": {
                      "type": "string",
                      "maxLength": 160,
                      "minLength": 1
                    },
                    "weight": {
                      "type": "string",
                      "maxLength": 32,
                      "minLength": 1
                    },
                    "unicodeRange": {
                      "type": "string",
                      "maxLength": 8000
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 256
              },
              "project_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "next_actions": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "method",
                    "path",
                    "reason"
                  ],
                  "properties": {
                    "path": {
                      "type": "string"
                    },
                    "method": {
                      "enum": [
                        "GET",
                        "POST",
                        "PATCH",
                        "DELETE"
                      ],
                      "type": "string"
                    },
                    "reason": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "mutationReceipt": {
                "type": "object",
                "required": [
                  "id",
                  "key",
                  "operation",
                  "status",
                  "replayed"
                ],
                "properties": {
                  "id": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "key": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "status": {
                    "enum": [
                      "completed"
                    ],
                    "type": "string"
                  },
                  "replayed": {
                    "type": "boolean"
                  },
                  "operation": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "carousels_delete_template",
          "title": "Carousel delete template",
          "description": "Delete one saved private carousel slide template.",
          "inputSchema": {
            "type": "object",
            "required": [
              "idempotencyKey",
              "projectId",
              "savedTemplateId"
            ],
            "properties": {
              "projectId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "UUID string."
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "idempotencyKey": {
                "type": "string",
                "maxLength": 200,
                "minLength": 8
              },
              "savedTemplateId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "properties": {
              "kit": {
                "type": "object",
                "required": [
                  "themes",
                  "templates",
                  "active_theme_id"
                ],
                "properties": {
                  "themes": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "name",
                        "scope",
                        "fontFamily",
                        "titleColor",
                        "bodyColor",
                        "background",
                        "pageColor",
                        "overlayEnabled",
                        "overlayOpacity"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "name": {
                          "type": "string",
                          "maxLength": 80,
                          "minLength": 1
                        },
                        "scope": {
                          "enum": [
                            "project",
                            "brand"
                          ],
                          "type": "string"
                        },
                        "bodyColor": {
                          "type": "string",
                          "pattern": "^#[0-9a-fA-F]{6}$"
                        },
                        "pageColor": {
                          "type": "string",
                          "default": "",
                          "maxLength": 32
                        },
                        "background": {
                          "type": "string",
                          "default": "",
                          "maxLength": 32
                        },
                        "fontFamily": {
                          "type": "string",
                          "default": "",
                          "maxLength": 80
                        },
                        "titleColor": {
                          "type": "string",
                          "pattern": "^#[0-9a-fA-F]{6}$"
                        },
                        "logoAssetId": {
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "overlayEnabled": {
                          "type": "boolean"
                        },
                        "overlayOpacity": {
                          "type": "integer",
                          "maximum": 100,
                          "minimum": 0
                        }
                      },
                      "additionalProperties": false
                    },
                    "maxItems": 40
                  },
                  "templates": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "name",
                        "scope",
                        "template_id",
                        "slots"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "name": {
                          "type": "string",
                          "maxLength": 80,
                          "minLength": 1
                        },
                        "scope": {
                          "enum": [
                            "project",
                            "brand"
                          ],
                          "type": "string"
                        },
                        "slots": {
                          "type": "object",
                          "propertyNames": {
                            "type": "string",
                            "maxLength": 80,
                            "minLength": 1
                          },
                          "additionalProperties": {
                            "type": "string",
                            "maxLength": 4000
                          }
                        },
                        "template_id": {
                          "type": "string",
                          "maxLength": 80,
                          "minLength": 1
                        }
                      },
                      "additionalProperties": false
                    },
                    "maxItems": 40
                  },
                  "active_theme_id": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "additionalProperties": false
              },
              "name": {
                "type": "string"
              },
              "frame": {
                "type": "object",
                "required": [
                  "width",
                  "height",
                  "aspect_ratio"
                ],
                "properties": {
                  "width": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991
                  },
                  "height": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991
                  },
                  "aspect_ratio": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "style": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "chip": {
                        "type": "object",
                        "properties": {
                          "color": {
                            "type": "string",
                            "maxLength": 32,
                            "minLength": 1
                          },
                          "radius": {
                            "type": "integer",
                            "maximum": 48,
                            "minimum": 0
                          },
                          "font_size": {
                            "type": "integer",
                            "maximum": 120,
                            "minimum": 12
                          },
                          "padding_x": {
                            "type": "integer",
                            "maximum": 80,
                            "minimum": 0
                          },
                          "padding_y": {
                            "type": "integer",
                            "maximum": 80,
                            "minimum": 0
                          },
                          "background": {
                            "type": "string",
                            "maxLength": 32,
                            "minLength": 1
                          },
                          "font_family": {
                            "type": "string",
                            "maxLength": 80,
                            "minLength": 1
                          },
                          "font_weight": {
                            "anyOf": [
                              {
                                "type": "integer",
                                "maximum": 900,
                                "minimum": 100
                              },
                              {
                                "type": "string"
                              }
                            ]
                          },
                          "max_lines_per_chip": {
                            "type": "integer",
                            "maximum": 4,
                            "minimum": 1
                          }
                        },
                        "additionalProperties": false
                      }
                    },
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "locale": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "slides": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "index",
                    "role",
                    "lines",
                    "slots",
                    "layout",
                    "visual"
                  ],
                  "properties": {
                    "role": {
                      "anyOf": [
                        {
                          "enum": [
                            "hook",
                            "body",
                            "proof",
                            "cta"
                          ],
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "index": {
                      "type": "integer",
                      "maximum": 9007199254740991,
                      "minimum": 0
                    },
                    "lines": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "slots": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string",
                        "maxLength": 80,
                        "minLength": 1
                      },
                      "additionalProperties": {
                        "type": "string",
                        "maxLength": 4000
                      }
                    },
                    "layout": {
                      "anyOf": [
                        {
                          "enum": [
                            "chip_stack_ui",
                            "chip_stack_face_safe",
                            "chip_stack_top",
                            "title_body_card"
                          ],
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "visual": {
                      "type": "object",
                      "required": [
                        "kind"
                      ],
                      "properties": {
                        "crop": {
                          "type": "object",
                          "required": [
                            "left",
                            "top",
                            "width",
                            "height"
                          ],
                          "properties": {
                            "top": {
                              "type": "number",
                              "maximum": 1,
                              "minimum": 0
                            },
                            "left": {
                              "type": "number",
                              "maximum": 1,
                              "minimum": 0
                            },
                            "width": {
                              "type": "number",
                              "maximum": 1,
                              "exclusiveMinimum": 0
                            },
                            "height": {
                              "type": "number",
                              "maximum": 1,
                              "exclusiveMinimum": 0
                            }
                          },
                          "additionalProperties": false
                        },
                        "html": {
                          "type": "string",
                          "maxLength": 80000,
                          "minLength": 20
                        },
                        "kind": {
                          "enum": [
                            "creative_source",
                            "media_asset",
                            "generate",
                            "solid",
                            "gradient",
                            "html",
                            "template"
                          ],
                          "type": "string"
                        },
                        "color": {
                          "type": "string",
                          "pattern": "^#[0-9a-fA-F]{6}$"
                        },
                        "colors": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "pattern": "^#[0-9a-fA-F]{6}$"
                          },
                          "maxItems": 2,
                          "minItems": 1
                        },
                        "prompt": {
                          "type": "string",
                          "maxLength": 1000,
                          "minLength": 3
                        },
                        "model_id": {
                          "type": "string",
                          "maxLength": 120,
                          "minLength": 1
                        },
                        "template_id": {
                          "type": "string",
                          "maxLength": 80,
                          "minLength": 1
                        },
                        "media_asset_id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "creative_source": {
                          "type": "object",
                          "required": [
                            "artifact_id",
                            "project_id",
                            "source_revision_id",
                            "source_revision",
                            "source_hash",
                            "runtime_identity",
                            "composition_id",
                            "frame",
                            "width",
                            "height",
                            "fps",
                            "frame_hash",
                            "media_asset_id",
                            "controls",
                            "values"
                          ],
                          "properties": {
                            "fps": {
                              "type": "number",
                              "exclusiveMinimum": 0
                            },
                            "frame": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "minimum": 0
                            },
                            "width": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "exclusiveMinimum": 0
                            },
                            "height": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "exclusiveMinimum": 0
                            },
                            "values": {
                              "type": "object",
                              "propertyNames": {
                                "type": "string",
                                "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
                                "maxLength": 80,
                                "minLength": 1
                              },
                              "additionalProperties": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "maxLength": 10000
                                  },
                                  {
                                    "type": "number"
                                  }
                                ]
                              }
                            },
                            "controls": {
                              "anyOf": [
                                {
                                  "type": "object",
                                  "required": [
                                    "file",
                                    "fields"
                                  ],
                                  "properties": {
                                    "file": {
                                      "type": "string",
                                      "format": "ends_with",
                                      "pattern": ".*\\.json$",
                                      "maxLength": 180,
                                      "minLength": 1
                                    },
                                    "fields": {
                                      "type": "array",
                                      "items": {
                                        "oneOf": [
                                          {
                                            "type": "object",
                                            "required": [
                                              "key",
                                              "label",
                                              "type",
                                              "maxLength"
                                            ],
                                            "properties": {
                                              "key": {
                                                "type": "string",
                                                "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
                                                "maxLength": 80,
                                                "minLength": 1
                                              },
                                              "type": {
                                                "type": "string",
                                                "const": "text"
                                              },
                                              "label": {
                                                "type": "string",
                                                "maxLength": 120,
                                                "minLength": 1
                                              },
                                              "maxLength": {
                                                "type": "integer",
                                                "maximum": 10000,
                                                "minimum": 1
                                              }
                                            },
                                            "additionalProperties": false
                                          },
                                          {
                                            "type": "object",
                                            "required": [
                                              "key",
                                              "label",
                                              "type"
                                            ],
                                            "properties": {
                                              "key": {
                                                "type": "string",
                                                "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
                                                "maxLength": 80,
                                                "minLength": 1
                                              },
                                              "type": {
                                                "type": "string",
                                                "const": "color"
                                              },
                                              "label": {
                                                "type": "string",
                                                "maxLength": 120,
                                                "minLength": 1
                                              }
                                            },
                                            "additionalProperties": false
                                          },
                                          {
                                            "type": "object",
                                            "required": [
                                              "key",
                                              "label",
                                              "type"
                                            ],
                                            "properties": {
                                              "key": {
                                                "type": "string",
                                                "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
                                                "maxLength": 80,
                                                "minLength": 1
                                              },
                                              "type": {
                                                "type": "string",
                                                "const": "media"
                                              },
                                              "label": {
                                                "type": "string",
                                                "maxLength": 120,
                                                "minLength": 1
                                              }
                                            },
                                            "additionalProperties": false
                                          },
                                          {
                                            "type": "object",
                                            "required": [
                                              "key",
                                              "label",
                                              "type",
                                              "min",
                                              "max",
                                              "step"
                                            ],
                                            "properties": {
                                              "key": {
                                                "type": "string",
                                                "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
                                                "maxLength": 80,
                                                "minLength": 1
                                              },
                                              "max": {
                                                "type": "number",
                                                "maximum": 10800
                                              },
                                              "min": {
                                                "type": "number",
                                                "minimum": 0
                                              },
                                              "step": {
                                                "type": "number",
                                                "exclusiveMinimum": 0
                                              },
                                              "type": {
                                                "type": "string",
                                                "const": "timing"
                                              },
                                              "label": {
                                                "type": "string",
                                                "maxLength": 120,
                                                "minLength": 1
                                              }
                                            },
                                            "additionalProperties": false
                                          }
                                        ]
                                      },
                                      "maxItems": 40,
                                      "minItems": 1
                                    }
                                  },
                                  "additionalProperties": false
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "frame_hash": {
                              "type": "string",
                              "pattern": "^[a-f0-9]{64}$"
                            },
                            "project_id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "artifact_id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "source_hash": {
                              "type": "string",
                              "pattern": "^[a-f0-9]{64}$"
                            },
                            "composition_id": {
                              "type": "string",
                              "minLength": 1
                            },
                            "media_asset_id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "source_revision": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "exclusiveMinimum": 0
                            },
                            "runtime_identity": {
                              "type": "string",
                              "minLength": 1
                            },
                            "source_revision_id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            }
                          },
                          "additionalProperties": false
                        },
                        "creative_artifact_id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "source_media_asset_id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        }
                      },
                      "additionalProperties": false
                    },
                    "photo_url": {
                      "anyOf": [
                        {
                          "type": "string",
                          "maxLength": 4000,
                          "minLength": 1
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "slot_urls": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {
                        "type": "string",
                        "maxLength": 4000,
                        "minLength": 1
                      }
                    }
                  },
                  "additionalProperties": false
                }
              },
              "can_undo": {
                "type": "boolean"
              },
              "platform": {
                "anyOf": [
                  {
                    "enum": [
                      "tiktok_photo",
                      "instagram_4x5",
                      "linkedin"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "revision": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string"
                    },
                    "field": {
                      "type": "string"
                    },
                    "repair": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "templates": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "label",
                    "family",
                    "slots"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "label": {
                      "type": "string"
                    },
                    "slots": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "key",
                          "label"
                        ],
                        "properties": {
                          "key": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          }
                        },
                        "additionalProperties": false
                      }
                    },
                    "family": {
                      "enum": [
                        "photo",
                        "designed"
                      ],
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "font_faces": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "family",
                    "src",
                    "weight",
                    "style",
                    "unicodeRange"
                  ],
                  "properties": {
                    "src": {
                      "type": "string",
                      "maxLength": 4000,
                      "minLength": 1
                    },
                    "style": {
                      "enum": [
                        "normal",
                        "italic",
                        "oblique"
                      ],
                      "type": "string"
                    },
                    "family": {
                      "type": "string",
                      "maxLength": 160,
                      "minLength": 1
                    },
                    "weight": {
                      "type": "string",
                      "maxLength": 32,
                      "minLength": 1
                    },
                    "unicodeRange": {
                      "type": "string",
                      "maxLength": 8000
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 256
              },
              "project_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "next_actions": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "method",
                    "path",
                    "reason"
                  ],
                  "properties": {
                    "path": {
                      "type": "string"
                    },
                    "method": {
                      "enum": [
                        "GET",
                        "POST",
                        "PATCH",
                        "DELETE"
                      ],
                      "type": "string"
                    },
                    "reason": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "mutationReceipt": {
                "type": "object",
                "required": [
                  "id",
                  "key",
                  "operation",
                  "status",
                  "replayed"
                ],
                "properties": {
                  "id": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "key": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "status": {
                    "enum": [
                      "completed"
                    ],
                    "type": "string"
                  },
                  "replayed": {
                    "type": "boolean"
                  },
                  "operation": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "carousels_apply_brand",
          "title": "Carousel apply brand",
          "description": "Replace this carousel's styling with the workspace's saved brand theme.",
          "inputSchema": {
            "type": "object",
            "required": [
              "idempotencyKey",
              "projectId"
            ],
            "properties": {
              "projectId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "UUID string."
              },
              "workspaceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "idempotencyKey": {
                "type": "string",
                "maxLength": 200,
                "minLength": 8
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "properties": {
              "kit": {
                "type": "object",
                "required": [
                  "themes",
                  "templates",
                  "active_theme_id"
                ],
                "properties": {
                  "themes": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "name",
                        "scope",
                        "fontFamily",
                        "titleColor",
                        "bodyColor",
                        "background",
                        "pageColor",
                        "overlayEnabled",
                        "overlayOpacity"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "name": {
                          "type": "string",
                          "maxLength": 80,
                          "minLength": 1
                        },
                        "scope": {
                          "enum": [
                            "project",
                            "brand"
                          ],
                          "type": "string"
                        },
                        "bodyColor": {
                          "type": "string",
                          "pattern": "^#[0-9a-fA-F]{6}$"
                        },
                        "pageColor": {
                          "type": "string",
                          "default": "",
                          "maxLength": 32
                        },
                        "background": {
                          "type": "string",
                          "default": "",
                          "maxLength": 32
                        },
                        "fontFamily": {
                          "type": "string",
                          "default": "",
                          "maxLength": 80
                        },
                        "titleColor": {
                          "type": "string",
                          "pattern": "^#[0-9a-fA-F]{6}$"
                        },
                        "logoAssetId": {
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "overlayEnabled": {
                          "type": "boolean"
                        },
                        "overlayOpacity": {
                          "type": "integer",
                          "maximum": 100,
                          "minimum": 0
                        }
                      },
                      "additionalProperties": false
                    },
                    "maxItems": 40
                  },
                  "templates": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "name",
                        "scope",
                        "template_id",
                        "slots"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "name": {
                          "type": "string",
                          "maxLength": 80,
                          "minLength": 1
                        },
                        "scope": {
                          "enum": [
                            "project",
                            "brand"
                          ],
                          "type": "string"
                        },
                        "slots": {
                          "type": "object",
                          "propertyNames": {
                            "type": "string",
                            "maxLength": 80,
                            "minLength": 1
                          },
                          "additionalProperties": {
                            "type": "string",
                            "maxLength": 4000
                          }
                        },
                        "template_id": {
                          "type": "string",
                          "maxLength": 80,
                          "minLength": 1
                        }
                      },
                      "additionalProperties": false
                    },
                    "maxItems": 40
                  },
                  "active_theme_id": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "additionalProperties": false
              },
              "name": {
                "type": "string"
              },
              "frame": {
                "type": "object",
                "required": [
                  "width",
                  "height",
                  "aspect_ratio"
                ],
                "properties": {
                  "width": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991
                  },
                  "height": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991
                  },
                  "aspect_ratio": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "style": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "chip": {
                        "type": "object",
                        "properties": {
                          "color": {
                            "type": "string",
                            "maxLength": 32,
                            "minLength": 1
                          },
                          "radius": {
                            "type": "integer",
                            "maximum": 48,
                            "minimum": 0
                          },
                          "font_size": {
                            "type": "integer",
                            "maximum": 120,
                            "minimum": 12
                          },
                          "padding_x": {
                            "type": "integer",
                            "maximum": 80,
                            "minimum": 0
                          },
                          "padding_y": {
                            "type": "integer",
                            "maximum": 80,
                            "minimum": 0
                          },
                          "background": {
                            "type": "string",
                            "maxLength": 32,
                            "minLength": 1
                          },
                          "font_family": {
                            "type": "string",
                            "maxLength": 80,
                            "minLength": 1
                          },
                          "font_weight": {
                            "anyOf": [
                              {
                                "type": "integer",
                                "maximum": 900,
                                "minimum": 100
                              },
                              {
                                "type": "string"
                              }
                            ]
                          },
                          "max_lines_per_chip": {
                            "type": "integer",
                            "maximum": 4,
                            "minimum": 1
                          }
                        },
                        "additionalProperties": false
                      }
                    },
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "locale": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "slides": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "index",
                    "role",
                    "lines",
                    "slots",
                    "layout",
                    "visual"
                  ],
                  "properties": {
                    "role": {
                      "anyOf": [
                        {
                          "enum": [
                            "hook",
                            "body",
                            "proof",
                            "cta"
                          ],
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "index": {
                      "type": "integer",
                      "maximum": 9007199254740991,
                      "minimum": 0
                    },
                    "lines": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "slots": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string",
                        "maxLength": 80,
                        "minLength": 1
                      },
                      "additionalProperties": {
                        "type": "string",
                        "maxLength": 4000
                      }
                    },
                    "layout": {
                      "anyOf": [
                        {
                          "enum": [
                            "chip_stack_ui",
                            "chip_stack_face_safe",
                            "chip_stack_top",
                            "title_body_card"
                          ],
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "visual": {
                      "type": "object",
                      "required": [
                        "kind"
                      ],
                      "properties": {
                        "crop": {
                          "type": "object",
                          "required": [
                            "left",
                            "top",
                            "width",
                            "height"
                          ],
                          "properties": {
                            "top": {
                              "type": "number",
                              "maximum": 1,
                              "minimum": 0
                            },
                            "left": {
                              "type": "number",
                              "maximum": 1,
                              "minimum": 0
                            },
                            "width": {
                              "type": "number",
                              "maximum": 1,
                              "exclusiveMinimum": 0
                            },
                            "height": {
                              "type": "number",
                              "maximum": 1,
                              "exclusiveMinimum": 0
                            }
                          },
                          "additionalProperties": false
                        },
                        "html": {
                          "type": "string",
                          "maxLength": 80000,
                          "minLength": 20
                        },
                        "kind": {
                          "enum": [
                            "creative_source",
                            "media_asset",
                            "generate",
                            "solid",
                            "gradient",
                            "html",
                            "template"
                          ],
                          "type": "string"
                        },
                        "color": {
                          "type": "string",
                          "pattern": "^#[0-9a-fA-F]{6}$"
                        },
                        "colors": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "pattern": "^#[0-9a-fA-F]{6}$"
                          },
                          "maxItems": 2,
                          "minItems": 1
                        },
                        "prompt": {
                          "type": "string",
                          "maxLength": 1000,
                          "minLength": 3
                        },
                        "model_id": {
                          "type": "string",
                          "maxLength": 120,
                          "minLength": 1
                        },
                        "template_id": {
                          "type": "string",
                          "maxLength": 80,
                          "minLength": 1
                        },
                        "media_asset_id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "creative_source": {
                          "type": "object",
                          "required": [
                            "artifact_id",
                            "project_id",
                            "source_revision_id",
                            "source_revision",
                            "source_hash",
                            "runtime_identity",
                            "composition_id",
                            "frame",
                            "width",
                            "height",
                            "fps",
                            "frame_hash",
                            "media_asset_id",
                            "controls",
                            "values"
                          ],
                          "properties": {
                            "fps": {
                              "type": "number",
                              "exclusiveMinimum": 0
                            },
                            "frame": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "minimum": 0
                            },
                            "width": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "exclusiveMinimum": 0
                            },
                            "height": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "exclusiveMinimum": 0
                            },
                            "values": {
                              "type": "object",
                              "propertyNames": {
                                "type": "string",
                                "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
                                "maxLength": 80,
                                "minLength": 1
                              },
                              "additionalProperties": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "maxLength": 10000
                                  },
                                  {
                                    "type": "number"
                                  }
                                ]
                              }
                            },
                            "controls": {
                              "anyOf": [
                                {
                                  "type": "object",
                                  "required": [
                                    "file",
                                    "fields"
                                  ],
                                  "properties": {
                                    "file": {
                                      "type": "string",
                                      "format": "ends_with",
                                      "pattern": ".*\\.json$",
                                      "maxLength": 180,
                                      "minLength": 1
                                    },
                                    "fields": {
                                      "type": "array",
                                      "items": {
                                        "oneOf": [
                                          {
                                            "type": "object",
                                            "required": [
                                              "key",
                                              "label",
                                              "type",
                                              "maxLength"
                                            ],
                                            "properties": {
                                              "key": {
                                                "type": "string",
                                                "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
                                                "maxLength": 80,
                                                "minLength": 1
                                              },
                                              "type": {
                                                "type": "string",
                                                "const": "text"
                                              },
                                              "label": {
                                                "type": "string",
                                                "maxLength": 120,
                                                "minLength": 1
                                              },
                                              "maxLength": {
                                                "type": "integer",
                                                "maximum": 10000,
                                                "minimum": 1
                                              }
                                            },
                                            "additionalProperties": false
                                          },
                                          {
                                            "type": "object",
                                            "required": [
                                              "key",
                                              "label",
                                              "type"
                                            ],
                                            "properties": {
                                              "key": {
                                                "type": "string",
                                                "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
                                                "maxLength": 80,
                                                "minLength": 1
                                              },
                                              "type": {
                                                "type": "string",
                                                "const": "color"
                                              },
                                              "label": {
                                                "type": "string",
                                                "maxLength": 120,
                                                "minLength": 1
                                              }
                                            },
                                            "additionalProperties": false
                                          },
                                          {
                                            "type": "object",
                                            "required": [
                                              "key",
                                              "label",
                                              "type"
                                            ],
                                            "properties": {
                                              "key": {
                                                "type": "string",
                                                "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
                                                "maxLength": 80,
                                                "minLength": 1
                                              },
                                              "type": {
                                                "type": "string",
                                                "const": "media"
                                              },
                                              "label": {
                                                "type": "string",
                                                "maxLength": 120,
                                                "minLength": 1
                                              }
                                            },
                                            "additionalProperties": false
                                          },
                                          {
                                            "type": "object",
                                            "required": [
                                              "key",
                                              "label",
                                              "type",
                                              "min",
                                              "max",
                                              "step"
                                            ],
                                            "properties": {
                                              "key": {
                                                "type": "string",
                                                "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
                                                "maxLength": 80,
                                                "minLength": 1
                                              },
                                              "max": {
                                                "type": "number",
                                                "maximum": 10800
                                              },
                                              "min": {
                                                "type": "number",
                                                "minimum": 0
                                              },
                                              "step": {
                                                "type": "number",
                                                "exclusiveMinimum": 0
                                              },
                                              "type": {
                                                "type": "string",
                                                "const": "timing"
                                              },
                                              "label": {
                                                "type": "string",
                                                "maxLength": 120,
                                                "minLength": 1
                                              }
                                            },
                                            "additionalProperties": false
                                          }
                                        ]
                                      },
                                      "maxItems": 40,
                                      "minItems": 1
                                    }
                                  },
                                  "additionalProperties": false
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "frame_hash": {
                              "type": "string",
                              "pattern": "^[a-f0-9]{64}$"
                            },
                            "project_id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "artifact_id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "source_hash": {
                              "type": "string",
                              "pattern": "^[a-f0-9]{64}$"
                            },
                            "composition_id": {
                              "type": "string",
                              "minLength": 1
                            },
                            "media_asset_id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "source_revision": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "exclusiveMinimum": 0
                            },
                            "runtime_identity": {
                              "type": "string",
                              "minLength": 1
                            },
                            "source_revision_id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            }
                          },
                          "additionalProperties": false
                        },
                        "creative_artifact_id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "source_media_asset_id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        }
                      },
                      "additionalProperties": false
                    },
                    "photo_url": {
                      "anyOf": [
                        {
                          "type": "string",
                          "maxLength": 4000,
                          "minLength": 1
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "slot_urls": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {
                        "type": "string",
                        "maxLength": 4000,
                        "minLength": 1
                      }
                    }
                  },
                  "additionalProperties": false
                }
              },
              "can_undo": {
                "type": "boolean"
              },
              "platform": {
                "anyOf": [
                  {
                    "enum": [
                      "tiktok_photo",
                      "instagram_4x5",
                      "linkedin"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "revision": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string"
                    },
                    "field": {
                      "type": "string"
                    },
                    "repair": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "templates": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "label",
                    "family",
                    "slots"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "label": {
                      "type": "string"
                    },
                    "slots": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "key",
                          "label"
                        ],
                        "properties": {
                          "key": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          }
                        },
                        "additionalProperties": false
                      }
                    },
                    "family": {
                      "enum": [
                        "photo",
                        "designed"
                      ],
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "font_faces": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "family",
                    "src",
                    "weight",
                    "style",
                    "unicodeRange"
                  ],
                  "properties": {
                    "src": {
                      "type": "string",
                      "maxLength": 4000,
                      "minLength": 1
                    },
                    "style": {
                      "enum": [
                        "normal",
                        "italic",
                        "oblique"
                      ],
                      "type": "string"
                    },
                    "family": {
                      "type": "string",
                      "maxLength": 160,
                      "minLength": 1
                    },
                    "weight": {
                      "type": "string",
                      "maxLength": 32,
                      "minLength": 1
                    },
                    "unicodeRange": {
                      "type": "string",
                      "maxLength": 8000
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 256
              },
              "project_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "next_actions": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "method",
                    "path",
                    "reason"
                  ],
                  "properties": {
                    "path": {
                      "type": "string"
                    },
                    "method": {
                      "enum": [
                        "GET",
                        "POST",
                        "PATCH",
                        "DELETE"
                      ],
                      "type": "string"
                    },
                    "reason": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "mutationReceipt": {
                "type": "object",
                "required": [
                  "id",
                  "key",
                  "operation",
                  "status",
                  "replayed"
                ],
                "properties": {
                  "id": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "key": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "status": {
                    "enum": [
                      "completed"
                    ],
                    "type": "string"
                  },
                  "replayed": {
                    "type": "boolean"
                  },
                  "operation": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "clips_delivery_promote",
          "title": "Promote Reviewed Clip Export",
          "description": "Make one completed export the accepted delivery for a clip after explicit visual-QA confirmation. Replaces the delivery pointer and preserves earlier exports.",
          "inputSchema": {
            "type": "object",
            "required": [
              "clipId",
              "exportId",
              "confirmVisualQa",
              "idempotencyKey"
            ],
            "properties": {
              "clipId": {
                "type": "string",
                "minLength": 1
              },
              "exportId": {
                "type": "string",
                "minLength": 1
              },
              "workspaceId": {
                "type": "string",
                "format": "uuid",
                "description": "UUID string."
              },
              "idempotencyKey": {
                "type": "string",
                "maxLength": 255,
                "minLength": 8
              },
              "confirmVisualQa": {
                "type": "boolean",
                "const": true
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        }
      ],
      "tools_omitted": 0,
      "resources": [
        {
          "name": "clip-batch-widget",
          "uri": "ui://widget/clip-batch.html",
          "mimeType": "text/html;profile=mcp-app",
          "description": "Review playable BlitzReels clips, refresh progress and continue revisions in the conversation."
        },
        {
          "name": "projects-widget",
          "uri": "ui://widget/projects.html",
          "mimeType": "text/html;profile=mcp-app",
          "description": "Shows recent BlitzReels projects and opens the selected editor."
        },
        {
          "name": "export-widget",
          "uri": "ui://widget/export.html",
          "mimeType": "text/html;profile=mcp-app",
          "description": "Follows export progress, then plays and downloads the finished video."
        },
        {
          "name": "project-widget",
          "uri": "ui://widget/project.html",
          "mimeType": "text/html;profile=mcp-app",
          "description": "Shows one project with its latest export and opens it in the editor."
        },
        {
          "name": "generation-widget",
          "uri": "ui://widget/generation.html",
          "mimeType": "text/html;profile=mcp-app",
          "description": "Follows an AI generation, then previews the generated image, video or audio."
        },
        {
          "name": "media-library-widget",
          "uri": "ui://widget/media-library.html",
          "mimeType": "text/html;profile=mcp-app",
          "description": "Browses library media and starts clips or edits from a selected file."
        }
      ],
      "prompts": []
    },
    "instructions": "BlitzReels exposes video project, media, timeline, caption, generation, export, and connected-account publishing operations. Authenticated operations require OAuth."
  },
  "changes": {
    "total": 3,
    "latest": [
      {
        "observed_at": "2026-11-24T08:12:02.360Z",
        "from_sha": "d8bfbc3428b1b26ca9910d09ad65617d7d161fab4836abdc87893894849cf789",
        "to_sha": "1d9101df0f2df7b7bc503dd7af024dc9e9516cf6e524f3046f5c85119138c42d",
        "summary": {
          "tool_added": 4,
          "tool_changed": 3
        },
        "diff": [
          {
            "op": "changed",
            "kind": "tool",
            "name": "video_storyboard_revise",
            "path": "/inputSchema/properties/scene_updates/items/properties/shots/description",
            "after": "Replaces the scene's shots. Durations are scaled to fit the scene exactly. On a scene with spoken lines, the shots carry the lines in speaking order.",
            "before": "Replaces the scene's shots. Durations are scaled to fit the scene exactly."
          },
          {
            "op": "added",
            "kind": "tool",
            "name": "video_storyboard_revise",
            "path": "/inputSchema/properties/scene_updates/items/properties/shots/items/properties/delivery",
            "after": {
              "type": "string",
              "maxLength": 120,
              "minLength": 1,
              "description": "Acting direction for the line, two to four words."
            }
          },
          {
            "op": "added",
            "kind": "tool",
            "name": "video_storyboard_revise",
            "path": "/inputSchema/properties/scene_updates/items/properties/shots/items/properties/line",
            "after": {
              "type": "string",
              "maxLength": 400,
              "minLength": 1,
              "description": "The line spoken during this shot, as captions spell it. Needs speaker_character_id. Only scenes created with several spoken lines accept it."
            }
          },
          {
            "op": "added",
            "kind": "tool",
            "name": "video_storyboard_revise",
            "path": "/inputSchema/properties/scene_updates/items/properties/shots/items/properties/speaker_character_id",
            "after": {
              "type": "string",
              "minLength": 1
            }
          },
          {
            "op": "added",
            "kind": "tool",
            "name": "video_storyboard_revise",
            "path": "/inputSchema/properties/scene_updates/items/properties/shots/items/properties/spoken",
            "after": {
              "type": "string",
              "maxLength": 400,
              "minLength": 1,
              "description": "Phonetic spelling the video model says in place of line, for numbers and acronyms."
            }
          },
          {
            "op": "changed",
            "kind": "tool",
            "name": "generation_options_list",
            "path": "/inputSchema/properties/videoQuote/anyOf/0/properties/model/enum",
            "after": [
              "sync-lipsync-2",
              "flux-3-max",
              "flux-3-max-t2v",
              "grok-imagine-1.5",
              "grok-imagine-1.5-t2v",
              "heygen-video",
              "heygen-video-t2v",
              "omnihuman-v2",
              "creatify-aurora",
              "veed-fabric-1",
              "seedance-2.5-flash",
              "seedance-2.5-flash-ref2v",
              "seedance-2.5-flash-t2v",
              "seedance-2.5-edit",
              "kling-o3-standard-edit",
              "kling-o3-pro-edit",
              "kling-v4-edit",
              "kling-v3-standard-motion-control",
              "kling-v3-pro-motion-control",
              "wan-2.2-animate-replace",
              "kling-2.1",
              "kling-2.6-pro",
              "kling-o1",
              "kling-3.0",
              "kling-v4",
              "kling-v4-ref2v",
              "kling-o3-standard",
              "kling-o3-pro",
              "kling-o3-4k",
              "kling-v3-pro",
              "minimax-01",
              "minimax-hailuo-02",
              "minimax-hailuo-2.3-pro",
              "minimax-h3-max",
              "minimax-hailuo-2.3-pro-t2v",
              "minimax-h3-max-t2v",
              "veo3",
              "veo3.1",
              "veo3.1-fast",
              "gemini-omni-flash-ref2v",
              "gemini-omni-flash-1.2-ref2v",
              "gemini-omni-flash-edit",
              "gemini-omni-flash-1.2-edit",
              "gemini-omni-flash",
              "gemini-omni-flash-1.2",
              "veo3-fast",
              "gemini-omni-flash-t2v",
              "gemini-omni-flash-1.2-t2v",
              "wan-2.7",
              "wan-2.7-ref2v",
              "wan-2.7-t2v",
              "wan-3.0",
              "wan-3.0-prime",
              "wan-3.0-t2v",
              "wan-3.0-prime-t2v",
              "happy-horse",
              "happy-horse-ref2v",
              "happy-horse-t2v",
              "grok-imagine-lite",
              "grok-imagine-lite-t2v",
              "seedance-2.0-pro",
              "seedance-2.5",
              "seedance-2.0-pro-fast",
              "seedance-2.0-ref2v",
              "seedance-2.0-ref2v-fast",
              "seedance-2.0-pro-t2v",
              "seedance-2.5-t2v",
              "seedance-2.0-pro-fast-t2v",
              "kling-o3-standard-t2v",
              "kling-o3-pro-t2v",
              "kling-v3-standard-t2v",
              "kling-v3-pro-t2v",
              "kling-v4-t2v"
            ],
            "before": [
              "sync-lipsync-2",
              "flux-3-max",
              "flux-3-max-t2v",
              "grok-imagine-1.5",
              "grok-imagine-1.5-t2v",
              "heygen-video",
              "heygen-video-t2v",
              "omnihuman-v2",
              "creatify-aurora",
              "veed-fabric-1",
              "seedance-2.5-flash",
              "seedance-2.5-flash-ref2v",
              "seedance-2.5-flash-t2v",
              "seedance-2.5-edit",
              "kling-o3-standard-edit",
              "kling-o3-pro-edit",
              "kling-v4-edit",
              "kling-v3-standard-motion-control",
              "kling-v3-pro-motion-control",
              "wan-2.2-animate-replace",
              "kling-2.1",
              "kling-2.6-pro",
              "kling-o1",
              "kling-3.0",
              "kling-v4",
              "kling-v4-ref2v",
              "kling-o3-standard",
              "kling-o3-pro",
              "kling-o3-4k",
              "kling-v3-pro",
              "minimax-01",
              "minimax-hailuo-02",
              "minimax-hailuo-2.3-pro",
              "minimax-h3-max",
              "minimax-hailuo-2.3-pro-t2v",
              "minimax-h3-max-t2v",
              "veo3",
              "veo3.1",
              "veo3.1-fast",
              "gemini-omni-flash-ref2v",
              "gemini-omni-flash-1.2-ref2v",
              "gemini-omni-flash-edit",
              "gemini-omni-flash-1.2-edit",
              "gemini-omni-flash",
              "gemini-omni-flash-1.2",
              "veo3-fast",
              "gemini-omni-flash-t2v",
              "gemini-omni-flash-1.2-t2v",
              "wan-2.1",
              "wan-2.7",
              "wan-2.7-ref2v",
              "wan-2.7-t2v",
              "wan-3.0",
              "wan-3.0-prime",
              "wan-3.0-t2v",
              "wan-3.0-prime-t2v",
              "happy-horse",
              "happy-horse-ref2v",
              "happy-horse-t2v",
              "krea-wan-14b-t2v",
              "grok-imagine-lite",
              "grok-imagine-lite-t2v",
              "seedance-2.0-pro",
              "seedance-2.5",
              "seedance-2.0-pro-fast",
              "seedance-2.0-ref2v",
              "seedance-2.0-ref2v-fast",
              "seedance-2.0-pro-t2v",
              "seedance-2.5-t2v",
              "seedance-2.0-pro-fast-t2v",
              "kling-o3-standard-t2v",
              "kling-o3-pro-t2v",
              "kling-v3-standard-t2v",
              "kling-v3-pro-t2v",
              "kling-v4-t2v"
            ]
          },
          {
            "op": "changed",
            "kind": "tool",
            "name": "generation_video_create",
            "path": "/inputSchema/properties/model/enum",
            "after": [
              "sync-lipsync-2",
              "flux-3-max",
              "flux-3-max-t2v",
              "grok-imagine-1.5",
              "grok-imagine-1.5-t2v",
              "heygen-video",
              "heygen-video-t2v",
              "omnihuman-v2",
              "creatify-aurora",
              "veed-fabric-1",
              "seedance-2.5-flash",
              "seedance-2.5-flash-ref2v",
              "seedance-2.5-flash-t2v",
              "seedance-2.5-edit",
              "kling-o3-standard-edit",
              "kling-o3-pro-edit",
              "kling-v4-edit",
              "kling-v3-standard-motion-control",
              "kling-v3-pro-motion-control",
              "wan-2.2-animate-replace",
              "kling-2.1",
              "kling-2.6-pro",
              "kling-o1",
              "kling-3.0",
              "kling-v4",
              "kling-v4-ref2v",
              "kling-o3-standard",
              "kling-o3-pro",
              "kling-o3-4k",
              "kling-v3-pro",
              "minimax-01",
              "minimax-hailuo-02",
              "minimax-hailuo-2.3-pro",
              "minimax-h3-max",
              "minimax-hailuo-2.3-pro-t2v",
              "minimax-h3-max-t2v",
              "veo3",
              "veo3.1",
              "veo3.1-fast",
              "gemini-omni-flash-ref2v",
              "gemini-omni-flash-1.2-ref2v",
              "gemini-omni-flash-edit",
              "gemini-omni-flash-1.2-edit",
              "gemini-omni-flash",
              "gemini-omni-flash-1.2",
              "veo3-fast",
              "gemini-omni-flash-t2v",
              "gemini-omni-flash-1.2-t2v",
              "wan-2.7",
              "wan-2.7-ref2v",
              "wan-2.7-t2v",
              "wan-3.0",
              "wan-3.0-prime",
              "wan-3.0-t2v",
              "wan-3.0-prime-t2v",
              "happy-horse",
              "happy-horse-ref2v",
              "happy-horse-t2v",
              "grok-imagine-lite",
              "grok-imagine-lite-t2v",
              "seedance-2.0-pro",
              "seedance-2.5",
              "seedance-2.0-pro-fast",
              "seedance-2.0-ref2v",
              "seedance-2.0-ref2v-fast",
              "seedance-2.0-pro-t2v",
              "seedance-2.5-t2v",
              "seedance-2.0-pro-fast-t2v",
              "kling-o3-standard-t2v",
              "kling-o3-pro-t2v",
              "kling-v3-standard-t2v",
              "kling-v3-pro-t2v",
              "kling-v4-t2v"
            ],
            "before": [
              "sync-lipsync-2",
              "flux-3-max",
              "flux-3-max-t2v",
              "grok-imagine-1.5",
              "grok-imagine-1.5-t2v",
              "heygen-video",
              "heygen-video-t2v",
              "omnihuman-v2",
              "creatify-aurora",
              "veed-fabric-1",
              "seedance-2.5-flash",
              "seedance-2.5-flash-ref2v",
              "seedance-2.5-flash-t2v",
              "seedance-2.5-edit",
              "kling-o3-standard-edit",
              "kling-o3-pro-edit",
              "kling-v4-edit",
              "kling-v3-standard-motion-control",
              "kling-v3-pro-motion-control",
              "wan-2.2-animate-replace",
              "kling-2.1",
              "kling-2.6-pro",
              "kling-o1",
              "kling-3.0",
              "kling-v4",
              "kling-v4-ref2v",
              "kling-o3-standard",
              "kling-o3-pro",
              "kling-o3-4k",
              "kling-v3-pro",
              "minimax-01",
              "minimax-hailuo-02",
              "minimax-hailuo-2.3-pro",
              "minimax-h3-max",
              "minimax-hailuo-2.3-pro-t2v",
              "minimax-h3-max-t2v",
              "veo3",
              "veo3.1",
              "veo3.1-fast",
              "gemini-omni-flash-ref2v",
              "gemini-omni-flash-1.2-ref2v",
              "gemini-omni-flash-edit",
              "gemini-omni-flash-1.2-edit",
              "gemini-omni-flash",
              "gemini-omni-flash-1.2",
              "veo3-fast",
              "gemini-omni-flash-t2v",
              "gemini-omni-flash-1.2-t2v",
              "wan-2.1",
              "wan-2.7",
              "wan-2.7-ref2v",
              "wan-2.7-t2v",
              "wan-3.0",
              "wan-3.0-prime",
              "wan-3.0-t2v",
              "wan-3.0-prime-t2v",
              "happy-horse",
              "happy-horse-ref2v",
              "happy-horse-t2v",
              "krea-wan-14b-t2v",
              "grok-imagine-lite",
              "grok-imagine-lite-t2v",
              "seedance-2.0-pro",
              "seedance-2.5",
              "seedance-2.0-pro-fast",
              "seedance-2.0-ref2v",
              "seedance-2.0-ref2v-fast",
              "seedance-2.0-pro-t2v",
              "seedance-2.5-t2v",
              "seedance-2.0-pro-fast-t2v",
              "kling-o3-standard-t2v",
              "kling-o3-pro-t2v",
              "kling-v3-standard-t2v",
              "kling-v3-pro-t2v",
              "kling-v4-t2v"
            ]
          }
        ],
        "withheld": false
      },
      {
        "observed_at": "2026-11-23T08:03:01.951Z",
        "from_sha": "82c891be595294d2aa6305c26dafe6cb3662b8d519a82dc00b2304adcee70b94",
        "to_sha": "d8bfbc3428b1b26ca9910d09ad65617d7d161fab4836abdc87893894849cf789",
        "summary": {
          "tool_changed": 1
        },
        "diff": [
          {
            "op": "changed",
            "kind": "tool",
            "name": "content_performance_list",
            "path": "/description",
            "after": "Read bounded existing provider-reported engagement in the selected workspace, sorted by views. Filters by format, account and publication window. Returns periodTotals for engagement earned during the period across all posts on the selected accounts, plus per-post lifetime counters, saved watch metrics, capture/check times, availability, and saved Project/export lineage when known. includeDetails includes bounded retention and audience tables. Does not import new data, start monitoring or infer attributable leads, sales or revenue.",
            "before": "Read bounded existing provider-reported engagement in the selected workspace, sorted by views. Filters by format, account and publication window. Returns lifetime counters, saved watch metrics, capture/check times, availability, and saved Project/export lineage when known. includeDetails includes bounded retention and audience tables. Does not import new data, start monitoring or infer attributable leads, sales or revenue."
          }
        ],
        "withheld": false
      },
      {
        "observed_at": "2026-11-22T08:01:03.101Z",
        "from_sha": "9d505c938c930bc01d909e4214228c7d6bde8145bd3fcfb2fbb506c19fa1f27b",
        "to_sha": "82c891be595294d2aa6305c26dafe6cb3662b8d519a82dc00b2304adcee70b94",
        "summary": {
          "tool_added": 6,
          "tool_changed": 6,
          "tool_removed": 1
        },
        "diff": [
          {
            "op": "changed",
            "kind": "tool",
            "name": "generation_options_list",
            "path": "/description",
            "after": "List models, defaults, limits and credit costs for one generation kind. For a selected video model, pass videoQuote with its model, seconds and optional resolution to check the workspace's current eligibility and a shorter option when available. Durations come from durations_seconds. A quote spends no credits and reserves no capacity.",
            "before": "List the models, defaults, limits, and credit costs available for one generation kind before queueing it. Video duration is an enum per model (durations_seconds), not a min-max range."
          },
          {
            "op": "added",
            "kind": "tool",
            "name": "generation_options_list",
            "path": "/inputSchema/$schema",
            "after": "https://json-schema.org/draft/2020-12/schema"
          },
          {
            "op": "removed",
            "kind": "tool",
            "name": "generation_options_list",
            "path": "/inputSchema/properties/kind/description",
            "before": "Generation kind to describe."
          },
          {
            "op": "added",
            "kind": "tool",
            "name": "generation_options_list",
            "path": "/inputSchema/properties/videoQuote",
            "after": {
              "anyOf": [
                {
                  "type": "object",
                  "required": [
                    "model",
                    "seconds"
                  ],
                  "properties": {
                    "model": {
                      "enum": [
                        "sync-lipsync-2",
                        "flux-3-max",
                        "flux-3-max-t2v",
                        "grok-imagine-1.5",
                        "grok-imagine-1.5-t2v",
                        "heygen-video",
                        "heygen-video-t2v",
                        "omnihuman-v2",
                        "creatify-aurora",
                        "veed-fabric-1",
                        "seedance-2.5-flash",
                        "seedance-2.5-flash-ref2v",
                        "seedance-2.5-flash-t2v",
                        "seedance-2.5-edit",
                        "kling-o3-standard-edit",
                        "kling-o3-pro-edit",
                        "kling-v4-edit",
                        "kling-v3-standard-motion-control",
                        "kling-v3-pro-motion-control",
                        "wan-2.2-animate-replace",
                        "kling-2.1",
                        "kling-2.6-pro",
                        "kling-o1",
                        "kling-3.0",
                        "kling-v4",
                        "kling-v4-ref2v",
                        "kling-o3-standard",
                        "kling-o3-pro",
                        "kling-o3-4k",
                        "kling-v3-pro",
                        "minimax-01",
                        "minimax-hailuo-02",
                        "minimax-hailuo-2.3-pro",
                        "minimax-h3-max",
                        "minimax-hailuo-2.3-pro-t2v",
                        "minimax-h3-max-t2v",
                        "veo3",
                        "veo3.1",
                        "veo3.1-fast",
                        "gemini-omni-flash-ref2v",
                        "gemini-omni-flash-1.2-ref2v",
                        "gemini-omni-flash-edit",
                        "gemini-omni-flash-1.2-edit",
                        "gemini-omni-flash",
                        "gemini-omni-flash-1.2",
                        "veo3-fast",
                        "gemini-omni-flash-t2v",
                        "gemini-omni-flash-1.2-t2v",
                        "wan-2.1",
                        "wan-2.7",
                        "wan-2.7-ref2v",
                        "wan-2.7-t2v",
                        "wan-3.0",
                        "wan-3.0-prime",
                        "wan-3.0-t2v",
                        "wan-3.0-prime-t2v",
                        "happy-horse",
                        "happy-horse-ref2v",
                        "happy-horse-t2v",
                        "krea-wan-14b-t2v",
                        "grok-imagine-lite",
                        "grok-imagine-lite-t2v",
                        "seedance-2.0-pro",
                        "seedance-2.5",
                        "seedance-2.0-pro-fast",
                        "seedance-2.0-ref2v",
                        "seedance-2.0-ref2v-fast",
                        "seedance-2.0-pro-t2v",
                        "seedance-2.5-t2v",
                        "seedance-2.0-pro-fast-t2v",
                        "kling-o3-standard-t2v",
                        "kling-o3-pro-t2v",
                        "kling-v3-standard-t2v",
                        "kling-v3-pro-t2v",
                        "kling-v4-t2v"
                      ],
                      "type": "string"
                    },
                    "seconds": {
                      "type": "integer",
                      "maximum": 9007199254740991,
                      "exclusiveMinimum": 0
                    },
                    "resolution": {
                      "anyOf": [
                        {
                          "enum": [
                            "360p",
                            "480p",
                            "720p",
                            "768p",
                            "1080p",
                            "4k"
                          ],
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  }
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          {
            "op": "added",
            "kind": "tool",
            "name": "generation_options_list",
            "path": "/inputSchema/properties/workspaceId",
            "after": {
              "anyOf": [
                {
                  "type": "string",
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          {
            "op": "added",
            "kind": "tool",
            "name": "generation_options_list",
            "path": "/outputSchema/properties/videoQuote",
            "after": {
              "type": "object",
              "required": [
                "model",
                "seconds",
                "resolution",
                "estimatedCredits",
                "creditsRemaining",
                "allowed",
                "reason",
                "shorterOption"
              ],
              "properties": {
                "model": {
                  "type": "string"
                },
                "reason": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "allowed": {
                  "type": "boolean"
                },
                "seconds": {
                  "type": "integer"
                },
                "resolution": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "shorterOption": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "required": [
                    "seconds",
                    "estimatedCredits"
                  ],
                  "properties": {
                    "seconds": {
                      "type": "integer"
                    },
                    "estimatedCredits": {
                      "type": "number"
                    }
                  }
                },
                "creditsRemaining": {
                  "type": "number"
                },
                "estimatedCredits": {
                  "type": "number"
                }
              }
            }
          },
          {
            "op": "changed",
            "kind": "tool",
            "name": "generation_video_create",
            "path": "/description",
            "after": "Queue video generation, image animation, source-video editing or character replacement into the media library. Spends AI credits. Check the selected model and duration first with generation_options_list and videoQuote. Editing accepts referenceVideoAssetIds and transformation controls, including original-audio preservation. Read the queued job with generation_jobs_get.",
            "before": "Queue video generation, image animation, source-video editing or character replacement into the media library. Editing accepts referenceVideoAssetIds and transformation controls, including original-audio preservation. Spends AI credits and returns a job readable with generation_jobs_get."
          },
          {
            "op": "changed",
            "kind": "tool",
            "name": "generation_faceless_create",
            "path": "/description",
            "after": "Prepare a storyboard for a faceless video with optional voiceover, captions, music and sound. Poll generation_jobs_get for the storyboard, then use video_storyboard_get to review the scenes and estimated cost before approving production. Planning spends AI credits.",
            "before": "Turn a script into a full faceless video project: scene plan, generated visuals, optional voiceover, captions, music, and sound. Spends AI credits and returns a job to poll with generation_jobs_get."
          },
          {
            "op": "changed",
            "kind": "tool",
            "name": "generation_jobs_get",
            "path": "/description",
            "after": "Read generation status, failure category, ledger-confirmed credit outcome, prompt history and compatible model alternatives. Alternatives report duration splits, estimated credits and unverified acceptance. reviewUrl opens prompt review and support escalation. Completed media jobs include the asset when available. A completed faceless planning job returns a storyboard revision for review before video production.",
            "before": "Read generation status, failure category, ledger-confirmed credit outcome, prompt history and compatible model alternatives. Alternatives report duration splits, estimated credits and unverified acceptance. reviewUrl opens prompt review and support escalation. Completed jobs include a media ID and download URL."
          },
          {
            "op": "changed",
            "kind": "tool",
            "name": "generation_jobs_get",
            "path": "/outputSchema/properties/job/properties/recovery/anyOf/0/properties/failure/properties/category/enum",
            "after": [
              "trial_limit",
              "copyright",
              "content_policy",
              "reference",
              "invalid_input",
              "temporary",
              "unknown"
            ],
            "before": [
              "copyright",
              "content_policy",
              "reference",
              "invalid_input",
              "temporary",
              "unknown"
            ]
          },
          {
            "op": "added",
            "kind": "tool",
            "name": "generation_jobs_get",
            "path": "/outputSchema/properties/job/properties/result",
            "after": {
              "type": [
                "object",
                "null"
              ],
              "additionalProperties": true
            }
          },
          {
            "op": "changed",
            "kind": "tool",
            "name": "generation_jobs_cancel",
            "path": "/outputSchema/properties/job/properties/recovery/anyOf/0/properties/failure/properties/category/enum",
            "after": [
              "trial_limit",
              "copyright",
              "content_policy",
              "reference",
              "invalid_input",
              "temporary",
              "unknown"
            ],
            "before": [
              "copyright",
              "content_policy",
              "reference",
              "invalid_input",
              "temporary",
              "unknown"
            ]
          },
          {
            "op": "added",
            "kind": "tool",
            "name": "generation_jobs_cancel",
            "path": "/outputSchema/properties/job/properties/result",
            "after": {
              "type": [
                "object",
                "null"
              ],
              "additionalProperties": true
            }
          }
        ],
        "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."
}