{
  "tools": [
    {
      "name": "accept_character_voice_line",
      "description": "Accept or undo extra time for a replacement voice line. Read the timing changes in inspect_and_resume_character_voices first. The final accepted line can publish the replacement voices.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "changeId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "itemId": {
            "type": "string",
            "minLength": 1
          },
          "accepted": {
            "type": "boolean"
          }
        },
        "required": [
          "projectId",
          "changeId",
          "itemId",
          "accepted"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "add_blank_card",
      "description": "Add a blank Card at the chosen position using the same editor action. Keep requestId after a lost reply. Use the stored script version from read_project when required.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "sceneId": {
            "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"
              }
            ]
          },
          "afterCardId": {
            "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"
              }
            ]
          },
          "expectedScriptVersion": {
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 9007199254740991
          }
        },
        "required": [
          "projectId",
          "requestId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "add_custom_voice",
      "description": "Add a voice of the ElevenLabs Voice Library to the user's account from its share link, as Add voice of the voice picker does. The user gives the link (elevenlabs.io); never make one up. The plan sets how many custom voices an account can add (customVoiceLimit and customVoiceCount in the answer), and a voice with an extra usage fee is refused. A voice that the account or the catalog has already is given back with alreadyExists true. Returns the voice with its id for set_character_voice and the voice changes. Free.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "shareLink": {
            "type": "string",
            "minLength": 1,
            "maxLength": 2048
          }
        },
        "required": [
          "shareLink"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "add_video_to_series",
      "description": "Add one of the user's finished videos to a series as its next episode, as Add a video on the page of the series does (list_addable_videos gives the videos that can join). On a series that has episodes, the add is free and asks nothing. On a planned series with no episode (a draft plan, or a plan that lost its videos) the video becomes its episode and the series starts: it makes its planned episodes on its schedule, the first one at once, continuing this video with its settings, and charges each one when it makes it. So the user approves that add: the first call returns the approval request, with the titles and the ideas of the planned episodes, the schedule of the series, their count and the price of one. A change of the plan or of the schedule after the question asks again. The answer has episodeNumber, and for a draft what the series does now (start). A refusal says why in details.reason: wrong_universe, project_in_series, project_not_finished, series_busy (an episode is being made), plan_changed. Call it only when the user asked to add this video to this series.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "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)$"
          }
        },
        "required": [
          "seriesId",
          "projectId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "add_voice_line",
      "description": "Generate and add one new spoken line from quote_add_voice_line after confirmation of its exact text, credit price and revision. Keep requestId and the exact input after a lost response; pending or uncertain work must not be started with a new ID.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "change": {
            "type": "object",
            "properties": {
              "cardId": {
                "type": "string",
                "minLength": 1
              },
              "characterId": {
                "type": "string",
                "minLength": 1
              },
              "text": {
                "type": "string",
                "minLength": 1
              },
              "afterTimelineItemId": {
                "anyOf": [
                  {
                    "type": "string",
                    "minLength": 1
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "beforeTimelineItemId": {
                "anyOf": [
                  {
                    "type": "string",
                    "minLength": 1
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "kind": {
                "type": "string",
                "const": "add"
              }
            },
            "required": [
              "cardId",
              "characterId",
              "text",
              "kind"
            ],
            "additionalProperties": false
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-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": "Keep this ID after a lost reply. Use a new ID only for a new user-requested operation."
          },
          "quoteRevision": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$"
          },
          "quotedCredits": {
            "type": "number",
            "minimum": 0
          }
        },
        "required": [
          "projectId",
          "change",
          "requestId",
          "quoteRevision",
          "quotedCredits"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "animate_coverage",
      "description": "Animate reviewed existing Shots after customer confirmation. Some tiers split long dialogue into shorter Shots. Copy acceptedQuotes from quote_coverage_animation. Keep requestId after a lost reply; a completed request returns the original partial or complete receipt.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "shotIds": {
            "minItems": 1,
            "maxItems": 100,
            "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)$"
            }
          },
          "generationOptions": {
            "type": "object",
            "properties": {
              "modelPreset": {
                "type": "string",
                "enum": [
                  "mini",
                  "fast",
                  "pro",
                  "super_pro",
                  "ultra",
                  "universe_default"
                ]
              },
              "requestedModel": {
                "type": "string",
                "minLength": 1
              }
            },
            "additionalProperties": false
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "acceptedQuotes": {
            "type": "object",
            "propertyNames": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-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": {
              "oneOf": [
                {
                  "type": "object",
                  "properties": {
                    "kind": {
                      "type": "string",
                      "const": "whole"
                    },
                    "revision": {
                      "type": "string",
                      "pattern": "^[a-f0-9]{64}$"
                    },
                    "quote": {
                      "type": "object",
                      "properties": {
                        "version": {
                          "type": "string",
                          "const": "edit-animation-v1"
                        },
                        "layer": {
                          "type": "string",
                          "const": "animation"
                        },
                        "shotId": {
                          "type": "string",
                          "minLength": 1
                        },
                        "credits": {
                          "type": "number",
                          "exclusiveMinimum": 0
                        },
                        "durationSeconds": {
                          "type": "number",
                          "exclusiveMinimum": 0
                        },
                        "model": {
                          "type": "string",
                          "minLength": 1
                        }
                      },
                      "required": [
                        "version",
                        "layer",
                        "shotId",
                        "credits",
                        "durationSeconds",
                        "model"
                      ],
                      "additionalProperties": false
                    },
                    "funding": {
                      "type": "object",
                      "properties": {
                        "priceCredits": {
                          "type": "number",
                          "minimum": 0
                        },
                        "credits": {
                          "type": "number",
                          "minimum": 0
                        },
                        "poolCredits": {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        "source": {
                          "type": "string",
                          "enum": [
                            "free_repair",
                            "balance"
                          ]
                        }
                      },
                      "required": [
                        "priceCredits",
                        "credits",
                        "poolCredits",
                        "source"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "kind",
                    "revision",
                    "quote",
                    "funding"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "kind": {
                      "type": "string",
                      "const": "split"
                    },
                    "revision": {
                      "type": "string",
                      "pattern": "^[a-f0-9]{64}$"
                    },
                    "shotId": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                    },
                    "pieces": {
                      "type": "integer",
                      "minimum": 2,
                      "maximum": 9007199254740991
                    },
                    "credits": {
                      "type": "number",
                      "exclusiveMinimum": 0
                    }
                  },
                  "required": [
                    "kind",
                    "revision",
                    "shotId",
                    "pieces",
                    "credits"
                  ],
                  "additionalProperties": false
                }
              ]
            }
          }
        },
        "required": [
          "projectId",
          "shotIds",
          "requestId",
          "acceptedQuotes"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "archive_card",
      "description": "Archive a Card from the saved video. Supply the observed active Card order and revisions. The Card can be restored.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "cardId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "expectedCardUpdatedAt": {
            "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|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
          },
          "expectedActiveCards": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "cardId": {
                  "type": "string",
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                },
                "updatedAt": {
                  "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|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                }
              },
              "required": [
                "cardId",
                "updatedAt"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "projectId",
          "cardId",
          "expectedCardUpdatedAt",
          "expectedActiveCards"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "archive_character",
      "description": "Archive one of the user's saved characters, or restore it with archived false, as Archive and Restore on the Characters page do. An archived character stays in the videos that use it, and goes out of the picker. A restore counts against the character limit of the plan. Free.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "characterId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "archived": {
            "type": "boolean"
          }
        },
        "required": [
          "characterId",
          "archived"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "archive_shot",
      "description": "Archive a Shot timeline item from a Card, with the requested ripple behavior and observed Card revision. Keep requestId after a lost response.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "cardId": {
            "type": "string",
            "minLength": 1
          },
          "timelineItemId": {
            "type": "string",
            "minLength": 1
          },
          "expectedCardUpdatedAt": {
            "type": "string",
            "minLength": 1
          },
          "ripple": {
            "type": "boolean"
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-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": "Keep this ID after a lost reply. Use a new ID only for a new user-requested operation."
          }
        },
        "required": [
          "projectId",
          "cardId",
          "timelineItemId",
          "requestId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "archive_shot_take",
      "description": "Archive a saved image or video take of a Shot, or bring an archived take back (archived false). No media generation. The take in use cannot be archived: select another take first. An archived take stays saved.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "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)$"
          },
          "archived": {
            "type": "boolean"
          }
        },
        "required": [
          "projectId",
          "assetId",
          "archived"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "archive_visual_style",
      "description": "Archive one of the user's own visual styles, as Archive on the style page does: it goes out of the lists. Videos made with it stay. Call it only when the user asked to archive this exact style: name it first. Free.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "styleId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          }
        },
        "required": [
          "styleId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "attach_element",
      "description": "Attach an accessible library character, location or object. Repeating the same source keeps one attachment. No media is generated.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "source": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "kind": {
                    "type": "string",
                    "const": "character"
                  },
                  "sourceId": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  }
                },
                "required": [
                  "kind",
                  "sourceId"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "kind": {
                    "type": "string",
                    "const": "location"
                  },
                  "sourceId": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  }
                },
                "required": [
                  "kind",
                  "sourceId"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "kind": {
                    "type": "string",
                    "const": "object"
                  },
                  "sourceId": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  }
                },
                "required": [
                  "kind",
                  "sourceId"
                ],
                "additionalProperties": false
              }
            ]
          }
        },
        "required": [
          "projectId",
          "source"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "cancel_character_voice_change",
      "description": "Cancel a pending voice replacement. This does not undo work already accepted by the generation service.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "changeId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          }
        },
        "required": [
          "projectId",
          "changeId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "cancel_post",
      "description": "Cancel a post that is queued or scheduled, as Cancel in the Posts tab does. A post that started its upload cannot be canceled. Only when the user asked to cancel this post. Free.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          }
        },
        "required": [
          "postId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "change_character_voice",
      "description": "Replace one speaker's generated voice using an accepted quote. Requires customer confirmation. Keep the same request ID after a lost reply; inspect_and_resume_character_voices gives progress.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "speakerId": {
            "type": "string",
            "minLength": 1
          },
          "targetVoiceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 100
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-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": "string",
            "minLength": 64,
            "maxLength": 64
          },
          "quotedCredits": {
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 9007199254740991
          }
        },
        "required": [
          "projectId",
          "speakerId",
          "targetVoiceId",
          "requestId",
          "revision",
          "quotedCredits"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "change_element_look",
      "description": "Draw a new look for one saved character, location or object of the user's library, as the edit page of the element does. way describe: instruction says what to change in the picture that the element has (the element needs a picture). way redraw: fields gives the look text and a new picture is drawn from it; a character takes appearance and clothing, a location or an object takes description. The result is a new version of the element: a video that is made keeps the version that it used. Costs credits: pass lookChangeCredits of read_saved_element as quotedCredits. The credits are reserved at the start and charged when the picture is ready; a look that fails is not charged. Requires the user's approval over the spending limits. One look is drawn for an element at a time. Then read_saved_element about each 20 seconds: lookChange.status goes from drawing to applied or failed, and pictureUrl is the new picture. Keep the same request ID after a lost reply; never create a new ID to recover an uncertain request.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-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": "Keep this ID after a lost reply. Use a new ID only for a new user-requested operation."
          },
          "kind": {
            "type": "string",
            "enum": [
              "character",
              "location",
              "object"
            ]
          },
          "elementId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "way": {
            "type": "string",
            "enum": [
              "describe",
              "redraw"
            ]
          },
          "instruction": {
            "type": "string",
            "minLength": 1,
            "maxLength": 1000
          },
          "fields": {
            "type": "object",
            "properties": {
              "appearance": {
                "type": "string",
                "maxLength": 2000
              },
              "clothing": {
                "type": "string",
                "maxLength": 2000
              },
              "description": {
                "type": "string",
                "maxLength": 2000
              }
            },
            "additionalProperties": false
          },
          "quotedCredits": {
            "type": "number",
            "minimum": 0,
            "description": "The price that the read of this element gave, unchanged."
          }
        },
        "required": [
          "requestId",
          "kind",
          "elementId",
          "way",
          "quotedCredits"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "change_narrator_voice",
      "description": "Make the whole voiceover of a video again in another voice and render the video again, at the price of quote_narrator_voice. Requires the person's approval of that price. The old voiceover plays until the new one is ready. Read read_narrator_voice_change for the state of the change after this tool answers 'queued'. Keep requestId after a lost reply: the same request gives its saved answer and starts no second change; read_operation reads it too. LongStories refuses a second change while one runs (voice_change_in_progress) and a change to the voice that the video has (same_voice). Undo does not reverse a voice change.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "targetVoiceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200
          },
          "quotedCredits": {
            "type": "number",
            "exclusiveMinimum": 0,
            "description": "credits of quote_narrator_voice, unchanged."
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-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": "Keep this ID after a lost reply. Use a new ID only for a new user-requested operation."
          }
        },
        "required": [
          "projectId",
          "targetVoiceId",
          "quotedCredits",
          "requestId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "change_saved_element_text",
      "description": "Change the words of a saved element, as Save on its edit page does: the name, and for a character its description, personality and speech (empty text clears personality or speech). A place or an object changes its description with a new look, not here. Pass expectedVersionId, expectedHandle and expectedHandleChosen from read_saved_element; mentionHandle null keeps the handle following the name. A save makes a new version; videos that are made keep their version. Free.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "enum": [
              "character",
              "location",
              "object"
            ]
          },
          "elementId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "expectedVersionId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "expectedHandle": {
            "type": "string",
            "maxLength": 80
          },
          "expectedHandleChosen": {
            "type": "boolean"
          },
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120
          },
          "description": {
            "type": "string",
            "minLength": 1,
            "maxLength": 2000
          },
          "personality": {
            "type": "string",
            "maxLength": 600
          },
          "speech": {
            "type": "string",
            "maxLength": 400
          },
          "mentionHandle": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 80
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "kind",
          "elementId",
          "expectedVersionId",
          "expectedHandle",
          "expectedHandleChosen",
          "name",
          "mentionHandle"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "change_series_plan",
      "description": "Change the plan of a series, as the page of the series does: its open planned episodes (edit, move, remove, add), and optionally its title, its theme and its schedule. episodes is the whole open plan in its new order: read_series first, send its revision, each planned episode that stays with its plannedEpisodeId (status planned only), and a new episode with no ID. An open planned episode that is not in the list is removed from the plan. The plan is saved only when the series still has that revision: a series that changed after that read is a conflict (reason series_changed) and nothing is saved, so read the series again and make the change again. title, theme and schedule stay as they are when you do not send them. This tool starts nothing and is free, so it never lets a series make more episodes without the user's yes: on a series that makes its planned episodes now, a change that adds episodes or changes the schedule is refused (pause_first). Call pause_series, read the series again, make the change, then resume_series: the resume asks the user with the count and the price. On a series with no schedule, the planned episodes wait for start_series_plan, which asks the user with the price. The answer says the state of the series (state): running, paused, draft (its first episode is not made yet) or waits_for_start.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "revision": {
            "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|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
          },
          "title": {
            "type": "string",
            "minLength": 1
          },
          "theme": {
            "type": [
              "string",
              "null"
            ]
          },
          "schedule": {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "enum": [
                  "back_to_back",
                  "daily",
                  "weekly"
                ]
              },
              "time": {
                "anyOf": [
                  {
                    "type": "string",
                    "pattern": "^\\d{2}:\\d{2}$"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "timezone": {
                "anyOf": [
                  {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 64
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "kind",
              "time",
              "timezone"
            ]
          },
          "episodes": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "plannedEpisodeId": {
                  "type": "string",
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                },
                "title": {
                  "type": "string",
                  "minLength": 1
                },
                "idea": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "required": [
                "title",
                "idea"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "seriesId",
          "revision",
          "episodes"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "change_universe",
      "description": "Change one of the user's own universes, as Save on the \"Your universe\" page does. Send only the fields that change; a field that you do not send stays as it is. Read read_universe_settings first: a list (characters, locations, objects, visualStyleIds, examplePrompts, additionalVoices) replaces the saved list, so send each item that must stay. characters, locations and objects are the user's own saved elements, each with how it fits (role). castPolicy says which characters a video of this universe can have: open (its cast and the characters of the person who makes the video), universe_and_generated, or universe_only. isPublic false needs a subscription. musicSlug is a track of list_music_tracks or of the LongStories catalog (read_project_music). imageModel, customImageModelEnabled, videoModel and customModelEnabled need a plan that selects models. Free; it starts no work.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": true
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "initialPrompt": {
            "type": "string",
            "maxLength": 10000
          },
          "isPublic": {
            "type": "boolean"
          },
          "forKids": {
            "type": "boolean"
          },
          "characters": {
            "maxItems": 100,
            "type": "array",
            "items": {
              "type": "object",
              "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)$"
                },
                "role": {
                  "type": "string",
                  "maxLength": 500
                }
              },
              "required": [
                "id",
                "role"
              ],
              "additionalProperties": false
            }
          },
          "locations": {
            "maxItems": 100,
            "type": "array",
            "items": {
              "type": "object",
              "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)$"
                },
                "role": {
                  "type": "string",
                  "maxLength": 500
                }
              },
              "required": [
                "id",
                "role"
              ],
              "additionalProperties": false
            }
          },
          "objects": {
            "maxItems": 100,
            "type": "array",
            "items": {
              "type": "object",
              "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)$"
                },
                "role": {
                  "type": "string",
                  "maxLength": 500
                }
              },
              "required": [
                "id",
                "role"
              ],
              "additionalProperties": false
            }
          },
          "castPolicy": {
            "type": "string",
            "enum": [
              "open",
              "universe_and_generated",
              "universe_only"
            ]
          },
          "allowScriptInput": {
            "type": "boolean"
          },
          "allowAudioInput": {
            "type": "boolean"
          },
          "allowSongInput": {
            "type": "boolean"
          },
          "captionsEnabled": {
            "type": "boolean"
          },
          "captionsStyle": {
            "type": "string",
            "enum": [
              "none",
              "default",
              "minimal",
              "neon",
              "cinematic",
              "fancy",
              "tiktok",
              "highlight",
              "gradient",
              "intellectual",
              "vida",
              "manuscripts",
              "subtitle",
              "modern",
              "bounce",
              "popcorn",
              "typewriter",
              "handwritten",
              "karaoke",
              "retro",
              "gaming"
            ]
          },
          "captionsPosition": {
            "type": "string",
            "enum": [
              "center",
              "bottom",
              "top"
            ]
          },
          "musicEnabled": {
            "type": "boolean"
          },
          "musicVolume": {
            "type": "number",
            "minimum": 0,
            "maximum": 1
          },
          "voiceEnabled": {
            "type": "boolean"
          },
          "imageModel": {
            "type": "string",
            "enum": [
              "z_image_turbo",
              "flux_schnell",
              "imagen4_fast",
              "sdxl",
              "hidream_fast",
              "leonardo_flux_precision",
              "bytedance_seedream_v3",
              "bytedance_seedream_v4",
              "bytedance_seedream_v45",
              "bytedance_seedream_v5_lite",
              "bytedance_seedream_v5_pro",
              "bytedance_seedream_v5_pro_edit",
              "bytedance_seedream_v5_pro_fast",
              "bytedance_seedream_v5_pro_fast_edit",
              "bytedance_seedream_v45_edit",
              "bytedance_seedream_v5_lite_edit",
              "bytedance_seedream_v4_edit",
              "nano_banana_edit",
              "nano_banana_2",
              "nano_banana_2_lite",
              "nano_banana_2_lite_edit",
              "nano_banana_2_edit",
              "qwen_image_edit_multiple_angles",
              "nano_banana_pro",
              "nano_banana_pro_edit",
              "glm_image",
              "glm_image_edit",
              "meta_muse_image",
              "meta_muse_image_edit",
              "mai_image_25",
              "mai_image_25_edit",
              "mai_image_25_pro",
              "mai_image_25_pro_edit",
              "mai_image_26",
              "mai_image_26_flash",
              "gpt_image_2_low",
              "gpt_image_2_medium",
              "gpt_image_2",
              "gpt_image_2_edit_low",
              "gpt_image_2_edit_medium",
              "gpt_image_2_edit",
              "gpt_image_25_flare_low",
              "gpt_image_25_flare_medium",
              "gpt_image_25_flare_high",
              "gpt_image_25_flare_low_edit",
              "gpt_image_25_flare_medium_edit",
              "gpt_image_25_flare_high_edit",
              "gpt_image_25_sunburst_low",
              "gpt_image_25_sunburst_medium",
              "gpt_image_25_sunburst_high",
              "gpt_image_25_sunburst_low_edit",
              "gpt_image_25_sunburst_medium_edit",
              "gpt_image_25_sunburst_high_edit",
              "gpt_image_26_sunburst_medium",
              "gpt_image_26_sunburst_medium_edit",
              "grok_imagine_2",
              "grok_imagine_2_edit",
              "sd35_medium",
              "sd35_large_turbo",
              "fal-ai/gemini-25-flash-image",
              "reve-v1",
              "hidream_dev",
              "qwen_image",
              "leonardo_phoenix_quality",
              "flux_pro",
              "recraft",
              "sd35_large",
              "flux_pro_ultra",
              "hidream_full",
              "midjourney",
              "leonardo_phoenix_ultra",
              "gpt_image_1",
              "fal-ai/imagen4/preview",
              "nano_banana_21_edit"
            ]
          },
          "customImageModelEnabled": {
            "type": "boolean"
          },
          "customModelEnabled": {
            "type": "boolean"
          },
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200
          },
          "displayName": {
            "type": "string",
            "minLength": 1,
            "maxLength": 50
          },
          "description": {
            "type": "string",
            "maxLength": 2000
          },
          "lore": {
            "type": "string",
            "maxLength": 6000
          },
          "rules": {
            "type": "string",
            "maxLength": 2000
          },
          "artDirection": {
            "type": "string",
            "maxLength": 4000
          },
          "audience": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "kids",
                  "teens",
                  "adults",
                  "everyone"
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "examplePrompts": {
            "maxItems": 20,
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 1000
            }
          },
          "visualStyleIds": {
            "maxItems": 50,
            "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)$"
            }
          },
          "musicSlug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200
          },
          "voiceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200
          },
          "narratorLabel": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200
          },
          "additionalVoices": {
            "maxItems": 20,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "language": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 20
                },
                "voiceId": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 200
                }
              },
              "required": [
                "language",
                "voiceId"
              ],
              "additionalProperties": false
            }
          },
          "videoModel": {
            "type": "string",
            "enum": [
              "seedance_2",
              "seedance_2_fast",
              "seedance_2_mini",
              "seedance_15_pro",
              "minimax_h3_image_to_video",
              "minimax_h3_max_turbo",
              "pixverse_v6",
              "pixverse_v55",
              "seedance_1_pro",
              "seedance_1_fast",
              "kling_v3_std",
              "kling_v2_5_turbo_std",
              "kling_v2_5_turbo_pro",
              "veo_31",
              "veo_31_fast",
              "veo_31_lite",
              "kling_v3_pro",
              "kling_o3_std",
              "hailuo_23",
              "wan_27",
              "vidu_q3",
              "ltx_23",
              "grok_imagine",
              "skyreels_v4",
              "runway_gen45"
            ]
          }
        },
        "required": [
          "slug"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "change_visual_style",
      "description": "Change the name, the description or the style text (stylePhrase) of one of the user's own visual styles, as Save on the style page does. Give only the texts that change: a text that is not given stays as it is, and an empty description or stylePhrase clears it. Each picture that is drawn in this style from then on gets the new style text; a video that is made keeps its pictures. Free.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "styleId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-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",
            "minLength": 1,
            "maxLength": 200
          },
          "description": {
            "type": "string",
            "maxLength": 2000
          },
          "stylePhrase": {
            "type": "string",
            "maxLength": 2000
          }
        },
        "required": [
          "styleId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "close_universe_picture_set",
      "description": "Close the newest set of drawn pictures of one of the user's own universes with no new choice, as Close on the \"Your universe\" page does. Its pictures stay in the earlier pictures, and nothing in use changes. Free.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200
          },
          "setId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          }
        },
        "required": [
          "slug",
          "setId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "confirm_operation",
      "description": "Record the user's answer to a paid operation that returned approval_required. Call it only after you told the user the exact action and its credit cost from that reply, and the user answered yes or no in this conversation. Never answer for the user. After a yes, call the paid tool again with the same input and request ID. This starts nothing by itself.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "approvalId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "userSaid": {
            "type": "string",
            "enum": [
              "yes",
              "no"
            ]
          }
        },
        "required": [
          "approvalId",
          "userSaid"
        ]
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "copy_video_script_to_draft",
      "description": "Save the supplied video script as a separate editable draft. Keeps the original video intact. Use requestId to recover a lost reply.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-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": "Keep this ID after a lost reply. Use a new ID only for a new user-requested operation."
          },
          "script": {
            "type": "string",
            "minLength": 1,
            "maxLength": 100000
          }
        },
        "required": [
          "projectId",
          "requestId",
          "script"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "create_card",
      "description": "Save a Card with a complete customer script in a project scene. Use visual action and @Narrator: \"spoken words\". No media generation. Keep idempotencyKey and content after a lost reply.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "minLength": 1
          },
          "sceneId": {
            "type": "string",
            "minLength": 1
          },
          "title": {
            "type": "string",
            "minLength": 1
          },
          "cardScript": {
            "type": "string",
            "minLength": 1
          },
          "afterCardId": {
            "type": "string",
            "minLength": 1
          },
          "idempotencyKey": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "lengthHintSeconds": {
            "type": "number",
            "exclusiveMinimum": 0
          }
        },
        "required": [
          "projectId",
          "sceneId",
          "title",
          "cardScript",
          "idempotencyKey"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "create_character",
      "description": "Create a reusable character from its name, description, appearance, and clothing, with an optional personality (at most 600 characters) and speech, how they talk (at most 400). Your character limit applies. This does not generate an image. Keep the same request ID after a lost reply.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 120
          },
          "description": {
            "type": "string"
          },
          "appearance": {
            "type": "string"
          },
          "clothing": {
            "type": "string"
          },
          "personality": {
            "default": "",
            "type": "string",
            "maxLength": 600
          },
          "speech": {
            "default": "",
            "type": "string",
            "maxLength": 400
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          }
        },
        "required": [
          "name",
          "description",
          "appearance",
          "clothing",
          "requestId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "create_characters_from_image",
      "description": "Create reusable characters from an image (file or uploadId). Uses the same image analysis, moderation and character limit as the character library. Keep requestId after a lost reply.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-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": "Keep this ID after a lost reply. Use a new ID only for a new user-requested operation."
          },
          "file": {
            "description": "A file that the user attached in the app, or a direct public HTTPS link to the file: { download_url: <link>, file_id: <any text> }.",
            "type": "object",
            "properties": {
              "download_url": {
                "type": "string"
              },
              "file_id": {
                "type": "string",
                "minLength": 1
              },
              "mime_type": {
                "type": "string"
              },
              "file_name": {
                "type": "string"
              }
            },
            "required": [
              "download_url",
              "file_id"
            ],
            "additionalProperties": false
          },
          "uploadId": {
            "description": "A file on the user's computer: the uploadId of start_file_upload, after the PUT of the file.",
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          }
        },
        "required": [
          "requestId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "create_element",
      "description": "Create a reusable location or object from its customer description and attach it. Saves text only. Keep requestId after a lost reply.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-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": {
            "type": "string",
            "enum": [
              "location",
              "object"
            ]
          },
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120
          },
          "description": {
            "type": "string",
            "minLength": 1,
            "maxLength": 4000
          }
        },
        "required": [
          "projectId",
          "requestId",
          "kind",
          "name",
          "description"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "create_project",
      "description": "Create an empty editable video project. Saves settings and its first scene without generating media. Keep requestId after a lost reply.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "title": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120
          },
          "brief": {
            "default": "",
            "type": "string",
            "maxLength": 2000
          },
          "universeSlug": {
            "default": "open-universe",
            "type": "string",
            "minLength": 1,
            "maxLength": 120
          },
          "aspectRatio": {
            "type": "string",
            "enum": [
              "9:16",
              "16:9"
            ]
          },
          "animationPreset": {
            "default": "fast",
            "type": "string",
            "enum": [
              "mini",
              "fast",
              "pro",
              "super_pro",
              "ultra",
              "static",
              "custom_model"
            ]
          },
          "resolution": {
            "default": "480p",
            "type": "string",
            "enum": [
              "480p",
              "720p",
              "1080p",
              "4k"
            ]
          },
          "visualStyleId": {
            "default": null,
            "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"
              }
            ]
          }
        },
        "required": [
          "requestId",
          "title",
          "aspectRatio"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "create_saved_element",
      "description": "Create a location or an object in the user's library, as Create on the Characters page does, from its name and its description (what its picture shows). With a photo of the real place or object (file or uploadId), the picture is drawn from that photo. This saves text and the photo only and is free: it draws no picture. Returns the elementId, the handle for scripts, and pictureCredits, the price of make_element_picture. To make a location or an object for one video only, use create_element. Keep requestId after a lost reply.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-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": "Keep this ID after a lost reply. Use a new ID only for a new user-requested operation."
          },
          "kind": {
            "type": "string",
            "enum": [
              "location",
              "object"
            ]
          },
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120
          },
          "description": {
            "type": "string",
            "minLength": 1,
            "maxLength": 2000
          },
          "file": {
            "description": "A file that the user attached in the app, or a direct public HTTPS link to the file: { download_url: <link>, file_id: <any text> }.",
            "type": "object",
            "properties": {
              "download_url": {
                "type": "string"
              },
              "file_id": {
                "type": "string",
                "minLength": 1
              },
              "mime_type": {
                "type": "string"
              },
              "file_name": {
                "type": "string"
              }
            },
            "required": [
              "download_url",
              "file_id"
            ],
            "additionalProperties": false
          },
          "uploadId": {
            "description": "A file on the user's computer: the uploadId of start_file_upload, after the PUT of the file.",
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          }
        },
        "required": [
          "requestId",
          "kind",
          "name",
          "description"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "create_universe",
      "description": "Make a new universe, as the create wizard of the website does: give a name and one description of the world (initialPrompt), and the AI writes the public description, the Lore, the Rules, the Art direction and example ideas. The universe is public when you do not say (anyone can find it and make videos in it), as in the wizard; isPublic false makes a private universe, which needs a subscription. Tell the user whether the new universe is public or private. visualStyleId is a style of list_visual_styles; with none, the AI chooses a style. elements links the user's own saved characters, locations and objects, each with how it fits (role). audience is optional: the AI chooses it. Free: its first pictures are drawn at no cost after the answer. Give a requestId of your own: a second call with the same requestId gives the same universe. A refusal with details.code elements_not_linked means that the universe exists (details.slug) and its cast is not linked: link it with change_universe. It takes about a minute.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "requestId": {
            "type": "string",
            "minLength": 8,
            "maxLength": 80
          },
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 50
          },
          "initialPrompt": {
            "type": "string",
            "minLength": 1,
            "maxLength": 10000
          },
          "isPublic": {
            "default": true,
            "type": "boolean"
          },
          "elements": {
            "default": {},
            "type": "object",
            "properties": {
              "character": {
                "maxItems": 100,
                "type": "array",
                "items": {
                  "type": "object",
                  "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)$"
                    },
                    "role": {
                      "type": "string",
                      "maxLength": 500
                    }
                  },
                  "required": [
                    "id",
                    "role"
                  ],
                  "additionalProperties": false
                }
              },
              "location": {
                "maxItems": 100,
                "type": "array",
                "items": {
                  "type": "object",
                  "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)$"
                    },
                    "role": {
                      "type": "string",
                      "maxLength": 500
                    }
                  },
                  "required": [
                    "id",
                    "role"
                  ],
                  "additionalProperties": false
                }
              },
              "object": {
                "maxItems": 100,
                "type": "array",
                "items": {
                  "type": "object",
                  "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)$"
                    },
                    "role": {
                      "type": "string",
                      "maxLength": 500
                    }
                  },
                  "required": [
                    "id",
                    "role"
                  ],
                  "additionalProperties": false
                }
              }
            },
            "additionalProperties": false
          },
          "audience": {
            "default": null,
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "kids",
                  "teens",
                  "adults",
                  "everyone"
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "visualStyleId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          }
        },
        "required": [
          "requestId",
          "name",
          "initialPrompt"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "create_visual_style",
      "description": "Create a visual style of the user, as Create in the New visual style window does: its name, its description, its style text (stylePhrase; write_visual_style_phrase can write it) and 1 to 3 pictures that show the look. pictureIds are the IDs that make_visual_style_pictures or upload_visual_style_picture gave. Returns the styleId: the visualStyleId that quote_video_creation and generate_video take. Free. Keep requestId after a lost reply.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-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": "Keep this ID after a lost reply. Use a new ID only for a new user-requested operation."
          },
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200
          },
          "description": {
            "type": "string",
            "maxLength": 2000
          },
          "stylePhrase": {
            "type": "string",
            "maxLength": 2000
          },
          "pictureIds": {
            "minItems": 1,
            "maxItems": 3,
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 2000
            }
          }
        },
        "required": [
          "requestId",
          "name",
          "pictureIds"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "delete_character",
      "description": "Delete one of the user's saved characters for good, as Delete forever on the Characters page does. It cannot be undone: the character goes out of each video that uses it, and its pictures are deleted. To only hide a character, use archive_character. Call it only when the user asked to delete this exact character for good. The user approves each delete: the first call returns the approval request, with the name and the number of videos. status pending means that the delete goes on in the background: do not say that it is done. Free.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "characterId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          }
        },
        "required": [
          "characterId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "delete_music_track",
      "description": "Delete one of the user's uploaded music tracks for good. It cannot be undone, and a video that plays the track has no music at that place after its next export. Call it only when the user asked to delete this exact track. The user approves each delete: the first call returns the approval request, with the title of the track. Free.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "musicSlug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200
          }
        },
        "required": [
          "musicSlug"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "delete_project",
      "description": "Delete a video from My Videos, as Delete on the website does: the project goes out of the list of projects and its editor. Call it only when the user asked in this conversation to delete this exact video: name its title, and ask first if there is any doubt. Free.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          }
        },
        "required": [
          "projectId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "delete_series",
      "description": "Delete one of the user's series, as Delete on the page of the series does: the series is archived, its posting to platforms stops and its waiting posts are canceled. Its videos stay in My Videos. Refused while an episode is being made. Call it only when the user asked to delete this exact series: name it first. Free.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          }
        },
        "required": [
          "seriesId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "delete_song",
      "description": "Delete one of the user's songs for good, as Delete on the Songs page does. It cannot be undone. A music video that plays the song keeps its sound. A song that is still being made cannot be deleted. Call it only when the user asked to delete this exact song. The user approves each delete: the first call returns the approval request, with the title of the song. Free.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "songId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          }
        },
        "required": [
          "songId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "delete_universe",
      "description": "Delete one of the user's own universes, as Delete on the universe page does: it is archived and goes out of the lists. Its videos stay. Call it only when the user asked to delete this exact universe: name it first. Free.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200
          }
        },
        "required": [
          "slug"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "detach_element",
      "description": "Detach a project element where the editor permits it. Existing references can prevent removal.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "element": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "kind": {
                    "type": "string",
                    "const": "character"
                  },
                  "projectElementId": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  }
                },
                "required": [
                  "kind",
                  "projectElementId"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "kind": {
                    "type": "string",
                    "const": "location"
                  },
                  "projectElementId": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  }
                },
                "required": [
                  "kind",
                  "projectElementId"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "kind": {
                    "type": "string",
                    "const": "object"
                  },
                  "projectElementId": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  }
                },
                "required": [
                  "kind",
                  "projectElementId"
                ],
                "additionalProperties": false
              }
            ]
          }
        },
        "required": [
          "projectId",
          "element"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "discover_universes",
      "description": "Find public universes of other users, as the Discover page does. With a query: a search by name and description. With no query: the popular ones of this month and the new ones. Each has the slug that read_universe, quote_video_creation and generate_video take. Free and read-only.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "query": {
            "default": "",
            "type": "string",
            "maxLength": 80
          }
        },
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "dismiss_suggested_character",
      "description": "Remove a character that the AI suggests from the suggestions of one of the user's own universes, as \"Dismiss\" on the \"Your universe\" page does. The suggestion goes for good; fill_universe writes new suggestions. Call it only when the user asked to remove this suggestion. Free.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200
          },
          "suggestionId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          }
        },
        "required": [
          "slug",
          "suggestionId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "download_project_files",
      "description": "Ask for one ZIP archive of the files of the user's own video, as Download all on the website does: the picture, the clip and the sound of each shot. includeHistory adds the earlier takes; includeStitched adds the finished film, and the user then gets an email when the archive is ready. Needs a plan that downloads clips. The archive builds in the background: status processing gives an assetId for read_project_download; status ready gives downloadUrl, a link that works for 10 minutes. Give that link to the user at once. For only the finished video, use the export tools. Free.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "includeHistory": {
            "default": false,
            "type": "boolean"
          },
          "includeStitched": {
            "default": false,
            "type": "boolean"
          }
        },
        "required": [
          "projectId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "draft_shot",
      "description": "Save a complete manual Shot draft, script, opening frame, motion and references in a Card. This does not generate media. Action Shots require 4–15 seconds and prepared character/location references; object references and character speech are not supported for Action Shots. Read the current Card revision first.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "cardId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-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",
            "minLength": 1
          },
          "template": {
            "type": "string",
            "enum": [
              "freeform",
              "line",
              "dialogue",
              "setting",
              "reaction",
              "action",
              "continuous_shot"
            ]
          },
          "firstFrameDescription": {
            "type": "string",
            "minLength": 1,
            "maxLength": 10000
          },
          "motionDescription": {
            "type": "string",
            "minLength": 1,
            "maxLength": 10000
          },
          "references": {
            "maxItems": 8,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "kind": {
                  "type": "string",
                  "enum": [
                    "character",
                    "location",
                    "object"
                  ]
                },
                "projectElementId": {
                  "type": "string",
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                }
              },
              "required": [
                "kind",
                "projectElementId"
              ],
              "additionalProperties": false
            }
          },
          "shotScript": {
            "type": "string",
            "minLength": 1,
            "maxLength": 10000
          },
          "expectedCardUpdatedAt": {
            "type": "string",
            "minLength": 1
          },
          "localStartMs": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "durationMs": {
            "type": "integer",
            "minimum": 500,
            "maximum": 9007199254740991
          },
          "animationTier": {
            "default": null,
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "mini",
                  "fast",
                  "pro",
                  "super_pro",
                  "ultra"
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "pushFollowingShots": {
            "default": false,
            "type": "boolean"
          }
        },
        "required": [
          "projectId",
          "cardId",
          "idempotencyKey",
          "template",
          "firstFrameDescription",
          "motionDescription",
          "references",
          "shotScript",
          "expectedCardUpdatedAt",
          "localStartMs",
          "durationMs"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "edit_failed_episode",
      "description": "Change the title and the idea of a failed planned episode before try_failed_episode_again, as the page of the series does. Send both: read_series gives the ones of now. Starts nothing. Free.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "plannedEpisodeId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "title": {
            "type": "string",
            "minLength": 1
          },
          "idea": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "seriesId",
          "plannedEpisodeId",
          "title",
          "idea"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "edit_shot_image",
      "description": "Edit or reframe a Shot image using customer instructions and project references. A completed take replaces its active image selection; previous takes remain available. Requires native approval at the quoted image price. Keep requestId after a lost reply; a new take needs a new ID and approval. Animate the resulting image with a separate video request.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "shotId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "instructions": {
            "type": "string"
          },
          "model": {
            "description": "Leave it out: LongStories takes the model of the change. An edit (mode edit) takes only gpt_image_25_flare_low_edit (Standard, the default) or gpt_image_25_sunburst_high_edit (Advanced, a higher price): another model is refused. Give the quote and the request the same model.",
            "type": "string",
            "enum": [
              "z_image_turbo",
              "flux_schnell",
              "imagen4_fast",
              "sdxl",
              "sdxl_lora",
              "hidream_fast",
              "leonardo_flux_precision",
              "bytedance_seedream_v3",
              "bytedance_seedream_v4",
              "bytedance_seedream_v45",
              "bytedance_seedream_v5_lite",
              "bytedance_seedream_v5_pro",
              "bytedance_seedream_v5_pro_edit",
              "bytedance_seedream_v5_pro_fast",
              "bytedance_seedream_v5_pro_fast_edit",
              "bytedance_seedream_v45_edit",
              "bytedance_seedream_v5_lite_edit",
              "bytedance_seedream_v4_edit",
              "nano_banana_edit",
              "nano_banana_2",
              "nano_banana_2_lite",
              "nano_banana_2_lite_edit",
              "nano_banana_2_edit",
              "qwen_image_edit_multiple_angles",
              "nano_banana_pro",
              "nano_banana_pro_edit",
              "glm_image",
              "glm_image_edit",
              "meta_muse_image",
              "meta_muse_image_edit",
              "mai_image_25",
              "mai_image_25_edit",
              "mai_image_25_pro",
              "mai_image_25_pro_edit",
              "mai_image_26",
              "mai_image_26_flash",
              "gpt_image_2_low",
              "gpt_image_2_medium",
              "gpt_image_2",
              "gpt_image_2_edit_low",
              "gpt_image_2_edit_medium",
              "gpt_image_2_edit",
              "gpt_image_25_flare_low",
              "gpt_image_25_flare_medium",
              "gpt_image_25_flare_high",
              "gpt_image_25_flare_low_edit",
              "gpt_image_25_flare_medium_edit",
              "gpt_image_25_flare_high_edit",
              "gpt_image_25_sunburst_low",
              "gpt_image_25_sunburst_medium",
              "gpt_image_25_sunburst_high",
              "gpt_image_25_sunburst_low_edit",
              "gpt_image_25_sunburst_medium_edit",
              "gpt_image_25_sunburst_high_edit",
              "gpt_image_26_sunburst_medium",
              "gpt_image_26_sunburst_medium_edit",
              "grok_imagine_2",
              "grok_imagine_2_edit",
              "sd35_medium",
              "sd35_large_turbo",
              "fal-ai/gemini-25-flash-image",
              "reve-v1",
              "hidream_dev",
              "qwen_image",
              "leonardo_phoenix_quality",
              "flux_lora",
              "flux_pro",
              "recraft",
              "sd35_large",
              "flux_pro_ultra",
              "hidream_full",
              "midjourney",
              "leonardo_phoenix_ultra",
              "gpt_image_1",
              "fal-ai/imagen4/preview",
              "nano_banana_21_edit"
            ]
          },
          "mode": {
            "type": "string",
            "enum": [
              "edit",
              "angle",
              "guidance"
            ]
          },
          "referenceImageAssetIds": {
            "maxItems": 24,
            "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)$"
            }
          },
          "selectedCharacterIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "selectedLocationHandle": {
            "type": "string"
          },
          "acceptedImageCredits": {
            "type": "number",
            "minimum": 0
          },
          "cameraAngle": {
            "type": "object",
            "properties": {
              "horizontalAngle": {
                "type": "number"
              },
              "verticalAngle": {
                "type": "number"
              },
              "zoom": {
                "type": "number"
              },
              "additionalPrompt": {
                "type": "string"
              }
            },
            "required": [
              "horizontalAngle",
              "verticalAngle",
              "zoom"
            ]
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-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": "Keep this ID after a lost reply. Use a new ID only for a new user-requested operation."
          }
        },
        "required": [
          "projectId",
          "shotId",
          "instructions",
          "acceptedImageCredits",
          "requestId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "edit_shot_panels",
      "description": "Draw again only the panels that a quote of quote_shot_panel_edit names. The result is a new image take of the Shot; the earlier takes stay. The video keeps the old storyboard until the Shot is filmed again with regenerate_shot_video. Requires the person's approval of the price. LongStories refuses the quote when the storyboard or the free editing credits changed after it: price the edit again then. Keep requestId after a lost reply and read the saved answer with read_operation; a new ID is a new edit and a new approval.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "shotId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-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": "Keep this ID after a lost reply. Use a new ID only for a new user-requested operation."
          },
          "quote": {
            "type": "object",
            "properties": {
              "key": {
                "type": "string",
                "minLength": 1
              },
              "shotId": {
                "type": "string",
                "minLength": 1
              },
              "sheetAssetId": {
                "type": "string",
                "minLength": 1
              },
              "sheetKey": {
                "type": "string",
                "minLength": 1
              },
              "panelCount": {
                "type": "integer",
                "minimum": 1,
                "maximum": 9007199254740991
              },
              "cells": {
                "minItems": 1,
                "type": "array",
                "items": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 9007199254740991
                }
              },
              "siblings": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 9007199254740991
                }
              },
              "instruction": {
                "type": "string",
                "minLength": 1
              },
              "reason": {
                "type": "string"
              },
              "references": {
                "maxItems": 8,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "key": {
                      "type": "string",
                      "minLength": 1
                    },
                    "label": {
                      "type": "string",
                      "minLength": 1
                    },
                    "kind": {
                      "type": "string",
                      "enum": [
                        "character",
                        "object",
                        "location",
                        "upload"
                      ]
                    }
                  },
                  "required": [
                    "key",
                    "label",
                    "kind"
                  ],
                  "additionalProperties": false
                }
              },
              "credits": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "creditsPerPanel": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "funding": {
                "type": "string",
                "enum": [
                  "free_repair",
                  "balance"
                ]
              }
            },
            "required": [
              "key",
              "shotId",
              "sheetAssetId",
              "sheetKey",
              "panelCount",
              "cells",
              "siblings",
              "instruction",
              "reason",
              "references",
              "credits",
              "creditsPerPanel",
              "funding"
            ],
            "additionalProperties": false,
            "description": "The quote of quote_shot_panel_edit, unchanged."
          },
          "quoteSeal": {
            "type": "string",
            "minLength": 1,
            "maxLength": 100,
            "description": "The quoteSeal that came with the quote, unchanged."
          },
          "instructions": {
            "type": "string",
            "minLength": 5,
            "maxLength": 2000,
            "description": "The words you gave quote_shot_panel_edit, unchanged."
          }
        },
        "required": [
          "projectId",
          "shotId",
          "requestId",
          "quote",
          "quoteSeal",
          "instructions"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "edit_shot_script",
      "description": "Edit a current Short Shot before it has keyframe or segment records. Generated Shot scripts are read-only. For a manual draft use revise_shot. Keep requestId after a lost response.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "shotId": {
            "type": "string",
            "minLength": 1
          },
          "shotScript": {
            "type": "string"
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-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": "Keep this ID after a lost reply. Use a new ID only for a new user-requested operation."
          }
        },
        "required": [
          "projectId",
          "shotId",
          "shotScript",
          "requestId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "edit_shot_video",
      "description": "Film again only the moments that a quote of quote_shot_video_edit names. The result is a new video take of the Shot; the earlier takes stay. Requires the person's approval of quote.credits; the project's free editing credits can only lower the charge. LongStories refuses the quote when the clip, the moments or the price changed after it: price the edit again then. Keep requestId after a lost reply and read the saved answer with read_operation; a new ID is a new edit and a new approval.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "shotId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-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": "Keep this ID after a lost reply. Use a new ID only for a new user-requested operation."
          },
          "quote": {
            "type": "object",
            "properties": {
              "key": {
                "type": "string",
                "minLength": 1
              },
              "shotId": {
                "type": "string",
                "minLength": 1
              },
              "takeAssetId": {
                "type": "string",
                "minLength": 1
              },
              "takeSeconds": {
                "type": "number",
                "exclusiveMinimum": 0
              },
              "partCount": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "resolution": {
                "type": "string",
                "minLength": 1
              },
              "instruction": {
                "type": "string",
                "minLength": 1
              },
              "reason": {
                "type": "string"
              },
              "moments": {
                "minItems": 1,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "part": {
                      "type": "integer",
                      "minimum": 1,
                      "maximum": 9007199254740991
                    },
                    "describe": {
                      "type": "string"
                    },
                    "startSeconds": {
                      "type": "number",
                      "minimum": 0
                    },
                    "endSeconds": {
                      "type": "number",
                      "exclusiveMinimum": 0
                    },
                    "model": {
                      "type": "string",
                      "minLength": 1
                    },
                    "requestSeconds": {
                      "type": "integer",
                      "exclusiveMinimum": 0,
                      "maximum": 9007199254740991
                    },
                    "credits": {
                      "type": "number",
                      "exclusiveMinimum": 0
                    },
                    "speaks": {
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "part",
                    "describe",
                    "startSeconds",
                    "endSeconds",
                    "model",
                    "requestSeconds",
                    "credits",
                    "speaks"
                  ],
                  "additionalProperties": false
                }
              },
              "geminiCredits": {
                "type": "number",
                "minimum": 0
              },
              "credits": {
                "type": "number",
                "exclusiveMinimum": 0
              },
              "storyboardAssetId": {
                "default": null,
                "anyOf": [
                  {
                    "type": "string",
                    "minLength": 1
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "key",
              "shotId",
              "takeAssetId",
              "takeSeconds",
              "partCount",
              "resolution",
              "instruction",
              "reason",
              "moments",
              "geminiCredits",
              "credits"
            ],
            "additionalProperties": false,
            "description": "The quote of quote_shot_video_edit, unchanged."
          },
          "quoteSeal": {
            "type": "string",
            "minLength": 1,
            "maxLength": 100,
            "description": "The quoteSeal that came with the quote, unchanged."
          },
          "instructions": {
            "type": "string",
            "minLength": 3,
            "maxLength": 2000,
            "description": "The words you gave quote_shot_video_edit, unchanged."
          }
        },
        "required": [
          "projectId",
          "shotId",
          "requestId",
          "quote",
          "quoteSeal",
          "instructions"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "edit_voice_line",
      "description": "Generate replacement speech for one existing line from quote_edit_voice_line after confirmation of its exact text, credit price and revision. Replaces saved speech, without rewriting the generated Shot script or making lip-sync media. Keep requestId and the exact input after a lost response.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "change": {
            "type": "object",
            "properties": {
              "cardId": {
                "type": "string",
                "minLength": 1
              },
              "timelineItemId": {
                "type": "string",
                "minLength": 1
              },
              "text": {
                "type": "string",
                "minLength": 1
              },
              "confirmLipsyncBreak": {
                "type": "boolean"
              },
              "fitToClip": {
                "description": "Pace the new take to end inside the shot under the line. Accepted only with the line's own text, and when the last result's clip.fitOffered was true: the line runs past its shot by at most 1.4x.",
                "type": "boolean"
              },
              "kind": {
                "type": "string",
                "const": "edit"
              }
            },
            "required": [
              "cardId",
              "timelineItemId",
              "text",
              "kind"
            ],
            "additionalProperties": false
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-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": "Keep this ID after a lost reply. Use a new ID only for a new user-requested operation."
          },
          "quoteRevision": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$"
          },
          "quotedCredits": {
            "type": "number",
            "minimum": 0
          }
        },
        "required": [
          "projectId",
          "change",
          "requestId",
          "quoteRevision",
          "quotedCredits"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "fill_universe",
      "description": "Let the AI write the texts of one of the user's own universes again, as \"Fill it in again from this\" on the \"Your universe\" page does: from its saved name, cast and styles, and from its original description (initialPrompt: give a new one, or leave it out to use the saved one). The answer has a new description, lore, rules, artDirection and audience. They are NOT saved: show them to the user, then save the ones that the user wants with change_universe (with the new initialPrompt, if you gave one). The characters that the AI suggests are replaced at once. Free.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200
          },
          "initialPrompt": {
            "type": "string",
            "minLength": 1,
            "maxLength": 10000
          }
        },
        "required": [
          "slug"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "generate_card_coverage",
      "description": "Generate the reviewed Card coverage after customer confirmation. Replaces that Card's current Shots. Copy the exact quote fields from quote_card_coverage. Keep requestId after a lost reply; a completed request returns its original receipt.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "cardId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "tier": {
            "type": "string",
            "enum": [
              "mini",
              "fast",
              "pro",
              "super_pro",
              "ultra"
            ]
          },
          "door": {
            "type": "string",
            "enum": [
              "animated",
              "storyboard"
            ]
          },
          "requestedSeconds": {
            "type": "number",
            "minimum": 1,
            "maximum": 120
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "cardRevision": {
            "type": "string",
            "minLength": 1
          },
          "pricingResolution": {
            "type": "string",
            "enum": [
              "480p",
              "720p",
              "1080p",
              "4k"
            ]
          },
          "pricingReview": {
            "type": "object",
            "properties": {
              "version": {
                "type": "string",
                "minLength": 1
              },
              "input": {
                "type": "object",
                "properties": {
                  "tier": {
                    "type": "string",
                    "enum": [
                      "mini",
                      "fast",
                      "pro",
                      "super_pro",
                      "ultra"
                    ]
                  },
                  "resolution": {
                    "type": "string",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p",
                      "4k"
                    ]
                  },
                  "silentSeconds": {
                    "type": "number",
                    "minimum": 0
                  },
                  "speakingSeconds": {
                    "type": "number",
                    "minimum": 0
                  },
                  "door": {
                    "type": "string",
                    "enum": [
                      "animated",
                      "storyboard"
                    ]
                  }
                },
                "required": [
                  "tier",
                  "resolution",
                  "silentSeconds",
                  "speakingSeconds",
                  "door"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "version",
              "input"
            ],
            "additionalProperties": false
          },
          "credits": {
            "type": "number",
            "exclusiveMinimum": 0
          }
        },
        "required": [
          "projectId",
          "cardId",
          "tier",
          "door",
          "requestedSeconds",
          "requestId",
          "cardRevision",
          "pricingResolution",
          "pricingReview",
          "credits"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "generate_shot",
      "description": "Generate a reviewed manual Shot. Uses native user confirmation of the exact current price and revision. Keep the original draft idempotencyKey. A repeat observes the same paid attempt; it cannot purchase a retry.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "cardId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-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",
            "minLength": 1
          },
          "shotId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "reviewRevision": {
            "type": "object",
            "properties": {
              "shotUpdatedAt": {
                "type": "string",
                "minLength": 1
              },
              "cardUpdatedAt": {
                "type": "string",
                "minLength": 1
              },
              "quote": {
                "type": "object",
                "properties": {
                  "mode": {
                    "type": "string",
                    "const": "fixed"
                  },
                  "tier": {
                    "type": "string",
                    "enum": [
                      "mini",
                      "fast",
                      "pro",
                      "super_pro",
                      "ultra"
                    ]
                  },
                  "resolution": {
                    "type": "string",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p",
                      "4k"
                    ]
                  },
                  "model": {
                    "type": "string",
                    "minLength": 1
                  },
                  "policyVersion": {
                    "type": "string",
                    "minLength": 1
                  },
                  "speaking": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "mode",
                  "tier",
                  "resolution",
                  "model",
                  "policyVersion",
                  "speaking"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "shotUpdatedAt",
              "cardUpdatedAt",
              "quote"
            ],
            "additionalProperties": false
          },
          "quotedCredits": {
            "type": "number",
            "minimum": 0
          }
        },
        "required": [
          "projectId",
          "cardId",
          "idempotencyKey",
          "shotId",
          "reviewRevision",
          "quotedCredits"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "generate_shot_sound",
      "description": "Generate or remove a Shot's overlay sound effects through the existing editor action. This action currently charges zero customer credits. Native confirmation is required. Keep requestId after a lost response.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "shotId": {
            "type": "string",
            "minLength": 1
          },
          "generationOptions": {
            "type": "object",
            "properties": {
              "soundModel": {
                "type": "string"
              },
              "soundPrompt": {
                "type": "string"
              },
              "removeSoundEffects": {
                "type": "boolean"
              }
            },
            "additionalProperties": false
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-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": "Keep this ID after a lost reply. Use a new ID only for a new user-requested operation."
          }
        },
        "required": [
          "projectId",
          "shotId",
          "requestId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "generate_video",
      "description": "Create and generate a complete video through the same LongStories creation flow as the website. Supports ideas, full scripts, and owned uploaded narration or songs. Use audioId from list_media_library for uploaded audio. Show the current credit price and get the user's approval before generation. Keep the same operationKey and input after a lost reply; a new key means a new paid video. Returns a project and generation run to observe and edit.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "operationKey": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128
          },
          "universeSlug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120
          },
          "projectPrompt": {
            "type": "string"
          },
          "createProduct": {
            "description": "video (a Video Story, the default) or music (a Music Video). LongStories offers no Explainer Video now.",
            "type": "string",
            "enum": [
              "video",
              "music"
            ]
          },
          "duration": {
            "type": "string",
            "pattern": "^\\d+$",
            "description": "The length of the video in seconds, as text. For an idea (inputMode prompt) it is one of 15, 30, 60, 180, 300, 600, 900: another value has no price, and the plan of the account sets the longest one. For a script or audio, the script or the audio sets the length: give one of these values."
          },
          "inputMode": {
            "type": "string",
            "enum": [
              "prompt",
              "script",
              "audio"
            ]
          },
          "animation": {
            "type": "boolean"
          },
          "animationPreset": {
            "type": "string"
          },
          "imagePreset": {
            "type": "string",
            "enum": [
              "basic",
              "advanced",
              "legacy"
            ]
          },
          "selectedCharacterIds": {
            "maxItems": 15,
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "characterHandleAssignments": {
            "type": "object",
            "propertyNames": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-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": {
              "type": "string"
            }
          },
          "series": {
            "type": "object",
            "properties": {
              "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"
                  }
                ]
              },
              "continuesProjectId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "joinSeriesId": {
                "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"
                  }
                ]
              },
              "lookChoice": {
                "anyOf": [
                  {
                    "type": "string",
                    "enum": [
                      "same_as_previous",
                      "changed"
                    ]
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "continuesProjectId"
            ],
            "additionalProperties": false
          },
          "selectedLocationIds": {
            "maxItems": 10,
            "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)$"
            }
          },
          "selectedObjectIds": {
            "maxItems": 10,
            "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)$"
            }
          },
          "elementHandleAssignments": {
            "type": "object",
            "propertyNames": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-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": {
              "type": "string",
              "minLength": 1,
              "maxLength": 80
            }
          },
          "aiNewElementHandles": {
            "maxItems": 40,
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 80
            }
          },
          "selectedLanguageCode": {
            "type": [
              "string",
              "null"
            ]
          },
          "visualStyleId": {
            "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"
              }
            ]
          },
          "preferAiStyle": {
            "type": "boolean"
          },
          "removeWatermark": {
            "type": "boolean"
          },
          "userAspectRatio": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "9:16",
                  "16:9"
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "userCaptionsEnabled": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "userLipsyncEnabled": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "userLipsyncTier": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "basic",
                  "pro"
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "videoModelOverride": {
            "type": "string"
          },
          "imageModelOverride": {
            "type": "string",
            "enum": [
              "z_image_turbo",
              "flux_schnell",
              "imagen4_fast",
              "sdxl",
              "hidream_fast",
              "leonardo_flux_precision",
              "bytedance_seedream_v3",
              "bytedance_seedream_v4",
              "bytedance_seedream_v45",
              "bytedance_seedream_v5_lite",
              "bytedance_seedream_v5_pro",
              "bytedance_seedream_v5_pro_edit",
              "bytedance_seedream_v5_pro_fast",
              "bytedance_seedream_v5_pro_fast_edit",
              "bytedance_seedream_v45_edit",
              "bytedance_seedream_v5_lite_edit",
              "bytedance_seedream_v4_edit",
              "nano_banana_edit",
              "nano_banana_2",
              "nano_banana_2_lite",
              "nano_banana_2_lite_edit",
              "nano_banana_2_edit",
              "qwen_image_edit_multiple_angles",
              "nano_banana_pro",
              "nano_banana_pro_edit",
              "glm_image",
              "glm_image_edit",
              "meta_muse_image",
              "meta_muse_image_edit",
              "mai_image_25",
              "mai_image_25_edit",
              "mai_image_25_pro",
              "mai_image_25_pro_edit",
              "mai_image_26",
              "mai_image_26_flash",
              "gpt_image_2_low",
              "gpt_image_2_medium",
              "gpt_image_2",
              "gpt_image_2_edit_low",
              "gpt_image_2_edit_medium",
              "gpt_image_2_edit",
              "gpt_image_25_flare_low",
              "gpt_image_25_flare_medium",
              "gpt_image_25_flare_high",
              "gpt_image_25_flare_low_edit",
              "gpt_image_25_flare_medium_edit",
              "gpt_image_25_flare_high_edit",
              "gpt_image_25_sunburst_low",
              "gpt_image_25_sunburst_medium",
              "gpt_image_25_sunburst_high",
              "gpt_image_25_sunburst_low_edit",
              "gpt_image_25_sunburst_medium_edit",
              "gpt_image_25_sunburst_high_edit",
              "gpt_image_26_sunburst_medium",
              "gpt_image_26_sunburst_medium_edit",
              "grok_imagine_2",
              "grok_imagine_2_edit",
              "sd35_medium",
              "sd35_large_turbo",
              "fal-ai/gemini-25-flash-image",
              "reve-v1",
              "hidream_dev",
              "qwen_image",
              "leonardo_phoenix_quality",
              "flux_pro",
              "recraft",
              "sd35_large",
              "flux_pro_ultra",
              "hidream_full",
              "midjourney",
              "leonardo_phoenix_ultra",
              "gpt_image_1",
              "fal-ai/imagen4/preview",
              "nano_banana_21_edit"
            ]
          },
          "videoResolutionOverride": {
            "default": "480p",
            "type": "string",
            "enum": [
              "480p",
              "720p",
              "1080p",
              "4k"
            ]
          },
          "userScript": {
            "type": "string"
          },
          "scriptFormat": {
            "type": "string",
            "const": "ls_markdown_script"
          },
          "audioKind": {
            "type": "string",
            "enum": [
              "voiceover",
              "song"
            ]
          },
          "songPerformance": {
            "type": "object",
            "properties": {
              "singOnCamera": {
                "type": "boolean"
              },
              "leadSingerCharacterId": {
                "anyOf": [
                  {
                    "type": "string",
                    "minLength": 1
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "singOnCamera"
            ],
            "additionalProperties": false
          },
          "userVoiceId": {
            "type": "string"
          },
          "userVoiceoverEnabled": {
            "type": "boolean"
          },
          "narrationIntent": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "version": {
                    "type": "number",
                    "const": 1
                  },
                  "kind": {
                    "type": "string",
                    "const": "explicit"
                  },
                  "speakers": {
                    "type": "string",
                    "enum": [
                      "narrator_only",
                      "narrator_and_characters",
                      "characters_only",
                      "none"
                    ]
                  }
                },
                "required": [
                  "version",
                  "kind",
                  "speakers"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "version": {
                    "type": "number",
                    "const": 1
                  },
                  "kind": {
                    "type": "string",
                    "const": "ai"
                  }
                },
                "required": [
                  "version",
                  "kind"
                ],
                "additionalProperties": false
              }
            ]
          },
          "soundEffectsEnabled": {
            "type": "boolean"
          },
          "soundEffectsModel": {
            "type": "string"
          },
          "multiCutEnabled": {
            "type": "boolean"
          },
          "keepAuthoredShotBoundaries": {
            "type": "boolean"
          },
          "locationConsistencyEnabled": {
            "type": "boolean"
          },
          "objectConsistencyEnabled": {
            "type": "boolean"
          },
          "audioId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          }
        },
        "required": [
          "operationKey",
          "universeSlug",
          "duration"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "import_shot_image",
      "description": "Apply an existing completed image from your account to a Shot. sceneId is the Shot ID used by the image picker. sourceAssetId must be an owned media asset; URLs and storage keys are not accepted.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "sceneId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "sourceAssetId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          }
        },
        "required": [
          "sceneId",
          "sourceAssetId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "insert_timeline_hold",
      "description": "Insert a hold of a positive duration in milliseconds at a zero-based Shot-lane position, or at its end. This repacks the lane and changes the timing of later items. Keep the same holdId when retrying. Supply the exact current Card revision. Read the Card again after a conflict or an uncertain result.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "minLength": 1
          },
          "cardId": {
            "type": "string",
            "minLength": 1
          },
          "expectedCardUpdatedAt": {
            "type": "string",
            "minLength": 1
          },
          "operation": {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "const": "insert_hold"
              },
              "holdId": {
                "type": "string",
                "minLength": 1
              },
              "durationMs": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "atLaneIndex": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              }
            },
            "required": [
              "kind",
              "holdId",
              "durationMs"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "projectId",
          "cardId",
          "expectedCardUpdatedAt",
          "operation"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "inspect_and_resume_character_voices",
      "description": "Find the video's speakers and their IDs for quote_character_voice, including before the first voice change. Return current change status and lines that need a timing decision. This also resumes accepted work and can publish a ready voice replacement or end an expired review.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          }
        },
        "required": [
          "projectId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "inspect_export",
      "description": "Check whether current project content is ready to export. Reports output dimensions, duration and a content signature. Does not start rendering.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          }
        },
        "required": [
          "projectId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "inspect_project",
      "description": "Inspect saved project state with separate Card, Shot, and editor-run pages. Read creation.runId with observe_video_creation to resume a Create run. Use read_project for the full script, read_card for details, and read_export to confirm the saved video includes current edits. This does not start or retry work.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "cards": {
            "default": {
              "offset": 0,
              "limit": 25
            },
            "type": "object",
            "properties": {
              "offset": {
                "default": 0,
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "limit": {
                "default": 25,
                "type": "integer",
                "minimum": 1,
                "maximum": 100
              }
            },
            "additionalProperties": false
          },
          "shots": {
            "default": {
              "offset": 0,
              "limit": 25
            },
            "type": "object",
            "properties": {
              "offset": {
                "default": 0,
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "limit": {
                "default": 25,
                "type": "integer",
                "minimum": 1,
                "maximum": 100
              }
            },
            "additionalProperties": false
          },
          "runs": {
            "default": {
              "offset": 0,
              "limit": 25
            },
            "type": "object",
            "properties": {
              "offset": {
                "default": 0,
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "limit": {
                "default": 25,
                "type": "integer",
                "minimum": 1,
                "maximum": 100
              }
            },
            "additionalProperties": false
          }
        },
        "required": [
          "projectId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "status": {
            "type": "string",
            "const": "inspected"
          },
          "observedAt": {
            "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))$"
          },
          "project": {
            "type": "object",
            "properties": {
              "projectId": {
                "type": "string"
              },
              "title": {
                "type": "string"
              },
              "aspectRatio": {
                "type": "string",
                "enum": [
                  "9:16",
                  "16:9"
                ]
              },
              "product": {
                "type": "string"
              },
              "status": {
                "type": "string"
              },
              "revision": {
                "oneOf": [
                  {
                    "type": "object",
                    "properties": {
                      "kind": {
                        "type": "string",
                        "const": "known"
                      },
                      "updatedAt": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "kind",
                      "updatedAt"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "kind": {
                        "type": "string",
                        "const": "unknown"
                      }
                    },
                    "required": [
                      "kind"
                    ],
                    "additionalProperties": false
                  }
                ]
              },
              "editorUrl": {
                "type": "string"
              }
            },
            "required": [
              "projectId",
              "title",
              "aspectRatio",
              "product",
              "status",
              "revision",
              "editorUrl"
            ],
            "additionalProperties": false
          },
          "creation": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "runId": {
                    "type": "string"
                  }
                },
                "required": [
                  "runId"
                ],
                "additionalProperties": false
              },
              {
                "type": "null"
              }
            ]
          },
          "cards": {
            "type": "object",
            "properties": {
              "items": {
                "maxItems": 100,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "cardId": {
                      "type": "string"
                    },
                    "number": {
                      "type": "integer",
                      "exclusiveMinimum": 0,
                      "maximum": 9007199254740991
                    },
                    "revision": {
                      "oneOf": [
                        {
                          "type": "object",
                          "properties": {
                            "kind": {
                              "type": "string",
                              "const": "known"
                            },
                            "updatedAt": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "kind",
                            "updatedAt"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "properties": {
                            "kind": {
                              "type": "string",
                              "const": "unknown"
                            }
                          },
                          "required": [
                            "kind"
                          ],
                          "additionalProperties": false
                        }
                      ]
                    },
                    "title": {
                      "type": "string"
                    },
                    "kind": {
                      "type": "string",
                      "enum": [
                        "narrated",
                        "silent"
                      ]
                    },
                    "durationMs": {
                      "type": "number"
                    },
                    "shotCount": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 9007199254740991
                    },
                    "action": {
                      "oneOf": [
                        {
                          "type": "object",
                          "properties": {
                            "kind": {
                              "type": "string",
                              "const": "none"
                            }
                          },
                          "required": [
                            "kind"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "properties": {
                            "kind": {
                              "type": "string",
                              "enum": [
                                "pending",
                                "restoring",
                                "failed"
                              ]
                            },
                            "actionId": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "kind",
                            "actionId"
                          ],
                          "additionalProperties": false
                        }
                      ]
                    }
                  },
                  "required": [
                    "cardId",
                    "number",
                    "revision",
                    "title",
                    "kind",
                    "durationMs",
                    "shotCount",
                    "action"
                  ],
                  "additionalProperties": false
                }
              },
              "nextOffset": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "items",
              "nextOffset"
            ],
            "additionalProperties": false
          },
          "shots": {
            "type": "object",
            "properties": {
              "items": {
                "maxItems": 100,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "shotId": {
                      "type": "string"
                    },
                    "sceneId": {
                      "type": "string"
                    },
                    "revision": {
                      "oneOf": [
                        {
                          "type": "object",
                          "properties": {
                            "kind": {
                              "type": "string",
                              "const": "known"
                            },
                            "updatedAt": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "kind",
                            "updatedAt"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "properties": {
                            "kind": {
                              "type": "string",
                              "const": "unknown"
                            }
                          },
                          "required": [
                            "kind"
                          ],
                          "additionalProperties": false
                        }
                      ]
                    },
                    "state": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "durationMs": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "selectedImage": {
                      "anyOf": [
                        {
                          "type": "object",
                          "properties": {
                            "assetId": {
                              "type": "string"
                            },
                            "state": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "required": [
                            "assetId",
                            "state"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "selectedVideo": {
                      "anyOf": [
                        {
                          "type": "object",
                          "properties": {
                            "assetId": {
                              "type": "string"
                            },
                            "state": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "required": [
                            "assetId",
                            "state"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "action": {
                      "oneOf": [
                        {
                          "type": "object",
                          "properties": {
                            "kind": {
                              "type": "string",
                              "const": "none"
                            }
                          },
                          "required": [
                            "kind"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "properties": {
                            "kind": {
                              "type": "string",
                              "enum": [
                                "pending",
                                "restoring",
                                "failed"
                              ]
                            },
                            "actionId": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "kind",
                            "actionId"
                          ],
                          "additionalProperties": false
                        }
                      ]
                    }
                  },
                  "required": [
                    "shotId",
                    "sceneId",
                    "revision",
                    "state",
                    "durationMs",
                    "selectedImage",
                    "selectedVideo",
                    "action"
                  ],
                  "additionalProperties": false
                }
              },
              "nextOffset": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "items",
              "nextOffset"
            ],
            "additionalProperties": false
          },
          "runs": {
            "type": "object",
            "properties": {
              "items": {
                "maxItems": 100,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "runId": {
                      "type": "string"
                    },
                    "intent": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "state": {
                      "type": "string",
                      "enum": [
                        "queued",
                        "running",
                        "failed"
                      ]
                    },
                    "shotId": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "cardId": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "updatedAt": {
                      "type": "string"
                    },
                    "startedAt": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "completedAt": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "runId",
                    "intent",
                    "state",
                    "shotId",
                    "cardId",
                    "updatedAt",
                    "startedAt",
                    "completedAt"
                  ],
                  "additionalProperties": false
                }
              },
              "nextOffset": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "items",
              "nextOffset"
            ],
            "additionalProperties": false
          },
          "export": {
            "type": "object",
            "properties": {
              "status": {
                "type": "string",
                "const": "read"
              },
              "projectId": {
                "type": "string"
              },
              "saved": {
                "oneOf": [
                  {
                    "type": "object",
                    "properties": {
                      "state": {
                        "type": "string",
                        "const": "missing"
                      }
                    },
                    "required": [
                      "state"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "state": {
                        "type": "string",
                        "enum": [
                          "current",
                          "behind",
                          "unknown"
                        ]
                      },
                      "url": {
                        "type": "string"
                      },
                      "size": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "attemptId": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "quality": {
                        "type": "string",
                        "enum": [
                          "high",
                          "medium",
                          "low"
                        ]
                      },
                      "exportPreset": {
                        "default": "default",
                        "type": "string",
                        "enum": [
                          "default",
                          "2k_30",
                          "4k_30",
                          "4k_60"
                        ]
                      }
                    },
                    "required": [
                      "state",
                      "url",
                      "size",
                      "attemptId",
                      "quality",
                      "exportPreset"
                    ],
                    "additionalProperties": false
                  }
                ]
              },
              "activeAttempt": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "attemptId": {
                        "type": "string"
                      },
                      "state": {
                        "type": "string",
                        "enum": [
                          "starting",
                          "rendering"
                        ]
                      }
                    },
                    "required": [
                      "attemptId",
                      "state"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "status",
              "projectId",
              "saved",
              "activeAttempt"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "status",
          "observedAt",
          "project",
          "creation",
          "cards",
          "shots",
          "runs",
          "export"
        ],
        "additionalProperties": false
      }
    },
    {
      "name": "link_voice_line_to_shot",
      "description": "Link an existing voice-line timeline item to a visual item in the same Card. Does not generate speech or lip-sync media. Supply the exact current Card revision. Read the Card again after a conflict or an uncertain result.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "minLength": 1
          },
          "cardId": {
            "type": "string",
            "minLength": 1
          },
          "expectedCardUpdatedAt": {
            "type": "string",
            "minLength": 1
          },
          "operation": {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "const": "link_line"
              },
              "lineItemId": {
                "type": "string",
                "minLength": 1
              },
              "visualItemId": {
                "type": "string",
                "minLength": 1
              }
            },
            "required": [
              "kind",
              "lineItemId",
              "visualItemId"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "projectId",
          "cardId",
          "expectedCardUpdatedAt",
          "operation"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "list_addable_videos",
      "description": "List the user's finished videos that can join a series as its next episode, newest first: videos of the universe of the series that are in no series. nextEpisodeNumber is the number that an added video gets. Free and read-only.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          }
        },
        "required": [
          "seriesId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "list_media_library",
      "description": "List owned image assets or uploaded audio. Use image asset IDs for references/import and creationReady audio IDs for narration or song creation. If audio is not creationReady, upload it with upload_audio first. Private storage keys are not returned.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "enum": [
              "image",
              "audio"
            ]
          },
          "offset": {
            "default": 0,
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "limit": {
            "default": 12,
            "type": "integer",
            "minimum": 1,
            "maximum": 24
          },
          "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)$"
          }
        },
        "required": [
          "kind"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "list_music_tracks",
      "description": "List the music tracks that the user uploaded, newest first: the musicSlug that set_project_music takes, the title and the length in seconds. read_project_music lists these with the LongStories catalog. Free and read-only.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {},
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "list_posts",
      "description": "List the user's posts of videos to platforms, newest first, 50 a page, as the Posts tab shows them: the video, the account, the status (scheduled, queued, uploading, processing, published, failed, needs_review, canceled, stopped; a successful post is published), the time, the link and the error. Filter by status or account. Free and read-only.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "page": {
            "default": 0,
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "status": {
            "type": "string",
            "enum": [
              "scheduled",
              "queued",
              "uploading",
              "processing",
              "published",
              "failed",
              "needs_review",
              "canceled",
              "stopped"
            ]
          },
          "accountId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-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": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "list_projects",
      "description": "List this account's saved projects. Use the returned project ID to read or edit a video. Page through all results when needed.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "offset": {
            "default": 0,
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "limit": {
            "default": 20,
            "type": "integer",
            "minimum": 1,
            "maximum": 50
          }
        },
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "list_scripts",
      "description": "List saved scripts owned by this account, including video scripts and separate drafts.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "limit": {
            "default": 12,
            "type": "integer",
            "minimum": 1,
            "maximum": 50
          },
          "cursor": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "archived": {
            "default": false,
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "list_series",
      "description": "List the user's series, newest first: the ID and title of each, whether it has a plan (planned), whether it is paused, and its episodes with their project IDs. A series of one video with no plan is not in the list. Free and read-only.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {},
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "list_social_accounts",
      "description": "List the YouTube, TikTok, Instagram and Facebook accounts that the user connected on the website, with their IDs for the posting tools, and the platforms that the user can post to (availablePlatforms). To connect a new account, the user opens Share on a video on the LongStories website. Free and read-only.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {},
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "list_songs",
      "description": "List the user's songs of the Songs page, newest first: the ID, title, status (pending, ready or failed), length, description and lyrics of each. nextCursor reads the next older page. Free and read-only.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "cursor": {
            "default": null,
            "anyOf": [
              {
                "type": "string",
                "maxLength": 200
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "list_universes",
      "description": "List the user's own universes and the featured universes, with the slug that quote_video_creation and generate_video take. Free and read-only.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {},
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "list_visual_styles",
      "description": "List the visual styles that this account can use: the user's own (owned: true), the public ones and the styles of LongStories, each with its ID and name. Free and read-only.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {},
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "make_character_pictures",
      "description": "Draw the pictures of one saved character of the user's library (its reference sheet), as Generate on the Characters page does. Costs credits: pass credits of read_character_pictures as quotedCredits. The credits are reserved at the start and charged when the pictures are ready; pictures that fail are not charged. Requires the user's approval over the spending limits. A character that has pictures is not drawn again without again=true, and new pictures are a new version of the character: a video that is made keeps the version that it used. Then read_character_pictures about each 20 seconds until sheetStatus is completed or failed. Keep the same request ID after a lost reply; never create a new ID to recover an uncertain request.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-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": "Keep this ID after a lost reply. Use a new ID only for a new user-requested operation."
          },
          "characterId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "again": {
            "default": false,
            "description": "true draws new pictures for a character that has pictures.",
            "type": "boolean"
          },
          "quotedCredits": {
            "type": "number",
            "minimum": 0,
            "description": "The price that the read of this element gave, unchanged."
          }
        },
        "required": [
          "requestId",
          "characterId",
          "quotedCredits"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "make_element_picture",
      "description": "Draw the library picture of one saved location or object of the user, as the create dialog of the Characters page does after create_saved_element. It is drawn from the description, and from the photo when the element has one. Costs credits: pass pictureCredits of create_saved_element, or credits of read_element_picture, as quotedCredits. The credits are reserved at the start and charged when the picture is ready; a picture that fails is not charged. Requires the user's approval over the spending limits. Then read_element_picture about each 20 seconds until pictureUrl is there or failed is true. An element that has its picture is refused (conflict, reason has_picture): to change that picture, use change_element_look. Keep the same request ID after a lost reply; never create a new ID to recover an uncertain request.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-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": "Keep this ID after a lost reply. Use a new ID only for a new user-requested operation."
          },
          "kind": {
            "type": "string",
            "enum": [
              "location",
              "object"
            ]
          },
          "elementId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "quotedCredits": {
            "type": "number",
            "minimum": 0,
            "description": "The price that the read of this element gave, unchanged."
          }
        },
        "required": [
          "requestId",
          "kind",
          "elementId",
          "quotedCredits"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "make_song",
      "description": "Make a new song, as Create song on the Songs page does, at the price that quote_song gave for the same fields (quotedCredits). The credits are reserved at the start and charged when the song is ready; a song that fails is not charged. Returns the songId: read_song says when it is ready. At most 3 songs are made at one time. Requires the user's approval over the spending limits. Keep the same request ID after a lost reply; never create a new ID to recover an uncertain request.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "prompt": {
            "type": "string",
            "maxLength": 2000
          },
          "lyrics": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 6000
              },
              {
                "type": "null"
              }
            ]
          },
          "instrumental": {
            "type": "boolean"
          },
          "lengthSeconds": {
            "type": "integer",
            "minimum": 3,
            "maximum": 600
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-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": "Keep this ID after a lost reply. Use a new ID only for a new user-requested operation."
          },
          "quotedCredits": {
            "type": "number",
            "minimum": 0
          }
        },
        "required": [
          "prompt",
          "lengthSeconds",
          "requestId",
          "quotedCredits"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "make_universe_character_picture",
      "description": "Draw a picture of one saved character of the user's library in the style of a universe, as the redraw button of the universe gallery on the character's page does. The picture is drawn in this call, which can take a minute, and it replaces the picture that the character has in this universe. Costs credits: pass credits of read_universe_character_picture as quotedCredits. A picture that is not drawn is not charged. Text that moderation refuses is refused (content_refused) and nothing is charged. Read read_universe_character_picture for the link of the new picture. A repeat with the same requestId gives the same answer and draws nothing more. When the answer says that the result is not known (uncertain), read read_universe_character_picture before you draw again with a new requestId.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "characterId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "description": "The slug of the universe."
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-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": "Keep this ID after a lost reply. Use a new ID only for a new user-requested operation."
          },
          "quotedCredits": {
            "type": "number",
            "minimum": 0,
            "description": "The price that the read of this element gave, unchanged."
          }
        },
        "required": [
          "characterId",
          "slug",
          "requestId",
          "quotedCredits"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "make_universe_pictures",
      "description": "Draw new pictures for the header of one of the user's own universes, as New covers, New profile picture, Redraw with a note and Try again on the \"Your universe\" page do. Give exactly one of target, note and setId. The pictures are drawn in the style of the universe with its cast. The new pictures do not replace the picture in use: they are options, and use_universe_picture puts one in use. Costs credits: the credits are reserved at the start and charged for each picture that is drawn; a picture that fails is not charged. A try again of the first free set of a universe is free. Requires the user's approval over the spending limits. One set is drawn for a universe at a time, and an account draws or uploads 10 times an hour at most. Then read_universe_pictures about each 20 seconds until newestSet.status is choosing or failed. Keep the same request ID after a lost reply; never create a new ID to recover an uncertain request.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-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": "Keep this ID after a lost reply. Use a new ID only for a new user-requested operation."
          },
          "target": {
            "description": "New pictures: cover (3 covers to choose from), profile (1 profile picture) or both.",
            "type": "string",
            "enum": [
              "cover",
              "profile",
              "both"
            ]
          },
          "note": {
            "description": "Draw the cover in use again with this change, in the user's words. 1 picture.",
            "type": "string",
            "minLength": 1,
            "maxLength": 300
          },
          "setId": {
            "description": "Try again: the setId of newestSet when its status is failed.",
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "quotedCredits": {
            "type": "number",
            "minimum": 0,
            "description": "The price from read_universe_pictures, unchanged: credits.cover, credits.profile or credits.both for target, credits.note for note, newestSet.tryAgainCredits for setId."
          }
        },
        "required": [
          "slug",
          "requestId",
          "quotedCredits"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "make_visual_style_pictures",
      "description": "Draw the sample pictures of a new visual style from its style text, as the New visual style window does. Costs credits: pass credits of quote_visual_style_pictures for the same count as quotedCredits. The credits are reserved at the start, and only the pictures that are drawn are charged. Requires the user's approval over the spending limits. The call draws the pictures before it answers, which can take 2 minutes. Each picture has a pictureId and a link that works for 1 hour: show the pictures to the user, then give the pictureId of each picture that the user wants to create_visual_style. A style holds 3 pictures at most. Keep the same request ID after a lost reply; never create a new ID to recover an uncertain request.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-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": "Keep this ID after a lost reply. Use a new ID only for a new user-requested operation."
          },
          "stylePhrase": {
            "type": "string",
            "minLength": 1,
            "maxLength": 2000
          },
          "count": {
            "type": "integer",
            "minimum": 1,
            "maximum": 3
          },
          "quotedCredits": {
            "type": "number",
            "minimum": 0
          }
        },
        "required": [
          "requestId",
          "stylePhrase",
          "count",
          "quotedCredits"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "merge_cards",
      "description": "Merge a Card with the specified next Card using the editor's media and timeline rules. Keep requestId after a lost response.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "cardId": {
            "type": "string",
            "minLength": 1
          },
          "withNextCardId": {
            "type": "string",
            "minLength": 1
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-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": "Keep this ID after a lost reply. Use a new ID only for a new user-requested operation."
          }
        },
        "required": [
          "projectId",
          "cardId",
          "withNextCardId",
          "requestId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "move_shots",
      "description": "Move Shot timeline items from one Card to another Card, at a lane position of that Card, with the observed revisions of both Cards. The Shots keep their image, video and sound. No media generation. Keep requestId after a lost response.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "cardId": {
            "type": "string",
            "minLength": 1
          },
          "timelineItemIds": {
            "minItems": 1,
            "maxItems": 50,
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            }
          },
          "toCardId": {
            "type": "string",
            "minLength": 1
          },
          "toLaneIndex": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "expectedCardUpdatedAt": {
            "type": "string",
            "minLength": 1
          },
          "expectedToCardUpdatedAt": {
            "type": "string",
            "minLength": 1
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-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": "Keep this ID after a lost reply. Use a new ID only for a new user-requested operation."
          }
        },
        "required": [
          "projectId",
          "cardId",
          "timelineItemIds",
          "toCardId",
          "toLaneIndex",
          "requestId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "move_timeline_item",
      "description": "Move one Card timeline item to a local start time in milliseconds. Supply the exact current Card revision. Read the Card again after a conflict or an uncertain result.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "minLength": 1
          },
          "cardId": {
            "type": "string",
            "minLength": 1
          },
          "expectedCardUpdatedAt": {
            "type": "string",
            "minLength": 1
          },
          "operation": {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "const": "move_item"
              },
              "itemId": {
                "type": "string",
                "minLength": 1
              },
              "localStartMs": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              }
            },
            "required": [
              "kind",
              "itemId",
              "localStartMs"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "projectId",
          "cardId",
          "expectedCardUpdatedAt",
          "operation"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "observe_export",
      "description": "Read a prior export attempt. This never starts another render. A successful attempt can still be behind current edits; read_export checks that.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "attemptId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          }
        },
        "required": [
          "projectId",
          "attemptId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "observe_run",
      "description": "Read the saved status of an editor generation run. Queued or running work is not a reason to resubmit. Read the Card and takes after success.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "runId": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "projectId",
          "runId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "observe_video_creation",
      "description": "Read the saved state and completed output of a full video generation in your account. Use the projectId and runId returned by generate_video. Generation continues on LongStories while you are away. An accepted request does not mean the video is complete.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "runId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200
          }
        },
        "required": [
          "projectId",
          "runId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "open_editor",
      "title": "Video editor",
      "description": "Open the Video editor inside ChatGPT. With no project ID, show this account's projects. With a project ID, open its saved Cards and Shots. The editor uses the same product actions as LongStories. Opening it does not generate or change anything.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "cards": {
            "default": {
              "offset": 0,
              "limit": 25
            },
            "type": "object",
            "properties": {
              "offset": {
                "default": 0,
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "limit": {
                "default": 25,
                "type": "integer",
                "minimum": 1,
                "maximum": 100
              }
            },
            "additionalProperties": false
          },
          "shots": {
            "default": {
              "offset": 0,
              "limit": 25
            },
            "type": "object",
            "properties": {
              "offset": {
                "default": 0,
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "limit": {
                "default": 25,
                "type": "integer",
                "minimum": 1,
                "maximum": 100
              }
            },
            "additionalProperties": false
          },
          "runs": {
            "default": {
              "offset": 0,
              "limit": 25
            },
            "type": "object",
            "properties": {
              "offset": {
                "default": 0,
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "limit": {
                "default": 25,
                "type": "integer",
                "minimum": 1,
                "maximum": 100
              }
            },
            "additionalProperties": false
          }
        },
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "oneOf": [
          {
            "type": "object",
            "properties": {
              "projects": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "projectId": {
                      "type": "string"
                    },
                    "editorUrl": {
                      "type": "string"
                    },
                    "title": {
                      "type": "string"
                    },
                    "product": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "status": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "createdAt": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "updatedAt": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "universeSlug": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "projectId",
                    "editorUrl",
                    "title",
                    "product",
                    "status",
                    "createdAt",
                    "updatedAt",
                    "universeSlug"
                  ],
                  "additionalProperties": false
                }
              },
              "nextOffset": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "status": {
                "type": "string",
                "const": "projects"
              }
            },
            "required": [
              "projects",
              "nextOffset",
              "status"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "status": {
                "type": "string",
                "const": "inspected"
              },
              "observedAt": {
                "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))$"
              },
              "project": {
                "type": "object",
                "properties": {
                  "projectId": {
                    "type": "string"
                  },
                  "title": {
                    "type": "string"
                  },
                  "aspectRatio": {
                    "type": "string",
                    "enum": [
                      "9:16",
                      "16:9"
                    ]
                  },
                  "product": {
                    "type": "string"
                  },
                  "status": {
                    "type": "string"
                  },
                  "revision": {
                    "oneOf": [
                      {
                        "type": "object",
                        "properties": {
                          "kind": {
                            "type": "string",
                            "const": "known"
                          },
                          "updatedAt": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "kind",
                          "updatedAt"
                        ],
                        "additionalProperties": false
                      },
                      {
                        "type": "object",
                        "properties": {
                          "kind": {
                            "type": "string",
                            "const": "unknown"
                          }
                        },
                        "required": [
                          "kind"
                        ],
                        "additionalProperties": false
                      }
                    ]
                  },
                  "editorUrl": {
                    "type": "string"
                  }
                },
                "required": [
                  "projectId",
                  "title",
                  "aspectRatio",
                  "product",
                  "status",
                  "revision",
                  "editorUrl"
                ],
                "additionalProperties": false
              },
              "creation": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "runId": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "runId"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "cards": {
                "type": "object",
                "properties": {
                  "items": {
                    "maxItems": 100,
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "cardId": {
                          "type": "string"
                        },
                        "number": {
                          "type": "integer",
                          "exclusiveMinimum": 0,
                          "maximum": 9007199254740991
                        },
                        "revision": {
                          "oneOf": [
                            {
                              "type": "object",
                              "properties": {
                                "kind": {
                                  "type": "string",
                                  "const": "known"
                                },
                                "updatedAt": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "kind",
                                "updatedAt"
                              ],
                              "additionalProperties": false
                            },
                            {
                              "type": "object",
                              "properties": {
                                "kind": {
                                  "type": "string",
                                  "const": "unknown"
                                }
                              },
                              "required": [
                                "kind"
                              ],
                              "additionalProperties": false
                            }
                          ]
                        },
                        "title": {
                          "type": "string"
                        },
                        "kind": {
                          "type": "string",
                          "enum": [
                            "narrated",
                            "silent"
                          ]
                        },
                        "durationMs": {
                          "type": "number"
                        },
                        "shotCount": {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        "action": {
                          "oneOf": [
                            {
                              "type": "object",
                              "properties": {
                                "kind": {
                                  "type": "string",
                                  "const": "none"
                                }
                              },
                              "required": [
                                "kind"
                              ],
                              "additionalProperties": false
                            },
                            {
                              "type": "object",
                              "properties": {
                                "kind": {
                                  "type": "string",
                                  "enum": [
                                    "pending",
                                    "restoring",
                                    "failed"
                                  ]
                                },
                                "actionId": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "kind",
                                "actionId"
                              ],
                              "additionalProperties": false
                            }
                          ]
                        }
                      },
                      "required": [
                        "cardId",
                        "number",
                        "revision",
                        "title",
                        "kind",
                        "durationMs",
                        "shotCount",
                        "action"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "nextOffset": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "items",
                  "nextOffset"
                ],
                "additionalProperties": false
              },
              "shots": {
                "type": "object",
                "properties": {
                  "items": {
                    "maxItems": 100,
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "shotId": {
                          "type": "string"
                        },
                        "sceneId": {
                          "type": "string"
                        },
                        "revision": {
                          "oneOf": [
                            {
                              "type": "object",
                              "properties": {
                                "kind": {
                                  "type": "string",
                                  "const": "known"
                                },
                                "updatedAt": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "kind",
                                "updatedAt"
                              ],
                              "additionalProperties": false
                            },
                            {
                              "type": "object",
                              "properties": {
                                "kind": {
                                  "type": "string",
                                  "const": "unknown"
                                }
                              },
                              "required": [
                                "kind"
                              ],
                              "additionalProperties": false
                            }
                          ]
                        },
                        "state": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "durationMs": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "selectedImage": {
                          "anyOf": [
                            {
                              "type": "object",
                              "properties": {
                                "assetId": {
                                  "type": "string"
                                },
                                "state": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                }
                              },
                              "required": [
                                "assetId",
                                "state"
                              ],
                              "additionalProperties": false
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "selectedVideo": {
                          "anyOf": [
                            {
                              "type": "object",
                              "properties": {
                                "assetId": {
                                  "type": "string"
                                },
                                "state": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                }
                              },
                              "required": [
                                "assetId",
                                "state"
                              ],
                              "additionalProperties": false
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "action": {
                          "oneOf": [
                            {
                              "type": "object",
                              "properties": {
                                "kind": {
                                  "type": "string",
                                  "const": "none"
                                }
                              },
                              "required": [
                                "kind"
                              ],
                              "additionalProperties": false
                            },
                            {
                              "type": "object",
                              "properties": {
                                "kind": {
                                  "type": "string",
                                  "enum": [
                                    "pending",
                                    "restoring",
                                    "failed"
                                  ]
                                },
                                "actionId": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "kind",
                                "actionId"
                              ],
                              "additionalProperties": false
                            }
                          ]
                        }
                      },
                      "required": [
                        "shotId",
                        "sceneId",
                        "revision",
                        "state",
                        "durationMs",
                        "selectedImage",
                        "selectedVideo",
                        "action"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "nextOffset": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "items",
                  "nextOffset"
                ],
                "additionalProperties": false
              },
              "runs": {
                "type": "object",
                "properties": {
                  "items": {
                    "maxItems": 100,
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "runId": {
                          "type": "string"
                        },
                        "intent": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "state": {
                          "type": "string",
                          "enum": [
                            "queued",
                            "running",
                            "failed"
                          ]
                        },
                        "shotId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cardId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "updatedAt": {
                          "type": "string"
                        },
                        "startedAt": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "completedAt": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "runId",
                        "intent",
                        "state",
                        "shotId",
                        "cardId",
                        "updatedAt",
                        "startedAt",
                        "completedAt"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "nextOffset": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "items",
                  "nextOffset"
                ],
                "additionalProperties": false
              },
              "export": {
                "type": "object",
                "properties": {
                  "status": {
                    "type": "string",
                    "const": "read"
                  },
                  "projectId": {
                    "type": "string"
                  },
                  "saved": {
                    "oneOf": [
                      {
                        "type": "object",
                        "properties": {
                          "state": {
                            "type": "string",
                            "const": "missing"
                          }
                        },
                        "required": [
                          "state"
                        ],
                        "additionalProperties": false
                      },
                      {
                        "type": "object",
                        "properties": {
                          "state": {
                            "type": "string",
                            "enum": [
                              "current",
                              "behind",
                              "unknown"
                            ]
                          },
                          "url": {
                            "type": "string"
                          },
                          "size": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "attemptId": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "quality": {
                            "type": "string",
                            "enum": [
                              "high",
                              "medium",
                              "low"
                            ]
                          },
                          "exportPreset": {
                            "default": "default",
                            "type": "string",
                            "enum": [
                              "default",
                              "2k_30",
                              "4k_30",
                              "4k_60"
                            ]
                          }
                        },
                        "required": [
                          "state",
                          "url",
                          "size",
                          "attemptId",
                          "quality",
                          "exportPreset"
                        ],
                        "additionalProperties": false
                      }
                    ]
                  },
                  "activeAttempt": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "attemptId": {
                            "type": "string"
                          },
                          "state": {
                            "type": "string",
                            "enum": [
                              "starting",
                              "rendering"
                            ]
                          }
                        },
                        "required": [
                          "attemptId",
                          "state"
                        ],
                        "additionalProperties": false
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "status",
                  "projectId",
                  "saved",
                  "activeAttempt"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "status",
              "observedAt",
              "project",
              "creation",
              "cards",
              "shots",
              "runs",
              "export"
            ],
            "additionalProperties": false
          }
        ]
      }
    },
    {
      "name": "pause_series",
      "description": "Pause a planned series, as Pause on the page of the series does: no new episode is made until the user resumes it (resume_series). An episode that is being made goes on. Free.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          }
        },
        "required": [
          "seriesId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "plan_and_film_shot_again",
      "description": "Plan one storyboard Shot again from the lines over it now, draw its storyboard again and film it again, as the editor's Plan and film again does. Use it only when quote_shot_video_edit or regenerate_shot_video answers 'replan' (replan.imageCredits). It has two prices: the new storyboard (replan.imageCredits) and the new video (quote_shot_video, with the same lineSync). Requires the person's approval of their sum; the project's free editing credits can only lower the charge. LongStories refuses when one of the two prices changed, before a charge: price both again then. Keep requestId after a lost reply and read the saved answer with read_operation; a new ID is a new edit and a new approval.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "shotId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-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": "Keep this ID after a lost reply. Use a new ID only for a new user-requested operation."
          },
          "acceptedImageCredits": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991,
            "description": "replan.imageCredits of quote_shot_video_edit or regenerate_shot_video."
          },
          "acceptedVideoQuote": {
            "type": "object",
            "properties": {
              "version": {
                "type": "string",
                "const": "edit-animation-v1"
              },
              "layer": {
                "type": "string",
                "const": "animation"
              },
              "shotId": {
                "type": "string",
                "minLength": 1
              },
              "credits": {
                "type": "number",
                "exclusiveMinimum": 0
              },
              "durationSeconds": {
                "type": "number",
                "exclusiveMinimum": 0
              },
              "model": {
                "type": "string",
                "minLength": 1
              }
            },
            "required": [
              "version",
              "layer",
              "shotId",
              "credits",
              "durationSeconds",
              "model"
            ],
            "additionalProperties": false,
            "description": "The quote of quote_shot_video, unchanged."
          },
          "generationOptions": {
            "description": "The generationOptions of quote_shot_video, unchanged.",
            "type": "object",
            "properties": {
              "modelPreset": {
                "type": "string",
                "enum": [
                  "mini",
                  "fast",
                  "pro",
                  "super_pro",
                  "ultra",
                  "universe_default"
                ]
              },
              "requestedModel": {
                "type": "string"
              },
              "multiCutEnabled": {
                "type": "boolean",
                "const": false
              },
              "resolution": {
                "type": "string",
                "enum": [
                  "480p",
                  "720p",
                  "1080p",
                  "4k"
                ]
              }
            },
            "required": [
              "multiCutEnabled",
              "resolution"
            ],
            "additionalProperties": false
          },
          "lineSync": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "kind": {
                    "type": "string",
                    "const": "sync_line"
                  },
                  "voiceoverItemId": {
                    "type": "string"
                  },
                  "unmute": {
                    "type": "boolean",
                    "const": true
                  }
                },
                "required": [
                  "kind",
                  "voiceoverItemId"
                ]
              },
              {
                "type": "object",
                "properties": {
                  "kind": {
                    "type": "string",
                    "const": "generate_plain"
                  }
                },
                "required": [
                  "kind"
                ]
              },
              {
                "type": "object",
                "properties": {
                  "kind": {
                    "type": "string",
                    "const": "no_mouth"
                  }
                },
                "required": [
                  "kind"
                ]
              }
            ]
          },
          "motionDescription": {
            "description": "After regenerate_shot_video answered 'replan': its motionDescription, unchanged. The new plan follows these words.",
            "type": "string"
          }
        },
        "required": [
          "projectId",
          "shotId",
          "requestId",
          "acceptedImageCredits",
          "acceptedVideoQuote"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "post_video",
      "description": "Post a finished video of the user to one connected YouTube, Instagram or Facebook account, now or at a time, as Post and Schedule in the Share sheet do. The post is public on the platform as its privacy says, and LongStories cannot remove a published post: call it only when the user asked to post this video to this account, and show the user the text first. The user approves each post (the account, the visibility, the time and the text). One call posts to one account. Free; posting needs an active paid plan. Keep requestId after a lost reply: the same requestId is one post. Follow the post with list_posts; cancel_post stops a post that waits.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-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": "Keep this ID after a lost reply. Use a new ID only for a new user-requested operation."
          },
          "accountId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-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": "From list_social_accounts or read_post_form."
          },
          "details": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "title": {
                    "type": "string"
                  },
                  "description": {
                    "type": "string"
                  },
                  "tags": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "minLength": 1
                    }
                  },
                  "privacy": {
                    "type": "string",
                    "enum": [
                      "private",
                      "unlisted",
                      "public"
                    ]
                  },
                  "madeForKids": {
                    "type": "boolean"
                  },
                  "containsSyntheticMedia": {
                    "type": "boolean"
                  },
                  "platform": {
                    "type": "string",
                    "const": "youtube"
                  }
                },
                "required": [
                  "title",
                  "description",
                  "tags",
                  "privacy",
                  "madeForKids",
                  "containsSyntheticMedia",
                  "platform"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "platform": {
                    "type": "string",
                    "enum": [
                      "instagram",
                      "facebook"
                    ]
                  },
                  "caption": {
                    "type": "string",
                    "maxLength": 2200
                  }
                },
                "required": [
                  "platform",
                  "caption"
                ],
                "additionalProperties": false
              }
            ],
            "description": "For YouTube: title, description, tags, privacy (private, unlisted or public), madeForKids and containsSyntheticMedia. Ask the user for privacy and madeForKids; containsSyntheticMedia is true for a video with realistic AI pictures of people, places or events. For Instagram and Facebook: caption."
          },
          "coverId": {
            "description": "A cover choice of read_post_form. Only YouTube and Instagram take a cover.",
            "type": "string"
          },
          "scheduledFor": {
            "description": "An ISO time with its offset, 15 minutes or more from now. With no time, the post goes up now. A scheduled YouTube post is public.",
            "type": "string"
          }
        },
        "required": [
          "projectId",
          "requestId",
          "accountId",
          "details"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "prepare_element",
      "description": "Generate an attached element reference after native confirmation of its current revision and quoted credits. Repeated requests use the same saved attempt. Read elements until ready.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "element": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "kind": {
                    "type": "string",
                    "const": "character"
                  },
                  "projectElementId": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  }
                },
                "required": [
                  "kind",
                  "projectElementId"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "kind": {
                    "type": "string",
                    "const": "location"
                  },
                  "projectElementId": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  }
                },
                "required": [
                  "kind",
                  "projectElementId"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "kind": {
                    "type": "string",
                    "const": "object"
                  },
                  "projectElementId": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  }
                },
                "required": [
                  "kind",
                  "projectElementId"
                ],
                "additionalProperties": false
              }
            ]
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-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": "string",
            "minLength": 64,
            "maxLength": 64
          },
          "quotedCredits": {
            "type": "number",
            "minimum": 0
          }
        },
        "required": [
          "projectId",
          "element",
          "requestId",
          "revision",
          "quotedCredits"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "prepare_next_episode",
      "description": "Prepare the next episode from an owned completed video, just as Create does. Creates no series: a video in no series gets seriesId null, and generate_video makes the series with the episode. creationSettings.series also takes joinSeriesId, with seriesId null: generate_video then adds the video to that series of the user (made by hand, in its universe, not the Open universe, no plan; ids from list_series), and the episode continues it. Fills missing story records of an existing series; no video is generated and no customer credits are charged. Returns safe story records and creationSettings. Add the user's next-episode idea and an operationKey, then quote_video_creation and generate_video. Read the source project's Cards if any story record is missing. Keep requestId after a lost reply.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-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": "Keep this ID after a lost reply. Use a new ID only for a new user-requested operation."
          }
        },
        "required": [
          "projectId",
          "requestId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "quote_add_voice_line",
      "description": "Quote a new spoken line for one Card. Returns its exact change, credit price and Card revision without generating speech or charging credits. Pass that quote unchanged to add_voice_line.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "change": {
            "type": "object",
            "properties": {
              "cardId": {
                "type": "string",
                "minLength": 1
              },
              "characterId": {
                "type": "string",
                "minLength": 1
              },
              "text": {
                "type": "string",
                "minLength": 1
              },
              "afterTimelineItemId": {
                "anyOf": [
                  {
                    "type": "string",
                    "minLength": 1
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "beforeTimelineItemId": {
                "anyOf": [
                  {
                    "type": "string",
                    "minLength": 1
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "kind": {
                "type": "string",
                "const": "add"
              }
            },
            "required": [
              "cardId",
              "characterId",
              "text",
              "kind"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "projectId",
          "change"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "quote_card_coverage",
      "description": "Read the fixed price for a Card storyboard or animated coverage. Returns the saved Card revision and the Shots that would be replaced. Does not plan, generate, or spend credits.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "cardId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "tier": {
            "type": "string",
            "enum": [
              "mini",
              "fast",
              "pro",
              "super_pro",
              "ultra"
            ]
          },
          "door": {
            "type": "string",
            "enum": [
              "animated",
              "storyboard"
            ]
          },
          "requestedSeconds": {
            "type": "number",
            "minimum": 1,
            "maximum": 120
          }
        },
        "required": [
          "projectId",
          "cardId",
          "tier",
          "door",
          "requestedSeconds"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "quote_character_voice",
      "description": "Quote the credits and current video revision for replacing one speaker's generated voice across the video.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "speakerId": {
            "type": "string",
            "minLength": 1
          },
          "targetVoiceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 100
          }
        },
        "required": [
          "projectId",
          "speakerId",
          "targetVoiceId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "quote_character_voice_retry",
      "description": "Quote a new generation of a replacement voice line with revised text. Use this when the replacement line does not fit.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "changeId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "itemId": {
            "type": "string",
            "minLength": 1
          },
          "text": {
            "type": "string",
            "minLength": 1,
            "maxLength": 2000
          }
        },
        "required": [
          "projectId",
          "changeId",
          "itemId",
          "text"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "quote_coverage_animation",
      "description": "Read the video price for existing Shots, including any split needed by the chosen tier. Returns exact per-Shot prices and revisions. Does not generate or spend credits.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "shotIds": {
            "minItems": 1,
            "maxItems": 100,
            "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)$"
            }
          },
          "generationOptions": {
            "type": "object",
            "properties": {
              "modelPreset": {
                "type": "string",
                "enum": [
                  "mini",
                  "fast",
                  "pro",
                  "super_pro",
                  "ultra",
                  "universe_default"
                ]
              },
              "requestedModel": {
                "type": "string",
                "minLength": 1
              }
            },
            "additionalProperties": false
          }
        },
        "required": [
          "projectId",
          "shotIds"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "quote_edit_voice_line",
      "description": "Quote a replacement for one existing spoken line in a Card. Returns its exact change, credit price and Card revision without generating speech or charging credits. Pass that quote unchanged to edit_voice_line.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "change": {
            "type": "object",
            "properties": {
              "cardId": {
                "type": "string",
                "minLength": 1
              },
              "timelineItemId": {
                "type": "string",
                "minLength": 1
              },
              "text": {
                "type": "string",
                "minLength": 1
              },
              "confirmLipsyncBreak": {
                "type": "boolean"
              },
              "fitToClip": {
                "description": "Pace the new take to end inside the shot under the line. Accepted only with the line's own text, and when the last result's clip.fitOffered was true: the line runs past its shot by at most 1.4x.",
                "type": "boolean"
              },
              "kind": {
                "type": "string",
                "const": "edit"
              }
            },
            "required": [
              "cardId",
              "timelineItemId",
              "text",
              "kind"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "projectId",
          "change"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "quote_narrator_voice",
      "description": "Price a change of the narrator's voice, for a finished video that has one voiceover and no Cards. The change makes the whole voiceover again in the voice of targetVoiceId (from read_voice_choices) and renders the video again. For the voice of one speaker of a video with Cards, use quote_character_voice. Returns credits (pass it to change_narrator_voice as quotedCredits) and the length of the voiceover in seconds, or a refusal that says why the video cannot change its narrator. This changes nothing and does not read the balance.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "targetVoiceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200
          }
        },
        "required": [
          "projectId",
          "targetVoiceId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "quote_series_plan",
      "description": "Read what the plan of a series makes and charges next: how many planned episodes are open, the price in credits of the next one, and each failed planned episode. The series charges each episode when it makes it, at the price of that time. Read it before resume_series or skip_failed_episode, and tell the user the price. Free and read-only.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          }
        },
        "required": [
          "seriesId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "quote_series_start",
      "description": "Read the price of the start of the planned episodes of a series with no schedule (read_series: state waits_for_start): how many planned episodes start, the price in credits of one, and the total at the price of now. status nothing_to_start: the series has a schedule already, has no open planned episode, or an episode is being made. Read it before start_series_plan, and tell the user the price. Free and read-only.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          }
        },
        "required": [
          "seriesId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "quote_shot_image",
      "description": "Read the current price and effective model for a Shot image edit, angle change, or guidance regeneration. Guidance requires mode=guidance. This creates no media.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "shotId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "model": {
            "description": "Leave it out: LongStories takes the model of the change. An edit (mode edit) takes only gpt_image_25_flare_low_edit (Standard, the default) or gpt_image_25_sunburst_high_edit (Advanced, a higher price): another model is refused. Give the quote and the request the same model.",
            "type": "string",
            "enum": [
              "z_image_turbo",
              "flux_schnell",
              "imagen4_fast",
              "sdxl",
              "sdxl_lora",
              "hidream_fast",
              "leonardo_flux_precision",
              "bytedance_seedream_v3",
              "bytedance_seedream_v4",
              "bytedance_seedream_v45",
              "bytedance_seedream_v5_lite",
              "bytedance_seedream_v5_pro",
              "bytedance_seedream_v5_pro_edit",
              "bytedance_seedream_v5_pro_fast",
              "bytedance_seedream_v5_pro_fast_edit",
              "bytedance_seedream_v45_edit",
              "bytedance_seedream_v5_lite_edit",
              "bytedance_seedream_v4_edit",
              "nano_banana_edit",
              "nano_banana_2",
              "nano_banana_2_lite",
              "nano_banana_2_lite_edit",
              "nano_banana_2_edit",
              "qwen_image_edit_multiple_angles",
              "nano_banana_pro",
              "nano_banana_pro_edit",
              "glm_image",
              "glm_image_edit",
              "meta_muse_image",
              "meta_muse_image_edit",
              "mai_image_25",
              "mai_image_25_edit",
              "mai_image_25_pro",
              "mai_image_25_pro_edit",
              "mai_image_26",
              "mai_image_26_flash",
              "gpt_image_2_low",
              "gpt_image_2_medium",
              "gpt_image_2",
              "gpt_image_2_edit_low",
              "gpt_image_2_edit_medium",
              "gpt_image_2_edit",
              "gpt_image_25_flare_low",
              "gpt_image_25_flare_medium",
              "gpt_image_25_flare_high",
              "gpt_image_25_flare_low_edit",
              "gpt_image_25_flare_medium_edit",
              "gpt_image_25_flare_high_edit",
              "gpt_image_25_sunburst_low",
              "gpt_image_25_sunburst_medium",
              "gpt_image_25_sunburst_high",
              "gpt_image_25_sunburst_low_edit",
              "gpt_image_25_sunburst_medium_edit",
              "gpt_image_25_sunburst_high_edit",
              "gpt_image_26_sunburst_medium",
              "gpt_image_26_sunburst_medium_edit",
              "grok_imagine_2",
              "grok_imagine_2_edit",
              "sd35_medium",
              "sd35_large_turbo",
              "fal-ai/gemini-25-flash-image",
              "reve-v1",
              "hidream_dev",
              "qwen_image",
              "leonardo_phoenix_quality",
              "flux_lora",
              "flux_pro",
              "recraft",
              "sd35_large",
              "flux_pro_ultra",
              "hidream_full",
              "midjourney",
              "leonardo_phoenix_ultra",
              "gpt_image_1",
              "fal-ai/imagen4/preview",
              "nano_banana_21_edit"
            ]
          },
          "mode": {
            "type": "string",
            "enum": [
              "edit",
              "angle",
              "guidance"
            ]
          },
          "instructions": {
            "type": "string"
          },
          "referenceImageAssetIds": {
            "maxItems": 24,
            "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)$"
            }
          },
          "selectedCharacterIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "selectedLocationHandle": {
            "type": "string"
          }
        },
        "required": [
          "projectId",
          "shotId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "quote_shot_panel_edit",
      "description": "Price an edit of some panels of one Shot's storyboard (one image with several panels), as the editor's Edit image does on a storyboard. Say in plain words what to change. LongStories finds the panels that the words name; only those are drawn again. Pass characterIds and locationHandle from read_elements, or name @handles in the instructions, for the reference pictures that the edit must use; each one adds to the price. The answer is 'quoted' (the panels in quote.cells, quote.reason, and quotedCredits: 0 when the project's free editing credits pay), or 'whole' when the words are about the whole sheet (then use quote_shot_image and edit_shot_image with the returned instruction), or a refusal that says what to do. Pass quote and quoteSeal unchanged to edit_shot_panels. This draws nothing and charges nothing.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "shotId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "instructions": {
            "type": "string",
            "minLength": 5,
            "maxLength": 2000
          },
          "characterIds": {
            "maxItems": 8,
            "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)$"
            }
          },
          "locationHandle": {
            "type": "string",
            "minLength": 1,
            "maxLength": 80
          }
        },
        "required": [
          "projectId",
          "shotId",
          "instructions"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "quote_shot_video",
      "description": "Read the current video price for one Shot, including its model, duration, and lip-sync choice, with the editor's re-film options and the user's picks over them. Returns generationOptions: pass them unchanged to regenerate_shot_video. This does not generate video or modify settings.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "shotId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "keepMotion": {
            "type": "boolean"
          },
          "generationOptions": {
            "type": "object",
            "properties": {
              "modelPreset": {
                "type": "string",
                "enum": [
                  "mini",
                  "fast",
                  "pro",
                  "super_pro",
                  "ultra",
                  "universe_default"
                ]
              },
              "requestedModel": {
                "type": "string"
              },
              "multiCutEnabled": {
                "type": "boolean",
                "const": false
              },
              "resolution": {
                "type": "string",
                "enum": [
                  "480p",
                  "720p",
                  "1080p",
                  "4k"
                ]
              }
            },
            "additionalProperties": false
          },
          "lineSync": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "kind": {
                    "type": "string",
                    "const": "sync_line"
                  },
                  "voiceoverItemId": {
                    "type": "string"
                  },
                  "unmute": {
                    "type": "boolean",
                    "const": true
                  }
                },
                "required": [
                  "kind",
                  "voiceoverItemId"
                ]
              },
              {
                "type": "object",
                "properties": {
                  "kind": {
                    "type": "string",
                    "const": "generate_plain"
                  }
                },
                "required": [
                  "kind"
                ]
              },
              {
                "type": "object",
                "properties": {
                  "kind": {
                    "type": "string",
                    "const": "no_mouth"
                  }
                },
                "required": [
                  "kind"
                ]
              }
            ]
          }
        },
        "required": [
          "projectId",
          "shotId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "quote_shot_video_edit",
      "description": "Price the editor's Edit video on one Shot that was filmed from a storyboard: an exact change in a part of the clip (a wrong gesture, a wrong prop, a mouth that does not move). Say in plain words what to change. LongStories finds the moments of the clip that the words name; only those are filmed again. The answer is 'quoted' (quote.moments, each with its seconds and price, and quote.credits, the price before the project's free editing credits), or 'whole' when the words are about the whole clip (then use quote_shot_video and regenerate_shot_video), or 'replan' when the lines over the Shot changed after it was filmed (then use plan_and_film_shot_again with replan.imageCredits), or a refusal that says what to do. When carriedLine is not null, a line of a filmed moment also plays in parts that stay, where the mouth would move with no sound: tell the person, and use carriedLine.quote with carriedLine.quoteSeal to film those parts too. Pass the chosen quote and its quoteSeal unchanged to edit_shot_video. This films nothing and charges nothing.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "shotId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "instructions": {
            "type": "string",
            "minLength": 3,
            "maxLength": 2000
          },
          "pausedSeconds": {
            "description": "A time in the clip, in seconds, for words such as 'here' or 'at this moment'.",
            "type": "number",
            "minimum": 0
          }
        },
        "required": [
          "projectId",
          "shotId",
          "instructions"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "quote_song",
      "description": "Read the price in credits of a new song, before make_song: a description of the song (prompt), optional lyrics, instrumental for a song with no voice, and the length in seconds. The plan of the user sets the longest length. Starts nothing and charges nothing. Free and read-only.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "prompt": {
            "type": "string",
            "maxLength": 2000
          },
          "lyrics": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 6000
              },
              {
                "type": "null"
              }
            ]
          },
          "instrumental": {
            "type": "boolean"
          },
          "lengthSeconds": {
            "type": "integer",
            "minimum": 3,
            "maximum": 600
          }
        },
        "required": [
          "prompt",
          "lengthSeconds"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "quote_upscale",
      "description": "Quote higher-resolution video for one Shot, one scene, or the scene-based project. Story Card videos use a Shot target. Returns the credits for the current video sources, and the revision to pass to upscale_video. The charge is at most these credits. The plan of the account must include upscaling. This starts nothing.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "target": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "kind": {
                    "type": "string",
                    "const": "shot"
                  },
                  "shotId": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  }
                },
                "required": [
                  "kind",
                  "shotId"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "kind": {
                    "type": "string",
                    "const": "scene"
                  },
                  "sceneId": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  }
                },
                "required": [
                  "kind",
                  "sceneId"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "kind": {
                    "type": "string",
                    "const": "project"
                  }
                },
                "required": [
                  "kind"
                ],
                "additionalProperties": false
              }
            ]
          },
          "targetResolution": {
            "default": "1080p",
            "type": "string",
            "enum": [
              "1080p",
              "2k",
              "4k"
            ]
          },
          "targetFps": {
            "default": "30fps",
            "type": "string",
            "enum": [
              "30fps",
              "60fps"
            ]
          },
          "quality": {
            "default": "basic",
            "type": "string",
            "enum": [
              "basic",
              "better"
            ]
          }
        },
        "required": [
          "projectId",
          "target"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "quote_video_creation",
      "description": "Review the price and settings for a complete LongStories video, using the same creation flow as the website. Start from an idea, a full LongStories script, or narration or song audio already uploaded to your account. Use audioId from list_media_library for narration or songs. This does not start video generation. Keep the same operationKey for the matching generation request.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "operationKey": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128
          },
          "universeSlug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120
          },
          "projectPrompt": {
            "type": "string"
          },
          "createProduct": {
            "description": "video (a Video Story, the default) or music (a Music Video). LongStories offers no Explainer Video now.",
            "type": "string",
            "enum": [
              "video",
              "music"
            ]
          },
          "duration": {
            "type": "string",
            "pattern": "^\\d+$",
            "description": "The length of the video in seconds, as text. For an idea (inputMode prompt) it is one of 15, 30, 60, 180, 300, 600, 900: another value has no price, and the plan of the account sets the longest one. For a script or audio, the script or the audio sets the length: give one of these values."
          },
          "inputMode": {
            "type": "string",
            "enum": [
              "prompt",
              "script",
              "audio"
            ]
          },
          "animation": {
            "type": "boolean"
          },
          "animationPreset": {
            "type": "string"
          },
          "imagePreset": {
            "type": "string",
            "enum": [
              "basic",
              "advanced",
              "legacy"
            ]
          },
          "selectedCharacterIds": {
            "maxItems": 15,
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "characterHandleAssignments": {
            "type": "object",
            "propertyNames": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-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": {
              "type": "string"
            }
          },
          "series": {
            "type": "object",
            "properties": {
              "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"
                  }
                ]
              },
              "continuesProjectId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "joinSeriesId": {
                "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"
                  }
                ]
              },
              "lookChoice": {
                "anyOf": [
                  {
                    "type": "string",
                    "enum": [
                      "same_as_previous",
                      "changed"
                    ]
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "continuesProjectId"
            ],
            "additionalProperties": false
          },
          "selectedLocationIds": {
            "maxItems": 10,
            "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)$"
            }
          },
          "selectedObjectIds": {
            "maxItems": 10,
            "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)$"
            }
          },
          "elementHandleAssignments": {
            "type": "object",
            "propertyNames": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-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": {
              "type": "string",
              "minLength": 1,
              "maxLength": 80
            }
          },
          "aiNewElementHandles": {
            "maxItems": 40,
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 80
            }
          },
          "selectedLanguageCode": {
            "type": [
              "string",
              "null"
            ]
          },
          "visualStyleId": {
            "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"
              }
            ]
          },
          "preferAiStyle": {
            "type": "boolean"
          },
          "removeWatermark": {
            "type": "boolean"
          },
          "userAspectRatio": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "9:16",
                  "16:9"
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "userCaptionsEnabled": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "userLipsyncEnabled": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "userLipsyncTier": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "basic",
                  "pro"
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "videoModelOverride": {
            "type": "string"
          },
          "imageModelOverride": {
            "type": "string",
            "enum": [
              "z_image_turbo",
              "flux_schnell",
              "imagen4_fast",
              "sdxl",
              "hidream_fast",
              "leonardo_flux_precision",
              "bytedance_seedream_v3",
              "bytedance_seedream_v4",
              "bytedance_seedream_v45",
              "bytedance_seedream_v5_lite",
              "bytedance_seedream_v5_pro",
              "bytedance_seedream_v5_pro_edit",
              "bytedance_seedream_v5_pro_fast",
              "bytedance_seedream_v5_pro_fast_edit",
              "bytedance_seedream_v45_edit",
              "bytedance_seedream_v5_lite_edit",
              "bytedance_seedream_v4_edit",
              "nano_banana_edit",
              "nano_banana_2",
              "nano_banana_2_lite",
              "nano_banana_2_lite_edit",
              "nano_banana_2_edit",
              "qwen_image_edit_multiple_angles",
              "nano_banana_pro",
              "nano_banana_pro_edit",
              "glm_image",
              "glm_image_edit",
              "meta_muse_image",
              "meta_muse_image_edit",
              "mai_image_25",
              "mai_image_25_edit",
              "mai_image_25_pro",
              "mai_image_25_pro_edit",
              "mai_image_26",
              "mai_image_26_flash",
              "gpt_image_2_low",
              "gpt_image_2_medium",
              "gpt_image_2",
              "gpt_image_2_edit_low",
              "gpt_image_2_edit_medium",
              "gpt_image_2_edit",
              "gpt_image_25_flare_low",
              "gpt_image_25_flare_medium",
              "gpt_image_25_flare_high",
              "gpt_image_25_flare_low_edit",
              "gpt_image_25_flare_medium_edit",
              "gpt_image_25_flare_high_edit",
              "gpt_image_25_sunburst_low",
              "gpt_image_25_sunburst_medium",
              "gpt_image_25_sunburst_high",
              "gpt_image_25_sunburst_low_edit",
              "gpt_image_25_sunburst_medium_edit",
              "gpt_image_25_sunburst_high_edit",
              "gpt_image_26_sunburst_medium",
              "gpt_image_26_sunburst_medium_edit",
              "grok_imagine_2",
              "grok_imagine_2_edit",
              "sd35_medium",
              "sd35_large_turbo",
              "fal-ai/gemini-25-flash-image",
              "reve-v1",
              "hidream_dev",
              "qwen_image",
              "leonardo_phoenix_quality",
              "flux_pro",
              "recraft",
              "sd35_large",
              "flux_pro_ultra",
              "hidream_full",
              "midjourney",
              "leonardo_phoenix_ultra",
              "gpt_image_1",
              "fal-ai/imagen4/preview",
              "nano_banana_21_edit"
            ]
          },
          "videoResolutionOverride": {
            "default": "480p",
            "type": "string",
            "enum": [
              "480p",
              "720p",
              "1080p",
              "4k"
            ]
          },
          "userScript": {
            "type": "string"
          },
          "scriptFormat": {
            "type": "string",
            "const": "ls_markdown_script"
          },
          "audioKind": {
            "type": "string",
            "enum": [
              "voiceover",
              "song"
            ]
          },
          "songPerformance": {
            "type": "object",
            "properties": {
              "singOnCamera": {
                "type": "boolean"
              },
              "leadSingerCharacterId": {
                "anyOf": [
                  {
                    "type": "string",
                    "minLength": 1
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "singOnCamera"
            ],
            "additionalProperties": false
          },
          "userVoiceId": {
            "type": "string"
          },
          "userVoiceoverEnabled": {
            "type": "boolean"
          },
          "narrationIntent": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "version": {
                    "type": "number",
                    "const": 1
                  },
                  "kind": {
                    "type": "string",
                    "const": "explicit"
                  },
                  "speakers": {
                    "type": "string",
                    "enum": [
                      "narrator_only",
                      "narrator_and_characters",
                      "characters_only",
                      "none"
                    ]
                  }
                },
                "required": [
                  "version",
                  "kind",
                  "speakers"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "version": {
                    "type": "number",
                    "const": 1
                  },
                  "kind": {
                    "type": "string",
                    "const": "ai"
                  }
                },
                "required": [
                  "version",
                  "kind"
                ],
                "additionalProperties": false
              }
            ]
          },
          "soundEffectsEnabled": {
            "type": "boolean"
          },
          "soundEffectsModel": {
            "type": "string"
          },
          "multiCutEnabled": {
            "type": "boolean"
          },
          "keepAuthoredShotBoundaries": {
            "type": "boolean"
          },
          "locationConsistencyEnabled": {
            "type": "boolean"
          },
          "objectConsistencyEnabled": {
            "type": "boolean"
          },
          "audioId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          }
        },
        "required": [
          "operationKey",
          "universeSlug",
          "duration"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "quote_visual_style_pictures",
      "description": "Read the price of the sample pictures of a new visual style, for a count of 1 to 3 pictures. Free and read-only.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "count": {
            "type": "integer",
            "minimum": 1,
            "maximum": 3
          }
        },
        "required": [
          "count"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "rate_edit",
      "description": "Record whether an edit entry of read_edit_history worked as expected, with an optional short note. This changes nothing in the video and charges no credits.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "editEntryId": {
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 9007199254740991,
            "description": "The id of an entry of read_edit_history."
          },
          "worked": {
            "type": "boolean",
            "description": "Whether the edit worked as the owner expected."
          },
          "note": {
            "description": "Optional short note about what went wrong.",
            "type": "string",
            "maxLength": 500
          }
        },
        "required": [
          "projectId",
          "editEntryId",
          "worked"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "rate_video",
      "description": "Save the user's thumbs up or thumbs down on the saved video of a project, as the page of the video does. Use it only to pass on the user's own opinion, in the user's words in this conversation; never rate a video yourself. Null takes the vote back. Free.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "rating": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "up",
                  "down"
                ]
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "projectId",
          "rating"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "read_account",
      "description": "Read this account's plan and credit balance: the plan name, whether it is paid and renews, when it ends, the credits it includes each period, and whether it can make a new video now. Read it when the user asks about the plan or credits, or before a paid action when the balance may be too low. A null plan means the plan could not be read now; try again later.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {},
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "read_archive",
      "description": "Read archived Cards and Shot timeline items with the identities and revisions needed to restore them.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          }
        },
        "required": [
          "projectId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "read_card",
      "description": "Read one Card's full script, Shot scripts, timing, speech, media and editing revisions.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "cardId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          }
        },
        "required": [
          "projectId",
          "cardId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "read_character_deletion_impact",
      "description": "Read what a permanent delete of one of the user's saved characters changes, as the delete dialog of the Characters page shows it: the videos that use the character (the delete takes it out of each), how many universe pictures go, and blockedBy when a video that is being made holds the character. Read it when the user asks what a delete does, or to name the videos before delete_character. Free and read-only.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "characterId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          }
        },
        "required": [
          "characterId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "read_character_library",
      "description": "Read your saved characters, their descriptions, appearance, clothing, and selected voices. Returns at most 24 characters per page.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "page": {
            "default": 1,
            "type": "integer",
            "minimum": 1,
            "maximum": 1000000
          }
        },
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "read_character_pictures",
      "description": "Read the pictures of one saved character of the user's library (its reference sheet), as the Characters page shows them: sheetStatus (null: no pictures yet; pending: they are drawn now; completed; failed), contentRefused (the image models refused the character on their content rules), pictureUrl (a link to the pictures that works for 1 hour; show it to the user) and credits (the price of make_character_pictures). Free and read-only.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "characterId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          }
        },
        "required": [
          "characterId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "read_creation_options",
      "description": "List this account's universes, visual styles and supported creation settings. Read these before creating a project.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "selection": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "kind": {
                    "type": "string",
                    "const": "universes"
                  },
                  "page": {
                    "default": 1,
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 9007199254740991
                  },
                  "query": {
                    "default": "",
                    "type": "string",
                    "maxLength": 80
                  }
                },
                "required": [
                  "kind"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "kind": {
                    "type": "string",
                    "const": "settings"
                  },
                  "universeSlug": {
                    "default": "open-universe",
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 120
                  }
                },
                "required": [
                  "kind"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "kind": {
                    "type": "string",
                    "const": "styles"
                  },
                  "universeSlug": {
                    "default": "open-universe",
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 120
                  },
                  "source": {
                    "type": "string",
                    "enum": [
                      "universe",
                      "library"
                    ]
                  },
                  "page": {
                    "default": 1,
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 9007199254740991
                  },
                  "query": {
                    "default": "",
                    "type": "string",
                    "maxLength": 80
                  }
                },
                "required": [
                  "kind",
                  "source"
                ],
                "additionalProperties": false
              }
            ]
          }
        },
        "required": [
          "selection"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "read_edit_history",
      "description": "Read the History of a video, newest first: each edit that the owner sees in the editor, with its id for undo_edit. An entry has its action (for example trim, select_take, set_music, rename_card), who made it (madeBy: 'you' is the owner, 'agent' is an AI app or the LongStories Agent, 'support', 'admin'), the reason that an agent or support gave, and its place: slotKind 'card' with the Card id in slotOwnerId (and a line or clip of the Card in slotItemId), a Shot's picture, clip or sound with the Shot in shotId, or 'project_setting' with the name of the setting in slotOwnerId. reversesEntryId is set on an entry that is itself an Undo. groupSize is how many entries one action wrote; an Undo reverses them together. Edits of the pipeline that made the video are not listed. This changes nothing.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "limit": {
            "default": 30,
            "type": "integer",
            "minimum": 1,
            "maximum": 100
          },
          "beforeId": {
            "description": "nextBeforeId of the page before, for the older entries.",
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 9007199254740991
          }
        },
        "required": [
          "projectId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "read_element_picture",
      "description": "Read the library picture of one saved location or object of the user: pictureUrl (a link to the picture; null while there is none; show it to the user), failed (the last drawing failed and was not charged) and credits (the price of make_element_picture). Free and read-only.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "enum": [
              "location",
              "object"
            ]
          },
          "elementId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          }
        },
        "required": [
          "kind",
          "elementId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "read_elements",
      "description": "Read project character, location and object handles and reference preparation status. Optionally list accessible library elements. Use these handles in scripts and references.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "libraryKind": {
            "type": "string",
            "enum": [
              "character",
              "location",
              "object"
            ]
          }
        },
        "required": [
          "projectId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "read_export",
      "description": "Read the saved final video and compare it with current edits. Only saved.state=current confirms the export includes those edits.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          }
        },
        "required": [
          "projectId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "read_guide",
      "description": "Read the workflow guide for LongStories tools: creation and series flows, storyboard panel/video edits, voices, music, timeline, upscaling, credit approval, refusal codes, lost-reply recovery, and export delivery. Read it once before the first create or edit in a conversation. Free and read-only.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {},
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "read_line_takes",
      "description": "List the saved takes of the spoken lines of one Card: each earlier speech of a line, with its words, voice and length, and the take in use marked. Pass timelineItemId for one line, or leave it out for each line of the Card. Use it before select_line_take.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "cardId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-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",
            "minLength": 1
          }
        },
        "required": [
          "projectId",
          "cardId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "read_media_request",
      "description": "Read the accepted run for an exact earlier image or video request after a lost reply. Supply the same request ID and complete original input. This never starts or retries work. A not_found result only means an accepted run is not visible yet; it does not prove that no work started.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "request": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "operation": {
                    "type": "string",
                    "const": "image_edit"
                  },
                  "input": {
                    "type": "object",
                    "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)$"
                      },
                      "shotId": {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                      },
                      "instructions": {
                        "type": "string"
                      },
                      "model": {
                        "description": "Leave it out: LongStories takes the model of the change. An edit (mode edit) takes only gpt_image_25_flare_low_edit (Standard, the default) or gpt_image_25_sunburst_high_edit (Advanced, a higher price): another model is refused. Give the quote and the request the same model.",
                        "type": "string",
                        "enum": [
                          "z_image_turbo",
                          "flux_schnell",
                          "imagen4_fast",
                          "sdxl",
                          "sdxl_lora",
                          "hidream_fast",
                          "leonardo_flux_precision",
                          "bytedance_seedream_v3",
                          "bytedance_seedream_v4",
                          "bytedance_seedream_v45",
                          "bytedance_seedream_v5_lite",
                          "bytedance_seedream_v5_pro",
                          "bytedance_seedream_v5_pro_edit",
                          "bytedance_seedream_v5_pro_fast",
                          "bytedance_seedream_v5_pro_fast_edit",
                          "bytedance_seedream_v45_edit",
                          "bytedance_seedream_v5_lite_edit",
                          "bytedance_seedream_v4_edit",
                          "nano_banana_edit",
                          "nano_banana_2",
                          "nano_banana_2_lite",
                          "nano_banana_2_lite_edit",
                          "nano_banana_2_edit",
                          "qwen_image_edit_multiple_angles",
                          "nano_banana_pro",
                          "nano_banana_pro_edit",
                          "glm_image",
                          "glm_image_edit",
                          "meta_muse_image",
                          "meta_muse_image_edit",
                          "mai_image_25",
                          "mai_image_25_edit",
                          "mai_image_25_pro",
                          "mai_image_25_pro_edit",
                          "mai_image_26",
                          "mai_image_26_flash",
                          "gpt_image_2_low",
                          "gpt_image_2_medium",
                          "gpt_image_2",
                          "gpt_image_2_edit_low",
                          "gpt_image_2_edit_medium",
                          "gpt_image_2_edit",
                          "gpt_image_25_flare_low",
                          "gpt_image_25_flare_medium",
                          "gpt_image_25_flare_high",
                          "gpt_image_25_flare_low_edit",
                          "gpt_image_25_flare_medium_edit",
                          "gpt_image_25_flare_high_edit",
                          "gpt_image_25_sunburst_low",
                          "gpt_image_25_sunburst_medium",
                          "gpt_image_25_sunburst_high",
                          "gpt_image_25_sunburst_low_edit",
                          "gpt_image_25_sunburst_medium_edit",
                          "gpt_image_25_sunburst_high_edit",
                          "gpt_image_26_sunburst_medium",
                          "gpt_image_26_sunburst_medium_edit",
                          "grok_imagine_2",
                          "grok_imagine_2_edit",
                          "sd35_medium",
                          "sd35_large_turbo",
                          "fal-ai/gemini-25-flash-image",
                          "reve-v1",
                          "hidream_dev",
                          "qwen_image",
                          "leonardo_phoenix_quality",
                          "flux_lora",
                          "flux_pro",
                          "recraft",
                          "sd35_large",
                          "flux_pro_ultra",
                          "hidream_full",
                          "midjourney",
                          "leonardo_phoenix_ultra",
                          "gpt_image_1",
                          "fal-ai/imagen4/preview",
                          "nano_banana_21_edit"
                        ]
                      },
                      "mode": {
                        "type": "string",
                        "enum": [
                          "edit",
                          "angle",
                          "guidance"
                        ]
                      },
                      "referenceImageAssetIds": {
                        "maxItems": 24,
                        "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)$"
                        }
                      },
                      "selectedCharacterIds": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "selectedLocationHandle": {
                        "type": "string"
                      },
                      "acceptedImageCredits": {
                        "type": "number",
                        "minimum": 0
                      },
                      "cameraAngle": {
                        "type": "object",
                        "properties": {
                          "horizontalAngle": {
                            "type": "number"
                          },
                          "verticalAngle": {
                            "type": "number"
                          },
                          "zoom": {
                            "type": "number"
                          },
                          "additionalPrompt": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "horizontalAngle",
                          "verticalAngle",
                          "zoom"
                        ]
                      },
                      "requestId": {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-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": "Keep this ID after a lost reply. Use a new ID only for a new user-requested operation."
                      }
                    },
                    "required": [
                      "projectId",
                      "shotId",
                      "instructions",
                      "acceptedImageCredits",
                      "requestId"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "operation",
                  "input"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "operation": {
                    "type": "string",
                    "const": "image_regeneration"
                  },
                  "input": {
                    "type": "object",
                    "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)$"
                      },
                      "shotId": {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                      },
                      "visualDescription": {
                        "type": "string"
                      },
                      "model": {
                        "description": "Leave it out: LongStories takes its model for a new picture.",
                        "type": "string",
                        "enum": [
                          "z_image_turbo",
                          "flux_schnell",
                          "imagen4_fast",
                          "sdxl",
                          "sdxl_lora",
                          "hidream_fast",
                          "leonardo_flux_precision",
                          "bytedance_seedream_v3",
                          "bytedance_seedream_v4",
                          "bytedance_seedream_v45",
                          "bytedance_seedream_v5_lite",
                          "bytedance_seedream_v5_pro",
                          "bytedance_seedream_v5_pro_edit",
                          "bytedance_seedream_v5_pro_fast",
                          "bytedance_seedream_v5_pro_fast_edit",
                          "bytedance_seedream_v45_edit",
                          "bytedance_seedream_v5_lite_edit",
                          "bytedance_seedream_v4_edit",
                          "nano_banana_edit",
                          "nano_banana_2",
                          "nano_banana_2_lite",
                          "nano_banana_2_lite_edit",
                          "nano_banana_2_edit",
                          "qwen_image_edit_multiple_angles",
                          "nano_banana_pro",
                          "nano_banana_pro_edit",
                          "glm_image",
                          "glm_image_edit",
                          "meta_muse_image",
                          "meta_muse_image_edit",
                          "mai_image_25",
                          "mai_image_25_edit",
                          "mai_image_25_pro",
                          "mai_image_25_pro_edit",
                          "mai_image_26",
                          "mai_image_26_flash",
                          "gpt_image_2_low",
                          "gpt_image_2_medium",
                          "gpt_image_2",
                          "gpt_image_2_edit_low",
                          "gpt_image_2_edit_medium",
                          "gpt_image_2_edit",
                          "gpt_image_25_flare_low",
                          "gpt_image_25_flare_medium",
                          "gpt_image_25_flare_high",
                          "gpt_image_25_flare_low_edit",
                          "gpt_image_25_flare_medium_edit",
                          "gpt_image_25_flare_high_edit",
                          "gpt_image_25_sunburst_low",
                          "gpt_image_25_sunburst_medium",
                          "gpt_image_25_sunburst_high",
                          "gpt_image_25_sunburst_low_edit",
                          "gpt_image_25_sunburst_medium_edit",
                          "gpt_image_25_sunburst_high_edit",
                          "gpt_image_26_sunburst_medium",
                          "gpt_image_26_sunburst_medium_edit",
                          "grok_imagine_2",
                          "grok_imagine_2_edit",
                          "sd35_medium",
                          "sd35_large_turbo",
                          "fal-ai/gemini-25-flash-image",
                          "reve-v1",
                          "hidream_dev",
                          "qwen_image",
                          "leonardo_phoenix_quality",
                          "flux_lora",
                          "flux_pro",
                          "recraft",
                          "sd35_large",
                          "flux_pro_ultra",
                          "hidream_full",
                          "midjourney",
                          "leonardo_phoenix_ultra",
                          "gpt_image_1",
                          "fal-ai/imagen4/preview",
                          "nano_banana_21_edit"
                        ]
                      },
                      "locationHandle": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "requestId": {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-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": "Keep this ID after a lost reply. Use a new ID only for a new user-requested operation."
                      },
                      "acceptedImageCredits": {
                        "type": "number",
                        "minimum": 0
                      }
                    },
                    "required": [
                      "projectId",
                      "shotId",
                      "visualDescription",
                      "requestId",
                      "acceptedImageCredits"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "operation",
                  "input"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "operation": {
                    "type": "string",
                    "const": "video_regeneration"
                  },
                  "input": {
                    "type": "object",
                    "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)$"
                      },
                      "shotId": {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                      },
                      "acceptedQuote": {
                        "type": "object",
                        "properties": {
                          "version": {
                            "type": "string",
                            "const": "edit-animation-v1"
                          },
                          "layer": {
                            "type": "string",
                            "const": "animation"
                          },
                          "shotId": {
                            "type": "string",
                            "minLength": 1
                          },
                          "credits": {
                            "type": "number",
                            "exclusiveMinimum": 0
                          },
                          "durationSeconds": {
                            "type": "number",
                            "exclusiveMinimum": 0
                          },
                          "model": {
                            "type": "string",
                            "minLength": 1
                          }
                        },
                        "required": [
                          "version",
                          "layer",
                          "shotId",
                          "credits",
                          "durationSeconds",
                          "model"
                        ],
                        "additionalProperties": false
                      },
                      "motionDescription": {
                        "type": "string"
                      },
                      "keepMotion": {
                        "type": "boolean"
                      },
                      "generationOptions": {
                        "type": "object",
                        "properties": {
                          "modelPreset": {
                            "type": "string",
                            "enum": [
                              "mini",
                              "fast",
                              "pro",
                              "super_pro",
                              "ultra",
                              "universe_default"
                            ]
                          },
                          "requestedModel": {
                            "type": "string"
                          },
                          "multiCutEnabled": {
                            "type": "boolean",
                            "const": false
                          },
                          "resolution": {
                            "type": "string",
                            "enum": [
                              "480p",
                              "720p",
                              "1080p",
                              "4k"
                            ]
                          }
                        },
                        "required": [
                          "multiCutEnabled",
                          "resolution"
                        ],
                        "additionalProperties": false
                      },
                      "lineSync": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "kind": {
                                "type": "string",
                                "const": "sync_line"
                              },
                              "voiceoverItemId": {
                                "type": "string"
                              },
                              "unmute": {
                                "type": "boolean",
                                "const": true
                              }
                            },
                            "required": [
                              "kind",
                              "voiceoverItemId"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "kind": {
                                "type": "string",
                                "const": "generate_plain"
                              }
                            },
                            "required": [
                              "kind"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "kind": {
                                "type": "string",
                                "const": "no_mouth"
                              }
                            },
                            "required": [
                              "kind"
                            ]
                          }
                        ]
                      },
                      "acceptedFunding": {
                        "type": "object",
                        "properties": {
                          "priceCredits": {
                            "type": "number",
                            "minimum": 0
                          },
                          "credits": {
                            "type": "number",
                            "minimum": 0
                          },
                          "poolCredits": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 9007199254740991
                          },
                          "source": {
                            "type": "string",
                            "enum": [
                              "free_repair",
                              "balance"
                            ]
                          }
                        },
                        "required": [
                          "priceCredits",
                          "credits",
                          "poolCredits",
                          "source"
                        ],
                        "additionalProperties": false
                      },
                      "requestId": {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-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": "Keep this ID after a lost reply. Use a new ID only for a new user-requested operation."
                      }
                    },
                    "required": [
                      "projectId",
                      "shotId",
                      "acceptedQuote",
                      "generationOptions",
                      "acceptedFunding",
                      "requestId"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "operation",
                  "input"
                ],
                "additionalProperties": false
              }
            ]
          }
        },
        "required": [
          "projectId",
          "request"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "read_narrator_voice_change",
      "description": "Read the state of the narrator voice change of a video. state is 'running' (the voiceover is made again or the video is rendered), 'failed' (the last change failed, and the video has its voice of before: get a new quote to try again) or 'none' (no change runs and the last one did not fail). narratorVoiceId is the voice in the video's data: with 'none' it is the voice of the video; with 'running' it is already the new voice. This changes nothing.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          }
        },
        "required": [
          "projectId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "read_newer_element_versions",
      "description": "List the characters, locations and objects of this video that have a newer version in the account's library, as the editor's 'Use it here' offers them. Each one has its name, the version that the video has (pinnedVersion), the newest version (newestVersion, newestVersionId), newLook (true: the newer version has a new picture, and one image is drawn in the style of the video) and credits (the price to use it here; 0 when the change is free). This changes nothing.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          }
        },
        "required": [
          "projectId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "read_operation",
      "description": "Read an accepted customer operation after a lost reply, including saved result IDs. Pending or uncertain work must not be submitted with a new request ID. Generation runs and exports also have their own observation tools.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          }
        },
        "required": [
          "requestId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "read_post_form",
      "description": "Read what the Share sheet of a finished video shows before a post: the facts of the video, canPost (false: posting needs an active paid plan), scheduleBefore (a schedule must be before this time, when the plan is set to end), each connected account with fits (false with the reason when the platform does not take this video), and the cover choices (stills of the video, each with a coverId and a link to show the user). Call it before post_video. Post to TikTok on the website: Share on the page of the video.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          }
        },
        "required": [
          "projectId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "read_project",
      "description": "Read the full stored script and current Card-derived script, scenes, Cards, Shots and customer settings. Use current revisions before edits. Internal generation instructions are never returned.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          }
        },
        "required": [
          "projectId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "read_project_download",
      "description": "Read the state of an archive that download_project_files started: processing, failed, or ready with downloadUrl, a new link that works for 10 minutes. Wait some seconds between two reads. Free and read-only.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          }
        },
        "required": [
          "assetId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "read_project_music",
      "description": "Read the background music of a video: its saved songs (musicClips), and the tracks that a song can play (tracks: the account's songs and uploads, and the LongStories catalog, each with its musicSlug and its length). musicClips is null when no song is saved: the video then plays the default music of its universe. A music video has no background music. This changes nothing.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          }
        },
        "required": [
          "projectId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "read_saved_element",
      "description": "Read one saved character, location or object of the user's library, as its edit page shows it: the name, handle, description, appearance, clothing, personality and speech, the current version ID and the earlier versions, the number of videos that use it, and the star. Each pictureUrl is a link to a picture that works for 1 hour: show it to the user. lookChange is the newest look change (status drawing, applied or failed) and lookChangeCredits is the price of change_element_look. Read it before change_saved_element_text or restore_saved_element_version, which need the current version ID and handle. Free and read-only.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "enum": [
              "character",
              "location",
              "object"
            ]
          },
          "elementId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          }
        },
        "required": [
          "kind",
          "elementId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "read_script",
      "description": "Read the full text and revision of an owned saved script. Video scripts are read-only here; current video edits use Cards and Shots.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "scriptId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          }
        },
        "required": [
          "scriptId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "read_script_format",
      "description": "Read the public LongStories script syntax and a complete valid example. Use validate_script before quoting a full script for video creation.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {},
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "read_series",
      "description": "Read one of the user's series as its page shows it: the status and the schedule, the made episodes, and the planned episodes with their IDs and status (planned, making, failed, skipped). revision names this state of the series: change_series_plan takes it. A failed planned episode waits for the user's choice: skip_failed_episode or try_failed_episode_again. Free and read-only.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          }
        },
        "required": [
          "seriesId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "read_shot",
      "description": "Read a Shot's current revision and recover its original manual draft operation key and price review. Use this to continue a saved draft in a new chat.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "shotId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          }
        },
        "required": [
          "projectId",
          "shotId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "read_shot_generation",
      "description": "Read the accepted action for the exact original generate_shot input after a lost reply. This never starts, retries, or charges generation. A not_found result can still mean the original request is pending. Keep its draft key and review.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "cardId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-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",
            "minLength": 1
          },
          "shotId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "reviewRevision": {
            "type": "object",
            "properties": {
              "shotUpdatedAt": {
                "type": "string",
                "minLength": 1
              },
              "cardUpdatedAt": {
                "type": "string",
                "minLength": 1
              },
              "quote": {
                "type": "object",
                "properties": {
                  "mode": {
                    "type": "string",
                    "const": "fixed"
                  },
                  "tier": {
                    "type": "string",
                    "enum": [
                      "mini",
                      "fast",
                      "pro",
                      "super_pro",
                      "ultra"
                    ]
                  },
                  "resolution": {
                    "type": "string",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p",
                      "4k"
                    ]
                  },
                  "model": {
                    "type": "string",
                    "minLength": 1
                  },
                  "policyVersion": {
                    "type": "string",
                    "minLength": 1
                  },
                  "speaking": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "mode",
                  "tier",
                  "resolution",
                  "model",
                  "policyVersion",
                  "speaking"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "shotUpdatedAt",
              "cardUpdatedAt",
              "quote"
            ],
            "additionalProperties": false
          },
          "quotedCredits": {
            "type": "number",
            "minimum": 0
          }
        },
        "required": [
          "projectId",
          "cardId",
          "idempotencyKey",
          "shotId",
          "reviewRevision",
          "quotedCredits"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "read_shot_preview",
      "description": "Read only the selected completed image and video for an owned Shot. Does not return take history or private generation instructions.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "shotId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          }
        },
        "required": [
          "projectId",
          "shotId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "read_shot_takes",
      "description": "List saved image or video takes for a Shot, with safe preview links and selection status.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "shotId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "mediaType": {
            "type": "string",
            "enum": [
              "image",
              "video"
            ]
          }
        },
        "required": [
          "projectId",
          "shotId",
          "mediaType"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "read_song",
      "description": "Read one of the user's songs: its status (pending while it is made, then ready or failed), title, length and lyrics. After make_song, read it again in about a minute until it is ready or failed. The user plays and downloads a song on the Songs page of the website. Free and read-only.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "songId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          }
        },
        "required": [
          "songId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "read_universe",
      "description": "Read one universe by its slug: its name, description and example prompts. A private universe of another user is not found. Free and read-only.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200
          }
        },
        "required": [
          "slug"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "read_universe_character_picture",
      "description": "Read the picture of one saved character of the user's library in the style of a universe, as the universe gallery of the character's page shows it: pictureUrl (null: the character has no picture in this universe; the link works for 24 hours) and credits, the price of a new picture. The universe is one of the user's own or a public one. Free.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "characterId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "description": "The slug of the universe."
          }
        },
        "required": [
          "characterId",
          "slug"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "read_universe_picker",
      "description": "The universe picker of the create page of the website. With no slug: the universes that the user used last (recent), the user's own (yours), the ones of LongStories (longstories) and the featured ones of other users (community). Each has the slug that quote_video_creation and generate_video take, how many public videos were made in it, how many characters it has and the names of the first ones. With a slug: the preview of that universe before the user picks it: its cast (characters, locations and objects by name), some example ideas, and some public videos made in it with a link to watch each one. A private universe of another user is not found. Free and read-only.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200
          }
        },
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "read_universe_pictures",
      "description": "Read the cover and the profile picture of one of the user's own universes, as the header of the \"Your universe\" page shows them: the pictures in use (coverUrl, profileUrl), the newest set of drawn pictures (newestSet: drawing, choosing, done or failed, with each picture), the earlier pictures (the 12 newest of each kind) and the prices of make_universe_pictures (credits). A link works for 24 hours: give the links to the user, and look at them yourself with view_pictures. While newestSet.status is drawing, read again about each 20 seconds. A set whose drawing was lost for 15 minutes is closed by this read, and the credits of its pictures that were not drawn go back. Free.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200
          }
        },
        "required": [
          "slug"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "read_universe_settings",
      "description": "Read one of the user's own universes as the \"Your universe\" page shows it: each field that change_universe takes, with the same name, the linked styles with their names, and the characters that the AI suggests (suggestedCharacters, with suggestedCharacterCredits: the price of take_suggested_character for one of them). A universe of another user is not found. Free and read-only.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200
          }
        },
        "required": [
          "slug"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "read_visual_style",
      "description": "Read one visual style that this account can use: its name, its description, its style text (stylePhrase: the words that each picture in this style is drawn with) and its pictures, each with a link that works for 1 hour. Show the pictures to the user: they show the look of the style. A picture of one of the user's own styles (owned: true) also has the pictureId that remove_visual_style_picture takes. Free and read-only.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "styleId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          }
        },
        "required": [
          "styleId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "read_voice_choices",
      "description": "Find selectable voices by name, language, accent, or description. Returns preview links and at most 24 voices per page.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "query": {
            "default": "",
            "type": "string",
            "maxLength": 100
          },
          "page": {
            "default": 1,
            "type": "integer",
            "minimum": 1,
            "maximum": 1000000
          }
        },
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "regenerate_shot_image",
      "description": "Generate a new Shot image from the customer's visual description and optional project location. A completed take replaces its active image selection; previous takes remain available. Quote mode=guidance first. Requires native approval. Keep requestId after a lost reply. A deliberate new take needs a new ID and approval.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "shotId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "visualDescription": {
            "type": "string"
          },
          "model": {
            "description": "Leave it out: LongStories takes its model for a new picture.",
            "type": "string",
            "enum": [
              "z_image_turbo",
              "flux_schnell",
              "imagen4_fast",
              "sdxl",
              "sdxl_lora",
              "hidream_fast",
              "leonardo_flux_precision",
              "bytedance_seedream_v3",
              "bytedance_seedream_v4",
              "bytedance_seedream_v45",
              "bytedance_seedream_v5_lite",
              "bytedance_seedream_v5_pro",
              "bytedance_seedream_v5_pro_edit",
              "bytedance_seedream_v5_pro_fast",
              "bytedance_seedream_v5_pro_fast_edit",
              "bytedance_seedream_v45_edit",
              "bytedance_seedream_v5_lite_edit",
              "bytedance_seedream_v4_edit",
              "nano_banana_edit",
              "nano_banana_2",
              "nano_banana_2_lite",
              "nano_banana_2_lite_edit",
              "nano_banana_2_edit",
              "qwen_image_edit_multiple_angles",
              "nano_banana_pro",
              "nano_banana_pro_edit",
              "glm_image",
              "glm_image_edit",
              "meta_muse_image",
              "meta_muse_image_edit",
              "mai_image_25",
              "mai_image_25_edit",
              "mai_image_25_pro",
              "mai_image_25_pro_edit",
              "mai_image_26",
              "mai_image_26_flash",
              "gpt_image_2_low",
              "gpt_image_2_medium",
              "gpt_image_2",
              "gpt_image_2_edit_low",
              "gpt_image_2_edit_medium",
              "gpt_image_2_edit",
              "gpt_image_25_flare_low",
              "gpt_image_25_flare_medium",
              "gpt_image_25_flare_high",
              "gpt_image_25_flare_low_edit",
              "gpt_image_25_flare_medium_edit",
              "gpt_image_25_flare_high_edit",
              "gpt_image_25_sunburst_low",
              "gpt_image_25_sunburst_medium",
              "gpt_image_25_sunburst_high",
              "gpt_image_25_sunburst_low_edit",
              "gpt_image_25_sunburst_medium_edit",
              "gpt_image_25_sunburst_high_edit",
              "gpt_image_26_sunburst_medium",
              "gpt_image_26_sunburst_medium_edit",
              "grok_imagine_2",
              "grok_imagine_2_edit",
              "sd35_medium",
              "sd35_large_turbo",
              "fal-ai/gemini-25-flash-image",
              "reve-v1",
              "hidream_dev",
              "qwen_image",
              "leonardo_phoenix_quality",
              "flux_lora",
              "flux_pro",
              "recraft",
              "sd35_large",
              "flux_pro_ultra",
              "hidream_full",
              "midjourney",
              "leonardo_phoenix_ultra",
              "gpt_image_1",
              "fal-ai/imagen4/preview",
              "nano_banana_21_edit"
            ]
          },
          "locationHandle": {
            "type": [
              "string",
              "null"
            ]
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-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": "Keep this ID after a lost reply. Use a new ID only for a new user-requested operation."
          },
          "acceptedImageCredits": {
            "type": "number",
            "minimum": 0
          }
        },
        "required": [
          "projectId",
          "shotId",
          "visualDescription",
          "requestId",
          "acceptedImageCredits"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "regenerate_shot_video",
      "description": "Animate the Shot's selected image or make a new video take, with optional motion and lip-sync edits. Pass the generationOptions, quote and funding of quote_shot_video unchanged. A completed take can replace the selected clip in the saved Card; previous takes remain available. Requires native confirmation of the current quote. When the answer is 'replan', nothing was charged: the new motion does not fit the storyboard Shot's drawn panels with the lines over it now (a line moved after the storyboard was drawn), so it needs a new storyboard. Tell the person, then call plan_and_film_shot_again with replan.imageCredits, the video quote and the same motionDescription. Keep requestId after a lost reply; a deliberate new take needs a new ID and approval. Read the saved run and takes for progress.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "shotId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "acceptedQuote": {
            "type": "object",
            "properties": {
              "version": {
                "type": "string",
                "const": "edit-animation-v1"
              },
              "layer": {
                "type": "string",
                "const": "animation"
              },
              "shotId": {
                "type": "string",
                "minLength": 1
              },
              "credits": {
                "type": "number",
                "exclusiveMinimum": 0
              },
              "durationSeconds": {
                "type": "number",
                "exclusiveMinimum": 0
              },
              "model": {
                "type": "string",
                "minLength": 1
              }
            },
            "required": [
              "version",
              "layer",
              "shotId",
              "credits",
              "durationSeconds",
              "model"
            ],
            "additionalProperties": false
          },
          "motionDescription": {
            "type": "string"
          },
          "keepMotion": {
            "type": "boolean"
          },
          "generationOptions": {
            "type": "object",
            "properties": {
              "modelPreset": {
                "type": "string",
                "enum": [
                  "mini",
                  "fast",
                  "pro",
                  "super_pro",
                  "ultra",
                  "universe_default"
                ]
              },
              "requestedModel": {
                "type": "string"
              },
              "multiCutEnabled": {
                "type": "boolean",
                "const": false
              },
              "resolution": {
                "type": "string",
                "enum": [
                  "480p",
                  "720p",
                  "1080p",
                  "4k"
                ]
              }
            },
            "required": [
              "multiCutEnabled",
              "resolution"
            ],
            "additionalProperties": false
          },
          "lineSync": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "kind": {
                    "type": "string",
                    "const": "sync_line"
                  },
                  "voiceoverItemId": {
                    "type": "string"
                  },
                  "unmute": {
                    "type": "boolean",
                    "const": true
                  }
                },
                "required": [
                  "kind",
                  "voiceoverItemId"
                ]
              },
              {
                "type": "object",
                "properties": {
                  "kind": {
                    "type": "string",
                    "const": "generate_plain"
                  }
                },
                "required": [
                  "kind"
                ]
              },
              {
                "type": "object",
                "properties": {
                  "kind": {
                    "type": "string",
                    "const": "no_mouth"
                  }
                },
                "required": [
                  "kind"
                ]
              }
            ]
          },
          "acceptedFunding": {
            "type": "object",
            "properties": {
              "priceCredits": {
                "type": "number",
                "minimum": 0
              },
              "credits": {
                "type": "number",
                "minimum": 0
              },
              "poolCredits": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "source": {
                "type": "string",
                "enum": [
                  "free_repair",
                  "balance"
                ]
              }
            },
            "required": [
              "priceCredits",
              "credits",
              "poolCredits",
              "source"
            ],
            "additionalProperties": false
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-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": "Keep this ID after a lost reply. Use a new ID only for a new user-requested operation."
          }
        },
        "required": [
          "projectId",
          "shotId",
          "acceptedQuote",
          "generationOptions",
          "acceptedFunding",
          "requestId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "regenerate_thumbnail",
      "description": "Make a new thumbnail picture for a finished video, as Regenerate Thumbnail in My Videos does. The picture is made in the background in about a minute; read the project again to see it. Only a completed video gets one. Free for the user.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          }
        },
        "required": [
          "projectId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "remove_shot_lipsync",
      "description": "Remove the saved lip-sync selection from one visual item in a Card. Does not generate new media. Supply the exact current Card revision. Read the Card again after a conflict or an uncertain result.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "minLength": 1
          },
          "cardId": {
            "type": "string",
            "minLength": 1
          },
          "expectedCardUpdatedAt": {
            "type": "string",
            "minLength": 1
          },
          "operation": {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "const": "remove_lipsync"
              },
              "visualItemId": {
                "type": "string",
                "minLength": 1
              }
            },
            "required": [
              "kind",
              "visualItemId"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "projectId",
          "cardId",
          "expectedCardUpdatedAt",
          "operation"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "remove_timeline_item",
      "description": "Remove one item from a Card timeline and ripple later items. This changes the saved video. Supply the exact current Card revision. Read the Card again after a conflict or an uncertain result.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "minLength": 1
          },
          "cardId": {
            "type": "string",
            "minLength": 1
          },
          "expectedCardUpdatedAt": {
            "type": "string",
            "minLength": 1
          },
          "operation": {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "const": "remove_item"
              },
              "itemId": {
                "type": "string",
                "minLength": 1
              },
              "ripple": {
                "type": "boolean",
                "const": true
              }
            },
            "required": [
              "kind",
              "itemId"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "projectId",
          "cardId",
          "expectedCardUpdatedAt",
          "operation"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "remove_universe_template_file",
      "description": "Remove the intro, the outro or the watermark of one of the user's own universes, as the remove button of \"Intro, outro and watermark\" on the \"Your universe\" page does. New videos of the universe then have no such file; a video that exists keeps the template that it was made with. The answer is empty when the slot has no file of the owner. Free.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200
          },
          "slot": {
            "type": "string",
            "enum": [
              "introHorizontal",
              "outroHorizontal",
              "introVertical",
              "outroVertical",
              "watermark"
            ],
            "description": "introHorizontal, outroHorizontal: the intro and the outro of horizontal videos. introVertical, outroVertical: of vertical videos. watermark: the watermark of each video."
          }
        },
        "required": [
          "slug",
          "slot"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "remove_video_from_series",
      "description": "Take one video out of a series, as Remove from series does: the video stays in My Videos and the later episodes move up one number. read_series says what happens to the series (afterRemoval): a series with no episode left is archived. Only when the user asked for it. Free.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "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)$"
          }
        },
        "required": [
          "seriesId",
          "projectId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "remove_visual_style_picture",
      "description": "Remove one picture from one of the user's own visual styles, as the remove button of the style page does. pictureId is the ID that read_visual_style gave. The last picture of a style stays. The picture does not come back: call it only when the user asked to remove this exact picture. Free.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "styleId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "pictureId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 2000
          }
        },
        "required": [
          "styleId",
          "pictureId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "remove_voice_line",
      "description": "Remove an individual voice line. If it is linked to lip sync, explicitly confirm the break. Keep requestId after a lost response.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "cardId": {
            "type": "string",
            "minLength": 1
          },
          "timelineItemId": {
            "type": "string",
            "minLength": 1
          },
          "confirmLipsyncBreak": {
            "type": "boolean"
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-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": "Keep this ID after a lost reply. Use a new ID only for a new user-requested operation."
          }
        },
        "required": [
          "projectId",
          "cardId",
          "timelineItemId",
          "requestId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "remove_watermark",
      "description": "Remove LongStories watermark and outro branding from the owned project settings. Requires the owner's existing watermark-removal plan entitlement and current project revision. Preserves custom intro assets. Read the project and export it again to include this change in the final video.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "expectedUpdatedAt": {
            "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|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
          }
        },
        "required": [
          "projectId",
          "expectedUpdatedAt"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "rename_card",
      "description": "Rename a Card at its current revision.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "cardId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "expectedCardUpdatedAt": {
            "type": "string",
            "minLength": 1
          },
          "title": {
            "type": "string",
            "maxLength": 500
          }
        },
        "required": [
          "projectId",
          "cardId",
          "expectedCardUpdatedAt",
          "title"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "rename_series",
      "description": "Give a series a new title. Free.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "title": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "seriesId",
          "title"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "reorder_card",
      "description": "Move a Card to a one-based position, optionally in another project Scene. Keep requestId after a lost response and read changed Card revisions.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "cardId": {
            "type": "string",
            "minLength": 1
          },
          "toIndex": {
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 9007199254740991
          },
          "toSceneId": {
            "type": "string",
            "minLength": 1
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-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": "Keep this ID after a lost reply. Use a new ID only for a new user-requested operation."
          }
        },
        "required": [
          "projectId",
          "cardId",
          "toIndex",
          "requestId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "reorder_shot_lane_item",
      "description": "Move a Shot-lane item to a new zero-based lane position within its Card. The lane includes visuals and holds. Supply the exact current Card revision. Read the Card again after a conflict or an uncertain result.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "minLength": 1
          },
          "cardId": {
            "type": "string",
            "minLength": 1
          },
          "expectedCardUpdatedAt": {
            "type": "string",
            "minLength": 1
          },
          "operation": {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "const": "reorder_shot_lane_item"
              },
              "itemId": {
                "type": "string",
                "minLength": 1
              },
              "toLaneIndex": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              }
            },
            "required": [
              "kind",
              "itemId",
              "toLaneIndex"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "projectId",
          "cardId",
          "expectedCardUpdatedAt",
          "operation"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "reorder_shot_visual",
      "description": "Move a Shot visual to a new one-based visual order within its Card. Supply the exact current Card revision. Read the Card again after a conflict or an uncertain result.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "minLength": 1
          },
          "cardId": {
            "type": "string",
            "minLength": 1
          },
          "expectedCardUpdatedAt": {
            "type": "string",
            "minLength": 1
          },
          "operation": {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "const": "reorder_shot_visual"
              },
              "itemId": {
                "type": "string",
                "minLength": 1
              },
              "toIndex": {
                "type": "integer",
                "minimum": 1,
                "maximum": 9007199254740991
              }
            },
            "required": [
              "kind",
              "itemId",
              "toIndex"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "projectId",
          "cardId",
          "expectedCardUpdatedAt",
          "operation"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "report_issue",
      "description": "Send the user's report of a problem with one of their videos to the LongStories support team, as Report issue on the website does. Write the user's own words: what is wrong, and where in the video. Send it only when the user asked to report it. Support answers the user by email or in the chat of the website. Free.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "feedback": {
            "type": "string",
            "minLength": 1,
            "maxLength": 5000
          }
        },
        "required": [
          "projectId",
          "feedback"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "resize_timeline_item",
      "description": "Resize one Card timeline item in milliseconds. Speech timing is protected and later items ripple with the change. Supply the exact current Card revision. Read the Card again after a conflict or an uncertain result.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "minLength": 1
          },
          "cardId": {
            "type": "string",
            "minLength": 1
          },
          "expectedCardUpdatedAt": {
            "type": "string",
            "minLength": 1
          },
          "operation": {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "const": "resize_item"
              },
              "itemId": {
                "type": "string",
                "minLength": 1
              },
              "localStartMs": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "localEndMs": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "respectSpeech": {
                "type": "boolean",
                "const": true
              },
              "ripple": {
                "type": "boolean",
                "const": true
              }
            },
            "required": [
              "kind",
              "itemId",
              "localEndMs"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "projectId",
          "cardId",
          "expectedCardUpdatedAt",
          "operation"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "restore_card",
      "description": "Restore an archived Card. Supply the current active Card order and revisions.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "cardId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "expectedCardUpdatedAt": {
            "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|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
          },
          "expectedActiveCards": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "cardId": {
                  "type": "string",
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                },
                "updatedAt": {
                  "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|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                }
              },
              "required": [
                "cardId",
                "updatedAt"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "projectId",
          "cardId",
          "expectedCardUpdatedAt",
          "expectedActiveCards"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "restore_saved_element_version",
      "description": "Make an earlier version of a saved element the current one, as Restore on its edit page does. Pass the versionId to restore and expectedVersionId (the current version) from read_saved_element. Free.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "enum": [
              "character",
              "location",
              "object"
            ]
          },
          "elementId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "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)$"
          },
          "expectedVersionId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          }
        },
        "required": [
          "kind",
          "elementId",
          "versionId",
          "expectedVersionId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "restore_shot",
      "description": "Restore an archived Shot timeline item through the editor's Card rules. Keep requestId after a lost response.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "cardId": {
            "type": "string",
            "minLength": 1
          },
          "timelineItemId": {
            "type": "string",
            "minLength": 1
          },
          "expectedCardUpdatedAt": {
            "type": "string",
            "minLength": 1
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-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": "Keep this ID after a lost reply. Use a new ID only for a new user-requested operation."
          }
        },
        "required": [
          "projectId",
          "cardId",
          "timelineItemId",
          "requestId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "restore_shot_sound",
      "description": "Restore the Shot's previous saved sound effects. Does not generate audio. Keep requestId after a lost response.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "shotId": {
            "type": "string",
            "minLength": 1
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-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": "Keep this ID after a lost reply. Use a new ID only for a new user-requested operation."
          }
        },
        "required": [
          "projectId",
          "shotId",
          "requestId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "resume_series",
      "description": "Resume a paused planned series, as Resume on the page of the series does. The series then makes its open planned episodes on its schedule and charges each one when it makes it. The user approves each resume: the first call returns the approval request, with the count of the planned episodes and the price of the next one. A series with a failed planned episode cannot resume before the user skips that episode (skip_failed_episode) or tries it again (try_failed_episode_again). The answer says whether the series runs now (resumed) or is still paused. still_paused with seriesChanged: the series or its plan changed in that moment, and nothing was resumed: call the tool again, and it asks the user with the plan of now. Call it only when the user asked to resume this series.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          }
        },
        "required": [
          "seriesId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "retry_character_voice_line",
      "description": "Generate a replacement voice line again with revised text and an accepted credit quote. Requires customer confirmation. Keep the same request ID after a lost reply.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "changeId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "itemId": {
            "type": "string",
            "minLength": 1
          },
          "text": {
            "type": "string",
            "minLength": 1,
            "maxLength": 2000
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "quotedCredits": {
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 9007199254740991
          }
        },
        "required": [
          "projectId",
          "changeId",
          "itemId",
          "text",
          "requestId",
          "quotedCredits"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "review_shot",
      "description": "Read an ungenerated manual Shot draft and its current credit quote. Use its original idempotencyKey.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "shotId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-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",
            "minLength": 1
          }
        },
        "required": [
          "projectId",
          "shotId",
          "idempotencyKey"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "revise_shot",
      "description": "Revise an ungenerated manual Shot's script, opening frame, motion and references together. Pass the current Shot revision. Timing and template remain as drafted. Accepted media attempts cannot be changed with this tool.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "shotId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-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",
            "minLength": 1
          },
          "expectedShotUpdatedAt": {
            "type": "string",
            "minLength": 1
          },
          "shotScript": {
            "type": "string",
            "minLength": 1,
            "maxLength": 10000
          },
          "firstFrameDescription": {
            "type": "string",
            "minLength": 1,
            "maxLength": 10000
          },
          "motionDescription": {
            "type": "string",
            "minLength": 1,
            "maxLength": 10000
          },
          "references": {
            "maxItems": 8,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "kind": {
                  "type": "string",
                  "enum": [
                    "character",
                    "location",
                    "object"
                  ]
                },
                "projectElementId": {
                  "type": "string",
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                }
              },
              "required": [
                "kind",
                "projectElementId"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "projectId",
          "shotId",
          "idempotencyKey",
          "expectedShotUpdatedAt",
          "shotScript",
          "firstFrameDescription",
          "motionDescription",
          "references"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "save_script_draft",
      "description": "Save a separate script draft at its exact revision. This does not change an existing video's Cards, Shots or media.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "scriptId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "script": {
            "type": "string",
            "maxLength": 100000
          },
          "expectedUpdatedAt": {
            "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|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
          }
        },
        "required": [
          "scriptId",
          "script",
          "expectedUpdatedAt"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "save_series_plan",
      "description": "Save a new plan of a series in a universe that the user can make videos in, as the plan page does: a title, a theme (what the series is about), a schedule (back_to_back: each episode when the one before is ready; daily or weekly: with time as HH:MM and an IANA timezone), and the planned episodes in order, each with a title and an idea. Write the ideas with the user. It makes a draft: it starts nothing and is free. A draft starts when it gets its first episode: add a finished video of the same universe with add_video_to_series (the user approves the price of the planned episodes), or the user makes episode 1 on the create page of the LongStories website. To change a saved draft, call change_series_plan.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "universeSlug": {
            "type": "string",
            "minLength": 1
          },
          "title": {
            "type": "string",
            "minLength": 1
          },
          "theme": {
            "type": "string",
            "minLength": 1
          },
          "schedule": {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "enum": [
                  "back_to_back",
                  "daily",
                  "weekly"
                ]
              },
              "time": {
                "anyOf": [
                  {
                    "type": "string",
                    "pattern": "^\\d{2}:\\d{2}$"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "timezone": {
                "anyOf": [
                  {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 64
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "kind",
              "time",
              "timezone"
            ]
          },
          "episodes": {
            "minItems": 1,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "title": {
                  "type": "string",
                  "minLength": 1
                },
                "idea": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "required": [
                "title",
                "idea"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "universeSlug",
          "title",
          "theme",
          "schedule",
          "episodes"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "save_visual_style",
      "description": "Save a public style of another user, or a style of LongStories, to the user's list (saved: true), or remove it from the list (saved: false). An own style is not saved: it is in the list already. Free.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "styleId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "saved": {
            "type": "boolean"
          }
        },
        "required": [
          "styleId",
          "saved"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "select_line_take",
      "description": "Put an earlier saved take of a spoken line back in use. takeId is a take from read_line_takes with selectable true. The line gets the take's words, voice and length, and the lines after it move as they do after a new speech. No speech generation and no credits. If the line is linked to lip sync, explicitly confirm the break.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "minLength": 1
          },
          "cardId": {
            "type": "string",
            "minLength": 1
          },
          "timelineItemId": {
            "type": "string",
            "minLength": 1
          },
          "takeId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "confirmLipsyncBreak": {
            "type": "boolean"
          }
        },
        "required": [
          "projectId",
          "cardId",
          "timelineItemId",
          "takeId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "select_shot_take",
      "description": "Select an existing image or video take for a Shot. No media generation. The shared editor checks the take belongs to this Shot and is ready.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "shotId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "mediaType": {
            "type": "string",
            "enum": [
              "image",
              "video"
            ]
          },
          "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)$"
          }
        },
        "required": [
          "projectId",
          "shotId",
          "mediaType",
          "assetId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "send_universe_feedback",
      "description": "Tell the LongStories team what is wrong with a universe, in the user's words. Give the slug and the name of the universe as list_universes or read_universe gave them. It sends one email to the team and a receipt to the user's own address. Send it only when the user asked for it. For a problem with one video, use report_issue. Free.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200
          },
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200
          },
          "feedback": {
            "type": "string",
            "minLength": 1,
            "maxLength": 5000
          }
        },
        "required": [
          "slug",
          "name",
          "feedback"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "set_card_captions",
      "description": "Set captions for one Card timeline item. Pass enabled, text, or both, and its current Card revision.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "cardId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "expectedCardUpdatedAt": {
            "type": "string",
            "minLength": 1
          },
          "itemId": {
            "type": "string",
            "minLength": 1
          },
          "enabled": {
            "type": "boolean"
          },
          "text": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 2000
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "projectId",
          "cardId",
          "expectedCardUpdatedAt",
          "itemId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "set_card_clip_audio",
      "description": "Choose the original clip audio or the project's dubbed voice for one visual item.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "minLength": 1
          },
          "cardId": {
            "type": "string",
            "minLength": 1
          },
          "expectedCardUpdatedAt": {
            "type": "string",
            "minLength": 1
          },
          "visualItemId": {
            "type": "string",
            "minLength": 1
          },
          "clipAudio": {
            "type": "string",
            "enum": [
              "dub",
              "original"
            ]
          }
        },
        "required": [
          "projectId",
          "cardId",
          "expectedCardUpdatedAt",
          "visualItemId",
          "clipAudio"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "set_card_duration",
      "description": "Set the saved duration of one Card in milliseconds, subject to its content and speech limits. Supply the exact current Card revision. Read the Card again after a conflict or an uncertain result.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "minLength": 1
          },
          "cardId": {
            "type": "string",
            "minLength": 1
          },
          "expectedCardUpdatedAt": {
            "type": "string",
            "minLength": 1
          },
          "operation": {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "const": "set_duration"
              },
              "durationMs": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              }
            },
            "required": [
              "kind",
              "durationMs"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "projectId",
          "cardId",
          "expectedCardUpdatedAt",
          "operation"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "set_cards_audio_mix",
      "description": "Change SFX mix, voiceover mute or clip audio across selected Cards. Supply each Card revision. Read all Cards after a partial or uncertain result.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "minLength": 1
          },
          "cards": {
            "minItems": 1,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "cardId": {
                  "type": "string",
                  "minLength": 1
                },
                "expectedCardUpdatedAt": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "required": [
                "cardId",
                "expectedCardUpdatedAt"
              ],
              "additionalProperties": false
            }
          },
          "change": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "kind": {
                    "type": "string",
                    "const": "sfx"
                  },
                  "muted": {
                    "type": "boolean"
                  },
                  "volume": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1
                  }
                },
                "required": [
                  "kind"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "kind": {
                    "type": "string",
                    "const": "voiceover_mute"
                  },
                  "muted": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "kind",
                  "muted"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "kind": {
                    "type": "string",
                    "const": "clip_audio"
                  },
                  "clipAudio": {
                    "type": "string",
                    "enum": [
                      "dub",
                      "original"
                    ]
                  }
                },
                "required": [
                  "kind",
                  "clipAudio"
                ],
                "additionalProperties": false
              }
            ]
          }
        },
        "required": [
          "projectId",
          "cards",
          "change"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "set_character_voice",
      "description": "Set a saved character's voice for future generation. Set voiceId to null for Auto. Existing generated speech is unchanged; use change_character_voice to replace it.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "characterId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "voiceId": {
            "anyOf": [
              {
                "type": "string",
                "minLength": 1,
                "maxLength": 100
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "characterId",
          "voiceId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "set_element_star",
      "description": "Star or unstar one of the user's saved characters, locations or objects, as the star on the Characters page does. Free.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "entityType": {
            "type": "string",
            "enum": [
              "character",
              "location",
              "object"
            ]
          },
          "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)$"
          },
          "favorite": {
            "type": "boolean"
          }
        },
        "required": [
          "entityType",
          "id",
          "favorite"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "set_project_clip_audio",
      "description": "Set the project's clip audio default and update selected Cards. Pass project and Card revisions. Read the project after a partial result.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "minLength": 1
          },
          "expectedProjectUpdatedAt": {
            "type": "string",
            "minLength": 1
          },
          "cards": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "cardId": {
                  "type": "string",
                  "minLength": 1
                },
                "expectedCardUpdatedAt": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "required": [
                "cardId",
                "expectedCardUpdatedAt"
              ],
              "additionalProperties": false
            }
          },
          "clipAudio": {
            "type": "string",
            "enum": [
              "dub",
              "original"
            ]
          }
        },
        "required": [
          "projectId",
          "expectedProjectUpdatedAt",
          "cards",
          "clipAudio"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "set_project_music",
      "description": "Save the background music of a video: the whole list of its songs, which replaces the saved list. Read read_project_music first, keep each song that must stay as it is, and give a new song an id of your own. Each song starts in a Card (cardId, with startOffsetSeconds into it) and plays one part of its track (musicSlug, trimStartSeconds) until its end point (endCardId, endOffsetSeconds), the next song or the end of the video. An empty list removes all songs. Saved songs replace the default music of the universe. This is free and makes no media; the person can undo it in History. The saved video has the new music after the next export.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "musicClips": {
            "maxItems": 50,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 64
                },
                "cardId": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 64
                },
                "startOffsetSeconds": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 3600
                },
                "endCardId": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 64
                },
                "endOffsetSeconds": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 3600
                },
                "musicSlug": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 100
                },
                "volume": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1
                },
                "trimStartSeconds": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 3600
                },
                "trimEndSeconds": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 3600
                },
                "fadeInSeconds": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 10
                },
                "fadeOutSeconds": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 10
                },
                "loop": {
                  "type": "boolean"
                }
              },
              "required": [
                "id",
                "cardId",
                "musicSlug",
                "volume",
                "trimStartSeconds",
                "fadeInSeconds",
                "fadeOutSeconds",
                "loop"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "projectId",
          "musicClips"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "set_project_visibility",
      "description": "Choose who can watch a video, as Share does on the website: private (only the owner), unlisted (anyone with the link) or public (anyone, and the video can appear on LongStories pages). Change it only when the user asked for it. Returns the share link; it works for others only when the video is unlisted or public. Free.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": true
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "visibility": {
            "type": "string",
            "enum": [
              "private",
              "unlisted",
              "public"
            ]
          }
        },
        "required": [
          "projectId",
          "visibility"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "set_script_archived",
      "description": "Archive or restore a separate script draft. Video scripts cannot be archived through this action.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "scriptId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "archived": {
            "type": "boolean"
          },
          "expectedUpdatedAt": {
            "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|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
          }
        },
        "required": [
          "scriptId",
          "archived",
          "expectedUpdatedAt"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "set_series_posting",
      "description": "Make a planned series post each new episode to the accounts that the user picks, or change those accounts, as Auto-share on the page of the series does. Each post is public on that platform, so call it only when the user asked for it and named the accounts. A YouTube account needs the user's answers: privacy, made for kids, and contains synthetic media. The user approves each change (the series, each account and its answers); a call that changes nothing asks no question and answers unchanged. Needs a paid plan. Returns how many waiting posts of removed accounts were canceled. Free.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": true
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "targets": {
            "minItems": 1,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "accountId": {
                  "type": "string",
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                },
                "youtube": {
                  "type": "object",
                  "properties": {
                    "privacy": {
                      "type": "string",
                      "enum": [
                        "private",
                        "unlisted",
                        "public"
                      ]
                    },
                    "madeForKids": {
                      "type": "boolean"
                    },
                    "containsSyntheticMedia": {
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "privacy",
                    "madeForKids",
                    "containsSyntheticMedia"
                  ]
                }
              },
              "required": [
                "accountId"
              ]
            }
          }
        },
        "required": [
          "seriesId",
          "targets"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "set_shot_picture_use",
      "description": "Set how the video of a Shot that is filmed from a storyboard uses the customer's own picture (an uploaded or imported image that is the Shot's picture). first_frame starts the clip on that picture. reference keeps the storyboard and makes the clip look like the picture, with up to 3 extra reference pictures from upload_shot_reference_picture; leave extraReferenceAssetIds out to keep the saved ones. No media generation: the next video of the Shot uses the choice.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "shotId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "use": {
            "type": "string",
            "enum": [
              "first_frame",
              "reference"
            ]
          },
          "extraReferenceAssetIds": {
            "maxItems": 3,
            "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)$"
            }
          }
        },
        "required": [
          "projectId",
          "shotId",
          "use"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "set_shot_sfx_mix",
      "description": "Set mute state, volume from zero to one, or both for a visual item's sound-effects mix within a Card. Supply the exact current Card revision. Read the Card again after a conflict or an uncertain result.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "minLength": 1
          },
          "cardId": {
            "type": "string",
            "minLength": 1
          },
          "expectedCardUpdatedAt": {
            "type": "string",
            "minLength": 1
          },
          "operation": {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "const": "set_clip_sfx_mix"
              },
              "visualItemId": {
                "type": "string",
                "minLength": 1
              },
              "muted": {
                "type": "boolean"
              },
              "volume": {
                "type": "number",
                "minimum": 0,
                "maximum": 1
              }
            },
            "required": [
              "kind",
              "visualItemId"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "projectId",
          "cardId",
          "expectedCardUpdatedAt",
          "operation"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "set_timeline_item_audio",
      "description": "Set mute state, volume from zero to one, or both for one audio-bearing Card timeline item. A visual clip supports volume changes; use set_card_clip_audio to select its audio source. Supply the exact current Card revision. Read the Card again after a conflict or an uncertain result.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "minLength": 1
          },
          "cardId": {
            "type": "string",
            "minLength": 1
          },
          "expectedCardUpdatedAt": {
            "type": "string",
            "minLength": 1
          },
          "operation": {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "const": "set_item_audio"
              },
              "itemId": {
                "type": "string",
                "minLength": 1
              },
              "muted": {
                "type": "boolean"
              },
              "volume": {
                "type": "number",
                "minimum": 0,
                "maximum": 1
              }
            },
            "required": [
              "kind",
              "itemId"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "projectId",
          "cardId",
          "expectedCardUpdatedAt",
          "operation"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "skip_failed_episode",
      "description": "Skip a failed planned episode, as Skip it on the page of the series does. Take plannedEpisodeId from quote_series_plan or read_series (status failed). The pause that the failure made then ends, and the series goes on with its open planned episodes and charges each one when it makes it; a series that the user paused stays paused. The user approves a skip that lets the series go on: the first call returns the approval request, with the count of the planned episodes and the price of the next one. The answer says whether the series is still paused (seriesPaused). Call it only when the user chose to skip this episode.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "plannedEpisodeId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          }
        },
        "required": [
          "seriesId",
          "plannedEpisodeId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "split_card",
      "description": "Split a Card at a millisecond position inside it. Keep requestId after a lost response; do not repeat under a new ID without reading the deck.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "cardId": {
            "type": "string",
            "minLength": 1
          },
          "atMs": {
            "type": "number",
            "minimum": 0
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-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": "Keep this ID after a lost reply. Use a new ID only for a new user-requested operation."
          }
        },
        "required": [
          "projectId",
          "cardId",
          "atMs",
          "requestId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "start_export",
      "description": "Render the saved project with a supported quality and export preset. Keep attemptId after a lost reply. New attemptId means a new render. Check readiness first.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "exportPreset": {
            "default": "default",
            "type": "string",
            "enum": [
              "default",
              "2k_30",
              "4k_30",
              "4k_60"
            ]
          },
          "quality": {
            "default": "high",
            "type": "string",
            "enum": [
              "high",
              "medium",
              "low"
            ]
          },
          "attemptId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          }
        },
        "required": [
          "projectId",
          "attemptId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "start_file_upload",
      "description": "Step 1 of 2 to use a file that is on the user's computer, for an app that can run a command there and has no attachment for the tool. Give the exact size of the file in bytes (for example `stat -c %s <path>` on Linux, `stat -f %z <path>` on macOS): an image of 25 MiB at most, audio of 128 MiB at most, a video of 20 MiB at most (an intro or an outro of a universe). The reply has an uploadId and an address for one PUT into the user's private storage, for 15 minutes. Send the file with the command of the reply's 'curl' field, with the path of the file in place of <path>. A 2xx answer means the bytes are there; 403 means a wrong size or header, or an old address; 412 means a file is already there for this uploadId. Then give uploadId to the upload tool (upload_shot_image, upload_shot_reference_picture, create_characters_from_image, create_saved_element, upload_visual_style_picture, upload_universe_picture, upload_universe_template_file, upload_audio, upload_music_track) in place of file. That tool applies the same checks as for an attachment and then deletes the staged bytes. Free. When you cannot run a command on the user's computer, do not start an upload: ask the user for a public link, or to upload the file on https://longstories.ai.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "enum": [
              "image",
              "audio",
              "video"
            ]
          },
          "fileName": {
            "type": "string",
            "minLength": 1,
            "maxLength": 100,
            "description": "The name of the file, with its extension."
          },
          "sizeBytes": {
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 9007199254740991,
            "description": "The exact size of the file in bytes: the address takes this size only."
          }
        },
        "required": [
          "kind",
          "fileName",
          "sizeBytes"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "start_series_plan",
      "description": "Start the planned episodes of a series with no schedule, as Start on the page of the series does. It sets the schedule (back_to_back, or daily or weekly with time as HH:MM and an IANA timezone: ask the user), makes the next episode at once, and then makes each planned episode on the schedule and charges each one when it makes it. The user approves each start: the first call returns the approval request, with the schedule, the titles and the ideas of the planned episodes, their count and the price of one. A change of the plan after the question asks again. The answer says what the series does now (status): started (with episodeNumber), waiting (for credits or a plan), paused, or queued. Call it only when the user asked to start this series.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "schedule": {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "enum": [
                  "back_to_back",
                  "daily",
                  "weekly"
                ]
              },
              "time": {
                "anyOf": [
                  {
                    "type": "string",
                    "pattern": "^\\d{2}:\\d{2}$"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "timezone": {
                "anyOf": [
                  {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 64
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "kind",
              "time",
              "timezone"
            ]
          }
        },
        "required": [
          "seriesId",
          "schedule"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "take_suggested_character",
      "description": "Add a character that the AI suggests to the cast of one of the user's own universes, as \"Add to cast\" on the \"Your universe\" page does: the character is made in the user's library from the suggestion, its pictures are drawn, and it is linked to the universe with how it fits. suggestionId is the id of one of suggestedCharacters of read_universe_settings. Costs credits: pass suggestedCharacterCredits of read_universe_settings as quotedCredits. The credits are reserved at the start and charged when the pictures are ready; pictures that fail are not charged. Requires the user's approval over the spending limits. The answer has the characterId, and pictures says what the start of its pictures did. drawing: the credits are reserved, and read_character_pictures shows the pictures. not_started: the character exists, and no credits are reserved; start its pictures with make_character_pictures. unknown: the start failed in a way that the tool cannot read (credits is null); read read_character_pictures for the state of now before you start them again. linked false means that the character exists and is not in the cast: link it with change_universe. The character limit of the plan applies, and a universe has a limit of characters. Keep the same request ID after a lost reply; never create a new ID to recover an uncertain request.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-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": "Keep this ID after a lost reply. Use a new ID only for a new user-requested operation."
          },
          "suggestionId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "quotedCredits": {
            "type": "number",
            "minimum": 0,
            "description": "suggestedCharacterCredits of read_universe_settings, unchanged."
          }
        },
        "required": [
          "slug",
          "requestId",
          "suggestionId",
          "quotedCredits"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "trim_shot_source",
      "description": "Trim a visual item's selected video to a source start and end in milliseconds. The saved video selection stays the same; later timeline items ripple with the trim. Supply the exact current Card revision. Read the Card again after a conflict or an uncertain result.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "minLength": 1
          },
          "cardId": {
            "type": "string",
            "minLength": 1
          },
          "expectedCardUpdatedAt": {
            "type": "string",
            "minLength": 1
          },
          "operation": {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "const": "set_shot_source_window"
              },
              "visualItemId": {
                "type": "string",
                "minLength": 1
              },
              "sourceStartMs": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "sourceEndMs": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "ripple": {
                "type": "boolean",
                "const": true
              }
            },
            "required": [
              "kind",
              "visualItemId",
              "sourceStartMs",
              "sourceEndMs"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "projectId",
          "cardId",
          "expectedCardUpdatedAt",
          "operation"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "trim_voiceover_silence",
      "description": "Trim the saved silence around a voiceover item using its recorded speech timing. Does not regenerate audio.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "minLength": 1
          },
          "cardId": {
            "type": "string",
            "minLength": 1
          },
          "expectedCardUpdatedAt": {
            "type": "string",
            "minLength": 1
          },
          "itemId": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "projectId",
          "cardId",
          "expectedCardUpdatedAt",
          "itemId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "try_failed_episode_again",
      "description": "Make a failed planned episode again, as Try episode again on the page of the series does. Take plannedEpisodeId from quote_series_plan or read_series (status failed); quote_series_plan gives the price of the new try (retry). The episode starts at once and is charged at its normal price; the series then goes on with its open planned episodes and charges each one when it makes it. The user approves each new try that can start: the first call returns the approval request, with the title and the idea of the episode, its price, and the count of the planned episodes after it. A conflict with reason series_changed means that the series or this episode changed in that moment (a pause, a resume, an edit): nothing started, so call the tool again, and it asks with the series of now. On a series that the user paused, the episode goes back to the plan and nothing starts before resume_series. The answer says what the series does now (status): started (with episodeNumber), waiting (for credits or a plan), paused, queued (it starts in a few minutes), or draft (no episode is left to copy: the user makes episode 1 again on the LongStories website). To change the title or the idea first, call edit_failed_episode. Call it only when the user chose to try this episode again.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "plannedEpisodeId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          }
        },
        "required": [
          "seriesId",
          "plannedEpisodeId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "turn_off_series_posting",
      "description": "Stop the posts of the new episodes of a series to every account, and cancel its posts that still wait for their time, as on the page of the series. Free.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          }
        },
        "required": [
          "seriesId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "undo_edit",
      "description": "Undo one edit: the video goes back to its state before that entry of read_edit_history, as the editor's Undo does. LongStories reverses each entry that this needs (entriesReversed, entryIds), and writes nothing when it cannot put the video back exactly: a change that is not in History came after the entry (drift), a Card moved to another Scene after it (scene_move), a paid voice change came after it (voice_change) or runs now. The refusal names the entry that stops the Undo. This is free and makes no media; the saved video has the change after the next export. An Undo is an entry too, so undo_edit on it puts the edit back.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "entryId": {
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 9007199254740991,
            "description": "The id of an entry of read_edit_history."
          }
        },
        "required": [
          "projectId",
          "entryId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "undo_video_creation",
      "description": "Stop a new video in its first 2 minutes, as Stop on the website does: the generation stops, all its credits go back, and the video leaves My Videos. Call it only when the user asked to stop this exact video. After 2 minutes it is refused.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          }
        },
        "required": [
          "projectId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "unlink_voice_line",
      "description": "Remove an existing voice-line timeline item's visual link within a Card. The voice line remains in the Card. Supply the exact current Card revision. Read the Card again after a conflict or an uncertain result.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "minLength": 1
          },
          "cardId": {
            "type": "string",
            "minLength": 1
          },
          "expectedCardUpdatedAt": {
            "type": "string",
            "minLength": 1
          },
          "operation": {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "const": "unlink_line"
              },
              "lineItemId": {
                "type": "string",
                "minLength": 1
              }
            },
            "required": [
              "kind",
              "lineItemId"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "projectId",
          "cardId",
          "expectedCardUpdatedAt",
          "operation"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "update_project_settings",
      "description": "Change the project title, captions, transition or voiceover playback enablement. This does not generate media. A title change leaves scripts, timing and media unchanged. Read the saved project after a conflict.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "setting": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "title": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 120
                  },
                  "kind": {
                    "type": "string",
                    "const": "title"
                  }
                },
                "required": [
                  "title",
                  "kind"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "patch": {
                    "type": "object",
                    "properties": {
                      "captionsEnabled": {
                        "type": "boolean"
                      },
                      "captionsStyle": {
                        "type": "string",
                        "enum": [
                          "none",
                          "default",
                          "minimal",
                          "neon",
                          "cinematic",
                          "fancy",
                          "tiktok",
                          "highlight",
                          "gradient",
                          "intellectual",
                          "vida",
                          "manuscripts",
                          "subtitle",
                          "modern",
                          "bounce",
                          "popcorn",
                          "typewriter",
                          "handwritten",
                          "karaoke",
                          "retro",
                          "gaming"
                        ]
                      },
                      "captionsPosition": {
                        "anyOf": [
                          {
                            "type": "string",
                            "enum": [
                              "center",
                              "bottom",
                              "top"
                            ]
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "overrides": {
                        "anyOf": [
                          {
                            "type": "object",
                            "properties": {
                              "fontScale": {
                                "type": "number",
                                "minimum": 0.5,
                                "maximum": 2
                              },
                              "textColor": {
                                "type": "string",
                                "pattern": "^#(?:[0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                              },
                              "highlightColor": {
                                "type": "string",
                                "pattern": "^#(?:[0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                              }
                            }
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "additionalProperties": false
                  },
                  "kind": {
                    "type": "string",
                    "const": "captions"
                  }
                },
                "required": [
                  "patch",
                  "kind"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "transition": {
                    "type": "string",
                    "enum": [
                      "none",
                      "fade",
                      "slide",
                      "wipe",
                      "flip"
                    ]
                  },
                  "kind": {
                    "type": "string",
                    "const": "transition"
                  }
                },
                "required": [
                  "transition",
                  "kind"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "enabled": {
                    "type": "boolean"
                  },
                  "kind": {
                    "type": "string",
                    "const": "voiceover"
                  }
                },
                "required": [
                  "enabled",
                  "kind"
                ],
                "additionalProperties": false
              }
            ]
          }
        },
        "required": [
          "projectId",
          "setting"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "upload_audio",
      "description": "Upload narration or a song for video creation, from file or uploadId. Uses the same audio format, duration and plan checks as the Create page. Returns an owned audioId for generation. Keep requestId after a lost reply.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-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": "Keep this ID after a lost reply. Use a new ID only for a new user-requested operation."
          },
          "kind": {
            "type": "string",
            "enum": [
              "narration",
              "song"
            ]
          },
          "file": {
            "description": "A file that the user attached in the app, or a direct public HTTPS link to the file: { download_url: <link>, file_id: <any text> }.",
            "type": "object",
            "properties": {
              "download_url": {
                "type": "string"
              },
              "file_id": {
                "type": "string",
                "minLength": 1
              },
              "mime_type": {
                "type": "string"
              },
              "file_name": {
                "type": "string"
              }
            },
            "required": [
              "download_url",
              "file_id"
            ],
            "additionalProperties": false
          },
          "uploadId": {
            "description": "A file on the user's computer: the uploadId of start_file_upload, after the PUT of the file.",
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          }
        },
        "required": [
          "requestId",
          "kind"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "upload_music_track",
      "description": "Upload a music file (file or uploadId) as one of the user's own music tracks, as the upload of the music picker does. Uses the same audio format, duration and plan checks as the website. With no title, the track gets the name of the file. Returns the musicSlug that set_project_music takes. Free. Keep requestId after a lost reply.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-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": "Keep this ID after a lost reply. Use a new ID only for a new user-requested operation."
          },
          "file": {
            "description": "A file that the user attached in the app, or a direct public HTTPS link to the file: { download_url: <link>, file_id: <any text> }.",
            "type": "object",
            "properties": {
              "download_url": {
                "type": "string"
              },
              "file_id": {
                "type": "string",
                "minLength": 1
              },
              "mime_type": {
                "type": "string"
              },
              "file_name": {
                "type": "string"
              }
            },
            "required": [
              "download_url",
              "file_id"
            ],
            "additionalProperties": false
          },
          "uploadId": {
            "description": "A file on the user's computer: the uploadId of start_file_upload, after the PUT of the file.",
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "title": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200
          }
        },
        "required": [
          "requestId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "upload_shot_image",
      "description": "Upload an image (file or uploadId) and select it for an owned Shot. The normal image moderation and file limits apply. This does not generate a new image. Keep requestId after a lost reply.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": true
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "shotId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-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": "Keep this ID after a lost reply. Use a new ID only for a new user-requested operation."
          },
          "file": {
            "description": "A file that the user attached in the app, or a direct public HTTPS link to the file: { download_url: <link>, file_id: <any text> }.",
            "type": "object",
            "properties": {
              "download_url": {
                "type": "string"
              },
              "file_id": {
                "type": "string",
                "minLength": 1
              },
              "mime_type": {
                "type": "string"
              },
              "file_name": {
                "type": "string"
              }
            },
            "required": [
              "download_url",
              "file_id"
            ],
            "additionalProperties": false
          },
          "uploadId": {
            "description": "A file on the user's computer: the uploadId of start_file_upload, after the PUT of the file.",
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          }
        },
        "required": [
          "projectId",
          "shotId",
          "requestId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "upload_shot_reference_picture",
      "description": "Upload an image (file or uploadId) as an extra reference picture for a Shot that is filmed from a storyboard and has the customer's own picture. The normal image moderation and file limits apply. The picture is saved and not yet used: list its assetId in set_shot_picture_use. Keep requestId after a lost reply.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "shotId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-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": "Keep this ID after a lost reply. Use a new ID only for a new user-requested operation."
          },
          "file": {
            "description": "A file that the user attached in the app, or a direct public HTTPS link to the file: { download_url: <link>, file_id: <any text> }.",
            "type": "object",
            "properties": {
              "download_url": {
                "type": "string"
              },
              "file_id": {
                "type": "string",
                "minLength": 1
              },
              "mime_type": {
                "type": "string"
              },
              "file_name": {
                "type": "string"
              }
            },
            "required": [
              "download_url",
              "file_id"
            ],
            "additionalProperties": false
          },
          "uploadId": {
            "description": "A file on the user's computer: the uploadId of start_file_upload, after the PUT of the file.",
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          }
        },
        "required": [
          "projectId",
          "shotId",
          "requestId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "upload_universe_picture",
      "description": "Upload a picture (file or uploadId) as the cover or the profile picture of one of the user's own universes, as Upload your own on the \"Your universe\" page does: a PNG, JPEG or WebP of 15 MB at most, with the image check of the website. The picture goes in use at once, and the picture that was in use stays in the earlier pictures. It is refused while a set is drawn. An account draws or uploads 10 times an hour at most. Free. Keep requestId after a lost reply.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": true
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-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": "Keep this ID after a lost reply. Use a new ID only for a new user-requested operation."
          },
          "kind": {
            "type": "string",
            "enum": [
              "cover",
              "profile"
            ]
          },
          "file": {
            "description": "A file that the user attached in the app, or a direct public HTTPS link to the file: { download_url: <link>, file_id: <any text> }.",
            "type": "object",
            "properties": {
              "download_url": {
                "type": "string"
              },
              "file_id": {
                "type": "string",
                "minLength": 1
              },
              "mime_type": {
                "type": "string"
              },
              "file_name": {
                "type": "string"
              }
            },
            "required": [
              "download_url",
              "file_id"
            ],
            "additionalProperties": false
          },
          "uploadId": {
            "description": "A file on the user's computer: the uploadId of start_file_upload, after the PUT of the file.",
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          }
        },
        "required": [
          "slug",
          "requestId",
          "kind"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "upload_universe_template_file",
      "description": "Upload the intro, the outro or the watermark of one of the user's own universes (file or uploadId), as \"Intro, outro and watermark\" on the \"Your universe\" page does. An intro or an outro is an MP4 or MOV video (H.264) of 20 seconds and 20 MB at most; for a file on the user's computer, start_file_upload takes it with kind video. A watermark is a PNG, JPEG or WebP picture of 20 MB at most. The file and picture checks of the website apply. The file takes the place of the file that the slot has (template of read_universe_settings). Each new video of the universe starts with the intro, ends with the outro and shows the watermark; a vertical video with no vertical clip uses the horizontal one, and a video that exists keeps the template that it was made with. Free. Keep requestId after a lost reply.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": true
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-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": "Keep this ID after a lost reply. Use a new ID only for a new user-requested operation."
          },
          "slot": {
            "type": "string",
            "enum": [
              "introHorizontal",
              "outroHorizontal",
              "introVertical",
              "outroVertical",
              "watermark"
            ],
            "description": "introHorizontal, outroHorizontal: the intro and the outro of horizontal videos. introVertical, outroVertical: of vertical videos. watermark: the watermark of each video."
          },
          "file": {
            "description": "A file that the user attached in the app, or a direct public HTTPS link to the file: { download_url: <link>, file_id: <any text> }.",
            "type": "object",
            "properties": {
              "download_url": {
                "type": "string"
              },
              "file_id": {
                "type": "string",
                "minLength": 1
              },
              "mime_type": {
                "type": "string"
              },
              "file_name": {
                "type": "string"
              }
            },
            "required": [
              "download_url",
              "file_id"
            ],
            "additionalProperties": false
          },
          "uploadId": {
            "description": "A file on the user's computer: the uploadId of start_file_upload, after the PUT of the file.",
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          }
        },
        "required": [
          "slug",
          "requestId",
          "slot"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "upload_visual_style_picture",
      "description": "Upload a picture (file or uploadId) as a reference picture of a visual style: a PNG, JPEG, WebP or GIF of 25 MB at most, with the image check of the website. With no styleId, the picture is stored for a new style: give its pictureId to create_visual_style. With the styleId of one of the user's own styles, the picture is added to that style at once; a style holds 3 pictures at most. Free. Keep requestId after a lost reply.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-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": "Keep this ID after a lost reply. Use a new ID only for a new user-requested operation."
          },
          "styleId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "file": {
            "description": "A file that the user attached in the app, or a direct public HTTPS link to the file: { download_url: <link>, file_id: <any text> }.",
            "type": "object",
            "properties": {
              "download_url": {
                "type": "string"
              },
              "file_id": {
                "type": "string",
                "minLength": 1
              },
              "mime_type": {
                "type": "string"
              },
              "file_name": {
                "type": "string"
              }
            },
            "required": [
              "download_url",
              "file_id"
            ],
            "additionalProperties": false
          },
          "uploadId": {
            "description": "A file on the user's computer: the uploadId of start_file_upload, after the PUT of the file.",
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          }
        },
        "required": [
          "requestId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "upscale_video",
      "description": "Start video upscaling from an accepted source revision and credit quote. Requires customer confirmation. Keep the same request ID after a lost reply; never create a new ID to recover an uncertain request.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "target": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "kind": {
                    "type": "string",
                    "const": "shot"
                  },
                  "shotId": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  }
                },
                "required": [
                  "kind",
                  "shotId"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "kind": {
                    "type": "string",
                    "const": "scene"
                  },
                  "sceneId": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  }
                },
                "required": [
                  "kind",
                  "sceneId"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "kind": {
                    "type": "string",
                    "const": "project"
                  }
                },
                "required": [
                  "kind"
                ],
                "additionalProperties": false
              }
            ]
          },
          "targetResolution": {
            "default": "1080p",
            "type": "string",
            "enum": [
              "1080p",
              "2k",
              "4k"
            ]
          },
          "targetFps": {
            "default": "30fps",
            "type": "string",
            "enum": [
              "30fps",
              "60fps"
            ]
          },
          "quality": {
            "default": "basic",
            "type": "string",
            "enum": [
              "basic",
              "better"
            ]
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-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": "string",
            "pattern": "^[a-f0-9]{64}$"
          },
          "quotedCredits": {
            "type": "number",
            "exclusiveMinimum": 0
          },
          "retryOfRequestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          }
        },
        "required": [
          "projectId",
          "target",
          "requestId",
          "revision",
          "quotedCredits"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "use_newer_element_version",
      "description": "Move this video to the newest version of one of its elements, as the editor's 'Use it here' does. Pass kind, elementId, newestVersionId (as toVersionId) and credits (as quotedCredits) of read_newer_element_versions. A version with a new look draws one image in the style of the video and requires the person's approval of its price; a version with new text only is free. Media that the video already has keeps the old version until it is made again. Keep requestId after a lost reply: the same request gives its saved answer and applies nothing again; read_operation reads it too.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "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)$"
          },
          "kind": {
            "type": "string",
            "enum": [
              "character",
              "location",
              "object"
            ]
          },
          "elementId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "toVersionId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "quotedCredits": {
            "type": "number",
            "minimum": 0
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-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": "Keep this ID after a lost reply. Use a new ID only for a new user-requested operation."
          }
        },
        "required": [
          "projectId",
          "kind",
          "elementId",
          "toVersionId",
          "quotedCredits",
          "requestId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "use_universe_picture",
      "description": "Put one drawn or earlier picture of one of the user's own universes in use as its cover or its profile picture, as Use on the \"Your universe\" page does. pictureId is a picture of read_universe_pictures with status ready. The picture that was in use stays in the earlier pictures. Call it only when the user chose this picture. Free.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": true
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200
          },
          "pictureId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          }
        },
        "required": [
          "slug",
          "pictureId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "validate_script",
      "description": "Validate customer script syntax without generation or model calls. Returns exact issues to fix. Creation still checks settings, plan and storage rules.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "script": {
            "type": "string",
            "maxLength": 100000
          }
        },
        "required": [
          "script"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "view_pictures",
      "description": "Look at up to 4 pictures yourself, to compare takes or to check a look before you say something about a picture. Each item of pictureUrls is a picture link of a tool answer (pictureUrl, previewUrl, thumbnailUrl, or url of an image take), or a direct public HTTPS link of a PNG, JPEG, GIF or WebP image that the user gave. The answer holds a small copy of each picture (at most 768 pixels on its long side) as image content, in the order of the links. Put the pictures of one comparison in one call: one call of an account runs at a time. The copies go to you only: the user does not see them, so give the user the links too. If the answer shows no image to you, your app does not pass pictures on: do not describe a picture that you did not see. A link of a tool answer works for 1 hour; when it is refused, read its source again for a new link. Free and read-only.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "pictureUrls": {
            "minItems": 1,
            "maxItems": 4,
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            }
          }
        },
        "required": [
          "pictureUrls"
        ]
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    {
      "name": "write_visual_style_phrase",
      "description": "Write the style text (stylePhrase) of a new visual style from its name and its description, as the New visual style window does. It returns text only and saves nothing: show it to the user, then give it to make_visual_style_pictures and create_visual_style. Free.",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200
          },
          "description": {
            "type": "string",
            "maxLength": 2000
          }
        },
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    }
  ]
}
