{
  "notice": "bxzxxr MCP archive: a record of what public MCP servers declared when we listed them (we never call their tools). It is data, not a rating: nothing here says a server is safe, secure, verified or trustworthy, and a server can change after we looked. Secrets we detected are redacted; redacted tool lists are withheld and only their hash is shown.",
  "infrastructure": {
    "host": "api.cuttingfloor.ai",
    "site": "cuttingfloor.ai",
    "addresses": [
      {
        "address": "2.31.35.57",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": {
          "asn": 24940,
          "name": "HETZNER-AS - Hetzner Online GmbH",
          "prefix": "2.31.0.0/16",
          "country": "DE"
        }
      }
    ],
    "addresses_recorded": true,
    "address_history": [
      {
        "addresses": [
          "2.31.35.57"
        ],
        "first_seen": "2026-11-22T18:52:02.329Z",
        "last_seen": "2026-11-22T18:52:02.329Z",
        "checks": 1
      },
      {
        "addresses": [
          "5.161.202.136"
        ],
        "first_seen": "2026-11-21T14:14:01.749Z",
        "last_seen": "2026-11-21T14:14:01.749Z",
        "checks": 1
      }
    ],
    "hosting": [],
    "software": [],
    "server_info": {
      "name": "cuttingfloor",
      "version": "0.67.0",
      "protocol_version": "2025-06-18"
    },
    "headers": {
      "via": "1.1 Caddy"
    },
    "auth": null
  },
  "related": {
    "same_address": {
      "total": 0,
      "sample": []
    },
    "same_site": {
      "total": 0,
      "sample": []
    },
    "same_tool_list": {
      "total": 0,
      "sample": []
    },
    "same_publisher": {
      "publisher": "io.github.Mvp2o-ai",
      "total": 0,
      "sample": []
    },
    "same_repository": {
      "repository_url": "https://github.com/Mvp2o-ai/cuttingfloor",
      "total": 0,
      "sample": []
    },
    "note": "Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators."
  },
  "endpoint": {
    "id": "25788",
    "server_name": "io.github.Mvp2o-ai/cuttingfloor",
    "url": "https://api.cuttingfloor.ai/mcp",
    "host": "api.cuttingfloor.ai",
    "transport": "streamable-http",
    "last_checked_at": "2026-11-22T18:52:02.329Z",
    "last_state": "listed",
    "last_detail": null,
    "consecutive_failures": 0,
    "current_sha": "425d0f3ad0a03ca5d9ee6a4e47ee58934099075519ed9935ff632a8ef098cfc2",
    "first_listed_at": "2026-11-21T14:14:01.749Z",
    "created_at": "2026-11-21T08:40:10.307Z",
    "resolved_addresses": [
      "2.31.35.57"
    ]
  },
  "server": {
    "name": "io.github.Mvp2o-ai/cuttingfloor",
    "title": "cuttingfloor",
    "description": "Hosted video editing for AI agents: cut, caption, mix and export real video. Sign in with OAuth.",
    "version": "0.67.4",
    "registry_status": "active",
    "repository_url": "https://github.com/Mvp2o-ai/cuttingfloor",
    "website_url": "https://cuttingfloor.ai",
    "published_at": "2026-11-23T01:28:03.752Z",
    "updated_at": "2026-11-23T01:28:03.752Z",
    "first_seen": "2026-11-21T08:40:09.842Z"
  },
  "other_endpoints": [],
  "intel": {
    "capabilities": [],
    "evm_addresses": [],
    "chains": [],
    "tokens": [],
    "computed_at": "2026-11-22T18:52:13.381Z"
  },
  "operator": {
    "key": "cuttingfloor.ai",
    "name": "cuttingfloor.ai",
    "platform": false,
    "marketplace": false
  },
  "needs_sign_in": false,
  "reachability": {
    "window_days": 30,
    "checks": 2,
    "answered": 2,
    "answered_percent": 100,
    "avg_listing_latency_ms": 1100,
    "first_check_in_window": "2026-11-21T14:14:01.749Z",
    "consecutive_failures_now": 0,
    "days": [
      {
        "day": "2026-11-21",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-22",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      }
    ]
  },
  "tool_list": {
    "sha256": "425d0f3ad0a03ca5d9ee6a4e47ee58934099075519ed9935ff632a8ef098cfc2",
    "tools": 75,
    "resources": 16,
    "prompts": 0,
    "first_seen": "2026-11-22T18:52:04.097Z",
    "tool_names": [
      "timeline.create",
      "timeline.get",
      "timeline.load",
      "timeline.history",
      "timeline.diff",
      "timeline.set_sequence",
      "track.add",
      "track.remove",
      "track.set",
      "clip.add",
      "clip.remove",
      "clip.move",
      "clip.trim",
      "clip.split",
      "clip.link",
      "clip.unlink",
      "clip.set_enabled",
      "clip.set_speed",
      "clip.freeze",
      "clip.roll",
      "clip.slip",
      "clip.slide",
      "clip.replace",
      "range.lift",
      "range.extract",
      "title.add",
      "caption.add",
      "text.set",
      "audio.set_gain",
      "audio.set_pan",
      "audio.fade",
      "audio.set_master",
      "filter.add",
      "filter.set",
      "filter.remove",
      "adjustment.add",
      "transition.add",
      "transition.set",
      "transition.remove",
      "clip.set_transform",
      "clip.set_blend",
      "clip.set_mask",
      "clip.set_animation",
      "edit.batch",
      "media.import",
      "media.upload",
      "media.list",
      "media.delete",
      "media.analyze",
      "media.correlate",
      "media.get",
      "media.seek",
      "media.search",
      "media.listen",
      "judge.ask",
      "create.motion",
      "create.still",
      "create.matte",
      "create.voiceover",
      "create.cutout",
      "create.stabilized",
      "create.upscaled",
      "create.stems",
      "create.lipsync",
      "render.frames",
      "export.video",
      "qa.check",
      "job.get",
      "job.list",
      "job.cancel",
      "export.timeline",
      "skills.search",
      "skills.get",
      "credits.claim",
      "support.contact"
    ],
    "declared": {
      "tools": [
        {
          "name": "timeline.create",
          "title": "Create timeline",
          "description": "Start an empty timeline. Returns its timeline_id and its tracks (ids for track_id). Where no clip covers the picture it is black (transparent in a nested timeline). Timelines are immutable: every edit returns a new timeline_id, and older ids stay valid for 7 days after last use. For work longer than that, keep the timeline.get document on your side and restore it with timeline.load.",
          "inputSchema": {
            "type": "object",
            "required": [
              "sequence"
            ],
            "properties": {
              "name": {
                "type": "string",
                "default": "Untitled",
                "maxLength": 200,
                "minLength": 1
              },
              "tracks": {
                "type": "object",
                "default": {
                  "audio": 1,
                  "video": 1
                },
                "required": [
                  "video",
                  "audio"
                ],
                "properties": {
                  "audio": {
                    "type": "integer",
                    "maximum": 32,
                    "minimum": 0
                  },
                  "video": {
                    "type": "integer",
                    "maximum": 32,
                    "minimum": 0
                  }
                },
                "description": "How many empty tracks to start with"
              },
              "sequence": {
                "type": "object",
                "required": [
                  "width",
                  "height",
                  "fps"
                ],
                "properties": {
                  "fps": {
                    "type": "object",
                    "required": [
                      "num",
                      "den"
                    ],
                    "properties": {
                      "den": {
                        "type": "integer",
                        "exclusiveMinimum": 0
                      },
                      "num": {
                        "type": "integer",
                        "exclusiveMinimum": 0
                      }
                    }
                  },
                  "color": {
                    "type": "string",
                    "const": "bt709",
                    "default": "bt709"
                  },
                  "width": {
                    "type": "integer",
                    "maximum": 8192,
                    "minimum": 16,
                    "multipleOf": 2
                  },
                  "height": {
                    "type": "integer",
                    "maximum": 8192,
                    "minimum": 16,
                    "multipleOf": 2
                  },
                  "channels": {
                    "type": "integer",
                    "default": 2,
                    "maximum": 8,
                    "minimum": 1
                  },
                  "audio_rate": {
                    "type": "integer",
                    "default": 48000,
                    "exclusiveMinimum": 0
                  }
                }
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "timeline_id",
              "tracks"
            ],
            "properties": {
              "tracks": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "kind",
                    "name"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "kind": {
                      "enum": [
                        "video",
                        "audio"
                      ],
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    }
                  }
                },
                "description": "The new tracks; edits take the id (track_id), not the name"
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "Timeline handle; every edit returns a new one"
              }
            }
          },
          "annotations": {
            "title": "Create timeline",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "timeline.get",
          "title": "Get timeline",
          "description": "The full timeline: tracks, clips (frames, end exclusive), link groups and the media it uses. The server keeps a timeline 7 days after last use: for work longer than that, save this document on your side (it is the edit) and restore it with timeline.load.",
          "inputSchema": {
            "type": "object",
            "required": [
              "timeline_id"
            ],
            "properties": {
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "Timeline handle; every edit returns a new one"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "timeline_id",
              "parent",
              "name",
              "sequence",
              "duration",
              "tracks",
              "media"
            ],
            "properties": {
              "name": {
                "type": "string"
              },
              "media": {
                "type": "object",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {
                  "type": "object",
                  "required": [
                    "name",
                    "duration",
                    "video",
                    "audio"
                  ],
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "audio": {
                      "type": "boolean"
                    },
                    "video": {
                      "type": "boolean"
                    },
                    "duration": {
                      "anyOf": [
                        {
                          "type": "number",
                          "minimum": 0
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "description": "Length in sequence frames, exact (45.48 ends part way into frame 45, which a clip of the whole media counts as a frame); null for stills"
                    }
                  }
                }
              },
              "master": {
                "type": "object",
                "required": [
                  "gain_db"
                ],
                "properties": {
                  "gain_db": {
                    "type": "number"
                  },
                  "limit_db": {
                    "type": "number"
                  }
                }
              },
              "nested": {
                "type": "object",
                "description": "Timelines nested as compound clips, at any depth: each has this shape without timeline_id, parent or nested",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {
                  "type": "object",
                  "propertyNames": {
                    "type": "string"
                  },
                  "additionalProperties": {}
                }
              },
              "parent": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "tracks": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "kind",
                    "name",
                    "muted",
                    "hidden",
                    "locked",
                    "clips"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "kind": {
                      "enum": [
                        "video",
                        "audio"
                      ],
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "clips": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "id",
                          "type",
                          "kind",
                          "track_id",
                          "start",
                          "end",
                          "source",
                          "link",
                          "enabled"
                        ],
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "end": {
                            "type": "integer",
                            "minimum": 0,
                            "description": "Frame after the last one (exclusive)"
                          },
                          "pan": {
                            "type": "number",
                            "description": "-1 left to 1 right"
                          },
                          "fade": {
                            "type": "object",
                            "properties": {
                              "in_frames": {
                                "type": "number"
                              },
                              "out_frames": {
                                "type": "number"
                              }
                            }
                          },
                          "gain": {
                            "description": "dB, as audio.set_gain takes it"
                          },
                          "kind": {
                            "enum": [
                              "video",
                              "audio"
                            ],
                            "type": "string"
                          },
                          "link": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "Link group: linked clips move, trim and split together"
                          },
                          "mask": {
                            "type": "object",
                            "description": "As clip.set_mask mask takes it",
                            "propertyNames": {
                              "type": "string"
                            },
                            "additionalProperties": {}
                          },
                          "text": {
                            "type": "string",
                            "description": "For titles and captions"
                          },
                          "type": {
                            "enum": [
                              "media",
                              "timeline",
                              "title",
                              "caption",
                              "adjustment"
                            ],
                            "type": "string",
                            "default": "media"
                          },
                          "blend": {
                            "enum": [
                              "normal",
                              "add",
                              "multiply",
                              "screen",
                              "overlay",
                              "darken",
                              "lighten",
                              "color_dodge",
                              "color_burn",
                              "hard_light",
                              "soft_light",
                              "difference",
                              "exclusion"
                            ],
                            "type": "string"
                          },
                          "spans": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "propertyNames": {
                                "type": "string"
                              },
                              "additionalProperties": {}
                            },
                            "description": "Styled runs, as text.set spans takes them"
                          },
                          "speed": {
                            "type": "object",
                            "description": "As clip.set_speed takes it",
                            "propertyNames": {
                              "type": "string"
                            },
                            "additionalProperties": {}
                          },
                          "start": {
                            "type": "integer",
                            "minimum": 0,
                            "description": "First frame on the timeline"
                          },
                          "style": {
                            "type": "object",
                            "description": "As text.set style takes it",
                            "propertyNames": {
                              "type": "string"
                            },
                            "additionalProperties": {}
                          },
                          "words": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "required": [
                                "text",
                                "start",
                                "end"
                              ],
                              "properties": {
                                "end": {
                                  "type": "integer"
                                },
                                "text": {
                                  "type": "string"
                                },
                                "start": {
                                  "type": "integer"
                                }
                              }
                            },
                            "description": "Caption word timings, frames from the clip start"
                          },
                          "source": {
                            "type": "object",
                            "required": [
                              "in",
                              "out"
                            ],
                            "properties": {
                              "in": {
                                "type": "integer",
                                "minimum": 0
                              },
                              "out": {
                                "type": "integer",
                                "minimum": 0
                              }
                            },
                            "description": "Source range in sequence frames from the start of the media, out exclusive; longer or shorter than the clip when its speed is changed"
                          },
                          "effects": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "propertyNames": {
                                "type": "string"
                              },
                              "additionalProperties": {}
                            },
                            "description": "{id, name, params, enabled}; params as video://catalog/effects lists them"
                          },
                          "enabled": {
                            "type": "boolean"
                          },
                          "media_id": {
                            "type": "string",
                            "description": "For media clips"
                          },
                          "track_id": {
                            "type": "string"
                          },
                          "animation": {
                            "type": "object",
                            "description": "As clip.set_animation takes it",
                            "propertyNames": {
                              "type": "string"
                            },
                            "additionalProperties": {}
                          },
                          "transform": {
                            "type": "object",
                            "description": "As clip.set_transform takes it",
                            "propertyNames": {
                              "type": "string"
                            },
                            "additionalProperties": {}
                          },
                          "nested_timeline": {
                            "type": "string",
                            "description": "For nested timelines (compound clips): a key of the view's `nested` map"
                          }
                        }
                      }
                    },
                    "muted": {
                      "type": "boolean"
                    },
                    "hidden": {
                      "type": "boolean"
                    },
                    "locked": {
                      "type": "boolean"
                    },
                    "effects": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "propertyNames": {
                          "type": "string"
                        },
                        "additionalProperties": {}
                      },
                      "description": "Effects on every clip"
                    },
                    "transitions": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "id",
                          "from_clip_id",
                          "to_clip_id",
                          "kind",
                          "start",
                          "end"
                        ],
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "end": {
                            "type": "integer",
                            "minimum": 0
                          },
                          "kind": {
                            "enum": [
                              "dissolve",
                              "dip_to_black",
                              "dip_to_white",
                              "wipe_left",
                              "wipe_right",
                              "wipe_up",
                              "wipe_down",
                              "slide_left",
                              "slide_right",
                              "slide_up",
                              "slide_down",
                              "push_left",
                              "push_right",
                              "push_up",
                              "push_down",
                              "zoom_in",
                              "zoom_out",
                              "iris",
                              "spin",
                              "crossfade"
                            ],
                            "type": "string"
                          },
                          "start": {
                            "type": "integer",
                            "minimum": 0
                          },
                          "to_clip_id": {
                            "type": "string"
                          },
                          "from_clip_id": {
                            "type": "string"
                          }
                        }
                      },
                      "description": "Transitions at cuts, frames end exclusive"
                    }
                  }
                },
                "description": "Video tracks bottom to top, then audio tracks"
              },
              "effects": {
                "type": "array",
                "items": {
                  "type": "object",
                  "propertyNames": {
                    "type": "string"
                  },
                  "additionalProperties": {}
                },
                "description": "Effects on the whole picture and mix"
              },
              "duration": {
                "type": "integer",
                "minimum": 0,
                "description": "Timeline length in frames"
              },
              "sequence": {
                "type": "object",
                "required": [
                  "width",
                  "height",
                  "fps",
                  "audio_rate",
                  "channels",
                  "color"
                ],
                "properties": {
                  "fps": {
                    "type": "object",
                    "required": [
                      "num",
                      "den"
                    ],
                    "properties": {
                      "den": {
                        "type": "integer",
                        "exclusiveMinimum": 0
                      },
                      "num": {
                        "type": "integer",
                        "exclusiveMinimum": 0
                      }
                    }
                  },
                  "color": {
                    "type": "string",
                    "const": "bt709",
                    "default": "bt709"
                  },
                  "width": {
                    "type": "integer",
                    "maximum": 8192,
                    "minimum": 16,
                    "multipleOf": 2
                  },
                  "height": {
                    "type": "integer",
                    "maximum": 8192,
                    "minimum": 16,
                    "multipleOf": 2
                  },
                  "channels": {
                    "type": "integer",
                    "default": 2,
                    "maximum": 8,
                    "minimum": 1
                  },
                  "audio_rate": {
                    "type": "integer",
                    "default": 48000,
                    "exclusiveMinimum": 0
                  }
                }
              },
              "timeline_id": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "Get timeline",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "timeline.load",
          "title": "Load timeline",
          "description": "Restore a timeline from the document timeline.get returned, e.g. after it expired (7 days after last use). Its media must still be here: media expires 7 days after last use, so import saved files again with media.import and swap them in with clip.replace.",
          "inputSchema": {
            "type": "object",
            "required": [
              "timeline"
            ],
            "properties": {
              "timeline": {
                "type": "object",
                "required": [
                  "name",
                  "sequence",
                  "tracks",
                  "media"
                ],
                "properties": {
                  "name": {
                    "type": "string"
                  },
                  "media": {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "object",
                      "required": [
                        "name",
                        "duration",
                        "video",
                        "audio"
                      ],
                      "properties": {
                        "name": {
                          "type": "string"
                        },
                        "audio": {
                          "type": "boolean"
                        },
                        "video": {
                          "type": "boolean"
                        },
                        "duration": {
                          "anyOf": [
                            {
                              "type": "number",
                              "minimum": 0
                            },
                            {
                              "type": "null"
                            }
                          ],
                          "description": "Length in sequence frames, exact (45.48 ends part way into frame 45, which a clip of the whole media counts as a frame); null for stills"
                        }
                      }
                    }
                  },
                  "master": {
                    "type": "object",
                    "required": [
                      "gain_db"
                    ],
                    "properties": {
                      "gain_db": {
                        "type": "number"
                      },
                      "limit_db": {
                        "type": "number"
                      }
                    }
                  },
                  "nested": {
                    "type": "object",
                    "description": "Timelines nested as compound clips, at any depth: each has this shape without timeline_id, parent or nested",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {}
                    }
                  },
                  "parent": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "tracks": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "kind",
                        "name",
                        "muted",
                        "hidden",
                        "locked",
                        "clips"
                      ],
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "kind": {
                          "enum": [
                            "video",
                            "audio"
                          ],
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        },
                        "clips": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "id",
                              "kind",
                              "track_id",
                              "start",
                              "end",
                              "source",
                              "link",
                              "enabled"
                            ],
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "end": {
                                "type": "integer",
                                "minimum": 0,
                                "description": "Frame after the last one (exclusive)"
                              },
                              "pan": {
                                "type": "number",
                                "description": "-1 left to 1 right"
                              },
                              "fade": {
                                "type": "object",
                                "properties": {
                                  "in_frames": {
                                    "type": "number"
                                  },
                                  "out_frames": {
                                    "type": "number"
                                  }
                                }
                              },
                              "gain": {
                                "description": "dB, as audio.set_gain takes it"
                              },
                              "kind": {
                                "enum": [
                                  "video",
                                  "audio"
                                ],
                                "type": "string"
                              },
                              "link": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "Link group: linked clips move, trim and split together"
                              },
                              "mask": {
                                "type": "object",
                                "description": "As clip.set_mask mask takes it",
                                "propertyNames": {
                                  "type": "string"
                                },
                                "additionalProperties": {}
                              },
                              "text": {
                                "type": "string",
                                "description": "For titles and captions"
                              },
                              "type": {
                                "enum": [
                                  "media",
                                  "timeline",
                                  "title",
                                  "caption",
                                  "adjustment"
                                ],
                                "type": "string",
                                "default": "media"
                              },
                              "blend": {
                                "enum": [
                                  "normal",
                                  "add",
                                  "multiply",
                                  "screen",
                                  "overlay",
                                  "darken",
                                  "lighten",
                                  "color_dodge",
                                  "color_burn",
                                  "hard_light",
                                  "soft_light",
                                  "difference",
                                  "exclusion"
                                ],
                                "type": "string"
                              },
                              "spans": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "propertyNames": {
                                    "type": "string"
                                  },
                                  "additionalProperties": {}
                                },
                                "description": "Styled runs, as text.set spans takes them"
                              },
                              "speed": {
                                "type": "object",
                                "description": "As clip.set_speed takes it",
                                "propertyNames": {
                                  "type": "string"
                                },
                                "additionalProperties": {}
                              },
                              "start": {
                                "type": "integer",
                                "minimum": 0,
                                "description": "First frame on the timeline"
                              },
                              "style": {
                                "type": "object",
                                "description": "As text.set style takes it",
                                "propertyNames": {
                                  "type": "string"
                                },
                                "additionalProperties": {}
                              },
                              "words": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "required": [
                                    "text",
                                    "start",
                                    "end"
                                  ],
                                  "properties": {
                                    "end": {
                                      "type": "integer"
                                    },
                                    "text": {
                                      "type": "string"
                                    },
                                    "start": {
                                      "type": "integer"
                                    }
                                  }
                                },
                                "description": "Caption word timings, frames from the clip start"
                              },
                              "source": {
                                "type": "object",
                                "required": [
                                  "in",
                                  "out"
                                ],
                                "properties": {
                                  "in": {
                                    "type": "integer",
                                    "minimum": 0
                                  },
                                  "out": {
                                    "type": "integer",
                                    "minimum": 0
                                  }
                                },
                                "description": "Source range in sequence frames from the start of the media, out exclusive; longer or shorter than the clip when its speed is changed"
                              },
                              "effects": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "propertyNames": {
                                    "type": "string"
                                  },
                                  "additionalProperties": {}
                                },
                                "description": "{id, name, params, enabled}; params as video://catalog/effects lists them"
                              },
                              "enabled": {
                                "type": "boolean"
                              },
                              "media_id": {
                                "type": "string",
                                "description": "For media clips"
                              },
                              "track_id": {
                                "type": "string"
                              },
                              "animation": {
                                "type": "object",
                                "description": "As clip.set_animation takes it",
                                "propertyNames": {
                                  "type": "string"
                                },
                                "additionalProperties": {}
                              },
                              "transform": {
                                "type": "object",
                                "description": "As clip.set_transform takes it",
                                "propertyNames": {
                                  "type": "string"
                                },
                                "additionalProperties": {}
                              },
                              "nested_timeline": {
                                "type": "string",
                                "description": "For nested timelines (compound clips): a key of the view's `nested` map"
                              }
                            }
                          }
                        },
                        "muted": {
                          "type": "boolean"
                        },
                        "hidden": {
                          "type": "boolean"
                        },
                        "locked": {
                          "type": "boolean"
                        },
                        "effects": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "propertyNames": {
                              "type": "string"
                            },
                            "additionalProperties": {}
                          },
                          "description": "Effects on every clip"
                        },
                        "transitions": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "id",
                              "from_clip_id",
                              "to_clip_id",
                              "kind",
                              "start",
                              "end"
                            ],
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "end": {
                                "type": "integer",
                                "minimum": 0
                              },
                              "kind": {
                                "enum": [
                                  "dissolve",
                                  "dip_to_black",
                                  "dip_to_white",
                                  "wipe_left",
                                  "wipe_right",
                                  "wipe_up",
                                  "wipe_down",
                                  "slide_left",
                                  "slide_right",
                                  "slide_up",
                                  "slide_down",
                                  "push_left",
                                  "push_right",
                                  "push_up",
                                  "push_down",
                                  "zoom_in",
                                  "zoom_out",
                                  "iris",
                                  "spin",
                                  "crossfade"
                                ],
                                "type": "string"
                              },
                              "start": {
                                "type": "integer",
                                "minimum": 0
                              },
                              "to_clip_id": {
                                "type": "string"
                              },
                              "from_clip_id": {
                                "type": "string"
                              }
                            }
                          },
                          "description": "Transitions at cuts, frames end exclusive"
                        }
                      }
                    },
                    "description": "Video tracks bottom to top, then audio tracks"
                  },
                  "effects": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {}
                    },
                    "description": "Effects on the whole picture and mix"
                  },
                  "duration": {
                    "type": "integer",
                    "minimum": 0
                  },
                  "sequence": {
                    "type": "object",
                    "required": [
                      "width",
                      "height",
                      "fps"
                    ],
                    "properties": {
                      "fps": {
                        "type": "object",
                        "required": [
                          "num",
                          "den"
                        ],
                        "properties": {
                          "den": {
                            "type": "integer",
                            "exclusiveMinimum": 0
                          },
                          "num": {
                            "type": "integer",
                            "exclusiveMinimum": 0
                          }
                        }
                      },
                      "color": {
                        "type": "string",
                        "const": "bt709",
                        "default": "bt709"
                      },
                      "width": {
                        "type": "integer",
                        "maximum": 8192,
                        "minimum": 16,
                        "multipleOf": 2
                      },
                      "height": {
                        "type": "integer",
                        "maximum": 8192,
                        "minimum": 16,
                        "multipleOf": 2
                      },
                      "channels": {
                        "type": "integer",
                        "default": 2,
                        "maximum": 8,
                        "minimum": 1
                      },
                      "audio_rate": {
                        "type": "integer",
                        "default": 48000,
                        "exclusiveMinimum": 0
                      }
                    }
                  },
                  "timeline_id": {
                    "type": "string"
                  }
                },
                "description": "A timeline as returned by timeline.get"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "timeline_id"
            ],
            "properties": {
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "Timeline handle; every edit returns a new one"
              }
            }
          },
          "annotations": {
            "title": "Load timeline",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "timeline.history",
          "title": "Timeline history",
          "description": "The chain of edits that made this timeline, newest first. To go back, keep using an older timeline_id.",
          "inputSchema": {
            "type": "object",
            "required": [
              "timeline_id"
            ],
            "properties": {
              "limit": {
                "type": "integer",
                "default": 50,
                "maximum": 500,
                "minimum": 1
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "Timeline handle; every edit returns a new one"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "entries",
              "truncated"
            ],
            "properties": {
              "entries": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "timeline_id",
                    "parent",
                    "tool",
                    "args",
                    "available"
                  ],
                  "properties": {
                    "args": {},
                    "tool": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "parent": {
                      "anyOf": [
                        {
                          "type": "string",
                          "pattern": "^tl_[0-9a-f]{32}$",
                          "description": "Timeline handle; every edit returns a new one"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "available": {
                      "type": "boolean",
                      "description": "false once the stored timeline has expired"
                    },
                    "timeline_id": {
                      "type": "string",
                      "pattern": "^tl_[0-9a-f]{32}$",
                      "description": "Timeline handle; every edit returns a new one"
                    }
                  }
                }
              },
              "truncated": {
                "type": "boolean"
              }
            }
          },
          "annotations": {
            "title": "Timeline history",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "timeline.diff",
          "title": "Diff timelines",
          "description": "Which clips, tracks and settings differ between two timelines.",
          "inputSchema": {
            "type": "object",
            "required": [
              "from",
              "to"
            ],
            "properties": {
              "to": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "Timeline handle; every edit returns a new one"
              },
              "from": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "Timeline handle; every edit returns a new one"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "changed"
            ],
            "properties": {
              "changed": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "type",
                    "change"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "end": {
                      "type": "integer"
                    },
                    "kind": {
                      "type": "string"
                    },
                    "type": {
                      "enum": [
                        "clip",
                        "track",
                        "transition",
                        "effects",
                        "master",
                        "sequence",
                        "name"
                      ],
                      "type": "string"
                    },
                    "start": {
                      "type": "integer"
                    },
                    "change": {
                      "enum": [
                        "added",
                        "removed",
                        "modified"
                      ],
                      "type": "string"
                    },
                    "track_id": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "annotations": {
            "title": "Diff timelines",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "timeline.set_sequence",
          "title": "Set sequence",
          "description": "Change resolution, frame rate or audio format. Clip times are kept in time, so they survive a rate change. Each picture is refitted to the new shape by its fit (contain by default, which leaves bars where the shapes differ); the result warns how many clips no longer fill the frame, and clip.set_transform {fit: \"cover\"} fills it. Returns the new timeline_id (edit that one next), what changed, and where each changed clip now sits.",
          "inputSchema": {
            "type": "object",
            "required": [
              "sequence",
              "timeline_id"
            ],
            "properties": {
              "preview": {
                "enum": [
                  "inline",
                  "link",
                  "none"
                ],
                "type": "string",
                "default": "link",
                "description": "inline: image in the result; link: URI that renders on read; none"
              },
              "sequence": {
                "type": "object",
                "required": [
                  "width",
                  "height",
                  "fps"
                ],
                "properties": {
                  "fps": {
                    "type": "object",
                    "required": [
                      "num",
                      "den"
                    ],
                    "properties": {
                      "den": {
                        "type": "integer",
                        "exclusiveMinimum": 0
                      },
                      "num": {
                        "type": "integer",
                        "exclusiveMinimum": 0
                      }
                    }
                  },
                  "color": {
                    "type": "string",
                    "const": "bt709",
                    "default": "bt709"
                  },
                  "width": {
                    "type": "integer",
                    "maximum": 8192,
                    "minimum": 16,
                    "multipleOf": 2
                  },
                  "height": {
                    "type": "integer",
                    "maximum": 8192,
                    "minimum": 16,
                    "multipleOf": 2
                  },
                  "channels": {
                    "type": "integer",
                    "default": 2,
                    "maximum": 8,
                    "minimum": 1
                  },
                  "audio_rate": {
                    "type": "integer",
                    "default": 48000,
                    "exclusiveMinimum": 0
                  }
                }
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "Timeline handle; every edit returns a new one"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "timeline_id",
              "parent",
              "changed",
              "preview",
              "warnings"
            ],
            "properties": {
              "parent": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The version this edit started from"
              },
              "changed": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "type",
                    "change"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "end": {
                      "type": "integer"
                    },
                    "kind": {
                      "type": "string"
                    },
                    "type": {
                      "enum": [
                        "clip",
                        "track",
                        "transition",
                        "effects",
                        "master",
                        "sequence",
                        "name"
                      ],
                      "type": "string"
                    },
                    "start": {
                      "type": "integer"
                    },
                    "change": {
                      "enum": [
                        "added",
                        "removed",
                        "modified"
                      ],
                      "type": "string"
                    },
                    "track_id": {
                      "type": "string"
                    }
                  }
                },
                "description": "What the edit added, removed or modified; a clip or transition says its track and where it now sits (frames, end exclusive)"
              },
              "clip_id": {
                "type": "string",
                "description": "The clip this edit made or acted on (each tool says which)"
              },
              "preview": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "uri",
                      "frames",
                      "status"
                    ],
                    "properties": {
                      "uri": {
                        "type": "string"
                      },
                      "frames": {
                        "type": "array",
                        "items": {
                          "type": "integer",
                          "minimum": 0
                        },
                        "description": "Frames shown; for a waveform, the start and end of its span"
                      },
                      "status": {
                        "enum": [
                          "ready",
                          "pending"
                        ],
                        "type": "string"
                      },
                      "loudness": {
                        "type": "object",
                        "required": [
                          "lufs",
                          "true_peak_db"
                        ],
                        "properties": {
                          "lufs": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "true_peak_db": {
                            "type": [
                              "number",
                              "null"
                            ]
                          }
                        },
                        "description": "Measured for audio edits, over the waveform span"
                      }
                    }
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "clip_ids": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Every clip this edit made or acted on, linked ones included (each tool says which)"
              },
              "track_id": {
                "type": "string"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The new version: edit this one next (older ids stay valid)"
              }
            }
          },
          "annotations": {
            "title": "Set sequence",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "track.add",
          "title": "Add track",
          "description": "Add an empty video or audio track. New video tracks go on top. Returns the new timeline_id (edit that one next), what changed, and where each changed clip now sits.",
          "inputSchema": {
            "type": "object",
            "required": [
              "kind",
              "timeline_id"
            ],
            "properties": {
              "kind": {
                "enum": [
                  "video",
                  "audio"
                ],
                "type": "string"
              },
              "name": {
                "type": "string",
                "maxLength": 100,
                "minLength": 1
              },
              "preview": {
                "enum": [
                  "inline",
                  "link",
                  "none"
                ],
                "type": "string",
                "default": "link",
                "description": "inline: image in the result; link: URI that renders on read; none"
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "Timeline handle; every edit returns a new one"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "timeline_id",
              "parent",
              "changed",
              "preview",
              "warnings"
            ],
            "properties": {
              "parent": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The version this edit started from"
              },
              "changed": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "type",
                    "change"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "end": {
                      "type": "integer"
                    },
                    "kind": {
                      "type": "string"
                    },
                    "type": {
                      "enum": [
                        "clip",
                        "track",
                        "transition",
                        "effects",
                        "master",
                        "sequence",
                        "name"
                      ],
                      "type": "string"
                    },
                    "start": {
                      "type": "integer"
                    },
                    "change": {
                      "enum": [
                        "added",
                        "removed",
                        "modified"
                      ],
                      "type": "string"
                    },
                    "track_id": {
                      "type": "string"
                    }
                  }
                },
                "description": "What the edit added, removed or modified; a clip or transition says its track and where it now sits (frames, end exclusive)"
              },
              "clip_id": {
                "type": "string",
                "description": "The clip this edit made or acted on (each tool says which)"
              },
              "preview": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "uri",
                      "frames",
                      "status"
                    ],
                    "properties": {
                      "uri": {
                        "type": "string"
                      },
                      "frames": {
                        "type": "array",
                        "items": {
                          "type": "integer",
                          "minimum": 0
                        },
                        "description": "Frames shown; for a waveform, the start and end of its span"
                      },
                      "status": {
                        "enum": [
                          "ready",
                          "pending"
                        ],
                        "type": "string"
                      },
                      "loudness": {
                        "type": "object",
                        "required": [
                          "lufs",
                          "true_peak_db"
                        ],
                        "properties": {
                          "lufs": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "true_peak_db": {
                            "type": [
                              "number",
                              "null"
                            ]
                          }
                        },
                        "description": "Measured for audio edits, over the waveform span"
                      }
                    }
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "clip_ids": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Every clip this edit made or acted on, linked ones included (each tool says which)"
              },
              "track_id": {
                "type": "string"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The new version: edit this one next (older ids stay valid)"
              }
            }
          },
          "annotations": {
            "title": "Add track",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "track.remove",
          "title": "Remove track",
          "description": "Remove a track and its clips. Returns the new timeline_id (edit that one next), what changed, and where each changed clip now sits.",
          "inputSchema": {
            "type": "object",
            "required": [
              "track_id",
              "timeline_id"
            ],
            "properties": {
              "preview": {
                "enum": [
                  "inline",
                  "link",
                  "none"
                ],
                "type": "string",
                "default": "link",
                "description": "inline: image in the result; link: URI that renders on read; none"
              },
              "track_id": {
                "type": "string"
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "Timeline handle; every edit returns a new one"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "timeline_id",
              "parent",
              "changed",
              "preview",
              "warnings"
            ],
            "properties": {
              "parent": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The version this edit started from"
              },
              "changed": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "type",
                    "change"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "end": {
                      "type": "integer"
                    },
                    "kind": {
                      "type": "string"
                    },
                    "type": {
                      "enum": [
                        "clip",
                        "track",
                        "transition",
                        "effects",
                        "master",
                        "sequence",
                        "name"
                      ],
                      "type": "string"
                    },
                    "start": {
                      "type": "integer"
                    },
                    "change": {
                      "enum": [
                        "added",
                        "removed",
                        "modified"
                      ],
                      "type": "string"
                    },
                    "track_id": {
                      "type": "string"
                    }
                  }
                },
                "description": "What the edit added, removed or modified; a clip or transition says its track and where it now sits (frames, end exclusive)"
              },
              "clip_id": {
                "type": "string",
                "description": "The clip this edit made or acted on (each tool says which)"
              },
              "preview": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "uri",
                      "frames",
                      "status"
                    ],
                    "properties": {
                      "uri": {
                        "type": "string"
                      },
                      "frames": {
                        "type": "array",
                        "items": {
                          "type": "integer",
                          "minimum": 0
                        },
                        "description": "Frames shown; for a waveform, the start and end of its span"
                      },
                      "status": {
                        "enum": [
                          "ready",
                          "pending"
                        ],
                        "type": "string"
                      },
                      "loudness": {
                        "type": "object",
                        "required": [
                          "lufs",
                          "true_peak_db"
                        ],
                        "properties": {
                          "lufs": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "true_peak_db": {
                            "type": [
                              "number",
                              "null"
                            ]
                          }
                        },
                        "description": "Measured for audio edits, over the waveform span"
                      }
                    }
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "clip_ids": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Every clip this edit made or acted on, linked ones included (each tool says which)"
              },
              "track_id": {
                "type": "string"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The new version: edit this one next (older ids stay valid)"
              }
            }
          },
          "annotations": {
            "title": "Remove track",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "track.set",
          "title": "Set track",
          "description": "Rename, mute (audio), hide (video) or lock a track. Returns the new timeline_id (edit that one next), what changed, and where each changed clip now sits.",
          "inputSchema": {
            "type": "object",
            "required": [
              "track_id",
              "timeline_id"
            ],
            "properties": {
              "name": {
                "type": "string",
                "maxLength": 100,
                "minLength": 1
              },
              "muted": {
                "type": "boolean"
              },
              "hidden": {
                "type": "boolean"
              },
              "locked": {
                "type": "boolean"
              },
              "preview": {
                "enum": [
                  "inline",
                  "link",
                  "none"
                ],
                "type": "string",
                "default": "link",
                "description": "inline: image in the result; link: URI that renders on read; none"
              },
              "track_id": {
                "type": "string"
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "Timeline handle; every edit returns a new one"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "timeline_id",
              "parent",
              "changed",
              "preview",
              "warnings"
            ],
            "properties": {
              "parent": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The version this edit started from"
              },
              "changed": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "type",
                    "change"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "end": {
                      "type": "integer"
                    },
                    "kind": {
                      "type": "string"
                    },
                    "type": {
                      "enum": [
                        "clip",
                        "track",
                        "transition",
                        "effects",
                        "master",
                        "sequence",
                        "name"
                      ],
                      "type": "string"
                    },
                    "start": {
                      "type": "integer"
                    },
                    "change": {
                      "enum": [
                        "added",
                        "removed",
                        "modified"
                      ],
                      "type": "string"
                    },
                    "track_id": {
                      "type": "string"
                    }
                  }
                },
                "description": "What the edit added, removed or modified; a clip or transition says its track and where it now sits (frames, end exclusive)"
              },
              "clip_id": {
                "type": "string",
                "description": "The clip this edit made or acted on (each tool says which)"
              },
              "preview": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "uri",
                      "frames",
                      "status"
                    ],
                    "properties": {
                      "uri": {
                        "type": "string"
                      },
                      "frames": {
                        "type": "array",
                        "items": {
                          "type": "integer",
                          "minimum": 0
                        },
                        "description": "Frames shown; for a waveform, the start and end of its span"
                      },
                      "status": {
                        "enum": [
                          "ready",
                          "pending"
                        ],
                        "type": "string"
                      },
                      "loudness": {
                        "type": "object",
                        "required": [
                          "lufs",
                          "true_peak_db"
                        ],
                        "properties": {
                          "lufs": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "true_peak_db": {
                            "type": [
                              "number",
                              "null"
                            ]
                          }
                        },
                        "description": "Measured for audio edits, over the waveform span"
                      }
                    }
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "clip_ids": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Every clip this edit made or acted on, linked ones included (each tool says which)"
              },
              "track_id": {
                "type": "string"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The new version: edit this one next (older ids stay valid)"
              }
            }
          },
          "annotations": {
            "title": "Set track",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "clip.add",
          "title": "Add clip",
          "description": "Place media on the timeline. A/V media lands as a linked pair on a video and an audio track. Default: the whole media, after the last clip, overwriting. A picture is scaled to fit the frame (a small logo fills it edge to edge); clip.set_transform {fit: \"none\"} keeps its own pixel size. Returns the new timeline_id (edit that one next), what changed, and where each changed clip now sits.",
          "inputSchema": {
            "type": "object",
            "required": [
              "track_id",
              "timeline_id"
            ],
            "properties": {
              "av": {
                "enum": [
                  "linked",
                  "video",
                  "audio"
                ],
                "type": "string",
                "default": "linked",
                "description": "linked: video and audio as a link group; video or audio: only that part"
              },
              "mode": {
                "enum": [
                  "overwrite",
                  "insert"
                ],
                "type": "string",
                "default": "overwrite",
                "description": "overwrite replaces what is underneath; insert pushes later clips right"
              },
              "source": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "in",
                      "out"
                    ],
                    "properties": {
                      "in": {
                        "type": "integer",
                        "minimum": 0
                      },
                      "out": {
                        "type": "integer",
                        "minimum": 0
                      }
                    }
                  },
                  {
                    "type": "object",
                    "required": [
                      "words"
                    ],
                    "properties": {
                      "words": {
                        "type": "array",
                        "items": false,
                        "maxItems": 2,
                        "minItems": 2,
                        "prefixItems": [
                          {
                            "type": "integer",
                            "minimum": 0
                          },
                          {
                            "type": "integer",
                            "minimum": 0
                          }
                        ]
                      }
                    },
                    "description": "Transcript words i to j (inclusive), from media.get include transcript: from the frame word i starts in to the frame after word j ends, with no padding (clip.trim adds room for a breath or a word's tail)"
                  }
                ],
                "description": "Where in the media to start and stop, in frames at the sequence rate (frame 48 at 24 fps is 2 s into the media), out exclusive. Default: the whole media"
              },
              "preview": {
                "enum": [
                  "inline",
                  "link",
                  "none"
                ],
                "type": "string",
                "default": "link",
                "description": "inline: image in the result; link: URI that renders on read; none"
              },
              "at_frame": {
                "type": "integer",
                "minimum": 0,
                "description": "Where the clip starts. Default: after the last clip"
              },
              "media_id": {
                "type": "string",
                "pattern": "^m_[0-9a-z]{26}$",
                "description": "Media handle from media.import or a create.* tool"
              },
              "track_id": {
                "type": "string",
                "description": "Track for the clip; a linked A/V clip puts its other half on link_track_id"
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "Timeline handle; every edit returns a new one"
              },
              "other_tracks": {
                "enum": [
                  "stay",
                  "sync"
                ],
                "type": "string",
                "default": "stay",
                "description": "Tracks holding neither this clip nor a clip linked to it (linked clips, such as its own sound, always change with it): what they do when this edit moves later clips. stay: they don't move, and the result warns which clips there now play early or late. sync: they get the same change, so titles, overlays and sound stay in step: time taken out here comes out of them too (like range.extract), time added here opens the same gap in them (clips crossing that point are split, as insert does). Locked tracks always stay"
              },
              "after_clip_id": {
                "type": "string",
                "description": "Start where this clip ends (instead of at_frame)"
              },
              "link_track_id": {
                "type": "string",
                "description": "Track for the other half of a linked clip. Default: the first track of that kind"
              },
              "duration_frames": {
                "type": "integer",
                "description": "Length for stills (default 5 s); ignored when source is given",
                "exclusiveMinimum": 0
              },
              "nested_timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "Instead of media: nest another timeline as one clip (a compound clip)"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "timeline_id",
              "parent",
              "changed",
              "preview",
              "warnings"
            ],
            "properties": {
              "parent": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The version this edit started from"
              },
              "changed": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "type",
                    "change"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "end": {
                      "type": "integer"
                    },
                    "kind": {
                      "type": "string"
                    },
                    "type": {
                      "enum": [
                        "clip",
                        "track",
                        "transition",
                        "effects",
                        "master",
                        "sequence",
                        "name"
                      ],
                      "type": "string"
                    },
                    "start": {
                      "type": "integer"
                    },
                    "change": {
                      "enum": [
                        "added",
                        "removed",
                        "modified"
                      ],
                      "type": "string"
                    },
                    "track_id": {
                      "type": "string"
                    }
                  }
                },
                "description": "What the edit added, removed or modified; a clip or transition says its track and where it now sits (frames, end exclusive)"
              },
              "clip_id": {
                "type": "string",
                "description": "The clip this edit made or acted on (each tool says which)"
              },
              "preview": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "uri",
                      "frames",
                      "status"
                    ],
                    "properties": {
                      "uri": {
                        "type": "string"
                      },
                      "frames": {
                        "type": "array",
                        "items": {
                          "type": "integer",
                          "minimum": 0
                        },
                        "description": "Frames shown; for a waveform, the start and end of its span"
                      },
                      "status": {
                        "enum": [
                          "ready",
                          "pending"
                        ],
                        "type": "string"
                      },
                      "loudness": {
                        "type": "object",
                        "required": [
                          "lufs",
                          "true_peak_db"
                        ],
                        "properties": {
                          "lufs": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "true_peak_db": {
                            "type": [
                              "number",
                              "null"
                            ]
                          }
                        },
                        "description": "Measured for audio edits, over the waveform span"
                      }
                    }
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "clip_ids": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Every clip this edit made or acted on, linked ones included (each tool says which)"
              },
              "track_id": {
                "type": "string"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The new version: edit this one next (older ids stay valid)"
              }
            }
          },
          "annotations": {
            "title": "Add clip",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "clip.remove",
          "title": "Remove clip",
          "description": "Remove a clip and the clips linked to it; ripple closes the gap. Returns the new timeline_id (edit that one next), what changed, and where each changed clip now sits.",
          "inputSchema": {
            "type": "object",
            "required": [
              "clip_id",
              "timeline_id"
            ],
            "properties": {
              "ripple": {
                "type": "boolean",
                "default": false,
                "description": "Close the gap by pulling later clips left"
              },
              "clip_id": {
                "type": "string"
              },
              "preview": {
                "enum": [
                  "inline",
                  "link",
                  "none"
                ],
                "type": "string",
                "default": "link",
                "description": "inline: image in the result; link: URI that renders on read; none"
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "Timeline handle; every edit returns a new one"
              },
              "other_tracks": {
                "enum": [
                  "stay",
                  "sync"
                ],
                "type": "string",
                "default": "stay",
                "description": "Tracks holding neither this clip nor a clip linked to it (linked clips, such as its own sound, always change with it): what they do when this edit moves later clips. stay: they don't move, and the result warns which clips there now play early or late. sync: they get the same change, so titles, overlays and sound stay in step: time taken out here comes out of them too (like range.extract), time added here opens the same gap in them (clips crossing that point are split, as insert does). Locked tracks always stay"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "timeline_id",
              "parent",
              "changed",
              "preview",
              "warnings"
            ],
            "properties": {
              "parent": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The version this edit started from"
              },
              "changed": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "type",
                    "change"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "end": {
                      "type": "integer"
                    },
                    "kind": {
                      "type": "string"
                    },
                    "type": {
                      "enum": [
                        "clip",
                        "track",
                        "transition",
                        "effects",
                        "master",
                        "sequence",
                        "name"
                      ],
                      "type": "string"
                    },
                    "start": {
                      "type": "integer"
                    },
                    "change": {
                      "enum": [
                        "added",
                        "removed",
                        "modified"
                      ],
                      "type": "string"
                    },
                    "track_id": {
                      "type": "string"
                    }
                  }
                },
                "description": "What the edit added, removed or modified; a clip or transition says its track and where it now sits (frames, end exclusive)"
              },
              "clip_id": {
                "type": "string",
                "description": "The clip this edit made or acted on (each tool says which)"
              },
              "preview": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "uri",
                      "frames",
                      "status"
                    ],
                    "properties": {
                      "uri": {
                        "type": "string"
                      },
                      "frames": {
                        "type": "array",
                        "items": {
                          "type": "integer",
                          "minimum": 0
                        },
                        "description": "Frames shown; for a waveform, the start and end of its span"
                      },
                      "status": {
                        "enum": [
                          "ready",
                          "pending"
                        ],
                        "type": "string"
                      },
                      "loudness": {
                        "type": "object",
                        "required": [
                          "lufs",
                          "true_peak_db"
                        ],
                        "properties": {
                          "lufs": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "true_peak_db": {
                            "type": [
                              "number",
                              "null"
                            ]
                          }
                        },
                        "description": "Measured for audio edits, over the waveform span"
                      }
                    }
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "clip_ids": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Every clip this edit made or acted on, linked ones included (each tool says which)"
              },
              "track_id": {
                "type": "string"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The new version: edit this one next (older ids stay valid)"
              }
            }
          },
          "annotations": {
            "title": "Remove clip",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "clip.move",
          "title": "Move clip",
          "description": "Move a clip (and its linked clips) to a frame and optionally another track. Returns the new timeline_id (edit that one next), what changed, and where each changed clip now sits.",
          "inputSchema": {
            "type": "object",
            "required": [
              "clip_id",
              "to_frame",
              "timeline_id"
            ],
            "properties": {
              "mode": {
                "enum": [
                  "overwrite",
                  "insert"
                ],
                "type": "string",
                "default": "overwrite",
                "description": "overwrite replaces what is underneath; insert pushes later clips right"
              },
              "ripple": {
                "type": "boolean",
                "default": false,
                "description": "Close the gap left behind"
              },
              "clip_id": {
                "type": "string"
              },
              "preview": {
                "enum": [
                  "inline",
                  "link",
                  "none"
                ],
                "type": "string",
                "default": "link",
                "description": "inline: image in the result; link: URI that renders on read; none"
              },
              "to_frame": {
                "type": "integer",
                "minimum": 0
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "Timeline handle; every edit returns a new one"
              },
              "to_track_id": {
                "type": "string"
              },
              "other_tracks": {
                "enum": [
                  "stay",
                  "sync"
                ],
                "type": "string",
                "default": "stay",
                "description": "Tracks holding neither this clip nor a clip linked to it (linked clips, such as its own sound, always change with it): what they do when this edit moves later clips. stay: they don't move, and the result warns which clips there now play early or late. sync: they get the same change, so titles, overlays and sound stay in step: time taken out here comes out of them too (like range.extract), time added here opens the same gap in them (clips crossing that point are split, as insert does). Locked tracks always stay"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "timeline_id",
              "parent",
              "changed",
              "preview",
              "warnings"
            ],
            "properties": {
              "parent": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The version this edit started from"
              },
              "changed": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "type",
                    "change"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "end": {
                      "type": "integer"
                    },
                    "kind": {
                      "type": "string"
                    },
                    "type": {
                      "enum": [
                        "clip",
                        "track",
                        "transition",
                        "effects",
                        "master",
                        "sequence",
                        "name"
                      ],
                      "type": "string"
                    },
                    "start": {
                      "type": "integer"
                    },
                    "change": {
                      "enum": [
                        "added",
                        "removed",
                        "modified"
                      ],
                      "type": "string"
                    },
                    "track_id": {
                      "type": "string"
                    }
                  }
                },
                "description": "What the edit added, removed or modified; a clip or transition says its track and where it now sits (frames, end exclusive)"
              },
              "clip_id": {
                "type": "string",
                "description": "The clip this edit made or acted on (each tool says which)"
              },
              "preview": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "uri",
                      "frames",
                      "status"
                    ],
                    "properties": {
                      "uri": {
                        "type": "string"
                      },
                      "frames": {
                        "type": "array",
                        "items": {
                          "type": "integer",
                          "minimum": 0
                        },
                        "description": "Frames shown; for a waveform, the start and end of its span"
                      },
                      "status": {
                        "enum": [
                          "ready",
                          "pending"
                        ],
                        "type": "string"
                      },
                      "loudness": {
                        "type": "object",
                        "required": [
                          "lufs",
                          "true_peak_db"
                        ],
                        "properties": {
                          "lufs": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "true_peak_db": {
                            "type": [
                              "number",
                              "null"
                            ]
                          }
                        },
                        "description": "Measured for audio edits, over the waveform span"
                      }
                    }
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "clip_ids": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Every clip this edit made or acted on, linked ones included (each tool says which)"
              },
              "track_id": {
                "type": "string"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The new version: edit this one next (older ids stay valid)"
              }
            }
          },
          "annotations": {
            "title": "Move clip",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "clip.trim",
          "title": "Trim clip",
          "description": "Move the start or end edge of a clip. side: video or audio trims one half of a link group (J/L cuts). Returns the new timeline_id (edit that one next), what changed, and where each changed clip now sits.",
          "inputSchema": {
            "type": "object",
            "required": [
              "clip_id",
              "edge",
              "to_frame",
              "timeline_id"
            ],
            "properties": {
              "edge": {
                "enum": [
                  "start",
                  "end"
                ],
                "type": "string"
              },
              "side": {
                "enum": [
                  "both",
                  "video",
                  "audio"
                ],
                "type": "string",
                "default": "both",
                "description": "Trim only one half of a link group (J/L cuts)"
              },
              "ripple": {
                "type": "boolean",
                "default": false,
                "description": "Shift later clips so nothing overlaps and no gap opens"
              },
              "clip_id": {
                "type": "string"
              },
              "preview": {
                "enum": [
                  "inline",
                  "link",
                  "none"
                ],
                "type": "string",
                "default": "link",
                "description": "inline: image in the result; link: URI that renders on read; none"
              },
              "to_frame": {
                "type": "integer",
                "minimum": 0,
                "description": "New timeline position of that edge"
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "Timeline handle; every edit returns a new one"
              },
              "other_tracks": {
                "enum": [
                  "stay",
                  "sync"
                ],
                "type": "string",
                "default": "stay",
                "description": "Tracks holding neither this clip nor a clip linked to it (linked clips, such as its own sound, always change with it): what they do when this edit moves later clips. stay: they don't move, and the result warns which clips there now play early or late. sync: they get the same change, so titles, overlays and sound stay in step: time taken out here comes out of them too (like range.extract), time added here opens the same gap in them (clips crossing that point are split, as insert does). Locked tracks always stay"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "timeline_id",
              "parent",
              "changed",
              "preview",
              "warnings"
            ],
            "properties": {
              "parent": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The version this edit started from"
              },
              "changed": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "type",
                    "change"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "end": {
                      "type": "integer"
                    },
                    "kind": {
                      "type": "string"
                    },
                    "type": {
                      "enum": [
                        "clip",
                        "track",
                        "transition",
                        "effects",
                        "master",
                        "sequence",
                        "name"
                      ],
                      "type": "string"
                    },
                    "start": {
                      "type": "integer"
                    },
                    "change": {
                      "enum": [
                        "added",
                        "removed",
                        "modified"
                      ],
                      "type": "string"
                    },
                    "track_id": {
                      "type": "string"
                    }
                  }
                },
                "description": "What the edit added, removed or modified; a clip or transition says its track and where it now sits (frames, end exclusive)"
              },
              "clip_id": {
                "type": "string",
                "description": "The clip this edit made or acted on (each tool says which)"
              },
              "preview": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "uri",
                      "frames",
                      "status"
                    ],
                    "properties": {
                      "uri": {
                        "type": "string"
                      },
                      "frames": {
                        "type": "array",
                        "items": {
                          "type": "integer",
                          "minimum": 0
                        },
                        "description": "Frames shown; for a waveform, the start and end of its span"
                      },
                      "status": {
                        "enum": [
                          "ready",
                          "pending"
                        ],
                        "type": "string"
                      },
                      "loudness": {
                        "type": "object",
                        "required": [
                          "lufs",
                          "true_peak_db"
                        ],
                        "properties": {
                          "lufs": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "true_peak_db": {
                            "type": [
                              "number",
                              "null"
                            ]
                          }
                        },
                        "description": "Measured for audio edits, over the waveform span"
                      }
                    }
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "clip_ids": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Every clip this edit made or acted on, linked ones included (each tool says which)"
              },
              "track_id": {
                "type": "string"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The new version: edit this one next (older ids stay valid)"
              }
            }
          },
          "annotations": {
            "title": "Trim clip",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "clip.split",
          "title": "Split clip",
          "description": "Cut a clip (and its linked clips) in two at a frame. The left piece keeps its id; clip_id is the new right piece of the clip named, and clip_ids every new right piece (its linked ones too), linked together. Each piece keeps its own copy of the settings (transform, mask, effects, speed); later changes apply to the piece named. Returns the new timeline_id (edit that one next), what changed, and where each changed clip now sits.",
          "inputSchema": {
            "type": "object",
            "required": [
              "clip_id",
              "at_frame",
              "timeline_id"
            ],
            "properties": {
              "clip_id": {
                "type": "string"
              },
              "preview": {
                "enum": [
                  "inline",
                  "link",
                  "none"
                ],
                "type": "string",
                "default": "link",
                "description": "inline: image in the result; link: URI that renders on read; none"
              },
              "at_frame": {
                "type": "integer",
                "minimum": 0
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "Timeline handle; every edit returns a new one"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "timeline_id",
              "parent",
              "changed",
              "preview",
              "warnings"
            ],
            "properties": {
              "parent": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The version this edit started from"
              },
              "changed": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "type",
                    "change"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "end": {
                      "type": "integer"
                    },
                    "kind": {
                      "type": "string"
                    },
                    "type": {
                      "enum": [
                        "clip",
                        "track",
                        "transition",
                        "effects",
                        "master",
                        "sequence",
                        "name"
                      ],
                      "type": "string"
                    },
                    "start": {
                      "type": "integer"
                    },
                    "change": {
                      "enum": [
                        "added",
                        "removed",
                        "modified"
                      ],
                      "type": "string"
                    },
                    "track_id": {
                      "type": "string"
                    }
                  }
                },
                "description": "What the edit added, removed or modified; a clip or transition says its track and where it now sits (frames, end exclusive)"
              },
              "clip_id": {
                "type": "string",
                "description": "The clip this edit made or acted on (each tool says which)"
              },
              "preview": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "uri",
                      "frames",
                      "status"
                    ],
                    "properties": {
                      "uri": {
                        "type": "string"
                      },
                      "frames": {
                        "type": "array",
                        "items": {
                          "type": "integer",
                          "minimum": 0
                        },
                        "description": "Frames shown; for a waveform, the start and end of its span"
                      },
                      "status": {
                        "enum": [
                          "ready",
                          "pending"
                        ],
                        "type": "string"
                      },
                      "loudness": {
                        "type": "object",
                        "required": [
                          "lufs",
                          "true_peak_db"
                        ],
                        "properties": {
                          "lufs": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "true_peak_db": {
                            "type": [
                              "number",
                              "null"
                            ]
                          }
                        },
                        "description": "Measured for audio edits, over the waveform span"
                      }
                    }
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "clip_ids": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Every clip this edit made or acted on, linked ones included (each tool says which)"
              },
              "track_id": {
                "type": "string"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The new version: edit this one next (older ids stay valid)"
              }
            }
          },
          "annotations": {
            "title": "Split clip",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "clip.link",
          "title": "Link clips",
          "description": "Make clips move, trim and split together. Returns the new timeline_id (edit that one next), what changed, and where each changed clip now sits.",
          "inputSchema": {
            "type": "object",
            "required": [
              "clip_ids",
              "timeline_id"
            ],
            "properties": {
              "preview": {
                "enum": [
                  "inline",
                  "link",
                  "none"
                ],
                "type": "string",
                "default": "link",
                "description": "inline: image in the result; link: URI that renders on read; none"
              },
              "clip_ids": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "minItems": 2
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "Timeline handle; every edit returns a new one"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "timeline_id",
              "parent",
              "changed",
              "preview",
              "warnings"
            ],
            "properties": {
              "parent": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The version this edit started from"
              },
              "changed": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "type",
                    "change"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "end": {
                      "type": "integer"
                    },
                    "kind": {
                      "type": "string"
                    },
                    "type": {
                      "enum": [
                        "clip",
                        "track",
                        "transition",
                        "effects",
                        "master",
                        "sequence",
                        "name"
                      ],
                      "type": "string"
                    },
                    "start": {
                      "type": "integer"
                    },
                    "change": {
                      "enum": [
                        "added",
                        "removed",
                        "modified"
                      ],
                      "type": "string"
                    },
                    "track_id": {
                      "type": "string"
                    }
                  }
                },
                "description": "What the edit added, removed or modified; a clip or transition says its track and where it now sits (frames, end exclusive)"
              },
              "clip_id": {
                "type": "string",
                "description": "The clip this edit made or acted on (each tool says which)"
              },
              "preview": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "uri",
                      "frames",
                      "status"
                    ],
                    "properties": {
                      "uri": {
                        "type": "string"
                      },
                      "frames": {
                        "type": "array",
                        "items": {
                          "type": "integer",
                          "minimum": 0
                        },
                        "description": "Frames shown; for a waveform, the start and end of its span"
                      },
                      "status": {
                        "enum": [
                          "ready",
                          "pending"
                        ],
                        "type": "string"
                      },
                      "loudness": {
                        "type": "object",
                        "required": [
                          "lufs",
                          "true_peak_db"
                        ],
                        "properties": {
                          "lufs": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "true_peak_db": {
                            "type": [
                              "number",
                              "null"
                            ]
                          }
                        },
                        "description": "Measured for audio edits, over the waveform span"
                      }
                    }
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "clip_ids": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Every clip this edit made or acted on, linked ones included (each tool says which)"
              },
              "track_id": {
                "type": "string"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The new version: edit this one next (older ids stay valid)"
              }
            }
          },
          "annotations": {
            "title": "Link clips",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "clip.unlink",
          "title": "Unlink clip",
          "description": "Break the link group a clip belongs to. Returns the new timeline_id (edit that one next), what changed, and where each changed clip now sits.",
          "inputSchema": {
            "type": "object",
            "required": [
              "clip_id",
              "timeline_id"
            ],
            "properties": {
              "clip_id": {
                "type": "string"
              },
              "preview": {
                "enum": [
                  "inline",
                  "link",
                  "none"
                ],
                "type": "string",
                "default": "link",
                "description": "inline: image in the result; link: URI that renders on read; none"
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "Timeline handle; every edit returns a new one"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "timeline_id",
              "parent",
              "changed",
              "preview",
              "warnings"
            ],
            "properties": {
              "parent": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The version this edit started from"
              },
              "changed": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "type",
                    "change"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "end": {
                      "type": "integer"
                    },
                    "kind": {
                      "type": "string"
                    },
                    "type": {
                      "enum": [
                        "clip",
                        "track",
                        "transition",
                        "effects",
                        "master",
                        "sequence",
                        "name"
                      ],
                      "type": "string"
                    },
                    "start": {
                      "type": "integer"
                    },
                    "change": {
                      "enum": [
                        "added",
                        "removed",
                        "modified"
                      ],
                      "type": "string"
                    },
                    "track_id": {
                      "type": "string"
                    }
                  }
                },
                "description": "What the edit added, removed or modified; a clip or transition says its track and where it now sits (frames, end exclusive)"
              },
              "clip_id": {
                "type": "string",
                "description": "The clip this edit made or acted on (each tool says which)"
              },
              "preview": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "uri",
                      "frames",
                      "status"
                    ],
                    "properties": {
                      "uri": {
                        "type": "string"
                      },
                      "frames": {
                        "type": "array",
                        "items": {
                          "type": "integer",
                          "minimum": 0
                        },
                        "description": "Frames shown; for a waveform, the start and end of its span"
                      },
                      "status": {
                        "enum": [
                          "ready",
                          "pending"
                        ],
                        "type": "string"
                      },
                      "loudness": {
                        "type": "object",
                        "required": [
                          "lufs",
                          "true_peak_db"
                        ],
                        "properties": {
                          "lufs": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "true_peak_db": {
                            "type": [
                              "number",
                              "null"
                            ]
                          }
                        },
                        "description": "Measured for audio edits, over the waveform span"
                      }
                    }
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "clip_ids": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Every clip this edit made or acted on, linked ones included (each tool says which)"
              },
              "track_id": {
                "type": "string"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The new version: edit this one next (older ids stay valid)"
              }
            }
          },
          "annotations": {
            "title": "Unlink clip",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "clip.set_enabled",
          "title": "Enable/disable clip",
          "description": "A disabled clip stays on the timeline but renders as a gap. Returns the new timeline_id (edit that one next), what changed, and where each changed clip now sits.",
          "inputSchema": {
            "type": "object",
            "required": [
              "clip_id",
              "enabled",
              "timeline_id"
            ],
            "properties": {
              "clip_id": {
                "type": "string"
              },
              "enabled": {
                "type": "boolean"
              },
              "preview": {
                "enum": [
                  "inline",
                  "link",
                  "none"
                ],
                "type": "string",
                "default": "link",
                "description": "inline: image in the result; link: URI that renders on read; none"
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "Timeline handle; every edit returns a new one"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "timeline_id",
              "parent",
              "changed",
              "preview",
              "warnings"
            ],
            "properties": {
              "parent": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The version this edit started from"
              },
              "changed": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "type",
                    "change"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "end": {
                      "type": "integer"
                    },
                    "kind": {
                      "type": "string"
                    },
                    "type": {
                      "enum": [
                        "clip",
                        "track",
                        "transition",
                        "effects",
                        "master",
                        "sequence",
                        "name"
                      ],
                      "type": "string"
                    },
                    "start": {
                      "type": "integer"
                    },
                    "change": {
                      "enum": [
                        "added",
                        "removed",
                        "modified"
                      ],
                      "type": "string"
                    },
                    "track_id": {
                      "type": "string"
                    }
                  }
                },
                "description": "What the edit added, removed or modified; a clip or transition says its track and where it now sits (frames, end exclusive)"
              },
              "clip_id": {
                "type": "string",
                "description": "The clip this edit made or acted on (each tool says which)"
              },
              "preview": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "uri",
                      "frames",
                      "status"
                    ],
                    "properties": {
                      "uri": {
                        "type": "string"
                      },
                      "frames": {
                        "type": "array",
                        "items": {
                          "type": "integer",
                          "minimum": 0
                        },
                        "description": "Frames shown; for a waveform, the start and end of its span"
                      },
                      "status": {
                        "enum": [
                          "ready",
                          "pending"
                        ],
                        "type": "string"
                      },
                      "loudness": {
                        "type": "object",
                        "required": [
                          "lufs",
                          "true_peak_db"
                        ],
                        "properties": {
                          "lufs": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "true_peak_db": {
                            "type": [
                              "number",
                              "null"
                            ]
                          }
                        },
                        "description": "Measured for audio edits, over the waveform span"
                      }
                    }
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "clip_ids": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Every clip this edit made or acted on, linked ones included (each tool says which)"
              },
              "track_id": {
                "type": "string"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The new version: edit this one next (older ids stay valid)"
              }
            }
          },
          "annotations": {
            "title": "Enable/disable clip",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "clip.set_speed",
          "title": "Set speed",
          "description": "Speed up, slow down, ramp or reverse a clip and its linked clips. rate is constant; curve is a speed ramp over the clip. The clip keeps its source and its length changes; ripple (default) moves later clips. Pitch is kept unless preserve_pitch is false. Returns the new timeline_id (edit that one next), what changed, and where each changed clip now sits.",
          "inputSchema": {
            "type": "object",
            "required": [
              "clip_id",
              "timeline_id"
            ],
            "properties": {
              "rate": {
                "type": "number",
                "maximum": 100,
                "minimum": 0.05,
                "description": "Constant speed: 2 = twice as fast"
              },
              "curve": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "at",
                    "rate"
                  ],
                  "properties": {
                    "at": {
                      "type": "number",
                      "maximum": 1,
                      "minimum": 0
                    },
                    "rate": {
                      "type": "number",
                      "maximum": 100,
                      "minimum": 0.05
                    }
                  }
                },
                "maxItems": 32,
                "minItems": 2,
                "description": "Speed ramp: rates at fractions of the clip as it plays after the change (first at 0, last at 1; 0.5 is halfway through the new length), linear between. timeline.get gives each point its clip frame and source frame"
              },
              "ripple": {
                "type": "boolean",
                "default": true,
                "description": "Move later clips as the clip gets longer or shorter"
              },
              "clip_id": {
                "type": "string"
              },
              "preview": {
                "enum": [
                  "inline",
                  "link",
                  "none"
                ],
                "type": "string",
                "default": "link",
                "description": "inline: image in the result; link: URI that renders on read; none"
              },
              "reverse": {
                "type": "boolean"
              },
              "interpolate": {
                "enum": [
                  "none",
                  "blend",
                  "motion"
                ],
                "type": "string",
                "description": "Video, when it shows fewer new frames a second than the sequence (slowed, or a lower frame rate; rate 1 smooths that): none repeats frames; blend crossfades neighbours; motion makes new frames from the movement (minterpolate, slow). Made once as a job of its own (job.list); a render that needs it names the job until it is done, and an export waits. Up to 6000 frames a clip"
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "Timeline handle; every edit returns a new one"
              },
              "other_tracks": {
                "enum": [
                  "stay",
                  "sync"
                ],
                "type": "string",
                "default": "stay",
                "description": "Tracks holding neither this clip nor a clip linked to it (linked clips, such as its own sound, always change with it): what they do when this edit moves later clips. stay: they don't move, and the result warns which clips there now play early or late. sync: they get the same change, so titles, overlays and sound stay in step: time taken out here comes out of them too (like range.extract), time added here opens the same gap in them (clips crossing that point are split, as insert does). Locked tracks always stay"
              },
              "preserve_pitch": {
                "type": "boolean",
                "description": "Keep voices at their pitch (default true)"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "timeline_id",
              "parent",
              "changed",
              "preview",
              "warnings"
            ],
            "properties": {
              "parent": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The version this edit started from"
              },
              "changed": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "type",
                    "change"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "end": {
                      "type": "integer"
                    },
                    "kind": {
                      "type": "string"
                    },
                    "type": {
                      "enum": [
                        "clip",
                        "track",
                        "transition",
                        "effects",
                        "master",
                        "sequence",
                        "name"
                      ],
                      "type": "string"
                    },
                    "start": {
                      "type": "integer"
                    },
                    "change": {
                      "enum": [
                        "added",
                        "removed",
                        "modified"
                      ],
                      "type": "string"
                    },
                    "track_id": {
                      "type": "string"
                    }
                  }
                },
                "description": "What the edit added, removed or modified; a clip or transition says its track and where it now sits (frames, end exclusive)"
              },
              "clip_id": {
                "type": "string",
                "description": "The clip this edit made or acted on (each tool says which)"
              },
              "preview": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "uri",
                      "frames",
                      "status"
                    ],
                    "properties": {
                      "uri": {
                        "type": "string"
                      },
                      "frames": {
                        "type": "array",
                        "items": {
                          "type": "integer",
                          "minimum": 0
                        },
                        "description": "Frames shown; for a waveform, the start and end of its span"
                      },
                      "status": {
                        "enum": [
                          "ready",
                          "pending"
                        ],
                        "type": "string"
                      },
                      "loudness": {
                        "type": "object",
                        "required": [
                          "lufs",
                          "true_peak_db"
                        ],
                        "properties": {
                          "lufs": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "true_peak_db": {
                            "type": [
                              "number",
                              "null"
                            ]
                          }
                        },
                        "description": "Measured for audio edits, over the waveform span"
                      }
                    }
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "clip_ids": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Every clip this edit made or acted on, linked ones included (each tool says which)"
              },
              "track_id": {
                "type": "string"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The new version: edit this one next (older ids stay valid)"
              }
            }
          },
          "annotations": {
            "title": "Set speed",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "clip.freeze",
          "title": "Freeze frame",
          "description": "Hold the frame at at_frame for duration_frames: the clip splits there, a freeze frame goes in, and later clips on its tracks move later. Freezing a clip's last frame holds it after the clip, with silence under the hold. Returns the new timeline_id (edit that one next), what changed, and where each changed clip now sits.",
          "inputSchema": {
            "type": "object",
            "required": [
              "clip_id",
              "at_frame",
              "duration_frames",
              "timeline_id"
            ],
            "properties": {
              "clip_id": {
                "type": "string"
              },
              "preview": {
                "enum": [
                  "inline",
                  "link",
                  "none"
                ],
                "type": "string",
                "default": "link",
                "description": "inline: image in the result; link: URI that renders on read; none"
              },
              "at_frame": {
                "type": "integer",
                "minimum": 0,
                "description": "Timeline frame to hold"
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "Timeline handle; every edit returns a new one"
              },
              "other_tracks": {
                "enum": [
                  "stay",
                  "sync"
                ],
                "type": "string",
                "default": "stay",
                "description": "Tracks holding neither this clip nor a clip linked to it (linked clips, such as its own sound, always change with it): what they do when this edit moves later clips. stay: they don't move, and the result warns which clips there now play early or late. sync: they get the same change, so titles, overlays and sound stay in step: time taken out here comes out of them too (like range.extract), time added here opens the same gap in them (clips crossing that point are split, as insert does). Locked tracks always stay"
              },
              "duration_frames": {
                "type": "integer",
                "maximum": 1000000,
                "exclusiveMinimum": 0
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "timeline_id",
              "parent",
              "changed",
              "preview",
              "warnings"
            ],
            "properties": {
              "parent": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The version this edit started from"
              },
              "changed": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "type",
                    "change"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "end": {
                      "type": "integer"
                    },
                    "kind": {
                      "type": "string"
                    },
                    "type": {
                      "enum": [
                        "clip",
                        "track",
                        "transition",
                        "effects",
                        "master",
                        "sequence",
                        "name"
                      ],
                      "type": "string"
                    },
                    "start": {
                      "type": "integer"
                    },
                    "change": {
                      "enum": [
                        "added",
                        "removed",
                        "modified"
                      ],
                      "type": "string"
                    },
                    "track_id": {
                      "type": "string"
                    }
                  }
                },
                "description": "What the edit added, removed or modified; a clip or transition says its track and where it now sits (frames, end exclusive)"
              },
              "clip_id": {
                "type": "string",
                "description": "The clip this edit made or acted on (each tool says which)"
              },
              "preview": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "uri",
                      "frames",
                      "status"
                    ],
                    "properties": {
                      "uri": {
                        "type": "string"
                      },
                      "frames": {
                        "type": "array",
                        "items": {
                          "type": "integer",
                          "minimum": 0
                        },
                        "description": "Frames shown; for a waveform, the start and end of its span"
                      },
                      "status": {
                        "enum": [
                          "ready",
                          "pending"
                        ],
                        "type": "string"
                      },
                      "loudness": {
                        "type": "object",
                        "required": [
                          "lufs",
                          "true_peak_db"
                        ],
                        "properties": {
                          "lufs": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "true_peak_db": {
                            "type": [
                              "number",
                              "null"
                            ]
                          }
                        },
                        "description": "Measured for audio edits, over the waveform span"
                      }
                    }
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "clip_ids": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Every clip this edit made or acted on, linked ones included (each tool says which)"
              },
              "track_id": {
                "type": "string"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The new version: edit this one next (older ids stay valid)"
              }
            }
          },
          "annotations": {
            "title": "Freeze frame",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "clip.roll",
          "title": "Roll edit",
          "description": "Move the cut between a clip and the clip right after it: one gets longer, the other shorter, nothing else moves. Returns the new timeline_id (edit that one next), what changed, and where each changed clip now sits.",
          "inputSchema": {
            "type": "object",
            "required": [
              "clip_id",
              "to_frame",
              "timeline_id"
            ],
            "properties": {
              "clip_id": {
                "type": "string",
                "description": "The clip before the cut"
              },
              "preview": {
                "enum": [
                  "inline",
                  "link",
                  "none"
                ],
                "type": "string",
                "default": "link",
                "description": "inline: image in the result; link: URI that renders on read; none"
              },
              "to_frame": {
                "type": "integer",
                "minimum": 0,
                "description": "New position of the cut"
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "Timeline handle; every edit returns a new one"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "timeline_id",
              "parent",
              "changed",
              "preview",
              "warnings"
            ],
            "properties": {
              "parent": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The version this edit started from"
              },
              "changed": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "type",
                    "change"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "end": {
                      "type": "integer"
                    },
                    "kind": {
                      "type": "string"
                    },
                    "type": {
                      "enum": [
                        "clip",
                        "track",
                        "transition",
                        "effects",
                        "master",
                        "sequence",
                        "name"
                      ],
                      "type": "string"
                    },
                    "start": {
                      "type": "integer"
                    },
                    "change": {
                      "enum": [
                        "added",
                        "removed",
                        "modified"
                      ],
                      "type": "string"
                    },
                    "track_id": {
                      "type": "string"
                    }
                  }
                },
                "description": "What the edit added, removed or modified; a clip or transition says its track and where it now sits (frames, end exclusive)"
              },
              "clip_id": {
                "type": "string",
                "description": "The clip this edit made or acted on (each tool says which)"
              },
              "preview": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "uri",
                      "frames",
                      "status"
                    ],
                    "properties": {
                      "uri": {
                        "type": "string"
                      },
                      "frames": {
                        "type": "array",
                        "items": {
                          "type": "integer",
                          "minimum": 0
                        },
                        "description": "Frames shown; for a waveform, the start and end of its span"
                      },
                      "status": {
                        "enum": [
                          "ready",
                          "pending"
                        ],
                        "type": "string"
                      },
                      "loudness": {
                        "type": "object",
                        "required": [
                          "lufs",
                          "true_peak_db"
                        ],
                        "properties": {
                          "lufs": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "true_peak_db": {
                            "type": [
                              "number",
                              "null"
                            ]
                          }
                        },
                        "description": "Measured for audio edits, over the waveform span"
                      }
                    }
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "clip_ids": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Every clip this edit made or acted on, linked ones included (each tool says which)"
              },
              "track_id": {
                "type": "string"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The new version: edit this one next (older ids stay valid)"
              }
            }
          },
          "annotations": {
            "title": "Roll edit",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "clip.slip",
          "title": "Slip edit",
          "description": "Show earlier or later source in a clip without moving or resizing it. Returns the new timeline_id (edit that one next), what changed, and where each changed clip now sits.",
          "inputSchema": {
            "type": "object",
            "required": [
              "clip_id",
              "by_frames",
              "timeline_id"
            ],
            "properties": {
              "clip_id": {
                "type": "string"
              },
              "preview": {
                "enum": [
                  "inline",
                  "link",
                  "none"
                ],
                "type": "string",
                "default": "link",
                "description": "inline: image in the result; link: URI that renders on read; none"
              },
              "by_frames": {
                "type": "integer",
                "maximum": 10000000,
                "minimum": -10000000,
                "description": "Positive shows later source"
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "Timeline handle; every edit returns a new one"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "timeline_id",
              "parent",
              "changed",
              "preview",
              "warnings"
            ],
            "properties": {
              "parent": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The version this edit started from"
              },
              "changed": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "type",
                    "change"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "end": {
                      "type": "integer"
                    },
                    "kind": {
                      "type": "string"
                    },
                    "type": {
                      "enum": [
                        "clip",
                        "track",
                        "transition",
                        "effects",
                        "master",
                        "sequence",
                        "name"
                      ],
                      "type": "string"
                    },
                    "start": {
                      "type": "integer"
                    },
                    "change": {
                      "enum": [
                        "added",
                        "removed",
                        "modified"
                      ],
                      "type": "string"
                    },
                    "track_id": {
                      "type": "string"
                    }
                  }
                },
                "description": "What the edit added, removed or modified; a clip or transition says its track and where it now sits (frames, end exclusive)"
              },
              "clip_id": {
                "type": "string",
                "description": "The clip this edit made or acted on (each tool says which)"
              },
              "preview": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "uri",
                      "frames",
                      "status"
                    ],
                    "properties": {
                      "uri": {
                        "type": "string"
                      },
                      "frames": {
                        "type": "array",
                        "items": {
                          "type": "integer",
                          "minimum": 0
                        },
                        "description": "Frames shown; for a waveform, the start and end of its span"
                      },
                      "status": {
                        "enum": [
                          "ready",
                          "pending"
                        ],
                        "type": "string"
                      },
                      "loudness": {
                        "type": "object",
                        "required": [
                          "lufs",
                          "true_peak_db"
                        ],
                        "properties": {
                          "lufs": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "true_peak_db": {
                            "type": [
                              "number",
                              "null"
                            ]
                          }
                        },
                        "description": "Measured for audio edits, over the waveform span"
                      }
                    }
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "clip_ids": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Every clip this edit made or acted on, linked ones included (each tool says which)"
              },
              "track_id": {
                "type": "string"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The new version: edit this one next (older ids stay valid)"
              }
            }
          },
          "annotations": {
            "title": "Slip edit",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "clip.slide",
          "title": "Slide edit",
          "description": "Move a clip between its neighbours: the clip before it and the clip after it change length so nothing else moves. Returns the new timeline_id (edit that one next), what changed, and where each changed clip now sits.",
          "inputSchema": {
            "type": "object",
            "required": [
              "clip_id",
              "to_frame",
              "timeline_id"
            ],
            "properties": {
              "clip_id": {
                "type": "string"
              },
              "preview": {
                "enum": [
                  "inline",
                  "link",
                  "none"
                ],
                "type": "string",
                "default": "link",
                "description": "inline: image in the result; link: URI that renders on read; none"
              },
              "to_frame": {
                "type": "integer",
                "minimum": 0
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "Timeline handle; every edit returns a new one"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "timeline_id",
              "parent",
              "changed",
              "preview",
              "warnings"
            ],
            "properties": {
              "parent": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The version this edit started from"
              },
              "changed": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "type",
                    "change"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "end": {
                      "type": "integer"
                    },
                    "kind": {
                      "type": "string"
                    },
                    "type": {
                      "enum": [
                        "clip",
                        "track",
                        "transition",
                        "effects",
                        "master",
                        "sequence",
                        "name"
                      ],
                      "type": "string"
                    },
                    "start": {
                      "type": "integer"
                    },
                    "change": {
                      "enum": [
                        "added",
                        "removed",
                        "modified"
                      ],
                      "type": "string"
                    },
                    "track_id": {
                      "type": "string"
                    }
                  }
                },
                "description": "What the edit added, removed or modified; a clip or transition says its track and where it now sits (frames, end exclusive)"
              },
              "clip_id": {
                "type": "string",
                "description": "The clip this edit made or acted on (each tool says which)"
              },
              "preview": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "uri",
                      "frames",
                      "status"
                    ],
                    "properties": {
                      "uri": {
                        "type": "string"
                      },
                      "frames": {
                        "type": "array",
                        "items": {
                          "type": "integer",
                          "minimum": 0
                        },
                        "description": "Frames shown; for a waveform, the start and end of its span"
                      },
                      "status": {
                        "enum": [
                          "ready",
                          "pending"
                        ],
                        "type": "string"
                      },
                      "loudness": {
                        "type": "object",
                        "required": [
                          "lufs",
                          "true_peak_db"
                        ],
                        "properties": {
                          "lufs": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "true_peak_db": {
                            "type": [
                              "number",
                              "null"
                            ]
                          }
                        },
                        "description": "Measured for audio edits, over the waveform span"
                      }
                    }
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "clip_ids": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Every clip this edit made or acted on, linked ones included (each tool says which)"
              },
              "track_id": {
                "type": "string"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The new version: edit this one next (older ids stay valid)"
              }
            }
          },
          "annotations": {
            "title": "Slide edit",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "clip.replace",
          "title": "Replace media",
          "description": "Swap the media in a clip, keeping its place, length, speed and look. Starts at source_in (default 0). Its linked clips swap too (linked: false for this clip only); clip_ids lists every clip swapped. Returns the new timeline_id (edit that one next), what changed, and where each changed clip now sits.",
          "inputSchema": {
            "type": "object",
            "required": [
              "clip_id",
              "media_id",
              "timeline_id"
            ],
            "properties": {
              "linked": {
                "type": "boolean",
                "default": true,
                "description": "Also swap its linked clips (its sound, or its picture) onto the new media, keeping their offset, where the new media has that kind; false swaps this clip only"
              },
              "clip_id": {
                "type": "string"
              },
              "preview": {
                "enum": [
                  "inline",
                  "link",
                  "none"
                ],
                "type": "string",
                "default": "link",
                "description": "inline: image in the result; link: URI that renders on read; none"
              },
              "media_id": {
                "type": "string",
                "pattern": "^m_[0-9a-z]{26}$",
                "description": "Media handle from media.import or a create.* tool"
              },
              "source_in": {
                "type": "integer",
                "minimum": 0,
                "description": "Source frame the clip starts at. Default 0"
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "Timeline handle; every edit returns a new one"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "timeline_id",
              "parent",
              "changed",
              "preview",
              "warnings"
            ],
            "properties": {
              "parent": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The version this edit started from"
              },
              "changed": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "type",
                    "change"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "end": {
                      "type": "integer"
                    },
                    "kind": {
                      "type": "string"
                    },
                    "type": {
                      "enum": [
                        "clip",
                        "track",
                        "transition",
                        "effects",
                        "master",
                        "sequence",
                        "name"
                      ],
                      "type": "string"
                    },
                    "start": {
                      "type": "integer"
                    },
                    "change": {
                      "enum": [
                        "added",
                        "removed",
                        "modified"
                      ],
                      "type": "string"
                    },
                    "track_id": {
                      "type": "string"
                    }
                  }
                },
                "description": "What the edit added, removed or modified; a clip or transition says its track and where it now sits (frames, end exclusive)"
              },
              "clip_id": {
                "type": "string",
                "description": "The clip this edit made or acted on (each tool says which)"
              },
              "preview": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "uri",
                      "frames",
                      "status"
                    ],
                    "properties": {
                      "uri": {
                        "type": "string"
                      },
                      "frames": {
                        "type": "array",
                        "items": {
                          "type": "integer",
                          "minimum": 0
                        },
                        "description": "Frames shown; for a waveform, the start and end of its span"
                      },
                      "status": {
                        "enum": [
                          "ready",
                          "pending"
                        ],
                        "type": "string"
                      },
                      "loudness": {
                        "type": "object",
                        "required": [
                          "lufs",
                          "true_peak_db"
                        ],
                        "properties": {
                          "lufs": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "true_peak_db": {
                            "type": [
                              "number",
                              "null"
                            ]
                          }
                        },
                        "description": "Measured for audio edits, over the waveform span"
                      }
                    }
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "clip_ids": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Every clip this edit made or acted on, linked ones included (each tool says which)"
              },
              "track_id": {
                "type": "string"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The new version: edit this one next (older ids stay valid)"
              }
            }
          },
          "annotations": {
            "title": "Replace media",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "range.lift",
          "title": "Lift range",
          "description": "Remove everything in a frame range on the given tracks (default all unlocked, so a picture range takes the sound under it too: lock a track with track.set or name track_ids to keep it), leaving a gap. changed lists each clip removed or cut, with its track; a warning says when sound went with the picture. Returns the new timeline_id (edit that one next), what changed, and where each changed clip now sits.",
          "inputSchema": {
            "type": "object",
            "required": [
              "range",
              "timeline_id"
            ],
            "properties": {
              "range": {
                "type": "object",
                "required": [
                  "start",
                  "end"
                ],
                "properties": {
                  "end": {
                    "type": "integer",
                    "minimum": 0
                  },
                  "start": {
                    "type": "integer",
                    "minimum": 0
                  }
                },
                "description": "Timeline frames, end exclusive"
              },
              "preview": {
                "enum": [
                  "inline",
                  "link",
                  "none"
                ],
                "type": "string",
                "default": "link",
                "description": "inline: image in the result; link: URI that renders on read; none"
              },
              "track_ids": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "minItems": 1,
                "description": "Tracks to act on. Default: every unlocked track"
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "Timeline handle; every edit returns a new one"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "timeline_id",
              "parent",
              "changed",
              "preview",
              "warnings"
            ],
            "properties": {
              "parent": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The version this edit started from"
              },
              "changed": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "type",
                    "change"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "end": {
                      "type": "integer"
                    },
                    "kind": {
                      "type": "string"
                    },
                    "type": {
                      "enum": [
                        "clip",
                        "track",
                        "transition",
                        "effects",
                        "master",
                        "sequence",
                        "name"
                      ],
                      "type": "string"
                    },
                    "start": {
                      "type": "integer"
                    },
                    "change": {
                      "enum": [
                        "added",
                        "removed",
                        "modified"
                      ],
                      "type": "string"
                    },
                    "track_id": {
                      "type": "string"
                    }
                  }
                },
                "description": "What the edit added, removed or modified; a clip or transition says its track and where it now sits (frames, end exclusive)"
              },
              "clip_id": {
                "type": "string",
                "description": "The clip this edit made or acted on (each tool says which)"
              },
              "preview": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "uri",
                      "frames",
                      "status"
                    ],
                    "properties": {
                      "uri": {
                        "type": "string"
                      },
                      "frames": {
                        "type": "array",
                        "items": {
                          "type": "integer",
                          "minimum": 0
                        },
                        "description": "Frames shown; for a waveform, the start and end of its span"
                      },
                      "status": {
                        "enum": [
                          "ready",
                          "pending"
                        ],
                        "type": "string"
                      },
                      "loudness": {
                        "type": "object",
                        "required": [
                          "lufs",
                          "true_peak_db"
                        ],
                        "properties": {
                          "lufs": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "true_peak_db": {
                            "type": [
                              "number",
                              "null"
                            ]
                          }
                        },
                        "description": "Measured for audio edits, over the waveform span"
                      }
                    }
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "clip_ids": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Every clip this edit made or acted on, linked ones included (each tool says which)"
              },
              "track_id": {
                "type": "string"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The new version: edit this one next (older ids stay valid)"
              }
            }
          },
          "annotations": {
            "title": "Lift range",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "range.extract",
          "title": "Extract range",
          "description": "Remove everything in a frame range on the given tracks (default all unlocked, so a picture range takes the sound under it too: lock a track with track.set or name track_ids to keep it) and close the gap. For cutting out silences, filler words or mistakes across all tracks at once. changed lists each clip removed or cut, with its track; a warning says when sound went with the picture. Returns the new timeline_id (edit that one next), what changed, and where each changed clip now sits.",
          "inputSchema": {
            "type": "object",
            "required": [
              "range",
              "timeline_id"
            ],
            "properties": {
              "range": {
                "type": "object",
                "required": [
                  "start",
                  "end"
                ],
                "properties": {
                  "end": {
                    "type": "integer",
                    "minimum": 0
                  },
                  "start": {
                    "type": "integer",
                    "minimum": 0
                  }
                },
                "description": "Timeline frames, end exclusive"
              },
              "preview": {
                "enum": [
                  "inline",
                  "link",
                  "none"
                ],
                "type": "string",
                "default": "link",
                "description": "inline: image in the result; link: URI that renders on read; none"
              },
              "track_ids": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "minItems": 1,
                "description": "Tracks to act on. Default: every unlocked track"
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "Timeline handle; every edit returns a new one"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "timeline_id",
              "parent",
              "changed",
              "preview",
              "warnings"
            ],
            "properties": {
              "parent": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The version this edit started from"
              },
              "changed": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "type",
                    "change"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "end": {
                      "type": "integer"
                    },
                    "kind": {
                      "type": "string"
                    },
                    "type": {
                      "enum": [
                        "clip",
                        "track",
                        "transition",
                        "effects",
                        "master",
                        "sequence",
                        "name"
                      ],
                      "type": "string"
                    },
                    "start": {
                      "type": "integer"
                    },
                    "change": {
                      "enum": [
                        "added",
                        "removed",
                        "modified"
                      ],
                      "type": "string"
                    },
                    "track_id": {
                      "type": "string"
                    }
                  }
                },
                "description": "What the edit added, removed or modified; a clip or transition says its track and where it now sits (frames, end exclusive)"
              },
              "clip_id": {
                "type": "string",
                "description": "The clip this edit made or acted on (each tool says which)"
              },
              "preview": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "uri",
                      "frames",
                      "status"
                    ],
                    "properties": {
                      "uri": {
                        "type": "string"
                      },
                      "frames": {
                        "type": "array",
                        "items": {
                          "type": "integer",
                          "minimum": 0
                        },
                        "description": "Frames shown; for a waveform, the start and end of its span"
                      },
                      "status": {
                        "enum": [
                          "ready",
                          "pending"
                        ],
                        "type": "string"
                      },
                      "loudness": {
                        "type": "object",
                        "required": [
                          "lufs",
                          "true_peak_db"
                        ],
                        "properties": {
                          "lufs": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "true_peak_db": {
                            "type": [
                              "number",
                              "null"
                            ]
                          }
                        },
                        "description": "Measured for audio edits, over the waveform span"
                      }
                    }
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "clip_ids": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Every clip this edit made or acted on, linked ones included (each tool says which)"
              },
              "track_id": {
                "type": "string"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The new version: edit this one next (older ids stay valid)"
              }
            }
          },
          "annotations": {
            "title": "Extract range",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "title.add",
          "title": "Add title",
          "description": "Text on a video track, over the tracks below: styled with font, size, colour, outline, shadow and box, placed by x/y, revealed with a typewriter or word animation. A style field you leave out takes the published default (video://catalog/text: bold white Inter at 9% of the frame height, centred, with a soft shadow); timeline.get shows the full style. spans style part of the text (words first_word to last_word, from 0: one word in yellow or bold). It is a clip, so transforms, masks, animations and transitions apply. Returns the new timeline_id (edit that one next), what changed, and where each changed clip now sits.",
          "inputSchema": {
            "type": "object",
            "$defs": {
              "TextSpan": {
                "type": "object",
                "required": [
                  "first_word",
                  "last_word"
                ],
                "properties": {
                  "bold": {
                    "type": "boolean"
                  },
                  "size": {
                    "type": "number",
                    "maximum": 1,
                    "minimum": 0.005,
                    "description": "Of frame height"
                  },
                  "color": {
                    "type": "string",
                    "description": "#RRGGBB, or #RRGGBBAA where AA is opacity (00 clear, FF solid)"
                  },
                  "italic": {
                    "type": "boolean"
                  },
                  "last_word": {
                    "type": "integer",
                    "maximum": 10000,
                    "minimum": 0
                  },
                  "underline": {
                    "type": "boolean"
                  },
                  "first_word": {
                    "type": "integer",
                    "maximum": 10000,
                    "minimum": 0
                  }
                }
              },
              "TextStyle": {
                "type": "object",
                "properties": {
                  "x": {
                    "type": "number",
                    "maximum": 2,
                    "minimum": -1,
                    "description": "Of frame width, 0 = left: where the text sits, by its align side"
                  },
                  "y": {
                    "type": "number",
                    "maximum": 2,
                    "minimum": -1,
                    "description": "Of frame height, 0 = top: where the anchor edge of the text sits"
                  },
                  "box": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "color",
                          "padding"
                        ],
                        "properties": {
                          "color": {
                            "type": "string",
                            "description": "#RRGGBB, or #RRGGBBAA where AA is opacity (00 clear, FF solid)"
                          },
                          "padding": {
                            "type": "number",
                            "maximum": 1,
                            "minimum": 0
                          }
                        }
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "bold": {
                    "type": "boolean"
                  },
                  "font": {
                    "type": "string",
                    "maxLength": 100,
                    "minLength": 1,
                    "description": "Installed: Inter, Montserrat, Open Sans, Lato, Bebas Neue, Lobster Two, Comic Neue, Fira Code, DejaVu Sans, Serif and Mono, Noto for most scripts (video://catalog/fonts lists all); another font: font_media_id"
                  },
                  "size": {
                    "type": "number",
                    "maximum": 1,
                    "minimum": 0.005,
                    "description": "Of frame height"
                  },
                  "align": {
                    "enum": [
                      "left",
                      "center",
                      "right"
                    ],
                    "type": "string"
                  },
                  "color": {
                    "type": "string",
                    "description": "#RRGGBB, or #RRGGBBAA where AA is opacity (00 clear, FF solid)"
                  },
                  "anchor": {
                    "enum": [
                      "top",
                      "middle",
                      "bottom"
                    ],
                    "type": "string",
                    "description": "Which edge of the text sits on y (titles default middle, captions bottom)"
                  },
                  "italic": {
                    "type": "boolean"
                  },
                  "reveal": {
                    "enum": [
                      "none",
                      "typewriter",
                      "word_fade",
                      "word_pop"
                    ],
                    "type": "string"
                  },
                  "shadow": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "color",
                          "distance"
                        ],
                        "properties": {
                          "blur": {
                            "type": "number",
                            "maximum": 0.5,
                            "minimum": 0
                          },
                          "color": {
                            "type": "string",
                            "description": "#RRGGBB, or #RRGGBBAA where AA is opacity (00 clear, FF solid)"
                          },
                          "distance": {
                            "type": "number",
                            "maximum": 0.5,
                            "minimum": 0
                          }
                        }
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "outline": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "color",
                          "width"
                        ],
                        "properties": {
                          "color": {
                            "type": "string",
                            "description": "#RRGGBB, or #RRGGBBAA where AA is opacity (00 clear, FF solid)"
                          },
                          "width": {
                            "type": "number",
                            "maximum": 0.5,
                            "minimum": 0
                          }
                        }
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "highlight": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "mode",
                          "color"
                        ],
                        "properties": {
                          "mode": {
                            "enum": [
                              "none",
                              "fill",
                              "word",
                              "karaoke",
                              "pop"
                            ],
                            "type": "string",
                            "description": "Needs caption word timings. karaoke: each word takes color as it is spoken and keeps it; fill: likewise, sweeping across each word; word: only the word being spoken; pop: that word, growing a little"
                          },
                          "color": {
                            "type": "string",
                            "description": "#RRGGBB, or #RRGGBBAA where AA is opacity (00 clear, FF solid)"
                          }
                        }
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "max_lines": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 20,
                        "minimum": 1
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "description": "At most this many lines at once: longer text shows in turn, a screenful at a time, each from its first word (by word timing, or by length without it). Lines are broken here, by the font, balanced in length; null shows it all at once"
                  },
                  "max_width": {
                    "type": "number",
                    "maximum": 1,
                    "minimum": 0.05,
                    "description": "Of frame width: longer text wraps onto more lines, balanced in length"
                  },
                  "underline": {
                    "type": "boolean"
                  },
                  "font_media_id": {
                    "type": "string",
                    "pattern": "^m_[0-9a-z]{26}$",
                    "description": "An imported font"
                  },
                  "reveal_frames": {
                    "type": "integer",
                    "maximum": 10000,
                    "minimum": 1
                  },
                  "letter_spacing": {
                    "type": "number",
                    "maximum": 2,
                    "minimum": -0.5
                  }
                }
              }
            },
            "required": [
              "track_id",
              "text",
              "timeline_id"
            ],
            "properties": {
              "text": {
                "type": "string",
                "maxLength": 2000,
                "minLength": 1,
                "description": "Line breaks with \\n"
              },
              "spans": {
                "type": "array",
                "items": {
                  "$ref": "#/$defs/TextSpan"
                },
                "maxItems": 500,
                "description": "Style part of the text: each span restyles words first_word to last_word (from 0: the timed words, or the text split at spaces), e.g. one word in yellow"
              },
              "style": {
                "$ref": "#/$defs/TextStyle"
              },
              "preview": {
                "enum": [
                  "inline",
                  "link",
                  "none"
                ],
                "type": "string",
                "default": "link",
                "description": "inline: image in the result; link: URI that renders on read; none"
              },
              "at_frame": {
                "type": "integer",
                "minimum": 0,
                "description": "Default: after the last clip on the track"
              },
              "track_id": {
                "type": "string",
                "description": "A video track; text composites over the tracks below"
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "Timeline handle; every edit returns a new one"
              },
              "duration_frames": {
                "type": "integer",
                "maximum": 1000000,
                "description": "Default 3 s",
                "exclusiveMinimum": 0
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "timeline_id",
              "parent",
              "changed",
              "preview",
              "warnings"
            ],
            "properties": {
              "parent": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The version this edit started from"
              },
              "changed": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "type",
                    "change"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "end": {
                      "type": "integer"
                    },
                    "kind": {
                      "type": "string"
                    },
                    "type": {
                      "enum": [
                        "clip",
                        "track",
                        "transition",
                        "effects",
                        "master",
                        "sequence",
                        "name"
                      ],
                      "type": "string"
                    },
                    "start": {
                      "type": "integer"
                    },
                    "change": {
                      "enum": [
                        "added",
                        "removed",
                        "modified"
                      ],
                      "type": "string"
                    },
                    "track_id": {
                      "type": "string"
                    }
                  }
                },
                "description": "What the edit added, removed or modified; a clip or transition says its track and where it now sits (frames, end exclusive)"
              },
              "clip_id": {
                "type": "string",
                "description": "The clip this edit made or acted on (each tool says which)"
              },
              "preview": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "uri",
                      "frames",
                      "status"
                    ],
                    "properties": {
                      "uri": {
                        "type": "string"
                      },
                      "frames": {
                        "type": "array",
                        "items": {
                          "type": "integer",
                          "minimum": 0
                        },
                        "description": "Frames shown; for a waveform, the start and end of its span"
                      },
                      "status": {
                        "enum": [
                          "ready",
                          "pending"
                        ],
                        "type": "string"
                      },
                      "loudness": {
                        "type": "object",
                        "required": [
                          "lufs",
                          "true_peak_db"
                        ],
                        "properties": {
                          "lufs": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "true_peak_db": {
                            "type": [
                              "number",
                              "null"
                            ]
                          }
                        },
                        "description": "Measured for audio edits, over the waveform span"
                      }
                    }
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "clip_ids": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Every clip this edit made or acted on, linked ones included (each tool says which)"
              },
              "track_id": {
                "type": "string"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The new version: edit this one next (older ids stay valid)"
              }
            }
          },
          "annotations": {
            "title": "Add title",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "caption.add",
          "title": "Add captions",
          "description": "Captions on a video track from segments (with optional word timings for highlights), from SRT/VTT text, or in_clip: segments timed in seconds of a clip's media, such as transcript word times, placed where they play. One clip per caption; returns their clip_ids. A style field you leave out takes the published default (video://catalog/text: bold white Inter at 6% of the frame height, near the bottom, with a black outline); timeline.get shows the full style. Lines wrap on their own at style max_width (a fraction of the frame width), balanced in length; \\n forces a break. style max_lines caps the lines on screen at once: a longer caption shows a screenful at a time, each from its first word's time. A segment's spans style part of its text (words first_word to last_word, from 0: the timed words, or the text split at spaces), e.g. the key word in yellow. Burned in when exported. Returns the new timeline_id (edit that one next), what changed, and where each changed clip now sits.",
          "inputSchema": {
            "type": "object",
            "$defs": {
              "TextSpan": {
                "type": "object",
                "required": [
                  "first_word",
                  "last_word"
                ],
                "properties": {
                  "bold": {
                    "type": "boolean"
                  },
                  "size": {
                    "type": "number",
                    "maximum": 1,
                    "minimum": 0.005,
                    "description": "Of frame height"
                  },
                  "color": {
                    "type": "string",
                    "description": "#RRGGBB, or #RRGGBBAA where AA is opacity (00 clear, FF solid)"
                  },
                  "italic": {
                    "type": "boolean"
                  },
                  "last_word": {
                    "type": "integer",
                    "maximum": 10000,
                    "minimum": 0
                  },
                  "underline": {
                    "type": "boolean"
                  },
                  "first_word": {
                    "type": "integer",
                    "maximum": 10000,
                    "minimum": 0
                  }
                }
              },
              "TextStyle": {
                "type": "object",
                "properties": {
                  "x": {
                    "type": "number",
                    "maximum": 2,
                    "minimum": -1,
                    "description": "Of frame width, 0 = left: where the text sits, by its align side"
                  },
                  "y": {
                    "type": "number",
                    "maximum": 2,
                    "minimum": -1,
                    "description": "Of frame height, 0 = top: where the anchor edge of the text sits"
                  },
                  "box": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "color",
                          "padding"
                        ],
                        "properties": {
                          "color": {
                            "type": "string",
                            "description": "#RRGGBB, or #RRGGBBAA where AA is opacity (00 clear, FF solid)"
                          },
                          "padding": {
                            "type": "number",
                            "maximum": 1,
                            "minimum": 0
                          }
                        }
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "bold": {
                    "type": "boolean"
                  },
                  "font": {
                    "type": "string",
                    "maxLength": 100,
                    "minLength": 1,
                    "description": "Installed: Inter, Montserrat, Open Sans, Lato, Bebas Neue, Lobster Two, Comic Neue, Fira Code, DejaVu Sans, Serif and Mono, Noto for most scripts (video://catalog/fonts lists all); another font: font_media_id"
                  },
                  "size": {
                    "type": "number",
                    "maximum": 1,
                    "minimum": 0.005,
                    "description": "Of frame height"
                  },
                  "align": {
                    "enum": [
                      "left",
                      "center",
                      "right"
                    ],
                    "type": "string"
                  },
                  "color": {
                    "type": "string",
                    "description": "#RRGGBB, or #RRGGBBAA where AA is opacity (00 clear, FF solid)"
                  },
                  "anchor": {
                    "enum": [
                      "top",
                      "middle",
                      "bottom"
                    ],
                    "type": "string",
                    "description": "Which edge of the text sits on y (titles default middle, captions bottom)"
                  },
                  "italic": {
                    "type": "boolean"
                  },
                  "reveal": {
                    "enum": [
                      "none",
                      "typewriter",
                      "word_fade",
                      "word_pop"
                    ],
                    "type": "string"
                  },
                  "shadow": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "color",
                          "distance"
                        ],
                        "properties": {
                          "blur": {
                            "type": "number",
                            "maximum": 0.5,
                            "minimum": 0
                          },
                          "color": {
                            "type": "string",
                            "description": "#RRGGBB, or #RRGGBBAA where AA is opacity (00 clear, FF solid)"
                          },
                          "distance": {
                            "type": "number",
                            "maximum": 0.5,
                            "minimum": 0
                          }
                        }
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "outline": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "color",
                          "width"
                        ],
                        "properties": {
                          "color": {
                            "type": "string",
                            "description": "#RRGGBB, or #RRGGBBAA where AA is opacity (00 clear, FF solid)"
                          },
                          "width": {
                            "type": "number",
                            "maximum": 0.5,
                            "minimum": 0
                          }
                        }
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "highlight": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "mode",
                          "color"
                        ],
                        "properties": {
                          "mode": {
                            "enum": [
                              "none",
                              "fill",
                              "word",
                              "karaoke",
                              "pop"
                            ],
                            "type": "string",
                            "description": "Needs caption word timings. karaoke: each word takes color as it is spoken and keeps it; fill: likewise, sweeping across each word; word: only the word being spoken; pop: that word, growing a little"
                          },
                          "color": {
                            "type": "string",
                            "description": "#RRGGBB, or #RRGGBBAA where AA is opacity (00 clear, FF solid)"
                          }
                        }
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "max_lines": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 20,
                        "minimum": 1
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "description": "At most this many lines at once: longer text shows in turn, a screenful at a time, each from its first word (by word timing, or by length without it). Lines are broken here, by the font, balanced in length; null shows it all at once"
                  },
                  "max_width": {
                    "type": "number",
                    "maximum": 1,
                    "minimum": 0.05,
                    "description": "Of frame width: longer text wraps onto more lines, balanced in length"
                  },
                  "underline": {
                    "type": "boolean"
                  },
                  "font_media_id": {
                    "type": "string",
                    "pattern": "^m_[0-9a-z]{26}$",
                    "description": "An imported font"
                  },
                  "reveal_frames": {
                    "type": "integer",
                    "maximum": 10000,
                    "minimum": 1
                  },
                  "letter_spacing": {
                    "type": "number",
                    "maximum": 2,
                    "minimum": -0.5
                  }
                }
              }
            },
            "required": [
              "track_id",
              "timeline_id"
            ],
            "properties": {
              "srt": {
                "type": "string",
                "maxLength": 2000000,
                "description": "SubRip text instead of segments"
              },
              "vtt": {
                "type": "string",
                "maxLength": 2000000,
                "description": "WebVTT text instead of segments"
              },
              "style": {
                "$ref": "#/$defs/TextStyle"
              },
              "in_clip": {
                "type": "object",
                "required": [
                  "clip_id",
                  "segments"
                ],
                "properties": {
                  "clip_id": {
                    "type": "string"
                  },
                  "segments": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "start",
                        "end",
                        "text"
                      ],
                      "properties": {
                        "end": {
                          "type": "number",
                          "minimum": 0
                        },
                        "text": {
                          "type": "string",
                          "maxLength": 2000,
                          "minLength": 1
                        },
                        "spans": {
                          "type": "array",
                          "items": {
                            "$ref": "#/$defs/TextSpan"
                          },
                          "maxItems": 500,
                          "description": "Style part of the text: each span restyles words first_word to last_word (from 0: the timed words, or the text split at spaces), e.g. one word in yellow"
                        },
                        "start": {
                          "type": "number",
                          "minimum": 0
                        },
                        "words": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "text",
                              "start",
                              "end"
                            ],
                            "properties": {
                              "end": {
                                "type": "number",
                                "minimum": 0
                              },
                              "text": {
                                "type": "string",
                                "maxLength": 200,
                                "minLength": 1
                              },
                              "start": {
                                "type": "number",
                                "minimum": 0
                              }
                            }
                          },
                          "maxItems": 500
                        }
                      }
                    },
                    "maxItems": 5000,
                    "minItems": 1
                  }
                },
                "description": "Segments timed in seconds of a clip's media (e.g. transcript word times), placed where those moments play in the clip, through speed changes; what doesn't play is left out"
              },
              "preview": {
                "enum": [
                  "inline",
                  "link",
                  "none"
                ],
                "type": "string",
                "default": "link",
                "description": "inline: image in the result; link: URI that renders on read; none"
              },
              "segments": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "start_frame",
                    "end_frame",
                    "text"
                  ],
                  "properties": {
                    "text": {
                      "type": "string",
                      "maxLength": 2000,
                      "minLength": 1
                    },
                    "spans": {
                      "type": "array",
                      "items": {
                        "$ref": "#/$defs/TextSpan"
                      },
                      "maxItems": 500,
                      "description": "Style part of the text: each span restyles words first_word to last_word (from 0: the timed words, or the text split at spaces), e.g. one word in yellow"
                    },
                    "words": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "text",
                          "start_frame",
                          "end_frame"
                        ],
                        "properties": {
                          "text": {
                            "type": "string",
                            "maxLength": 200,
                            "minLength": 1
                          },
                          "end_frame": {
                            "type": "integer",
                            "minimum": 0
                          },
                          "start_frame": {
                            "type": "integer",
                            "minimum": 0
                          }
                        }
                      },
                      "maxItems": 500,
                      "description": "Word timings for highlights, timeline frames"
                    },
                    "end_frame": {
                      "type": "integer",
                      "minimum": 0
                    },
                    "start_frame": {
                      "type": "integer",
                      "minimum": 0
                    }
                  }
                },
                "maxItems": 5000
              },
              "track_id": {
                "type": "string",
                "description": "A video track for the captions, usually the top one"
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "Timeline handle; every edit returns a new one"
              },
              "offset_frames": {
                "type": "integer",
                "default": 0,
                "maximum": 1000000,
                "minimum": -1000000,
                "description": "Shifts srt/vtt times"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "timeline_id",
              "parent",
              "changed",
              "preview",
              "warnings"
            ],
            "properties": {
              "parent": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The version this edit started from"
              },
              "changed": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "type",
                    "change"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "end": {
                      "type": "integer"
                    },
                    "kind": {
                      "type": "string"
                    },
                    "type": {
                      "enum": [
                        "clip",
                        "track",
                        "transition",
                        "effects",
                        "master",
                        "sequence",
                        "name"
                      ],
                      "type": "string"
                    },
                    "start": {
                      "type": "integer"
                    },
                    "change": {
                      "enum": [
                        "added",
                        "removed",
                        "modified"
                      ],
                      "type": "string"
                    },
                    "track_id": {
                      "type": "string"
                    }
                  }
                },
                "description": "What the edit added, removed or modified; a clip or transition says its track and where it now sits (frames, end exclusive)"
              },
              "clip_id": {
                "type": "string",
                "description": "The clip this edit made or acted on (each tool says which)"
              },
              "preview": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "uri",
                      "frames",
                      "status"
                    ],
                    "properties": {
                      "uri": {
                        "type": "string"
                      },
                      "frames": {
                        "type": "array",
                        "items": {
                          "type": "integer",
                          "minimum": 0
                        },
                        "description": "Frames shown; for a waveform, the start and end of its span"
                      },
                      "status": {
                        "enum": [
                          "ready",
                          "pending"
                        ],
                        "type": "string"
                      },
                      "loudness": {
                        "type": "object",
                        "required": [
                          "lufs",
                          "true_peak_db"
                        ],
                        "properties": {
                          "lufs": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "true_peak_db": {
                            "type": [
                              "number",
                              "null"
                            ]
                          }
                        },
                        "description": "Measured for audio edits, over the waveform span"
                      }
                    }
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "clip_ids": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Every clip this edit made or acted on, linked ones included (each tool says which)"
              },
              "track_id": {
                "type": "string"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The new version: edit this one next (older ids stay valid)"
              }
            }
          },
          "annotations": {
            "title": "Add captions",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "text.set",
          "title": "Set text",
          "description": "Change a title's or caption's text, or restyle many at once (clip_ids, or every one on track_id). The style is merged; null turns an outline, shadow, box or highlight off (and max_lines back to all lines). spans (one clip) restyle part of its text. Fonts: video://catalog/fonts, or an unknown font is refused with the close matches. Returns the new timeline_id (edit that one next), what changed, and where each changed clip now sits.",
          "inputSchema": {
            "type": "object",
            "$defs": {
              "TextSpan": {
                "type": "object",
                "required": [
                  "first_word",
                  "last_word"
                ],
                "properties": {
                  "bold": {
                    "type": "boolean"
                  },
                  "size": {
                    "type": "number",
                    "maximum": 1,
                    "minimum": 0.005,
                    "description": "Of frame height"
                  },
                  "color": {
                    "type": "string",
                    "description": "#RRGGBB, or #RRGGBBAA where AA is opacity (00 clear, FF solid)"
                  },
                  "italic": {
                    "type": "boolean"
                  },
                  "last_word": {
                    "type": "integer",
                    "maximum": 10000,
                    "minimum": 0
                  },
                  "underline": {
                    "type": "boolean"
                  },
                  "first_word": {
                    "type": "integer",
                    "maximum": 10000,
                    "minimum": 0
                  }
                }
              },
              "TextStyle": {
                "type": "object",
                "properties": {
                  "x": {
                    "type": "number",
                    "maximum": 2,
                    "minimum": -1,
                    "description": "Of frame width, 0 = left: where the text sits, by its align side"
                  },
                  "y": {
                    "type": "number",
                    "maximum": 2,
                    "minimum": -1,
                    "description": "Of frame height, 0 = top: where the anchor edge of the text sits"
                  },
                  "box": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "color",
                          "padding"
                        ],
                        "properties": {
                          "color": {
                            "type": "string",
                            "description": "#RRGGBB, or #RRGGBBAA where AA is opacity (00 clear, FF solid)"
                          },
                          "padding": {
                            "type": "number",
                            "maximum": 1,
                            "minimum": 0
                          }
                        }
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "bold": {
                    "type": "boolean"
                  },
                  "font": {
                    "type": "string",
                    "maxLength": 100,
                    "minLength": 1,
                    "description": "Installed: Inter, Montserrat, Open Sans, Lato, Bebas Neue, Lobster Two, Comic Neue, Fira Code, DejaVu Sans, Serif and Mono, Noto for most scripts (video://catalog/fonts lists all); another font: font_media_id"
                  },
                  "size": {
                    "type": "number",
                    "maximum": 1,
                    "minimum": 0.005,
                    "description": "Of frame height"
                  },
                  "align": {
                    "enum": [
                      "left",
                      "center",
                      "right"
                    ],
                    "type": "string"
                  },
                  "color": {
                    "type": "string",
                    "description": "#RRGGBB, or #RRGGBBAA where AA is opacity (00 clear, FF solid)"
                  },
                  "anchor": {
                    "enum": [
                      "top",
                      "middle",
                      "bottom"
                    ],
                    "type": "string",
                    "description": "Which edge of the text sits on y (titles default middle, captions bottom)"
                  },
                  "italic": {
                    "type": "boolean"
                  },
                  "reveal": {
                    "enum": [
                      "none",
                      "typewriter",
                      "word_fade",
                      "word_pop"
                    ],
                    "type": "string"
                  },
                  "shadow": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "color",
                          "distance"
                        ],
                        "properties": {
                          "blur": {
                            "type": "number",
                            "maximum": 0.5,
                            "minimum": 0
                          },
                          "color": {
                            "type": "string",
                            "description": "#RRGGBB, or #RRGGBBAA where AA is opacity (00 clear, FF solid)"
                          },
                          "distance": {
                            "type": "number",
                            "maximum": 0.5,
                            "minimum": 0
                          }
                        }
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "outline": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "color",
                          "width"
                        ],
                        "properties": {
                          "color": {
                            "type": "string",
                            "description": "#RRGGBB, or #RRGGBBAA where AA is opacity (00 clear, FF solid)"
                          },
                          "width": {
                            "type": "number",
                            "maximum": 0.5,
                            "minimum": 0
                          }
                        }
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "highlight": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "mode",
                          "color"
                        ],
                        "properties": {
                          "mode": {
                            "enum": [
                              "none",
                              "fill",
                              "word",
                              "karaoke",
                              "pop"
                            ],
                            "type": "string",
                            "description": "Needs caption word timings. karaoke: each word takes color as it is spoken and keeps it; fill: likewise, sweeping across each word; word: only the word being spoken; pop: that word, growing a little"
                          },
                          "color": {
                            "type": "string",
                            "description": "#RRGGBB, or #RRGGBBAA where AA is opacity (00 clear, FF solid)"
                          }
                        }
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "max_lines": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 20,
                        "minimum": 1
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "description": "At most this many lines at once: longer text shows in turn, a screenful at a time, each from its first word (by word timing, or by length without it). Lines are broken here, by the font, balanced in length; null shows it all at once"
                  },
                  "max_width": {
                    "type": "number",
                    "maximum": 1,
                    "minimum": 0.05,
                    "description": "Of frame width: longer text wraps onto more lines, balanced in length"
                  },
                  "underline": {
                    "type": "boolean"
                  },
                  "font_media_id": {
                    "type": "string",
                    "pattern": "^m_[0-9a-z]{26}$",
                    "description": "An imported font"
                  },
                  "reveal_frames": {
                    "type": "integer",
                    "maximum": 10000,
                    "minimum": 1
                  },
                  "letter_spacing": {
                    "type": "number",
                    "maximum": 2,
                    "minimum": -0.5
                  }
                }
              }
            },
            "required": [
              "timeline_id"
            ],
            "properties": {
              "text": {
                "type": "string",
                "maxLength": 2000,
                "minLength": 1,
                "description": "Only with a single clip"
              },
              "spans": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/$defs/TextSpan"
                    },
                    "maxItems": 500,
                    "description": "Style part of the text: each span restyles words first_word to last_word (from 0: the timed words, or the text split at spaces), e.g. one word in yellow"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Only with a single clip: replaces its spans (null removes them). New text drops spans it doesn't give"
              },
              "style": {
                "$ref": "#/$defs/TextStyle",
                "description": "Merged into each clip's style; null fields reset"
              },
              "preview": {
                "enum": [
                  "inline",
                  "link",
                  "none"
                ],
                "type": "string",
                "default": "link",
                "description": "inline: image in the result; link: URI that renders on read; none"
              },
              "clip_ids": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "maxItems": 5000,
                "minItems": 1,
                "description": "Titles or captions"
              },
              "track_id": {
                "type": "string",
                "description": "Instead of clip_ids: every title and caption on a track"
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "Timeline handle; every edit returns a new one"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "timeline_id",
              "parent",
              "changed",
              "preview",
              "warnings"
            ],
            "properties": {
              "parent": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The version this edit started from"
              },
              "changed": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "type",
                    "change"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "end": {
                      "type": "integer"
                    },
                    "kind": {
                      "type": "string"
                    },
                    "type": {
                      "enum": [
                        "clip",
                        "track",
                        "transition",
                        "effects",
                        "master",
                        "sequence",
                        "name"
                      ],
                      "type": "string"
                    },
                    "start": {
                      "type": "integer"
                    },
                    "change": {
                      "enum": [
                        "added",
                        "removed",
                        "modified"
                      ],
                      "type": "string"
                    },
                    "track_id": {
                      "type": "string"
                    }
                  }
                },
                "description": "What the edit added, removed or modified; a clip or transition says its track and where it now sits (frames, end exclusive)"
              },
              "clip_id": {
                "type": "string",
                "description": "The clip this edit made or acted on (each tool says which)"
              },
              "preview": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "uri",
                      "frames",
                      "status"
                    ],
                    "properties": {
                      "uri": {
                        "type": "string"
                      },
                      "frames": {
                        "type": "array",
                        "items": {
                          "type": "integer",
                          "minimum": 0
                        },
                        "description": "Frames shown; for a waveform, the start and end of its span"
                      },
                      "status": {
                        "enum": [
                          "ready",
                          "pending"
                        ],
                        "type": "string"
                      },
                      "loudness": {
                        "type": "object",
                        "required": [
                          "lufs",
                          "true_peak_db"
                        ],
                        "properties": {
                          "lufs": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "true_peak_db": {
                            "type": [
                              "number",
                              "null"
                            ]
                          }
                        },
                        "description": "Measured for audio edits, over the waveform span"
                      }
                    }
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "clip_ids": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Every clip this edit made or acted on, linked ones included (each tool says which)"
              },
              "track_id": {
                "type": "string"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The new version: edit this one next (older ids stay valid)"
              }
            }
          },
          "annotations": {
            "title": "Set text",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "audio.set_gain",
          "title": "Set gain",
          "description": "Volume of an audio clip (or a video clip's linked audio) in dB; keyframes ride it up and down. The preview is a waveform of the clip; with preview inline it also carries the measured loudness (preview.loudness), a link preview does not. Returns the new timeline_id (edit that one next), what changed, and where each changed clip now sits.",
          "inputSchema": {
            "type": "object",
            "$defs": {
              "Animatable": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "object",
                    "required": [
                      "keyframes"
                    ],
                    "properties": {
                      "keyframes": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "frame",
                            "value"
                          ],
                          "properties": {
                            "ease": {
                              "enum": [
                                "linear",
                                "hold",
                                "smooth",
                                "sine_in",
                                "sine_out",
                                "sine_in_out",
                                "quad_in",
                                "quad_out",
                                "quad_in_out",
                                "cubic_in",
                                "cubic_out",
                                "cubic_in_out",
                                "quart_in",
                                "quart_out",
                                "quart_in_out",
                                "quint_in",
                                "quint_out",
                                "quint_in_out",
                                "expo_in",
                                "expo_out",
                                "expo_in_out",
                                "circ_in",
                                "circ_out",
                                "circ_in_out",
                                "back_in",
                                "back_out",
                                "back_in_out",
                                "elastic_in",
                                "elastic_out",
                                "elastic_in_out",
                                "bounce_in",
                                "bounce_out",
                                "bounce_in_out"
                              ],
                              "type": "string"
                            },
                            "frame": {
                              "type": "integer",
                              "maximum": 100000000,
                              "minimum": -1000000
                            },
                            "value": {
                              "type": "number"
                            }
                          }
                        },
                        "maxItems": 1000,
                        "minItems": 1,
                        "description": "frame is from the clip start; ease shapes the move from this keyframe to the next (default linear; hold waits, then jumps)"
                      }
                    }
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "clip_id",
              "gain_db",
              "timeline_id"
            ],
            "properties": {
              "clip_id": {
                "type": "string",
                "description": "An audio clip, or a video clip whose linked audio to change"
              },
              "gain_db": {
                "$ref": "#/$defs/Animatable",
                "description": "dB, -60 to 24; 0 leaves it as it is. Keyframes make a ride: the first key holds backward to the clip start, so a ride that begins part-way down must also key its starting level at frame 0 or the frames before it are changed too. A key past the clip end is stored as given, with no clamp and no warning. Two keys on one frame are refused"
              },
              "preview": {
                "enum": [
                  "inline",
                  "link",
                  "none"
                ],
                "type": "string",
                "default": "link",
                "description": "inline: image in the result; link: URI that renders on read; none"
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "Timeline handle; every edit returns a new one"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "timeline_id",
              "parent",
              "changed",
              "preview",
              "warnings"
            ],
            "properties": {
              "parent": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The version this edit started from"
              },
              "changed": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "type",
                    "change"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "end": {
                      "type": "integer"
                    },
                    "kind": {
                      "type": "string"
                    },
                    "type": {
                      "enum": [
                        "clip",
                        "track",
                        "transition",
                        "effects",
                        "master",
                        "sequence",
                        "name"
                      ],
                      "type": "string"
                    },
                    "start": {
                      "type": "integer"
                    },
                    "change": {
                      "enum": [
                        "added",
                        "removed",
                        "modified"
                      ],
                      "type": "string"
                    },
                    "track_id": {
                      "type": "string"
                    }
                  }
                },
                "description": "What the edit added, removed or modified; a clip or transition says its track and where it now sits (frames, end exclusive)"
              },
              "clip_id": {
                "type": "string",
                "description": "The clip this edit made or acted on (each tool says which)"
              },
              "preview": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "uri",
                      "frames",
                      "status"
                    ],
                    "properties": {
                      "uri": {
                        "type": "string"
                      },
                      "frames": {
                        "type": "array",
                        "items": {
                          "type": "integer",
                          "minimum": 0
                        },
                        "description": "Frames shown; for a waveform, the start and end of its span"
                      },
                      "status": {
                        "enum": [
                          "ready",
                          "pending"
                        ],
                        "type": "string"
                      },
                      "loudness": {
                        "type": "object",
                        "required": [
                          "lufs",
                          "true_peak_db"
                        ],
                        "properties": {
                          "lufs": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "true_peak_db": {
                            "type": [
                              "number",
                              "null"
                            ]
                          }
                        },
                        "description": "Measured for audio edits, over the waveform span"
                      }
                    }
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "clip_ids": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Every clip this edit made or acted on, linked ones included (each tool says which)"
              },
              "track_id": {
                "type": "string"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The new version: edit this one next (older ids stay valid)"
              }
            }
          },
          "annotations": {
            "title": "Set gain",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "audio.set_pan",
          "title": "Set pan",
          "description": "Place a clip's sound left (-1) to right (1). Returns the new timeline_id (edit that one next), what changed, and where each changed clip now sits.",
          "inputSchema": {
            "type": "object",
            "required": [
              "clip_id",
              "pan",
              "timeline_id"
            ],
            "properties": {
              "pan": {
                "anyOf": [
                  {
                    "type": "number",
                    "maximum": 1,
                    "minimum": -1
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "-1 left, 0 centre, 1 right; null resets"
              },
              "clip_id": {
                "type": "string"
              },
              "preview": {
                "enum": [
                  "inline",
                  "link",
                  "none"
                ],
                "type": "string",
                "default": "link",
                "description": "inline: image in the result; link: URI that renders on read; none"
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "Timeline handle; every edit returns a new one"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "timeline_id",
              "parent",
              "changed",
              "preview",
              "warnings"
            ],
            "properties": {
              "parent": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The version this edit started from"
              },
              "changed": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "type",
                    "change"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "end": {
                      "type": "integer"
                    },
                    "kind": {
                      "type": "string"
                    },
                    "type": {
                      "enum": [
                        "clip",
                        "track",
                        "transition",
                        "effects",
                        "master",
                        "sequence",
                        "name"
                      ],
                      "type": "string"
                    },
                    "start": {
                      "type": "integer"
                    },
                    "change": {
                      "enum": [
                        "added",
                        "removed",
                        "modified"
                      ],
                      "type": "string"
                    },
                    "track_id": {
                      "type": "string"
                    }
                  }
                },
                "description": "What the edit added, removed or modified; a clip or transition says its track and where it now sits (frames, end exclusive)"
              },
              "clip_id": {
                "type": "string",
                "description": "The clip this edit made or acted on (each tool says which)"
              },
              "preview": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "uri",
                      "frames",
                      "status"
                    ],
                    "properties": {
                      "uri": {
                        "type": "string"
                      },
                      "frames": {
                        "type": "array",
                        "items": {
                          "type": "integer",
                          "minimum": 0
                        },
                        "description": "Frames shown; for a waveform, the start and end of its span"
                      },
                      "status": {
                        "enum": [
                          "ready",
                          "pending"
                        ],
                        "type": "string"
                      },
                      "loudness": {
                        "type": "object",
                        "required": [
                          "lufs",
                          "true_peak_db"
                        ],
                        "properties": {
                          "lufs": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "true_peak_db": {
                            "type": [
                              "number",
                              "null"
                            ]
                          }
                        },
                        "description": "Measured for audio edits, over the waveform span"
                      }
                    }
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "clip_ids": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Every clip this edit made or acted on, linked ones included (each tool says which)"
              },
              "track_id": {
                "type": "string"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The new version: edit this one next (older ids stay valid)"
              }
            }
          },
          "annotations": {
            "title": "Set pan",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "audio.fade",
          "title": "Fade audio",
          "description": "Fade a clip's sound in from its start and out to its end. null removes a fade. Returns the new timeline_id (edit that one next), what changed, and where each changed clip now sits.",
          "inputSchema": {
            "type": "object",
            "required": [
              "clip_id",
              "timeline_id"
            ],
            "properties": {
              "clip_id": {
                "type": "string"
              },
              "preview": {
                "enum": [
                  "inline",
                  "link",
                  "none"
                ],
                "type": "string",
                "default": "link",
                "description": "inline: image in the result; link: URI that renders on read; none"
              },
              "in_frames": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 1000000,
                    "exclusiveMinimum": 0
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "out_frames": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 1000000,
                    "exclusiveMinimum": 0
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "Timeline handle; every edit returns a new one"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "timeline_id",
              "parent",
              "changed",
              "preview",
              "warnings"
            ],
            "properties": {
              "parent": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The version this edit started from"
              },
              "changed": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "type",
                    "change"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "end": {
                      "type": "integer"
                    },
                    "kind": {
                      "type": "string"
                    },
                    "type": {
                      "enum": [
                        "clip",
                        "track",
                        "transition",
                        "effects",
                        "master",
                        "sequence",
                        "name"
                      ],
                      "type": "string"
                    },
                    "start": {
                      "type": "integer"
                    },
                    "change": {
                      "enum": [
                        "added",
                        "removed",
                        "modified"
                      ],
                      "type": "string"
                    },
                    "track_id": {
                      "type": "string"
                    }
                  }
                },
                "description": "What the edit added, removed or modified; a clip or transition says its track and where it now sits (frames, end exclusive)"
              },
              "clip_id": {
                "type": "string",
                "description": "The clip this edit made or acted on (each tool says which)"
              },
              "preview": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "uri",
                      "frames",
                      "status"
                    ],
                    "properties": {
                      "uri": {
                        "type": "string"
                      },
                      "frames": {
                        "type": "array",
                        "items": {
                          "type": "integer",
                          "minimum": 0
                        },
                        "description": "Frames shown; for a waveform, the start and end of its span"
                      },
                      "status": {
                        "enum": [
                          "ready",
                          "pending"
                        ],
                        "type": "string"
                      },
                      "loudness": {
                        "type": "object",
                        "required": [
                          "lufs",
                          "true_peak_db"
                        ],
                        "properties": {
                          "lufs": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "true_peak_db": {
                            "type": [
                              "number",
                              "null"
                            ]
                          }
                        },
                        "description": "Measured for audio edits, over the waveform span"
                      }
                    }
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "clip_ids": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Every clip this edit made or acted on, linked ones included (each tool says which)"
              },
              "track_id": {
                "type": "string"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The new version: edit this one next (older ids stay valid)"
              }
            }
          },
          "annotations": {
            "title": "Fade audio",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "audio.set_master",
          "title": "Set master",
          "description": "Gain (dB) and limiter ceiling on the whole mix. The ceiling caps sample peaks (dBFS); the true peak between samples can land above it, most on dense, bright sound, and qa.check measures it (dBTP). Audio edits with preview inline carry the measured loudness (preview.loudness); a link preview does not. Returns the new timeline_id (edit that one next), what changed, and where each changed clip now sits.",
          "inputSchema": {
            "type": "object",
            "required": [
              "timeline_id"
            ],
            "properties": {
              "gain_db": {
                "anyOf": [
                  {
                    "type": "number",
                    "maximum": 40,
                    "minimum": -60
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "preview": {
                "enum": [
                  "inline",
                  "link",
                  "none"
                ],
                "type": "string",
                "default": "link",
                "description": "inline: image in the result; link: URI that renders on read; none"
              },
              "limit_db": {
                "anyOf": [
                  {
                    "type": "number",
                    "maximum": 0,
                    "minimum": -20
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Limiter ceiling on sample peaks, dBFS"
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "Timeline handle; every edit returns a new one"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "timeline_id",
              "parent",
              "changed",
              "preview",
              "warnings"
            ],
            "properties": {
              "parent": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The version this edit started from"
              },
              "changed": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "type",
                    "change"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "end": {
                      "type": "integer"
                    },
                    "kind": {
                      "type": "string"
                    },
                    "type": {
                      "enum": [
                        "clip",
                        "track",
                        "transition",
                        "effects",
                        "master",
                        "sequence",
                        "name"
                      ],
                      "type": "string"
                    },
                    "start": {
                      "type": "integer"
                    },
                    "change": {
                      "enum": [
                        "added",
                        "removed",
                        "modified"
                      ],
                      "type": "string"
                    },
                    "track_id": {
                      "type": "string"
                    }
                  }
                },
                "description": "What the edit added, removed or modified; a clip or transition says its track and where it now sits (frames, end exclusive)"
              },
              "clip_id": {
                "type": "string",
                "description": "The clip this edit made or acted on (each tool says which)"
              },
              "preview": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "uri",
                      "frames",
                      "status"
                    ],
                    "properties": {
                      "uri": {
                        "type": "string"
                      },
                      "frames": {
                        "type": "array",
                        "items": {
                          "type": "integer",
                          "minimum": 0
                        },
                        "description": "Frames shown; for a waveform, the start and end of its span"
                      },
                      "status": {
                        "enum": [
                          "ready",
                          "pending"
                        ],
                        "type": "string"
                      },
                      "loudness": {
                        "type": "object",
                        "required": [
                          "lufs",
                          "true_peak_db"
                        ],
                        "properties": {
                          "lufs": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "true_peak_db": {
                            "type": [
                              "number",
                              "null"
                            ]
                          }
                        },
                        "description": "Measured for audio edits, over the waveform span"
                      }
                    }
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "clip_ids": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Every clip this edit made or acted on, linked ones included (each tool says which)"
              },
              "track_id": {
                "type": "string"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The new version: edit this one next (older ids stay valid)"
              }
            }
          },
          "annotations": {
            "title": "Set master",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "filter.add",
          "title": "Add effect",
          "description": "Apply an effect to a clip, every clip on a track, or the whole timeline: picture effects (colour, LUT, blur, vignette, chroma key, glitch, denoise and more) on video, sound effects (EQ, compressor, noise_reduction, voice_denoise, pitch and more) on audio. Order matters: effects run in the order added (a track's before a clip's own). Picture numbers take keyframes, except glitch, denoise and chroma_key tolerance; sound params are constants. A wrong name or param is refused with the full list, ranges, units and defaults (also at video://catalog/effects); timeline.get shows every param applied. Returns its id as clip_id. Returns the new timeline_id (edit that one next), what changed, and where each changed clip now sits.",
          "inputSchema": {
            "type": "object",
            "required": [
              "name",
              "timeline_id"
            ],
            "properties": {
              "name": {
                "enum": [
                  "brightness_contrast",
                  "saturation",
                  "exposure",
                  "temperature",
                  "hue",
                  "vibrance",
                  "curves",
                  "lut",
                  "grayscale",
                  "sepia",
                  "invert",
                  "blur",
                  "sharpen",
                  "vignette",
                  "grain",
                  "chromatic_aberration",
                  "pixelate",
                  "glitch",
                  "denoise",
                  "chroma_key",
                  "equalizer",
                  "compressor",
                  "noise_reduction",
                  "voice_denoise",
                  "de_esser",
                  "dialogue_enhance",
                  "reverb",
                  "echo",
                  "pitch",
                  "highpass",
                  "lowpass",
                  "telephone",
                  "dereverb",
                  "lens_correction",
                  "directional_blur",
                  "channels"
                ],
                "type": "string",
                "description": "Each effect's params: brightness_contrast(brightness, contrast) saturation(amount) exposure(stops) temperature(kelvin) hue(degrees) vibrance(amount) curves(preset) lut(media_id) grayscale() sepia() invert() blur(radius) sharpen(amount) vignette(amount) grain(amount) chromatic_aberration(offset) pixelate(size) glitch(amount) denoise(strength) chroma_key(color, tolerance) equalizer(low_db, mid_db, high_db) compressor(threshold_db, ratio, makeup_db, attack_ms, release_ms) noise_reduction(amount_db) voice_denoise(keep, mix) de_esser(amount) dialogue_enhance(amount) reverb(amount) echo(delay_ms, decay) pitch(semitones) highpass(frequency) lowpass(frequency) telephone() dereverb(reach_ms, mix) lens_correction(k1, k2, center_x, center_y) directional_blur(angle, radius) channels(left, right)"
              },
              "params": {
                "type": "object",
                "default": {},
                "description": "The effect's own params; any left out take their defaults. A wrong one is refused with the effect's params, ranges, units and defaults",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {}
              },
              "clip_id": {
                "type": "string",
                "description": "Apply to one clip (or an adjustment clip)"
              },
              "preview": {
                "enum": [
                  "inline",
                  "link",
                  "none"
                ],
                "type": "string",
                "default": "link",
                "description": "inline: image in the result; link: URI that renders on read; none"
              },
              "timeline": {
                "type": "boolean",
                "description": "Or true for the whole picture or mix"
              },
              "track_id": {
                "type": "string",
                "description": "Or to every clip on a track"
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "Timeline handle; every edit returns a new one"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "timeline_id",
              "parent",
              "changed",
              "preview",
              "warnings"
            ],
            "properties": {
              "parent": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The version this edit started from"
              },
              "changed": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "type",
                    "change"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "end": {
                      "type": "integer"
                    },
                    "kind": {
                      "type": "string"
                    },
                    "type": {
                      "enum": [
                        "clip",
                        "track",
                        "transition",
                        "effects",
                        "master",
                        "sequence",
                        "name"
                      ],
                      "type": "string"
                    },
                    "start": {
                      "type": "integer"
                    },
                    "change": {
                      "enum": [
                        "added",
                        "removed",
                        "modified"
                      ],
                      "type": "string"
                    },
                    "track_id": {
                      "type": "string"
                    }
                  }
                },
                "description": "What the edit added, removed or modified; a clip or transition says its track and where it now sits (frames, end exclusive)"
              },
              "clip_id": {
                "type": "string",
                "description": "The clip this edit made or acted on (each tool says which)"
              },
              "preview": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "uri",
                      "frames",
                      "status"
                    ],
                    "properties": {
                      "uri": {
                        "type": "string"
                      },
                      "frames": {
                        "type": "array",
                        "items": {
                          "type": "integer",
                          "minimum": 0
                        },
                        "description": "Frames shown; for a waveform, the start and end of its span"
                      },
                      "status": {
                        "enum": [
                          "ready",
                          "pending"
                        ],
                        "type": "string"
                      },
                      "loudness": {
                        "type": "object",
                        "required": [
                          "lufs",
                          "true_peak_db"
                        ],
                        "properties": {
                          "lufs": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "true_peak_db": {
                            "type": [
                              "number",
                              "null"
                            ]
                          }
                        },
                        "description": "Measured for audio edits, over the waveform span"
                      }
                    }
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "clip_ids": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Every clip this edit made or acted on, linked ones included (each tool says which)"
              },
              "track_id": {
                "type": "string"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The new version: edit this one next (older ids stay valid)"
              }
            }
          },
          "annotations": {
            "title": "Add effect",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "filter.set",
          "title": "Set effect",
          "description": "Change an effect's params (merged) or turn it off and on. Returns the new timeline_id (edit that one next), what changed, and where each changed clip now sits.",
          "inputSchema": {
            "type": "object",
            "required": [
              "filter_id",
              "timeline_id"
            ],
            "properties": {
              "params": {
                "type": "object",
                "description": "Merged into its params",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {}
              },
              "enabled": {
                "type": "boolean"
              },
              "preview": {
                "enum": [
                  "inline",
                  "link",
                  "none"
                ],
                "type": "string",
                "default": "link",
                "description": "inline: image in the result; link: URI that renders on read; none"
              },
              "filter_id": {
                "type": "string"
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "Timeline handle; every edit returns a new one"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "timeline_id",
              "parent",
              "changed",
              "preview",
              "warnings"
            ],
            "properties": {
              "parent": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The version this edit started from"
              },
              "changed": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "type",
                    "change"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "end": {
                      "type": "integer"
                    },
                    "kind": {
                      "type": "string"
                    },
                    "type": {
                      "enum": [
                        "clip",
                        "track",
                        "transition",
                        "effects",
                        "master",
                        "sequence",
                        "name"
                      ],
                      "type": "string"
                    },
                    "start": {
                      "type": "integer"
                    },
                    "change": {
                      "enum": [
                        "added",
                        "removed",
                        "modified"
                      ],
                      "type": "string"
                    },
                    "track_id": {
                      "type": "string"
                    }
                  }
                },
                "description": "What the edit added, removed or modified; a clip or transition says its track and where it now sits (frames, end exclusive)"
              },
              "clip_id": {
                "type": "string",
                "description": "The clip this edit made or acted on (each tool says which)"
              },
              "preview": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "uri",
                      "frames",
                      "status"
                    ],
                    "properties": {
                      "uri": {
                        "type": "string"
                      },
                      "frames": {
                        "type": "array",
                        "items": {
                          "type": "integer",
                          "minimum": 0
                        },
                        "description": "Frames shown; for a waveform, the start and end of its span"
                      },
                      "status": {
                        "enum": [
                          "ready",
                          "pending"
                        ],
                        "type": "string"
                      },
                      "loudness": {
                        "type": "object",
                        "required": [
                          "lufs",
                          "true_peak_db"
                        ],
                        "properties": {
                          "lufs": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "true_peak_db": {
                            "type": [
                              "number",
                              "null"
                            ]
                          }
                        },
                        "description": "Measured for audio edits, over the waveform span"
                      }
                    }
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "clip_ids": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Every clip this edit made or acted on, linked ones included (each tool says which)"
              },
              "track_id": {
                "type": "string"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The new version: edit this one next (older ids stay valid)"
              }
            }
          },
          "annotations": {
            "title": "Set effect",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "filter.remove",
          "title": "Remove effect",
          "description": "Take an effect off. Returns the new timeline_id (edit that one next), what changed, and where each changed clip now sits.",
          "inputSchema": {
            "type": "object",
            "required": [
              "filter_id",
              "timeline_id"
            ],
            "properties": {
              "preview": {
                "enum": [
                  "inline",
                  "link",
                  "none"
                ],
                "type": "string",
                "default": "link",
                "description": "inline: image in the result; link: URI that renders on read; none"
              },
              "filter_id": {
                "type": "string"
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "Timeline handle; every edit returns a new one"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "timeline_id",
              "parent",
              "changed",
              "preview",
              "warnings"
            ],
            "properties": {
              "parent": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The version this edit started from"
              },
              "changed": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "type",
                    "change"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "end": {
                      "type": "integer"
                    },
                    "kind": {
                      "type": "string"
                    },
                    "type": {
                      "enum": [
                        "clip",
                        "track",
                        "transition",
                        "effects",
                        "master",
                        "sequence",
                        "name"
                      ],
                      "type": "string"
                    },
                    "start": {
                      "type": "integer"
                    },
                    "change": {
                      "enum": [
                        "added",
                        "removed",
                        "modified"
                      ],
                      "type": "string"
                    },
                    "track_id": {
                      "type": "string"
                    }
                  }
                },
                "description": "What the edit added, removed or modified; a clip or transition says its track and where it now sits (frames, end exclusive)"
              },
              "clip_id": {
                "type": "string",
                "description": "The clip this edit made or acted on (each tool says which)"
              },
              "preview": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "uri",
                      "frames",
                      "status"
                    ],
                    "properties": {
                      "uri": {
                        "type": "string"
                      },
                      "frames": {
                        "type": "array",
                        "items": {
                          "type": "integer",
                          "minimum": 0
                        },
                        "description": "Frames shown; for a waveform, the start and end of its span"
                      },
                      "status": {
                        "enum": [
                          "ready",
                          "pending"
                        ],
                        "type": "string"
                      },
                      "loudness": {
                        "type": "object",
                        "required": [
                          "lufs",
                          "true_peak_db"
                        ],
                        "properties": {
                          "lufs": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "true_peak_db": {
                            "type": [
                              "number",
                              "null"
                            ]
                          }
                        },
                        "description": "Measured for audio edits, over the waveform span"
                      }
                    }
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "clip_ids": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Every clip this edit made or acted on, linked ones included (each tool says which)"
              },
              "track_id": {
                "type": "string"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The new version: edit this one next (older ids stay valid)"
              }
            }
          },
          "annotations": {
            "title": "Remove effect",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "adjustment.add",
          "title": "Add adjustment clip",
          "description": "An empty clip on a video track whose effects (filter.add with its clip_id) change everything below it while it runs: a colour grade or blur over a stretch of the edit. Returns the new timeline_id (edit that one next), what changed, and where each changed clip now sits.",
          "inputSchema": {
            "type": "object",
            "required": [
              "track_id",
              "duration_frames",
              "timeline_id"
            ],
            "properties": {
              "preview": {
                "enum": [
                  "inline",
                  "link",
                  "none"
                ],
                "type": "string",
                "default": "link",
                "description": "inline: image in the result; link: URI that renders on read; none"
              },
              "at_frame": {
                "type": "integer",
                "minimum": 0,
                "description": "Default: after the last clip on the track"
              },
              "track_id": {
                "type": "string",
                "description": "A video track; the effects reach every track below it"
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "Timeline handle; every edit returns a new one"
              },
              "duration_frames": {
                "type": "integer",
                "maximum": 10000000,
                "exclusiveMinimum": 0
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "timeline_id",
              "parent",
              "changed",
              "preview",
              "warnings"
            ],
            "properties": {
              "parent": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The version this edit started from"
              },
              "changed": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "type",
                    "change"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "end": {
                      "type": "integer"
                    },
                    "kind": {
                      "type": "string"
                    },
                    "type": {
                      "enum": [
                        "clip",
                        "track",
                        "transition",
                        "effects",
                        "master",
                        "sequence",
                        "name"
                      ],
                      "type": "string"
                    },
                    "start": {
                      "type": "integer"
                    },
                    "change": {
                      "enum": [
                        "added",
                        "removed",
                        "modified"
                      ],
                      "type": "string"
                    },
                    "track_id": {
                      "type": "string"
                    }
                  }
                },
                "description": "What the edit added, removed or modified; a clip or transition says its track and where it now sits (frames, end exclusive)"
              },
              "clip_id": {
                "type": "string",
                "description": "The clip this edit made or acted on (each tool says which)"
              },
              "preview": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "uri",
                      "frames",
                      "status"
                    ],
                    "properties": {
                      "uri": {
                        "type": "string"
                      },
                      "frames": {
                        "type": "array",
                        "items": {
                          "type": "integer",
                          "minimum": 0
                        },
                        "description": "Frames shown; for a waveform, the start and end of its span"
                      },
                      "status": {
                        "enum": [
                          "ready",
                          "pending"
                        ],
                        "type": "string"
                      },
                      "loudness": {
                        "type": "object",
                        "required": [
                          "lufs",
                          "true_peak_db"
                        ],
                        "properties": {
                          "lufs": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "true_peak_db": {
                            "type": [
                              "number",
                              "null"
                            ]
                          }
                        },
                        "description": "Measured for audio edits, over the waveform span"
                      }
                    }
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "clip_ids": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Every clip this edit made or acted on, linked ones included (each tool says which)"
              },
              "track_id": {
                "type": "string"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The new version: edit this one next (older ids stay valid)"
              }
            }
          },
          "annotations": {
            "title": "Add adjustment clip",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "transition.add",
          "title": "Add transition",
          "description": "Transition at the cut after a clip, into the clip that touches it (video://catalog/transitions). Linked audio gets a crossfade at the same cut. kind crossfade is sound only: on a video clip it crossfades the linked audio and the picture cuts hard (use mode handles for that). mode overlap (default) overlaps the clips and moves later clips earlier; handles uses source past the cut and moves nothing. changed lists each transition added, with its track and kind. Returns the new timeline_id (edit that one next), what changed, and where each changed clip now sits.",
          "inputSchema": {
            "type": "object",
            "required": [
              "clip_id",
              "kind",
              "duration_frames",
              "timeline_id"
            ],
            "properties": {
              "kind": {
                "enum": [
                  "dissolve",
                  "dip_to_black",
                  "dip_to_white",
                  "wipe_left",
                  "wipe_right",
                  "wipe_up",
                  "wipe_down",
                  "slide_left",
                  "slide_right",
                  "slide_up",
                  "slide_down",
                  "push_left",
                  "push_right",
                  "push_up",
                  "push_down",
                  "zoom_in",
                  "zoom_out",
                  "iris",
                  "spin",
                  "crossfade"
                ],
                "type": "string",
                "description": "video://catalog/transitions; crossfade on audio tracks"
              },
              "mode": {
                "enum": [
                  "overlap",
                  "handles"
                ],
                "type": "string",
                "default": "overlap",
                "description": "overlap: the clips overlap by the duration and later clips move earlier; handles: use source past the cut, nothing moves"
              },
              "clip_id": {
                "type": "string",
                "description": "The clip before the cut; the clip after it must touch it"
              },
              "preview": {
                "enum": [
                  "inline",
                  "link",
                  "none"
                ],
                "type": "string",
                "default": "link",
                "description": "inline: image in the result; link: URI that renders on read; none"
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "Timeline handle; every edit returns a new one"
              },
              "other_tracks": {
                "enum": [
                  "stay",
                  "extract"
                ],
                "type": "string",
                "default": "stay",
                "description": "overlap only: what the other tracks do. stay: they don't move, so what sits after the cut there plays later against the picture (the result warns which clips); extract: the same span comes out of them too, like range.extract, so everything stays in sync"
              },
              "duration_frames": {
                "type": "integer",
                "maximum": 10000,
                "minimum": 2
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "timeline_id",
              "parent",
              "changed",
              "preview",
              "warnings"
            ],
            "properties": {
              "parent": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The version this edit started from"
              },
              "changed": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "type",
                    "change"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "end": {
                      "type": "integer"
                    },
                    "kind": {
                      "type": "string"
                    },
                    "type": {
                      "enum": [
                        "clip",
                        "track",
                        "transition",
                        "effects",
                        "master",
                        "sequence",
                        "name"
                      ],
                      "type": "string"
                    },
                    "start": {
                      "type": "integer"
                    },
                    "change": {
                      "enum": [
                        "added",
                        "removed",
                        "modified"
                      ],
                      "type": "string"
                    },
                    "track_id": {
                      "type": "string"
                    }
                  }
                },
                "description": "What the edit added, removed or modified; a clip or transition says its track and where it now sits (frames, end exclusive)"
              },
              "clip_id": {
                "type": "string",
                "description": "The clip this edit made or acted on (each tool says which)"
              },
              "preview": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "uri",
                      "frames",
                      "status"
                    ],
                    "properties": {
                      "uri": {
                        "type": "string"
                      },
                      "frames": {
                        "type": "array",
                        "items": {
                          "type": "integer",
                          "minimum": 0
                        },
                        "description": "Frames shown; for a waveform, the start and end of its span"
                      },
                      "status": {
                        "enum": [
                          "ready",
                          "pending"
                        ],
                        "type": "string"
                      },
                      "loudness": {
                        "type": "object",
                        "required": [
                          "lufs",
                          "true_peak_db"
                        ],
                        "properties": {
                          "lufs": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "true_peak_db": {
                            "type": [
                              "number",
                              "null"
                            ]
                          }
                        },
                        "description": "Measured for audio edits, over the waveform span"
                      }
                    }
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "clip_ids": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Every clip this edit made or acted on, linked ones included (each tool says which)"
              },
              "track_id": {
                "type": "string"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The new version: edit this one next (older ids stay valid)"
              }
            }
          },
          "annotations": {
            "title": "Add transition",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "transition.set",
          "title": "Set transition",
          "description": "Change a transition's kind or duration. Returns the new timeline_id (edit that one next), what changed, and where each changed clip now sits.",
          "inputSchema": {
            "type": "object",
            "required": [
              "transition_id",
              "timeline_id"
            ],
            "properties": {
              "kind": {
                "enum": [
                  "dissolve",
                  "dip_to_black",
                  "dip_to_white",
                  "wipe_left",
                  "wipe_right",
                  "wipe_up",
                  "wipe_down",
                  "slide_left",
                  "slide_right",
                  "slide_up",
                  "slide_down",
                  "push_left",
                  "push_right",
                  "push_up",
                  "push_down",
                  "zoom_in",
                  "zoom_out",
                  "iris",
                  "spin",
                  "crossfade"
                ],
                "type": "string"
              },
              "preview": {
                "enum": [
                  "inline",
                  "link",
                  "none"
                ],
                "type": "string",
                "default": "link",
                "description": "inline: image in the result; link: URI that renders on read; none"
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "Timeline handle; every edit returns a new one"
              },
              "transition_id": {
                "type": "string"
              },
              "duration_frames": {
                "type": "integer",
                "maximum": 10000,
                "minimum": 2
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "timeline_id",
              "parent",
              "changed",
              "preview",
              "warnings"
            ],
            "properties": {
              "parent": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The version this edit started from"
              },
              "changed": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "type",
                    "change"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "end": {
                      "type": "integer"
                    },
                    "kind": {
                      "type": "string"
                    },
                    "type": {
                      "enum": [
                        "clip",
                        "track",
                        "transition",
                        "effects",
                        "master",
                        "sequence",
                        "name"
                      ],
                      "type": "string"
                    },
                    "start": {
                      "type": "integer"
                    },
                    "change": {
                      "enum": [
                        "added",
                        "removed",
                        "modified"
                      ],
                      "type": "string"
                    },
                    "track_id": {
                      "type": "string"
                    }
                  }
                },
                "description": "What the edit added, removed or modified; a clip or transition says its track and where it now sits (frames, end exclusive)"
              },
              "clip_id": {
                "type": "string",
                "description": "The clip this edit made or acted on (each tool says which)"
              },
              "preview": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "uri",
                      "frames",
                      "status"
                    ],
                    "properties": {
                      "uri": {
                        "type": "string"
                      },
                      "frames": {
                        "type": "array",
                        "items": {
                          "type": "integer",
                          "minimum": 0
                        },
                        "description": "Frames shown; for a waveform, the start and end of its span"
                      },
                      "status": {
                        "enum": [
                          "ready",
                          "pending"
                        ],
                        "type": "string"
                      },
                      "loudness": {
                        "type": "object",
                        "required": [
                          "lufs",
                          "true_peak_db"
                        ],
                        "properties": {
                          "lufs": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "true_peak_db": {
                            "type": [
                              "number",
                              "null"
                            ]
                          }
                        },
                        "description": "Measured for audio edits, over the waveform span"
                      }
                    }
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "clip_ids": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Every clip this edit made or acted on, linked ones included (each tool says which)"
              },
              "track_id": {
                "type": "string"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The new version: edit this one next (older ids stay valid)"
              }
            }
          },
          "annotations": {
            "title": "Set transition",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "transition.remove",
          "title": "Remove transition",
          "description": "Remove a transition; the cut becomes a hard cut. Returns the new timeline_id (edit that one next), what changed, and where each changed clip now sits.",
          "inputSchema": {
            "type": "object",
            "required": [
              "transition_id",
              "timeline_id"
            ],
            "properties": {
              "preview": {
                "enum": [
                  "inline",
                  "link",
                  "none"
                ],
                "type": "string",
                "default": "link",
                "description": "inline: image in the result; link: URI that renders on read; none"
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "Timeline handle; every edit returns a new one"
              },
              "transition_id": {
                "type": "string"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "timeline_id",
              "parent",
              "changed",
              "preview",
              "warnings"
            ],
            "properties": {
              "parent": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The version this edit started from"
              },
              "changed": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "type",
                    "change"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "end": {
                      "type": "integer"
                    },
                    "kind": {
                      "type": "string"
                    },
                    "type": {
                      "enum": [
                        "clip",
                        "track",
                        "transition",
                        "effects",
                        "master",
                        "sequence",
                        "name"
                      ],
                      "type": "string"
                    },
                    "start": {
                      "type": "integer"
                    },
                    "change": {
                      "enum": [
                        "added",
                        "removed",
                        "modified"
                      ],
                      "type": "string"
                    },
                    "track_id": {
                      "type": "string"
                    }
                  }
                },
                "description": "What the edit added, removed or modified; a clip or transition says its track and where it now sits (frames, end exclusive)"
              },
              "clip_id": {
                "type": "string",
                "description": "The clip this edit made or acted on (each tool says which)"
              },
              "preview": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "uri",
                      "frames",
                      "status"
                    ],
                    "properties": {
                      "uri": {
                        "type": "string"
                      },
                      "frames": {
                        "type": "array",
                        "items": {
                          "type": "integer",
                          "minimum": 0
                        },
                        "description": "Frames shown; for a waveform, the start and end of its span"
                      },
                      "status": {
                        "enum": [
                          "ready",
                          "pending"
                        ],
                        "type": "string"
                      },
                      "loudness": {
                        "type": "object",
                        "required": [
                          "lufs",
                          "true_peak_db"
                        ],
                        "properties": {
                          "lufs": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "true_peak_db": {
                            "type": [
                              "number",
                              "null"
                            ]
                          }
                        },
                        "description": "Measured for audio edits, over the waveform span"
                      }
                    }
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "clip_ids": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Every clip this edit made or acted on, linked ones included (each tool says which)"
              },
              "track_id": {
                "type": "string"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The new version: edit this one next (older ids stay valid)"
              }
            }
          },
          "annotations": {
            "title": "Remove transition",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "clip.set_transform",
          "title": "Set transform",
          "description": "Position, scale, rotate, fade, flip, crop or fit a video clip over the tracks below (picture-in-picture, overlays, punch-ins). fit none shows a graphic at its own pixel size, so scale 1 is its real size; the default contain scales it to touch the frame edges. Any number takes a constant or {keyframes: [{frame, value, ease}]} with frames from the clip start; a keyframe's ease shapes the move from it to the next one (sine_in_out, cubic_out, back_out, hold and more). Overlays that must follow a zoom or pan: put the clip and its overlays in a timeline of the same shape, nest it with clip.add {nested_timeline_id} and transform the nested clip, so everything moves together. Omitted fields keep their value; null resets one. To pin an overlay to a moving subject, use media.analyze track boxes as keyframes: for each box, frame = timeline frame of the box time (where the tracked clip plays that media second) minus this clip's start, x = box x + w/2 and y = box y + h/2 (add your offset). That holds when the tracked clip fills the frame as is; if it is scaled, moved or cropped, map the box through its transform first. Skip boxes with found false. The result's placements say where the clip now shows, in sequence pixels: its picture box, the part visible after crop and mask inside the frame, and the source pixels that show there. corners pins the picture's four corners to four points in the frame instead (a screen, sign or page seen at an angle, or a tilt in 3D), keyframable the same way; it replaces x, y, scale, scale_x, scale_y, rotation and fit, while opacity, flip, crop and masks still apply. Returns the new timeline_id (edit that one next), what changed, and where each changed clip now sits.",
          "inputSchema": {
            "type": "object",
            "$defs": {
              "Animatable": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "object",
                    "required": [
                      "keyframes"
                    ],
                    "properties": {
                      "keyframes": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "frame",
                            "value"
                          ],
                          "properties": {
                            "ease": {
                              "enum": [
                                "linear",
                                "hold",
                                "smooth",
                                "sine_in",
                                "sine_out",
                                "sine_in_out",
                                "quad_in",
                                "quad_out",
                                "quad_in_out",
                                "cubic_in",
                                "cubic_out",
                                "cubic_in_out",
                                "quart_in",
                                "quart_out",
                                "quart_in_out",
                                "quint_in",
                                "quint_out",
                                "quint_in_out",
                                "expo_in",
                                "expo_out",
                                "expo_in_out",
                                "circ_in",
                                "circ_out",
                                "circ_in_out",
                                "back_in",
                                "back_out",
                                "back_in_out",
                                "elastic_in",
                                "elastic_out",
                                "elastic_in_out",
                                "bounce_in",
                                "bounce_out",
                                "bounce_in_out"
                              ],
                              "type": "string"
                            },
                            "frame": {
                              "type": "integer",
                              "maximum": 100000000,
                              "minimum": -1000000
                            },
                            "value": {
                              "type": "number"
                            }
                          }
                        },
                        "maxItems": 1000,
                        "minItems": 1,
                        "description": "frame is from the clip start; ease shapes the move from this keyframe to the next (default linear; hold waits, then jumps)"
                      }
                    }
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "CornerPoints": {
                "type": "array",
                "items": {
                  "type": "array",
                  "items": false,
                  "maxItems": 2,
                  "minItems": 2,
                  "prefixItems": [
                    {
                      "type": "number",
                      "maximum": 2,
                      "minimum": -1
                    },
                    {
                      "type": "number",
                      "maximum": 2,
                      "minimum": -1
                    }
                  ]
                },
                "maxItems": 4,
                "minItems": 4
              }
            },
            "required": [
              "clip_id",
              "timeline_id"
            ],
            "properties": {
              "x": {
                "$ref": "#/$defs/Animatable",
                "description": "Centre x, 0 = left edge, 1 = right edge (default 0.5); -4 to 5"
              },
              "y": {
                "$ref": "#/$defs/Animatable",
                "description": "Centre y, 0 = top, 1 = bottom (default 0.5); -4 to 5"
              },
              "fit": {
                "anyOf": [
                  {
                    "enum": [
                      "contain",
                      "cover",
                      "fill",
                      "none"
                    ],
                    "type": "string",
                    "description": "contain: whole picture inside the frame, scaled up or down to touch its edges (default); cover: fill the frame, cropping what overflows equally on both sides (move x or y off 0.5 to show another part); fill: stretch; none: its own pixels at sequence size, unscaled (a 300 px logo stays 300 px on a 1920 px sequence), for logos and graphics made to size"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "crop": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "top": {
                        "type": "number",
                        "default": 0,
                        "maximum": 0.99,
                        "minimum": 0
                      },
                      "left": {
                        "type": "number",
                        "default": 0,
                        "maximum": 0.99,
                        "minimum": 0
                      },
                      "right": {
                        "type": "number",
                        "default": 0,
                        "maximum": 0.99,
                        "minimum": 0
                      },
                      "bottom": {
                        "type": "number",
                        "default": 0,
                        "maximum": 0.99,
                        "minimum": 0
                      }
                    },
                    "description": "Hidden from each edge, in fractions of the clip's fitted frame (the sequence-shaped box with the picture fitted inside, bars included, as for masks); the rest stays where it was"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "flip": {
                "anyOf": [
                  {
                    "enum": [
                      "none",
                      "horizontal",
                      "vertical",
                      "both"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "scale": {
                "$ref": "#/$defs/Animatable",
                "description": "Size relative to the fit (default 1); 0 to 20"
              },
              "clip_id": {
                "type": "string"
              },
              "corners": {
                "anyOf": [
                  {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/CornerPoints"
                      },
                      {
                        "type": "object",
                        "required": [
                          "keyframes"
                        ],
                        "properties": {
                          "keyframes": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "required": [
                                "frame",
                                "corners"
                              ],
                              "properties": {
                                "ease": {
                                  "type": "string"
                                },
                                "frame": {
                                  "type": "integer",
                                  "maximum": 100000000,
                                  "minimum": -1000000
                                },
                                "corners": {
                                  "$ref": "#/$defs/CornerPoints"
                                }
                              }
                            },
                            "maxItems": 1000,
                            "minItems": 1
                          }
                        }
                      }
                    ]
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Corner pin: where the picture's four corners land, as [x, y] in fractions of the frame (-1 to 2), in the order top left, top right, bottom right, bottom left; or {keyframes: [{frame, corners, ease}]}. Replaces x, y, scale, scale_x, scale_y, rotation and fit; null removes it"
              },
              "opacity": {
                "$ref": "#/$defs/Animatable",
                "description": "Opacity (default 1); 0 to 1"
              },
              "preview": {
                "enum": [
                  "inline",
                  "link",
                  "none"
                ],
                "type": "string",
                "default": "link",
                "description": "inline: image in the result; link: URI that renders on read; none"
              },
              "scale_x": {
                "$ref": "#/$defs/Animatable",
                "description": "Extra horizontal stretch (default 1); 0 to 20"
              },
              "scale_y": {
                "$ref": "#/$defs/Animatable",
                "description": "Extra vertical stretch (default 1); 0 to 20"
              },
              "rotation": {
                "$ref": "#/$defs/Animatable",
                "description": "Degrees clockwise (default 0); -36000 to 36000"
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "Timeline handle; every edit returns a new one"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "timeline_id",
              "parent",
              "changed",
              "preview",
              "warnings"
            ],
            "properties": {
              "parent": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The version this edit started from"
              },
              "changed": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "type",
                    "change"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "end": {
                      "type": "integer"
                    },
                    "kind": {
                      "type": "string"
                    },
                    "type": {
                      "enum": [
                        "clip",
                        "track",
                        "transition",
                        "effects",
                        "master",
                        "sequence",
                        "name"
                      ],
                      "type": "string"
                    },
                    "start": {
                      "type": "integer"
                    },
                    "change": {
                      "enum": [
                        "added",
                        "removed",
                        "modified"
                      ],
                      "type": "string"
                    },
                    "track_id": {
                      "type": "string"
                    }
                  }
                },
                "description": "What the edit added, removed or modified; a clip or transition says its track and where it now sits (frames, end exclusive)"
              },
              "clip_id": {
                "type": "string",
                "description": "The clip this edit made or acted on (each tool says which)"
              },
              "preview": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "uri",
                      "frames",
                      "status"
                    ],
                    "properties": {
                      "uri": {
                        "type": "string"
                      },
                      "frames": {
                        "type": "array",
                        "items": {
                          "type": "integer",
                          "minimum": 0
                        },
                        "description": "Frames shown; for a waveform, the start and end of its span"
                      },
                      "status": {
                        "enum": [
                          "ready",
                          "pending"
                        ],
                        "type": "string"
                      },
                      "loudness": {
                        "type": "object",
                        "required": [
                          "lufs",
                          "true_peak_db"
                        ],
                        "properties": {
                          "lufs": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "true_peak_db": {
                            "type": [
                              "number",
                              "null"
                            ]
                          }
                        },
                        "description": "Measured for audio edits, over the waveform span"
                      }
                    }
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "clip_ids": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Every clip this edit made or acted on, linked ones included (each tool says which)"
              },
              "track_id": {
                "type": "string"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "placements": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "clip_id",
                    "frames",
                    "complete"
                  ],
                  "properties": {
                    "frames": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "frame",
                          "picture",
                          "rotation",
                          "opacity",
                          "visible",
                          "source"
                        ],
                        "properties": {
                          "frame": {
                            "type": "number",
                            "description": "From the clip start"
                          },
                          "source": {
                            "anyOf": [
                              {
                                "type": "object",
                                "required": [
                                  "x",
                                  "y",
                                  "w",
                                  "h"
                                ],
                                "properties": {
                                  "h": {
                                    "type": "number"
                                  },
                                  "w": {
                                    "type": "number"
                                  },
                                  "x": {
                                    "type": "number"
                                  },
                                  "y": {
                                    "type": "number"
                                  }
                                }
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "The part of the source that shows, source pixels"
                          },
                          "corners": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "required": [
                                "x",
                                "y"
                              ],
                              "properties": {
                                "x": {
                                  "type": "number"
                                },
                                "y": {
                                  "type": "number"
                                }
                              }
                            },
                            "maxItems": 4,
                            "minItems": 4,
                            "description": "Corner pin: where the picture corners land, top left, top right, bottom right, bottom left"
                          },
                          "opacity": {
                            "type": "number"
                          },
                          "picture": {
                            "type": "object",
                            "required": [
                              "x",
                              "y",
                              "w",
                              "h"
                            ],
                            "properties": {
                              "h": {
                                "type": "number"
                              },
                              "w": {
                                "type": "number"
                              },
                              "x": {
                                "type": "number"
                              },
                              "y": {
                                "type": "number"
                              }
                            },
                            "description": "The whole picture, before crop and mask and rotation; for a corner pin, the box around its corners"
                          },
                          "visible": {
                            "anyOf": [
                              {
                                "type": "object",
                                "required": [
                                  "x",
                                  "y",
                                  "w",
                                  "h"
                                ],
                                "properties": {
                                  "h": {
                                    "type": "number"
                                  },
                                  "w": {
                                    "type": "number"
                                  },
                                  "x": {
                                    "type": "number"
                                  },
                                  "y": {
                                    "type": "number"
                                  }
                                }
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "What it shows: crop and mask applied, rotated, inside the frame; null: nothing"
                          },
                          "rotation": {
                            "type": "number"
                          }
                        }
                      }
                    },
                    "clip_id": {
                      "type": "string"
                    },
                    "complete": {
                      "type": "boolean",
                      "description": "true: values move in straight lines between entries; false: evenly sampled"
                    }
                  }
                },
                "description": "Where each clip the edit moved, cropped, masked or animated shows, sequence pixels; for a title or caption, the area it can draw in, not the text itself"
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The new version: edit this one next (older ids stay valid)"
              }
            }
          },
          "annotations": {
            "title": "Set transform",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "clip.set_blend",
          "title": "Set blend mode",
          "description": "How a video clip mixes with the tracks below: normal, multiply, screen, overlay and more (video://catalog/blend_modes). Returns the new timeline_id (edit that one next), what changed, and where each changed clip now sits.",
          "inputSchema": {
            "type": "object",
            "required": [
              "clip_id",
              "mode",
              "timeline_id"
            ],
            "properties": {
              "mode": {
                "enum": [
                  "normal",
                  "add",
                  "multiply",
                  "screen",
                  "overlay",
                  "darken",
                  "lighten",
                  "color_dodge",
                  "color_burn",
                  "hard_light",
                  "soft_light",
                  "difference",
                  "exclusion"
                ],
                "type": "string"
              },
              "clip_id": {
                "type": "string"
              },
              "preview": {
                "enum": [
                  "inline",
                  "link",
                  "none"
                ],
                "type": "string",
                "default": "link",
                "description": "inline: image in the result; link: URI that renders on read; none"
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "Timeline handle; every edit returns a new one"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "timeline_id",
              "parent",
              "changed",
              "preview",
              "warnings"
            ],
            "properties": {
              "parent": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The version this edit started from"
              },
              "changed": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "type",
                    "change"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "end": {
                      "type": "integer"
                    },
                    "kind": {
                      "type": "string"
                    },
                    "type": {
                      "enum": [
                        "clip",
                        "track",
                        "transition",
                        "effects",
                        "master",
                        "sequence",
                        "name"
                      ],
                      "type": "string"
                    },
                    "start": {
                      "type": "integer"
                    },
                    "change": {
                      "enum": [
                        "added",
                        "removed",
                        "modified"
                      ],
                      "type": "string"
                    },
                    "track_id": {
                      "type": "string"
                    }
                  }
                },
                "description": "What the edit added, removed or modified; a clip or transition says its track and where it now sits (frames, end exclusive)"
              },
              "clip_id": {
                "type": "string",
                "description": "The clip this edit made or acted on (each tool says which)"
              },
              "preview": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "uri",
                      "frames",
                      "status"
                    ],
                    "properties": {
                      "uri": {
                        "type": "string"
                      },
                      "frames": {
                        "type": "array",
                        "items": {
                          "type": "integer",
                          "minimum": 0
                        },
                        "description": "Frames shown; for a waveform, the start and end of its span"
                      },
                      "status": {
                        "enum": [
                          "ready",
                          "pending"
                        ],
                        "type": "string"
                      },
                      "loudness": {
                        "type": "object",
                        "required": [
                          "lufs",
                          "true_peak_db"
                        ],
                        "properties": {
                          "lufs": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "true_peak_db": {
                            "type": [
                              "number",
                              "null"
                            ]
                          }
                        },
                        "description": "Measured for audio edits, over the waveform span"
                      }
                    }
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "clip_ids": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Every clip this edit made or acted on, linked ones included (each tool says which)"
              },
              "track_id": {
                "type": "string"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The new version: edit this one next (older ids stay valid)"
              }
            }
          },
          "annotations": {
            "title": "Set blend mode",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "clip.set_mask",
          "title": "Set mask",
          "description": "Select part of a video clip, then show, hide or fill it: rectangle (rounded), ellipse, linear, mirror, heart, star, polygon or matte (a media's alpha, e.g. a create.cutout), with feather and invert. Several shapes: add. A fill paints the selection from the picture around it and from earlier frames where that area showed, so something that never moves against its background leaves a smudge: nothing ever shows what is behind it. It is a job of its own (job.list shows its progress); a render that needs it names the job until it is done, and an export waits for it. Position, size and rotation animate like transform values. Coordinates are fractions of the clip's fitted frame: a sequence-shaped box with the picture fitted inside (bars where the shapes differ), before the clip's scale and position. A narrower picture fills k = (its aspect / the sequence's) of the box width, centred, so a picture-fraction box maps to x = 0.5 + (x - 0.5) * k, width * k (a wider picture: the same on y and height, with k = the sequence aspect / its). null removes the mask. Returns the new timeline_id (edit that one next), what changed, and where each changed clip now sits.",
          "inputSchema": {
            "type": "object",
            "$defs": {
              "MaskShape": {
                "type": "object",
                "required": [
                  "shape"
                ],
                "properties": {
                  "x": {
                    "$ref": "#/$defs/Animatable",
                    "description": "Mask centre x in the fitted frame, 0–1 (default 0.5); -4 to 5"
                  },
                  "y": {
                    "$ref": "#/$defs/Animatable",
                    "description": "Mask centre y in the fitted frame, 0–1 (default 0.5); -4 to 5"
                  },
                  "shape": {
                    "enum": [
                      "rectangle",
                      "ellipse",
                      "linear",
                      "mirror",
                      "heart",
                      "star",
                      "polygon",
                      "matte"
                    ],
                    "type": "string"
                  },
                  "width": {
                    "$ref": "#/$defs/Animatable",
                    "description": "Fraction of the fitted frame width (default 0.5); 0 to 10"
                  },
                  "height": {
                    "$ref": "#/$defs/Animatable",
                    "description": "Fraction of the fitted frame height (default 0.5); band thickness for mirror; 0 to 10"
                  },
                  "points": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/MaskPoints"
                      },
                      {
                        "type": "object",
                        "required": [
                          "keyframes"
                        ],
                        "properties": {
                          "keyframes": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "required": [
                                "frame",
                                "points"
                              ],
                              "properties": {
                                "ease": {
                                  "type": "string"
                                },
                                "frame": {
                                  "type": "integer",
                                  "maximum": 100000000,
                                  "minimum": -1000000
                                },
                                "points": {
                                  "$ref": "#/$defs/MaskPoints"
                                }
                              }
                            },
                            "maxItems": 1000,
                            "minItems": 1
                          }
                        }
                      }
                    ],
                    "description": "polygon: [x, y] corners in the fitted frame, 0–1, or {keyframes: [{frame, points, ease}]}"
                  },
                  "media_id": {
                    "type": "string",
                    "pattern": "^m_[0-9a-z]{26}$",
                    "description": "matte: media whose alpha (or brightness) selects"
                  },
                  "rotation": {
                    "$ref": "#/$defs/Animatable",
                    "description": "Degrees clockwise; for linear, the edge angle; -36000 to 36000"
                  },
                  "corner_radius": {
                    "type": "number",
                    "maximum": 0.5,
                    "minimum": 0,
                    "description": "rectangle: corner radius as a fraction of its short side"
                  }
                }
              },
              "Animatable": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "object",
                    "required": [
                      "keyframes"
                    ],
                    "properties": {
                      "keyframes": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "frame",
                            "value"
                          ],
                          "properties": {
                            "ease": {
                              "enum": [
                                "linear",
                                "hold",
                                "smooth",
                                "sine_in",
                                "sine_out",
                                "sine_in_out",
                                "quad_in",
                                "quad_out",
                                "quad_in_out",
                                "cubic_in",
                                "cubic_out",
                                "cubic_in_out",
                                "quart_in",
                                "quart_out",
                                "quart_in_out",
                                "quint_in",
                                "quint_out",
                                "quint_in_out",
                                "expo_in",
                                "expo_out",
                                "expo_in_out",
                                "circ_in",
                                "circ_out",
                                "circ_in_out",
                                "back_in",
                                "back_out",
                                "back_in_out",
                                "elastic_in",
                                "elastic_out",
                                "elastic_in_out",
                                "bounce_in",
                                "bounce_out",
                                "bounce_in_out"
                              ],
                              "type": "string"
                            },
                            "frame": {
                              "type": "integer",
                              "maximum": 100000000,
                              "minimum": -1000000
                            },
                            "value": {
                              "type": "number"
                            }
                          }
                        },
                        "maxItems": 1000,
                        "minItems": 1,
                        "description": "frame is from the clip start; ease shapes the move from this keyframe to the next (default linear; hold waits, then jumps)"
                      }
                    }
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "MaskPoints": {
                "type": "array",
                "items": {
                  "type": "array",
                  "items": false,
                  "maxItems": 2,
                  "minItems": 2,
                  "prefixItems": [
                    {
                      "type": "number",
                      "maximum": 5,
                      "minimum": -4
                    },
                    {
                      "type": "number",
                      "maximum": 5,
                      "minimum": -4
                    }
                  ]
                },
                "maxItems": 64,
                "minItems": 3
              }
            },
            "required": [
              "clip_id",
              "mask",
              "timeline_id"
            ],
            "properties": {
              "mask": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "shape"
                    ],
                    "properties": {
                      "x": {
                        "$ref": "#/$defs/Animatable",
                        "description": "Mask centre x in the fitted frame, 0–1 (default 0.5); -4 to 5"
                      },
                      "y": {
                        "$ref": "#/$defs/Animatable",
                        "description": "Mask centre y in the fitted frame, 0–1 (default 0.5); -4 to 5"
                      },
                      "add": {
                        "type": "array",
                        "items": {
                          "$ref": "#/$defs/MaskShape"
                        },
                        "maxItems": 8,
                        "minItems": 1,
                        "description": "More shapes in the same selection, e.g. two panels; feather, invert and mode apply to all"
                      },
                      "mode": {
                        "enum": [
                          "show",
                          "hide",
                          "fill"
                        ],
                        "type": "string",
                        "description": "show (default) only the selection, hide it, or fill it (painted in from around it and from earlier frames)"
                      },
                      "shape": {
                        "enum": [
                          "rectangle",
                          "ellipse",
                          "linear",
                          "mirror",
                          "heart",
                          "star",
                          "polygon",
                          "matte"
                        ],
                        "type": "string"
                      },
                      "width": {
                        "$ref": "#/$defs/Animatable",
                        "description": "Fraction of the fitted frame width (default 0.5); 0 to 10"
                      },
                      "height": {
                        "$ref": "#/$defs/Animatable",
                        "description": "Fraction of the fitted frame height (default 0.5); band thickness for mirror; 0 to 10"
                      },
                      "invert": {
                        "type": "boolean",
                        "description": "Select the outside instead"
                      },
                      "points": {
                        "anyOf": [
                          {
                            "$ref": "#/$defs/MaskPoints"
                          },
                          {
                            "type": "object",
                            "required": [
                              "keyframes"
                            ],
                            "properties": {
                              "keyframes": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "required": [
                                    "frame",
                                    "points"
                                  ],
                                  "properties": {
                                    "ease": {
                                      "type": "string"
                                    },
                                    "frame": {
                                      "type": "integer",
                                      "maximum": 100000000,
                                      "minimum": -1000000
                                    },
                                    "points": {
                                      "$ref": "#/$defs/MaskPoints"
                                    }
                                  }
                                },
                                "maxItems": 1000,
                                "minItems": 1
                              }
                            }
                          }
                        ],
                        "description": "polygon: [x, y] corners in the fitted frame, 0–1, or {keyframes: [{frame, points, ease}]}"
                      },
                      "feather": {
                        "type": "number",
                        "maximum": 0.5,
                        "minimum": 0,
                        "description": "Soft edge as a fraction of the picture short side"
                      },
                      "media_id": {
                        "type": "string",
                        "pattern": "^m_[0-9a-z]{26}$",
                        "description": "matte: media whose alpha (or brightness) selects"
                      },
                      "rotation": {
                        "$ref": "#/$defs/Animatable",
                        "description": "Degrees clockwise; for linear, the edge angle; -36000 to 36000"
                      },
                      "corner_radius": {
                        "type": "number",
                        "maximum": 0.5,
                        "minimum": 0,
                        "description": "rectangle: corner radius as a fraction of its short side"
                      }
                    }
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "null removes the mask"
              },
              "clip_id": {
                "type": "string"
              },
              "preview": {
                "enum": [
                  "inline",
                  "link",
                  "none"
                ],
                "type": "string",
                "default": "link",
                "description": "inline: image in the result; link: URI that renders on read; none"
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "Timeline handle; every edit returns a new one"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "timeline_id",
              "parent",
              "changed",
              "preview",
              "warnings"
            ],
            "properties": {
              "parent": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The version this edit started from"
              },
              "changed": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "type",
                    "change"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "end": {
                      "type": "integer"
                    },
                    "kind": {
                      "type": "string"
                    },
                    "type": {
                      "enum": [
                        "clip",
                        "track",
                        "transition",
                        "effects",
                        "master",
                        "sequence",
                        "name"
                      ],
                      "type": "string"
                    },
                    "start": {
                      "type": "integer"
                    },
                    "change": {
                      "enum": [
                        "added",
                        "removed",
                        "modified"
                      ],
                      "type": "string"
                    },
                    "track_id": {
                      "type": "string"
                    }
                  }
                },
                "description": "What the edit added, removed or modified; a clip or transition says its track and where it now sits (frames, end exclusive)"
              },
              "clip_id": {
                "type": "string",
                "description": "The clip this edit made or acted on (each tool says which)"
              },
              "preview": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "uri",
                      "frames",
                      "status"
                    ],
                    "properties": {
                      "uri": {
                        "type": "string"
                      },
                      "frames": {
                        "type": "array",
                        "items": {
                          "type": "integer",
                          "minimum": 0
                        },
                        "description": "Frames shown; for a waveform, the start and end of its span"
                      },
                      "status": {
                        "enum": [
                          "ready",
                          "pending"
                        ],
                        "type": "string"
                      },
                      "loudness": {
                        "type": "object",
                        "required": [
                          "lufs",
                          "true_peak_db"
                        ],
                        "properties": {
                          "lufs": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "true_peak_db": {
                            "type": [
                              "number",
                              "null"
                            ]
                          }
                        },
                        "description": "Measured for audio edits, over the waveform span"
                      }
                    }
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "clip_ids": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Every clip this edit made or acted on, linked ones included (each tool says which)"
              },
              "track_id": {
                "type": "string"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "placements": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "clip_id",
                    "frames",
                    "complete"
                  ],
                  "properties": {
                    "frames": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "frame",
                          "picture",
                          "rotation",
                          "opacity",
                          "visible",
                          "source"
                        ],
                        "properties": {
                          "frame": {
                            "type": "number",
                            "description": "From the clip start"
                          },
                          "source": {
                            "anyOf": [
                              {
                                "type": "object",
                                "required": [
                                  "x",
                                  "y",
                                  "w",
                                  "h"
                                ],
                                "properties": {
                                  "h": {
                                    "type": "number"
                                  },
                                  "w": {
                                    "type": "number"
                                  },
                                  "x": {
                                    "type": "number"
                                  },
                                  "y": {
                                    "type": "number"
                                  }
                                }
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "The part of the source that shows, source pixels"
                          },
                          "corners": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "required": [
                                "x",
                                "y"
                              ],
                              "properties": {
                                "x": {
                                  "type": "number"
                                },
                                "y": {
                                  "type": "number"
                                }
                              }
                            },
                            "maxItems": 4,
                            "minItems": 4,
                            "description": "Corner pin: where the picture corners land, top left, top right, bottom right, bottom left"
                          },
                          "opacity": {
                            "type": "number"
                          },
                          "picture": {
                            "type": "object",
                            "required": [
                              "x",
                              "y",
                              "w",
                              "h"
                            ],
                            "properties": {
                              "h": {
                                "type": "number"
                              },
                              "w": {
                                "type": "number"
                              },
                              "x": {
                                "type": "number"
                              },
                              "y": {
                                "type": "number"
                              }
                            },
                            "description": "The whole picture, before crop and mask and rotation; for a corner pin, the box around its corners"
                          },
                          "visible": {
                            "anyOf": [
                              {
                                "type": "object",
                                "required": [
                                  "x",
                                  "y",
                                  "w",
                                  "h"
                                ],
                                "properties": {
                                  "h": {
                                    "type": "number"
                                  },
                                  "w": {
                                    "type": "number"
                                  },
                                  "x": {
                                    "type": "number"
                                  },
                                  "y": {
                                    "type": "number"
                                  }
                                }
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "What it shows: crop and mask applied, rotated, inside the frame; null: nothing"
                          },
                          "rotation": {
                            "type": "number"
                          }
                        }
                      }
                    },
                    "clip_id": {
                      "type": "string"
                    },
                    "complete": {
                      "type": "boolean",
                      "description": "true: values move in straight lines between entries; false: evenly sampled"
                    }
                  }
                },
                "description": "Where each clip the edit moved, cropped, masked or animated shows, sequence pixels; for a title or caption, the area it can draw in, not the text itself"
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The new version: edit this one next (older ids stay valid)"
              }
            }
          },
          "annotations": {
            "title": "Set mask",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "clip.set_animation",
          "title": "Set animation",
          "description": "Entrance, exit and loop presets layered over the clip transform (video://catalog/animations): e.g. in {name: \"pop\", duration_frames: 12}, loop {name: \"float\"}; a loop runs the whole clip, or only from_frame to to_frame of it (loop {name: \"shake\", from_frame: 30, to_frame: 45} for a jolt). null removes one. Returns the new timeline_id (edit that one next), what changed, and where each changed clip now sits.",
          "inputSchema": {
            "type": "object",
            "required": [
              "clip_id",
              "timeline_id"
            ],
            "properties": {
              "in": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "name",
                      "duration_frames"
                    ],
                    "properties": {
                      "name": {
                        "enum": [
                          "fade",
                          "zoom_in",
                          "zoom_out",
                          "slide_left",
                          "slide_right",
                          "slide_up",
                          "slide_down",
                          "pop",
                          "spin",
                          "drop"
                        ],
                        "type": "string"
                      },
                      "duration_frames": {
                        "type": "integer",
                        "maximum": 100000,
                        "exclusiveMinimum": 0
                      }
                    }
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Entrance, from the clip start"
              },
              "out": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "name",
                      "duration_frames"
                    ],
                    "properties": {
                      "name": {
                        "enum": [
                          "fade",
                          "zoom_in",
                          "zoom_out",
                          "slide_left",
                          "slide_right",
                          "slide_up",
                          "slide_down",
                          "pop",
                          "spin",
                          "drop"
                        ],
                        "type": "string"
                      },
                      "duration_frames": {
                        "type": "integer",
                        "maximum": 100000,
                        "exclusiveMinimum": 0
                      }
                    }
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Exit, ending at the clip end"
              },
              "loop": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "name"
                    ],
                    "properties": {
                      "name": {
                        "enum": [
                          "pulse",
                          "sway",
                          "shake",
                          "float",
                          "spin",
                          "flicker"
                        ],
                        "type": "string"
                      },
                      "strength": {
                        "type": "number",
                        "default": 1,
                        "maximum": 5,
                        "minimum": 0
                      },
                      "to_frame": {
                        "type": "integer",
                        "maximum": 10000000,
                        "minimum": -10000000,
                        "description": "Frame from the clip start it stops before, back at rest. Default the clip end"
                      },
                      "from_frame": {
                        "type": "integer",
                        "maximum": 10000000,
                        "minimum": -10000000,
                        "description": "Frame from the clip start where it begins, its first repeat starting there; like keyframes it stays on that moment of the source through trims and splits. Default the clip start"
                      },
                      "period_frames": {
                        "type": "integer",
                        "maximum": 100000,
                        "exclusiveMinimum": 0
                      }
                    }
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Repeats over the clip, or over from_frame to to_frame of it"
              },
              "clip_id": {
                "type": "string"
              },
              "preview": {
                "enum": [
                  "inline",
                  "link",
                  "none"
                ],
                "type": "string",
                "default": "link",
                "description": "inline: image in the result; link: URI that renders on read; none"
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "Timeline handle; every edit returns a new one"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "timeline_id",
              "parent",
              "changed",
              "preview",
              "warnings"
            ],
            "properties": {
              "parent": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The version this edit started from"
              },
              "changed": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "type",
                    "change"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "end": {
                      "type": "integer"
                    },
                    "kind": {
                      "type": "string"
                    },
                    "type": {
                      "enum": [
                        "clip",
                        "track",
                        "transition",
                        "effects",
                        "master",
                        "sequence",
                        "name"
                      ],
                      "type": "string"
                    },
                    "start": {
                      "type": "integer"
                    },
                    "change": {
                      "enum": [
                        "added",
                        "removed",
                        "modified"
                      ],
                      "type": "string"
                    },
                    "track_id": {
                      "type": "string"
                    }
                  }
                },
                "description": "What the edit added, removed or modified; a clip or transition says its track and where it now sits (frames, end exclusive)"
              },
              "clip_id": {
                "type": "string",
                "description": "The clip this edit made or acted on (each tool says which)"
              },
              "preview": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "uri",
                      "frames",
                      "status"
                    ],
                    "properties": {
                      "uri": {
                        "type": "string"
                      },
                      "frames": {
                        "type": "array",
                        "items": {
                          "type": "integer",
                          "minimum": 0
                        },
                        "description": "Frames shown; for a waveform, the start and end of its span"
                      },
                      "status": {
                        "enum": [
                          "ready",
                          "pending"
                        ],
                        "type": "string"
                      },
                      "loudness": {
                        "type": "object",
                        "required": [
                          "lufs",
                          "true_peak_db"
                        ],
                        "properties": {
                          "lufs": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "true_peak_db": {
                            "type": [
                              "number",
                              "null"
                            ]
                          }
                        },
                        "description": "Measured for audio edits, over the waveform span"
                      }
                    }
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "clip_ids": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Every clip this edit made or acted on, linked ones included (each tool says which)"
              },
              "track_id": {
                "type": "string"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "placements": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "clip_id",
                    "frames",
                    "complete"
                  ],
                  "properties": {
                    "frames": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "frame",
                          "picture",
                          "rotation",
                          "opacity",
                          "visible",
                          "source"
                        ],
                        "properties": {
                          "frame": {
                            "type": "number",
                            "description": "From the clip start"
                          },
                          "source": {
                            "anyOf": [
                              {
                                "type": "object",
                                "required": [
                                  "x",
                                  "y",
                                  "w",
                                  "h"
                                ],
                                "properties": {
                                  "h": {
                                    "type": "number"
                                  },
                                  "w": {
                                    "type": "number"
                                  },
                                  "x": {
                                    "type": "number"
                                  },
                                  "y": {
                                    "type": "number"
                                  }
                                }
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "The part of the source that shows, source pixels"
                          },
                          "corners": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "required": [
                                "x",
                                "y"
                              ],
                              "properties": {
                                "x": {
                                  "type": "number"
                                },
                                "y": {
                                  "type": "number"
                                }
                              }
                            },
                            "maxItems": 4,
                            "minItems": 4,
                            "description": "Corner pin: where the picture corners land, top left, top right, bottom right, bottom left"
                          },
                          "opacity": {
                            "type": "number"
                          },
                          "picture": {
                            "type": "object",
                            "required": [
                              "x",
                              "y",
                              "w",
                              "h"
                            ],
                            "properties": {
                              "h": {
                                "type": "number"
                              },
                              "w": {
                                "type": "number"
                              },
                              "x": {
                                "type": "number"
                              },
                              "y": {
                                "type": "number"
                              }
                            },
                            "description": "The whole picture, before crop and mask and rotation; for a corner pin, the box around its corners"
                          },
                          "visible": {
                            "anyOf": [
                              {
                                "type": "object",
                                "required": [
                                  "x",
                                  "y",
                                  "w",
                                  "h"
                                ],
                                "properties": {
                                  "h": {
                                    "type": "number"
                                  },
                                  "w": {
                                    "type": "number"
                                  },
                                  "x": {
                                    "type": "number"
                                  },
                                  "y": {
                                    "type": "number"
                                  }
                                }
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "What it shows: crop and mask applied, rotated, inside the frame; null: nothing"
                          },
                          "rotation": {
                            "type": "number"
                          }
                        }
                      }
                    },
                    "clip_id": {
                      "type": "string"
                    },
                    "complete": {
                      "type": "boolean",
                      "description": "true: values move in straight lines between entries; false: evenly sampled"
                    }
                  }
                },
                "description": "Where each clip the edit moved, cropped, masked or animated shows, sequence pixels; for a title or caption, the area it can draw in, not the text itself"
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The new version: edit this one next (older ids stay valid)"
              }
            }
          },
          "annotations": {
            "title": "Set animation",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "edit.batch",
          "title": "Batch edit",
          "description": "A pipeline of edits in one call: each op runs on the result of the one before, and a later op takes an id an earlier op made with {\"$ref\":\"ops[N].clip_id\"} (or track_id, clip_ids[M]). Unrelated edits go in one pipeline too; order matters only when one edit uses the result of another. One new timeline_id and one preview at the end; all apply or none do. Separate edit calls each start from the timeline_id they are given, so they run one after another. Returns the edit result plus results: [{tool, clip_id?, clip_ids?, track_id?}] per op.",
          "inputSchema": {
            "type": "object",
            "required": [
              "timeline_id",
              "ops"
            ],
            "properties": {
              "ops": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "tool",
                    "args"
                  ],
                  "properties": {
                    "args": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {}
                    },
                    "tool": {
                      "enum": [
                        "timeline.set_sequence",
                        "track.add",
                        "track.remove",
                        "track.set",
                        "clip.add",
                        "clip.remove",
                        "clip.move",
                        "clip.trim",
                        "clip.split",
                        "clip.link",
                        "clip.unlink",
                        "clip.set_enabled",
                        "clip.set_speed",
                        "clip.freeze",
                        "clip.roll",
                        "clip.slip",
                        "clip.slide",
                        "clip.replace",
                        "range.lift",
                        "range.extract",
                        "title.add",
                        "caption.add",
                        "text.set",
                        "audio.set_gain",
                        "audio.set_pan",
                        "audio.fade",
                        "audio.set_master",
                        "filter.add",
                        "filter.set",
                        "filter.remove",
                        "adjustment.add",
                        "transition.add",
                        "transition.set",
                        "transition.remove",
                        "clip.set_transform",
                        "clip.set_blend",
                        "clip.set_mask",
                        "clip.set_animation"
                      ],
                      "type": "string"
                    }
                  }
                },
                "maxItems": 200,
                "minItems": 1,
                "description": "Edits applied in order as one change. An arg may be {\"$ref\":\"ops[2].clip_id\"} to use an id made by an earlier op; a linked clip.add's clip_id is its clip on track_id, and clip_ids holds the linked ones too"
              },
              "preview": {
                "enum": [
                  "inline",
                  "link",
                  "none"
                ],
                "type": "string",
                "default": "link",
                "description": "inline: image in the result; link: URI that renders on read; none"
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "Timeline handle; every edit returns a new one"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "timeline_id",
              "parent",
              "changed",
              "preview",
              "warnings",
              "results"
            ],
            "properties": {
              "parent": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The version this edit started from"
              },
              "changed": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "type",
                    "change"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "end": {
                      "type": "integer"
                    },
                    "kind": {
                      "type": "string"
                    },
                    "type": {
                      "enum": [
                        "clip",
                        "track",
                        "transition",
                        "effects",
                        "master",
                        "sequence",
                        "name"
                      ],
                      "type": "string"
                    },
                    "start": {
                      "type": "integer"
                    },
                    "change": {
                      "enum": [
                        "added",
                        "removed",
                        "modified"
                      ],
                      "type": "string"
                    },
                    "track_id": {
                      "type": "string"
                    }
                  }
                },
                "description": "What the edit added, removed or modified; a clip or transition says its track and where it now sits (frames, end exclusive)"
              },
              "preview": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "uri",
                      "frames",
                      "status"
                    ],
                    "properties": {
                      "uri": {
                        "type": "string"
                      },
                      "frames": {
                        "type": "array",
                        "items": {
                          "type": "integer",
                          "minimum": 0
                        },
                        "description": "Frames shown; for a waveform, the start and end of its span"
                      },
                      "status": {
                        "enum": [
                          "ready",
                          "pending"
                        ],
                        "type": "string"
                      },
                      "loudness": {
                        "type": "object",
                        "required": [
                          "lufs",
                          "true_peak_db"
                        ],
                        "properties": {
                          "lufs": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "true_peak_db": {
                            "type": [
                              "number",
                              "null"
                            ]
                          }
                        },
                        "description": "Measured for audio edits, over the waveform span"
                      }
                    }
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "results": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "tool"
                  ],
                  "properties": {
                    "tool": {
                      "type": "string"
                    },
                    "clip_id": {
                      "type": "string"
                    },
                    "clip_ids": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "track_id": {
                      "type": "string"
                    }
                  }
                }
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "placements": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "clip_id",
                    "frames",
                    "complete"
                  ],
                  "properties": {
                    "frames": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "frame",
                          "picture",
                          "rotation",
                          "opacity",
                          "visible",
                          "source"
                        ],
                        "properties": {
                          "frame": {
                            "type": "number",
                            "description": "From the clip start"
                          },
                          "source": {
                            "anyOf": [
                              {
                                "type": "object",
                                "required": [
                                  "x",
                                  "y",
                                  "w",
                                  "h"
                                ],
                                "properties": {
                                  "h": {
                                    "type": "number"
                                  },
                                  "w": {
                                    "type": "number"
                                  },
                                  "x": {
                                    "type": "number"
                                  },
                                  "y": {
                                    "type": "number"
                                  }
                                }
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "The part of the source that shows, source pixels"
                          },
                          "corners": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "required": [
                                "x",
                                "y"
                              ],
                              "properties": {
                                "x": {
                                  "type": "number"
                                },
                                "y": {
                                  "type": "number"
                                }
                              }
                            },
                            "maxItems": 4,
                            "minItems": 4,
                            "description": "Corner pin: where the picture corners land, top left, top right, bottom right, bottom left"
                          },
                          "opacity": {
                            "type": "number"
                          },
                          "picture": {
                            "type": "object",
                            "required": [
                              "x",
                              "y",
                              "w",
                              "h"
                            ],
                            "properties": {
                              "h": {
                                "type": "number"
                              },
                              "w": {
                                "type": "number"
                              },
                              "x": {
                                "type": "number"
                              },
                              "y": {
                                "type": "number"
                              }
                            },
                            "description": "The whole picture, before crop and mask and rotation; for a corner pin, the box around its corners"
                          },
                          "visible": {
                            "anyOf": [
                              {
                                "type": "object",
                                "required": [
                                  "x",
                                  "y",
                                  "w",
                                  "h"
                                ],
                                "properties": {
                                  "h": {
                                    "type": "number"
                                  },
                                  "w": {
                                    "type": "number"
                                  },
                                  "x": {
                                    "type": "number"
                                  },
                                  "y": {
                                    "type": "number"
                                  }
                                }
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "What it shows: crop and mask applied, rotated, inside the frame; null: nothing"
                          },
                          "rotation": {
                            "type": "number"
                          }
                        }
                      }
                    },
                    "clip_id": {
                      "type": "string"
                    },
                    "complete": {
                      "type": "boolean",
                      "description": "true: values move in straight lines between entries; false: evenly sampled"
                    }
                  }
                },
                "description": "Where each clip the edit moved, cropped, masked or animated shows, sequence pixels; for a title or caption, the area it can draw in, not the text itself"
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "The new version: edit this one next (older ids stay valid)"
              }
            }
          },
          "annotations": {
            "title": "Batch edit",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "media.import",
          "title": "Import media",
          "description": "Ingest the user's own video, audio, image or font into an editable media_id: probe, fingerprint, conform if needed (VFR, rotation, HDR → BT.709), 540p proxy and integrated loudness. A reference image to recreate needs no import: rebuild it with create.motion or create.still. A file on the user's phone or computer must be staged first (media.upload, or their upload page, https://cuttingfloor.ai/upload). Sources: an http(s) URL to the file itself (public Dropbox and Google Drive share links work as they are; a video site's page such as YouTube, or a private share, does not; fetched once, at the start), the upload_id of a staged file, a small file as a data: URI (up to 8 MB, with its sha256), the job_id of a completed export.video, a still (one frame of a video or an edit, as a PNG), or a file the chat attaches, as file. Long-running: returns a task, or {job_id, media_id}. The media_id is editable once the job reports processing, so start every import, then edit. The same file returns the same media_id; the copy stays here 7 days after last use.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "file": {
                "type": "object",
                "required": [
                  "download_url",
                  "file_id"
                ],
                "properties": {
                  "file_id": {
                    "type": "string",
                    "minLength": 1
                  },
                  "file_name": {
                    "type": "string"
                  },
                  "mime_type": {
                    "type": "string"
                  },
                  "download_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Where the server downloads the file from"
                  }
                },
                "description": "A file the user attached in the chat, as the client passes it (instead of source)"
              },
              "name": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "The media's desired name on the cutting floor. Default: the file's own name"
              },
              "source": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "path"
                    ],
                    "properties": {
                      "path": {
                        "type": "string",
                        "minLength": 1,
                        "description": "A file under a media root, e.g. /media/videos/clip.mp4 (local mode)"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "required": [
                      "url"
                    ],
                    "properties": {
                      "url": {
                        "type": "string",
                        "format": "uri",
                        "description": "An http(s) URL that downloads the file itself; a page about it (a YouTube or other video page, a private share) is refused"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "required": [
                      "upload_id"
                    ],
                    "properties": {
                      "upload_id": {
                        "type": "string",
                        "pattern": "^u_[0-9a-z]{26}$",
                        "description": "A file sent to the URL media.upload gave, once fully sent"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "required": [
                      "data"
                    ],
                    "properties": {
                      "data": {
                        "type": "string",
                        "maxLength": 11185011,
                        "minLength": 6,
                        "description": "A small file written out as a data: URI (data:image/png;base64,…), up to 8 MB: a logo, a still, a short sound. Bigger files go through media.upload"
                      },
                      "sha256": {
                        "type": "string",
                        "pattern": "^[0-9a-f]{64}$",
                        "description": "The file's SHA-256 in hex; the import is refused if the data decodes to anything else"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "required": [
                      "job_id"
                    ],
                    "properties": {
                      "job_id": {
                        "type": "string",
                        "pattern": "^j_[0-9a-z]{26}$",
                        "description": "A completed export.video: its rendered file becomes media, e.g. to re-edit a finished cut or place it in a sequence of another shape"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "required": [
                      "still"
                    ],
                    "properties": {
                      "still": {
                        "type": "object",
                        "required": [
                          "frame"
                        ],
                        "properties": {
                          "frame": {
                            "type": "integer",
                            "minimum": 0
                          },
                          "media_id": {
                            "type": "string",
                            "pattern": "^m_[0-9a-z]{26}$",
                            "description": "A video, frame numbered at its own rate"
                          },
                          "timeline_id": {
                            "type": "string",
                            "pattern": "^tl_[0-9a-f]{32}$",
                            "description": "An edit, timeline frame, as it renders"
                          }
                        },
                        "description": "One frame of a video or of an edit as a still image (PNG at full size: the media size, or the sequence size; see-through parts of the media stay so): to place, cut out or reuse"
                      }
                    }
                  }
                ],
                "description": "Where the file is. Give this or file"
              },
              "idempotency_key": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "job_id",
              "status",
              "status_uri",
              "hint"
            ],
            "properties": {
              "hint": {
                "type": "string"
              },
              "job_id": {
                "type": "string",
                "pattern": "^j_[0-9a-z]{26}$",
                "description": "Job handle; the same value is the MCP task id"
              },
              "result": {
                "type": "object",
                "required": [
                  "media_id",
                  "name",
                  "status",
                  "kind",
                  "duration_seconds",
                  "fps",
                  "width",
                  "height",
                  "has_video",
                  "has_audio",
                  "codecs",
                  "conform",
                  "analysis"
                ],
                "properties": {
                  "fps": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "num",
                          "den"
                        ],
                        "properties": {
                          "den": {
                            "type": "number"
                          },
                          "num": {
                            "type": "number"
                          }
                        }
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "job": {
                    "type": "object",
                    "required": [
                      "job_id",
                      "tool",
                      "status"
                    ],
                    "properties": {
                      "tool": {
                        "type": "string"
                      },
                      "job_id": {
                        "type": "string",
                        "pattern": "^j_[0-9a-z]{26}$",
                        "description": "Job handle; the same value is the MCP task id"
                      },
                      "status": {
                        "enum": [
                          "working",
                          "completed",
                          "failed",
                          "cancelled"
                        ],
                        "type": "string"
                      },
                      "progress": {
                        "type": "number"
                      },
                      "seconds_left": {
                        "type": "number"
                      },
                      "status_message": {
                        "type": "string"
                      }
                    },
                    "description": "media.get, while importing or being made: the job doing it"
                  },
                  "url": {
                    "type": "string",
                    "description": "media.get: a signed download of the file itself, once it has one"
                  },
                  "kind": {
                    "anyOf": [
                      {
                        "enum": [
                          "video",
                          "audio",
                          "image",
                          "font",
                          "lut"
                        ],
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "look": {
                    "type": "object",
                    "required": [
                      "runs"
                    ],
                    "properties": {
                      "runs": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "id",
                            "model",
                            "questions",
                            "with_previous",
                            "frames"
                          ],
                          "properties": {
                            "id": {
                              "type": "string"
                            },
                            "model": {
                              "type": "string"
                            },
                            "state": {
                              "type": "object",
                              "propertyNames": {
                                "type": "string"
                              },
                              "additionalProperties": {}
                            },
                            "frames": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "required": [
                                  "time",
                                  "answers"
                                ],
                                "properties": {
                                  "time": {
                                    "type": "number"
                                  },
                                  "answers": {
                                    "type": "object",
                                    "propertyNames": {
                                      "type": "string"
                                    },
                                    "additionalProperties": {
                                      "type": "object",
                                      "propertyNames": {
                                        "type": "string"
                                      },
                                      "additionalProperties": {}
                                    }
                                  }
                                }
                              }
                            },
                            "questions": {
                              "type": "object",
                              "propertyNames": {
                                "type": "string"
                              },
                              "additionalProperties": {}
                            },
                            "with_previous": {
                              "type": "boolean"
                            }
                          }
                        }
                      }
                    }
                  },
                  "name": {
                    "type": "string"
                  },
                  "beats": {
                    "type": "object",
                    "required": [
                      "bpm",
                      "beats",
                      "downbeats"
                    ],
                    "properties": {
                      "bpm": {
                        "type": "number"
                      },
                      "beats": {
                        "type": "array",
                        "items": {
                          "type": "number"
                        }
                      },
                      "downbeats": {
                        "type": "array",
                        "items": {
                          "type": "number"
                        }
                      },
                      "strengths": {
                        "type": "array",
                        "items": {
                          "type": "number"
                        },
                        "description": "Per beat: its onset strength, 0–1 of the strongest in the sound"
                      }
                    }
                  },
                  "error": {
                    "type": "object",
                    "required": [
                      "code",
                      "message"
                    ],
                    "properties": {
                      "code": {
                        "enum": [
                          "bad_request",
                          "no_audio",
                          "not_found",
                          "expired",
                          "media_not_ready",
                          "media_offline",
                          "engine_error",
                          "render_failed",
                          "interrupted",
                          "stalled",
                          "cancelled",
                          "credential_required",
                          "credential_invalid",
                          "output_exists",
                          "path_not_allowed",
                          "limit_exceeded",
                          "quota_exceeded",
                          "subscription_required",
                          "email_unverified",
                          "service_unavailable",
                          "server_busy"
                        ],
                        "type": "string"
                      },
                      "hint": {
                        "type": "string"
                      },
                      "detail": {
                        "type": "object",
                        "propertyNames": {
                          "type": "string"
                        },
                        "additionalProperties": {}
                      },
                      "message": {
                        "type": "string"
                      }
                    }
                  },
                  "faces": {
                    "type": "object",
                    "required": [
                      "rate",
                      "frames"
                    ],
                    "properties": {
                      "rate": {
                        "type": "number"
                      },
                      "frames": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "time",
                            "faces"
                          ],
                          "properties": {
                            "time": {
                              "type": "number"
                            },
                            "faces": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "required": [
                                  "x",
                                  "y",
                                  "w",
                                  "h",
                                  "score"
                                ],
                                "properties": {
                                  "h": {
                                    "type": "number"
                                  },
                                  "w": {
                                    "type": "number"
                                  },
                                  "x": {
                                    "type": "number"
                                  },
                                  "y": {
                                    "type": "number"
                                  },
                                  "score": {
                                    "type": "number"
                                  }
                                },
                                "description": "Top-left corner x, y and size w, h, fractions of the picture (centre: x + w/2, y + h/2); score 0–1"
                              }
                            }
                          }
                        }
                      }
                    }
                  },
                  "pages": {
                    "type": "object",
                    "description": "media.get with a range, offset or limit: per included analysis, which piece of its list came back",
                    "propertyNames": {
                      "enum": [
                        "transcript",
                        "beats",
                        "faces",
                        "look",
                        "speech",
                        "sounds",
                        "speakers",
                        "voice",
                        "colour",
                        "picture"
                      ],
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "object",
                      "required": [
                        "list",
                        "first",
                        "returned",
                        "matching",
                        "total",
                        "next_offset"
                      ],
                      "properties": {
                        "list": {
                          "type": "string",
                          "description": "The list paged: transcript.words, beats.beats, faces.frames, speech.probabilities (one per frame_seconds from `from`), speakers.turns, voice.frames, colour.frames, picture.columns (every column alike), or look runs[].frames (each run is cut the same way; first and the counts are the latest run's)"
                        },
                        "first": {
                          "type": "integer",
                          "description": "Index in the whole list of the first item returned (transcript: the word index clip.add source {words} takes)"
                        },
                        "total": {
                          "type": "integer",
                          "description": "Items in the whole list"
                        },
                        "matching": {
                          "type": "integer",
                          "description": "Items in the time range (the whole list without one)"
                        },
                        "returned": {
                          "type": "integer"
                        },
                        "next_offset": {
                          "anyOf": [
                            {
                              "type": "integer"
                            },
                            {
                              "type": "null"
                            }
                          ],
                          "description": "The offset that gives the next page of this range, or null at its end"
                        }
                      }
                    }
                  },
                  "probe": {
                    "type": "object",
                    "required": [
                      "format",
                      "streams"
                    ],
                    "properties": {
                      "format": {
                        "type": "object",
                        "propertyNames": {
                          "type": "string"
                        },
                        "additionalProperties": {}
                      },
                      "streams": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "propertyNames": {
                            "type": "string"
                          },
                          "additionalProperties": {}
                        }
                      }
                    },
                    "description": "media.get: everything FFprobe read from the file, as it gives it: the format and every stream (codec, pix_fmt, color_space, color_primaries, color_transfer, color_range, bit depth, sample rate, channel layout, tags, side data). Not for fonts and LUTs"
                  },
                  "width": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "codecs": {
                    "type": "object",
                    "required": [
                      "video",
                      "audio"
                    ],
                    "properties": {
                      "audio": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "video": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    }
                  },
                  "expiry": {
                    "type": "string",
                    "description": "kept_until in words: how long is left, and what keeps it longer or how to keep it"
                  },
                  "height": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "origin": {
                    "type": "object",
                    "required": [
                      "from"
                    ],
                    "properties": {
                      "url": {
                        "type": "string",
                        "description": "url: the address it was downloaded from, without its query string"
                      },
                      "via": {
                        "enum": [
                          "media.upload",
                          "account_page",
                          "data_uri"
                        ],
                        "type": "string",
                        "description": "upload: sent through a media.upload link, dropped on the cuttingfloor site, or a data: URI"
                      },
                      "from": {
                        "enum": [
                          "upload",
                          "url",
                          "path",
                          "render",
                          "created",
                          "still"
                        ],
                        "type": "string",
                        "description": "upload: a file the user sent; url: downloaded; path: a media root; render: an export.video; created: a create.* tool; still: a frame of a video or an edit"
                      },
                      "path": {
                        "type": "string",
                        "description": "path: the file it was imported from"
                      },
                      "tool": {
                        "type": "string",
                        "description": "created: the create.* tool that made it"
                      },
                      "frame": {
                        "type": "number",
                        "description": "still: the frame"
                      },
                      "range": {
                        "type": "object",
                        "required": [
                          "start",
                          "end"
                        ],
                        "properties": {
                          "end": {
                            "type": "number"
                          },
                          "start": {
                            "type": "number"
                          }
                        },
                        "description": "render: the frames exported, when not the whole timeline"
                      },
                      "job_id": {
                        "type": "string",
                        "pattern": "^j_[0-9a-z]{26}$",
                        "description": "render: the export.video job; created: the create.* job"
                      },
                      "preset": {
                        "type": "string",
                        "description": "render: the export preset"
                      },
                      "recipe": {
                        "type": "string",
                        "description": "created: a hash of what it was made from; the same recipe makes the same media"
                      },
                      "sources": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "track_id",
                            "kind",
                            "start",
                            "end",
                            "media_id",
                            "source_in",
                            "source_out"
                          ],
                          "properties": {
                            "end": {
                              "type": "number"
                            },
                            "kind": {
                              "enum": [
                                "video",
                                "audio"
                              ],
                              "type": "string"
                            },
                            "speed": {
                              "type": "object",
                              "description": "The clip's speed change, as clip.set_speed set it",
                              "propertyNames": {
                                "type": "string"
                              },
                              "additionalProperties": {}
                            },
                            "start": {
                              "type": "number",
                              "description": "Seconds into this file"
                            },
                            "media_id": {
                              "type": "string",
                              "pattern": "^m_[0-9a-z]{26}$",
                              "description": "The media this stretch plays"
                            },
                            "track_id": {
                              "type": "string",
                              "description": "Track of the timeline; outer/inner inside a nested one"
                            },
                            "source_in": {
                              "type": "number",
                              "description": "Seconds into that media"
                            },
                            "source_out": {
                              "type": "number"
                            }
                          }
                        },
                        "description": "render: where each stretch of this file comes from, per track, read from the timeline when it was exported (kept after the timeline expires). With a speed curve, source_in and source_out are the clip's whole source range"
                      },
                      "attached": {
                        "type": "boolean",
                        "description": "url: the file the user attached in the chat, passed as media.import file"
                      },
                      "media_id": {
                        "type": "string",
                        "pattern": "^m_[0-9a-z]{26}$",
                        "description": "still: the video the frame is from"
                      },
                      "file_name": {
                        "type": "string",
                        "description": "upload: the name the file was sent with"
                      },
                      "media_ids": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "pattern": "^m_[0-9a-z]{26}$",
                          "description": "Media handle from media.import or a create.* tool"
                        },
                        "description": "created: the media it was made from (a cutout's source, a page's assets)"
                      },
                      "upload_id": {
                        "type": "string",
                        "pattern": "^u_[0-9a-z]{26}$",
                        "description": "Upload handle from media.upload"
                      },
                      "timeline_id": {
                        "type": "string",
                        "pattern": "^tl_[0-9a-f]{32}$",
                        "description": "render: the timeline that was exported; still: the edit the frame is from"
                      }
                    },
                    "description": "Where it came from, to tell one version from another: the import source, the export of which timeline, or the create.* tool and the media it was made from"
                  },
                  "sounds": {
                    "type": "object",
                    "required": [
                      "model",
                      "min_probability",
                      "spans",
                      "peaks"
                    ],
                    "properties": {
                      "model": {
                        "type": "string"
                      },
                      "peaks": {
                        "type": "object",
                        "description": "Per sound reported: the highest probability it reaches anywhere",
                        "propertyNames": {
                          "type": "string"
                        },
                        "additionalProperties": {
                          "type": "number"
                        }
                      },
                      "spans": {
                        "type": "object",
                        "description": "Per sound: the runs of 40 ms frames at or above min_probability, in time order; empty when it never is",
                        "propertyNames": {
                          "type": "string"
                        },
                        "additionalProperties": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "start",
                              "end",
                              "peak_seconds",
                              "peak_probability"
                            ],
                            "properties": {
                              "end": {
                                "type": "number",
                                "description": "Where it ends, on the same clock"
                              },
                              "start": {
                                "type": "number",
                                "description": "Where the run of matching 40 ms frames starts: media seconds, or timeline seconds for a timeline"
                              },
                              "peak_seconds": {
                                "type": "number",
                                "description": "The middle of the most likely frame"
                              },
                              "peak_probability": {
                                "type": "number"
                              }
                            }
                          }
                        }
                      },
                      "scores": {
                        "type": "object",
                        "required": [
                          "start_seconds",
                          "step_seconds",
                          "values"
                        ],
                        "properties": {
                          "values": {
                            "type": "object",
                            "description": "Per sound, the highest probability in each step, 0 to 1",
                            "propertyNames": {
                              "type": "string"
                            },
                            "additionalProperties": {
                              "type": "array",
                              "items": {
                                "type": "number"
                              }
                            }
                          },
                          "step_seconds": {
                            "type": "number",
                            "description": "Seconds each value covers: 0.04 (every frame) unless asked or too long"
                          },
                          "start_seconds": {
                            "type": "number",
                            "description": "Where the first value starts: media seconds, or timeline seconds for a timeline"
                          }
                        },
                        "description": "Every probability, for your own cut-off or arithmetic"
                      },
                      "min_probability": {
                        "type": "number"
                      }
                    },
                    "description": "With include [\"sounds\"]: the latest media.analyze sounds run, every probability included"
                  },
                  "speech": {
                    "type": "object",
                    "required": [
                      "model",
                      "frame_seconds",
                      "from",
                      "probabilities"
                    ],
                    "properties": {
                      "from": {
                        "type": "number",
                        "description": "Seconds where the first probability starts"
                      },
                      "model": {
                        "type": "string"
                      },
                      "frame_seconds": {
                        "type": "number",
                        "description": "Each probability covers this long"
                      },
                      "probabilities": {
                        "type": "array",
                        "items": {
                          "type": "number"
                        },
                        "description": "Speech probability 0–1, one per frame, in order"
                      }
                    },
                    "description": "With include [\"speech\"]: the speech probability of every 32 ms frame"
                  },
                  "status": {
                    "enum": [
                      "importing",
                      "processing",
                      "ready",
                      "failed"
                    ],
                    "type": "string",
                    "description": "importing: not probed yet; processing: usable in edits, proxy still rendering; ready; failed"
                  },
                  "conform": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "Why a mezzanine was made (vfr, rotation, hdr, codec); empty when not needed"
                  },
                  "analyses": {
                    "type": "object",
                    "properties": {
                      "look": {
                        "type": "object",
                        "required": [
                          "runs",
                          "frames",
                          "questions"
                        ],
                        "properties": {
                          "runs": {
                            "type": "number"
                          },
                          "frames": {
                            "type": "number"
                          },
                          "questions": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          }
                        },
                        "description": "frames and questions: the latest run"
                      },
                      "beats": {
                        "type": "object",
                        "required": [
                          "bpm",
                          "beats"
                        ],
                        "properties": {
                          "bpm": {
                            "type": "number"
                          },
                          "beats": {
                            "type": "number"
                          }
                        }
                      },
                      "faces": {
                        "type": "object",
                        "required": [
                          "rate",
                          "frames_with_faces"
                        ],
                        "properties": {
                          "rate": {
                            "type": "number"
                          },
                          "frames_with_faces": {
                            "type": "number"
                          }
                        }
                      },
                      "voice": {
                        "type": "object",
                        "description": "frames, and the summary media.analyze voice gives",
                        "propertyNames": {
                          "type": "string"
                        },
                        "additionalProperties": {}
                      },
                      "colour": {
                        "type": "object",
                        "required": [
                          "frames",
                          "regions"
                        ],
                        "properties": {
                          "frames": {
                            "type": "number"
                          },
                          "regions": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          }
                        }
                      },
                      "sounds": {
                        "type": "object",
                        "required": [
                          "model",
                          "min_probability",
                          "heard"
                        ],
                        "properties": {
                          "heard": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "model": {
                            "type": "string"
                          },
                          "min_probability": {
                            "type": "number"
                          }
                        },
                        "description": "heard: the sounds the latest run found at or above its min_probability"
                      },
                      "speech": {
                        "type": "object",
                        "required": [
                          "model",
                          "frames",
                          "frame_seconds"
                        ],
                        "properties": {
                          "model": {
                            "type": "string"
                          },
                          "frames": {
                            "type": "number"
                          },
                          "frame_seconds": {
                            "type": "number"
                          }
                        }
                      },
                      "picture": {
                        "type": "object",
                        "required": [
                          "frames",
                          "from"
                        ],
                        "properties": {
                          "from": {
                            "type": "number"
                          },
                          "frames": {
                            "type": "number"
                          }
                        }
                      },
                      "speakers": {
                        "type": "object",
                        "required": [
                          "model",
                          "speakers",
                          "turns"
                        ],
                        "properties": {
                          "model": {
                            "type": "string"
                          },
                          "turns": {
                            "type": "number"
                          },
                          "speakers": {
                            "type": "number"
                          }
                        }
                      },
                      "transcript": {
                        "type": "object",
                        "required": [
                          "model",
                          "language",
                          "words"
                        ],
                        "properties": {
                          "model": {
                            "type": "string"
                          },
                          "words": {
                            "type": "number",
                            "description": "How many words; the words themselves are in transcript.words"
                          },
                          "language": {
                            "type": "string"
                          }
                        }
                      }
                    },
                    "description": "Summaries of media.analyze results (counts, not data); include puts each in full at the top level"
                  },
                  "analysis": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "loudness_lufs"
                        ],
                        "properties": {
                          "channels": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "required": [
                                "channel",
                                "rms_dbfs",
                                "peak_dbfs",
                                "noise_floor_dbfs"
                              ],
                              "properties": {
                                "channel": {
                                  "type": "integer",
                                  "exclusiveMinimum": 0
                                },
                                "rms_dbfs": {
                                  "type": [
                                    "number",
                                    "null"
                                  ]
                                },
                                "peak_dbfs": {
                                  "type": [
                                    "number",
                                    "null"
                                  ]
                                },
                                "noise_floor_dbfs": {
                                  "type": [
                                    "number",
                                    "null"
                                  ]
                                }
                              }
                            },
                            "description": "Each channel at import"
                          },
                          "loudness_lufs": {
                            "type": [
                              "number",
                              "null"
                            ],
                            "description": "Integrated loudness at import"
                          }
                        }
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "media_id": {
                    "type": "string",
                    "pattern": "^m_[0-9a-z]{26}$",
                    "description": "Media handle from media.import or a create.* tool"
                  },
                  "page_url": {
                    "type": "string",
                    "description": "media.get: a page that plays or shows the file in any browser, with no sign-in, to give a person; works until expires_at"
                  },
                  "warnings": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "create.motion and create.still: what went wrong in the page as it rendered (uncaught errors, console errors, files blocked or not found, tags never closed). It rendered anyway"
                  },
                  "extension": {
                    "type": "string",
                    "description": "The extension its format takes (.png, .mp4), from the file itself, not its name"
                  },
                  "has_audio": {
                    "type": "boolean"
                  },
                  "has_video": {
                    "type": "boolean"
                  },
                  "mime_type": {
                    "type": "string",
                    "description": "Its MIME type, likewise"
                  },
                  "created_at": {
                    "type": "string",
                    "description": "When it was imported or made"
                  },
                  "expires_at": {
                    "type": "string",
                    "description": "When url and page_url stop working"
                  },
                  "kept_until": {
                    "type": "string",
                    "description": "When the server deletes it: 7 days after last use; any use (a read, an edit, a render) pushes it back"
                  },
                  "transcript": {
                    "type": "object",
                    "required": [
                      "model",
                      "language",
                      "text",
                      "words"
                    ],
                    "properties": {
                      "from": {
                        "type": "number",
                        "description": "The stretch transcribed, if not all"
                      },
                      "text": {
                        "type": "string"
                      },
                      "model": {
                        "type": "string"
                      },
                      "until": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "words": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "text",
                            "start",
                            "end",
                            "confidence"
                          ],
                          "properties": {
                            "end": {
                              "type": "number"
                            },
                            "text": {
                              "type": "string"
                            },
                            "start": {
                              "type": "number"
                            },
                            "speaker": {
                              "type": [
                                "number",
                                "null"
                              ],
                              "description": "Who says it, from the latest speakers run"
                            },
                            "confidence": {
                              "type": "number",
                              "description": "0–1: how sure whisper is of the word itself"
                            },
                            "timing_confidence": {
                              "type": [
                                "number",
                                "null"
                              ],
                              "description": "0–1: how clearly the letters were heard between start and end; null: not aligned (digits, symbols, other languages), times fitted between neighbours"
                            }
                          }
                        },
                        "description": "Media seconds. Aligned words start and end within about 0.05 s of where their letters sound; an end on a soft consonant (s, t, k, f) or a breath can ring on up to about 0.1 s more. Short ums are often missing from the words; kind speech finds them as speech. A word \"-\" (or one starting with it) is whisper marking a new speaker, as subtitles do: a hint only; kind speakers measures who speaks when"
                      },
                      "language": {
                        "type": "string"
                      },
                      "aligned_by": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "The model that moved word edges to where the letters sound (English); null: the times are whisper's own, up to about a second off"
                      }
                    },
                    "description": "With include [\"transcript\"]: every word as {text, start, end, confidence}"
                  },
                  "fingerprint": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Identity of the file (BLAKE3 of its size and first, middle and last 4 MB), as export.video gives"
                  },
                  "font_family": {
                    "type": "string",
                    "description": "Fonts: the family; use font_media_id in a text style to set text in it"
                  },
                  "sound_seconds": {
                    "type": "number",
                    "description": "How long the sound runs; under duration_seconds, the end is soundless"
                  },
                  "picture_seconds": {
                    "type": "number",
                    "description": "How long the picture runs; under duration_seconds, the end has no picture"
                  },
                  "duration_seconds": {
                    "type": [
                      "number",
                      "null"
                    ]
                  }
                },
                "description": "The result, when status is completed; otherwise job.get gives it once completed"
              },
              "status": {
                "enum": [
                  "working",
                  "completed",
                  "failed",
                  "cancelled"
                ],
                "type": "string"
              },
              "media_id": {
                "type": "string",
                "pattern": "^m_[0-9a-z]{26}$",
                "description": "The media it is making: an import is usable in edits once its status is processing, a created media once this job completes"
              },
              "status_uri": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "Import media",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "media.upload",
          "title": "Upload media",
          "description": "Stage one file on this server: returns a url and an upload_id. A staged file is inert until imported. A chat app that displays this server's views shows the result to the user as an upload box: they pick a video, photo or other file from their phone or computer there and it is sent without leaving the chat, and the box says in the chat when it is in. The url works for 7 days and takes the file from whoever holds it, with no other credentials; opened in a browser, it is a page to pick the file and send it, so it reaches the same files where no box is shown, including one attached in a chat that isn't handed to you. Files the user drops on their upload page, https://cuttingfloor.ai/upload, are staged too: many at once, after signing in to the same account.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string",
                "pattern": "^[^/\\\\]+$",
                "maxLength": 200,
                "minLength": 1,
                "description": "The file's name, if known. A label only: the file the user picks on the page brings its own name, and import reads the content, not the extension"
              },
              "bytes": {
                "type": "integer",
                "description": "The file size, to be refused now rather than part way if it is too big",
                "exclusiveMinimum": 0
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "upload_id",
              "url",
              "expires_at",
              "expiry",
              "max_bytes",
              "how"
            ],
            "properties": {
              "how": {
                "type": "string"
              },
              "url": {
                "type": "string",
                "description": "The staging url; no other credentials needed"
              },
              "expiry": {
                "type": "string",
                "description": "expires_at in words: the link and a file sent through it go then unless imported"
              },
              "max_bytes": {
                "type": "number"
              },
              "upload_id": {
                "type": "string",
                "pattern": "^u_[0-9a-z]{26}$",
                "description": "Upload handle from media.upload"
              },
              "expires_at": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "Upload media",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "media.list",
          "title": "List media",
          "description": "What the user has here: imported and created media, and files they sent that aren't imported yet (through media.upload's link, or dropped on their upload page, https://cuttingfloor.ai/upload), with names, sizes and when each expires, plus this account's storage used and how much it holds. When the user mentions a file they sent or dropped (\"the interview I uploaded\"), find it here by name and media.import {source: {upload_id}} it; complete says it is all in. Listing does not count as a use, so nothing here lasts longer for being listed. This is a place to work, not storage: when the user counts on something here staying, tell them it goes on its own and offer to save it where they keep their files.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "Part of a name, any case: only media and uploads whose name holds it"
              },
              "limit": {
                "type": "integer",
                "default": 20,
                "maximum": 200,
                "minimum": 1,
                "description": "Most media in one answer, most recently used first"
              },
              "offset": {
                "type": "integer",
                "default": 0,
                "minimum": 0,
                "description": "Where a page of media starts: the next_offset of the page before"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "next_offset",
              "media",
              "media_count",
              "uploads",
              "upload_count",
              "storage"
            ],
            "properties": {
              "media": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "media_id",
                    "name",
                    "status",
                    "kind",
                    "duration_seconds",
                    "from",
                    "origin",
                    "bytes",
                    "created_at",
                    "expires_at",
                    "expiry"
                  ],
                  "properties": {
                    "from": {
                      "enum": [
                        "upload",
                        "url",
                        "path",
                        "render",
                        "created"
                      ],
                      "type": "string",
                      "description": "upload: a file the user sent; url: downloaded; path: a media root; render: an export.video; created: a create.* tool"
                    },
                    "kind": {
                      "anyOf": [
                        {
                          "enum": [
                            "video",
                            "audio",
                            "image",
                            "font",
                            "lut"
                          ],
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "name": {
                      "type": "string"
                    },
                    "bytes": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Size of the original file"
                    },
                    "expiry": {
                      "type": "string",
                      "description": "expires_at in words: how long is left and what keeps it longer"
                    },
                    "origin": {
                      "type": "object",
                      "required": [
                        "from"
                      ],
                      "properties": {
                        "url": {
                          "type": "string",
                          "description": "url: the address it was downloaded from, without its query string"
                        },
                        "via": {
                          "enum": [
                            "media.upload",
                            "account_page",
                            "data_uri"
                          ],
                          "type": "string",
                          "description": "upload: sent through a media.upload link, dropped on the cuttingfloor site, or a data: URI"
                        },
                        "from": {
                          "enum": [
                            "upload",
                            "url",
                            "path",
                            "render",
                            "created",
                            "still"
                          ],
                          "type": "string",
                          "description": "upload: a file the user sent; url: downloaded; path: a media root; render: an export.video; created: a create.* tool; still: a frame of a video or an edit"
                        },
                        "path": {
                          "type": "string",
                          "description": "path: the file it was imported from"
                        },
                        "tool": {
                          "type": "string",
                          "description": "created: the create.* tool that made it"
                        },
                        "frame": {
                          "type": "number",
                          "description": "still: the frame"
                        },
                        "range": {
                          "type": "object",
                          "required": [
                            "start",
                            "end"
                          ],
                          "properties": {
                            "end": {
                              "type": "number"
                            },
                            "start": {
                              "type": "number"
                            }
                          },
                          "description": "render: the frames exported, when not the whole timeline"
                        },
                        "job_id": {
                          "type": "string",
                          "pattern": "^j_[0-9a-z]{26}$",
                          "description": "render: the export.video job; created: the create.* job"
                        },
                        "preset": {
                          "type": "string",
                          "description": "render: the export preset"
                        },
                        "recipe": {
                          "type": "string",
                          "description": "created: a hash of what it was made from; the same recipe makes the same media"
                        },
                        "sources": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "track_id",
                              "kind",
                              "start",
                              "end",
                              "media_id",
                              "source_in",
                              "source_out"
                            ],
                            "properties": {
                              "end": {
                                "type": "number"
                              },
                              "kind": {
                                "enum": [
                                  "video",
                                  "audio"
                                ],
                                "type": "string"
                              },
                              "speed": {
                                "type": "object",
                                "description": "The clip's speed change, as clip.set_speed set it",
                                "propertyNames": {
                                  "type": "string"
                                },
                                "additionalProperties": {}
                              },
                              "start": {
                                "type": "number",
                                "description": "Seconds into this file"
                              },
                              "media_id": {
                                "type": "string",
                                "pattern": "^m_[0-9a-z]{26}$",
                                "description": "The media this stretch plays"
                              },
                              "track_id": {
                                "type": "string",
                                "description": "Track of the timeline; outer/inner inside a nested one"
                              },
                              "source_in": {
                                "type": "number",
                                "description": "Seconds into that media"
                              },
                              "source_out": {
                                "type": "number"
                              }
                            }
                          },
                          "description": "render: where each stretch of this file comes from, per track, read from the timeline when it was exported (kept after the timeline expires). With a speed curve, source_in and source_out are the clip's whole source range"
                        },
                        "attached": {
                          "type": "boolean",
                          "description": "url: the file the user attached in the chat, passed as media.import file"
                        },
                        "media_id": {
                          "type": "string",
                          "pattern": "^m_[0-9a-z]{26}$",
                          "description": "still: the video the frame is from"
                        },
                        "file_name": {
                          "type": "string",
                          "description": "upload: the name the file was sent with"
                        },
                        "media_ids": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "pattern": "^m_[0-9a-z]{26}$",
                            "description": "Media handle from media.import or a create.* tool"
                          },
                          "description": "created: the media it was made from (a cutout's source, a page's assets)"
                        },
                        "upload_id": {
                          "type": "string",
                          "pattern": "^u_[0-9a-z]{26}$",
                          "description": "Upload handle from media.upload"
                        },
                        "timeline_id": {
                          "type": "string",
                          "pattern": "^tl_[0-9a-f]{32}$",
                          "description": "render: the timeline that was exported; still: the edit the frame is from"
                        }
                      },
                      "description": "Where it came from, to tell one version from another: the import source, the export of which timeline, or the create.* tool and the media it was made from"
                    },
                    "status": {
                      "enum": [
                        "importing",
                        "processing",
                        "ready",
                        "failed"
                      ],
                      "type": "string"
                    },
                    "media_id": {
                      "type": "string",
                      "pattern": "^m_[0-9a-z]{26}$",
                      "description": "Media handle from media.import or a create.* tool"
                    },
                    "created_at": {
                      "type": "string"
                    },
                    "expires_at": {
                      "type": "string",
                      "description": "When the server deletes it: 7 days after last use; any use pushes it back"
                    },
                    "duration_seconds": {
                      "type": [
                        "number",
                        "null"
                      ]
                    }
                  }
                },
                "description": "Imported and created media, most recently used first (up to 200)"
              },
              "storage": {
                "type": "object",
                "required": [
                  "used_bytes",
                  "max_bytes"
                ],
                "properties": {
                  "max_bytes": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "description": "This account's storage, in bytes; null for no limit"
                  },
                  "used_bytes": {
                    "type": "number",
                    "description": "Everything held: uploads, media with its proxies, exports"
                  }
                }
              },
              "uploads": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "upload_id",
                    "name",
                    "received_bytes",
                    "bytes",
                    "complete",
                    "created_at",
                    "expires_at",
                    "expiry"
                  ],
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "bytes": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "The size given when the upload began, if any"
                    },
                    "expiry": {
                      "type": "string",
                      "description": "expires_at in words: how long is left to import it"
                    },
                    "complete": {
                      "type": "boolean",
                      "description": "All sent: media.import {source: {upload_id}} takes it"
                    },
                    "upload_id": {
                      "type": "string",
                      "pattern": "^u_[0-9a-z]{26}$",
                      "description": "Upload handle from media.upload"
                    },
                    "created_at": {
                      "type": "string"
                    },
                    "expires_at": {
                      "type": "string"
                    },
                    "received_bytes": {
                      "type": "number"
                    }
                  }
                },
                "description": "Files sent to the server and not imported yet, newest first (up to 200): through media.upload, or dropped on the cuttingfloor site by the user"
              },
              "media_count": {
                "type": "integer",
                "description": "All media held (that match name), including any not listed"
              },
              "next_offset": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "offset for the next page of media; null on the last"
              },
              "upload_count": {
                "type": "integer",
                "description": "All uploads waiting (that match name), including any not listed"
              }
            }
          },
          "annotations": {
            "title": "List media",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "media.delete",
          "title": "Delete media",
          "description": "Delete a media for good, so an old or wrong version stops turning up: its file here, proxy, mezzanine and media.analyze results go, and its room comes back to this account’s storage. A path import leaves the original in its folder; exports made from it stay. Timelines that use it keep their ids and edits but no longer render (media_offline names it, as for expired media): replace those clips with clip.replace. Importing the same file again makes a new media_id.",
          "inputSchema": {
            "type": "object",
            "required": [
              "media_id"
            ],
            "properties": {
              "media_id": {
                "type": "string",
                "pattern": "^m_[0-9a-z]{26}$",
                "description": "Media handle from media.import or a create.* tool"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "media_id",
              "deleted",
              "freed_bytes",
              "storage"
            ],
            "properties": {
              "deleted": {
                "type": "boolean",
                "const": true
              },
              "storage": {
                "type": "object",
                "required": [
                  "used_bytes",
                  "max_bytes"
                ],
                "properties": {
                  "max_bytes": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "description": "This account's storage, in bytes; null for no limit"
                  },
                  "used_bytes": {
                    "type": "number"
                  }
                }
              },
              "media_id": {
                "type": "string",
                "pattern": "^m_[0-9a-z]{26}$",
                "description": "Media handle from media.import or a create.* tool"
              },
              "freed_bytes": {
                "type": "number",
                "description": "What it held here: the file, its proxy and mezzanine, and its analyses"
              }
            }
          },
          "annotations": {
            "title": "Delete media",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "media.analyze",
          "title": "Analyze media",
          "description": "Find what is in imported media, or in the sound of an edit, as data for edits. transcript: every word with its time (whisper.cpp on the CPU; the model downloads once). For English the word edges are then aligned to the sound (wav2vec2 forced alignment): a word starts and ends within about 0.05 s of where its letters sound, and an end on a soft consonant (s, t, k, f) or a breath can ring on up to about 0.1 s more; timing_confidence says how clearly each word was heard. Other languages keep whisper's own times, up to about a second off. Short ums and uhs are often missing from the words, while kind speech still detects them as voice. from_seconds and until_seconds transcribe just that stretch: the words come back in the result and are not stored, so the stored transcript (which edits and captions read) stays the whole media's. file: txt also writes the transcript as a file on the cutting floor, with a download url. beats: tempo, beat and downbeat times, and strengths: each beat's onset strength, 0–1 of the strongest (the hardest hits, the drop). faces: face boxes over time, e.g. to reframe to 9:16 with clip.set_transform keyframes. track: follow a region you give from a moment on, a box for each sampled time (found false where the subject was lost); to make a title, sticker, arrow or mask follow the subject, turn the boxes into clip.set_transform (or clip.set_mask) keyframes, no tracking of your own needed. look: your own typed questions about what is on screen, answered on every sampled frame (to find where something happens from plain words, media.seek). silence: stretches quieter than threshold_db for at least min_seconds. scenes: times the picture changes by more than threshold (0–100; hard cuts between ordinary shots score about 10 to 30, see threshold), with each cut's score. speech: the probability that someone is speaking, every 32 ms (Silero VAD), and the spans where it is at least your min_probability; it hears speech, not noise or music, so a cough or a door is not speech. loudness: integrated loudness (LUFS), true peak (dBTP), loudness range (LU), RMS level and noise floor (dBFS) over the whole media or from_seconds to until_seconds. To line up two recordings, media.correlate. sounds: what can be heard and when, every 40 ms, for 447 named sounds (video://catalog/sounds: Laughter, Applause, Cough, Sneeze, Music, Speech, Door, Footsteps, Beep…): give labels for the ones you want, or none for every sound that reaches your min_probability; you get each sound's spans and its probability in every frame (a run over the whole media is kept with it; one over from_seconds to until_seconds comes back only). To find a sound you describe in your own words, media.listen. speakers: who speaks when (pyannote and ERes2Net on the CPU, about 10 to 20 s a minute): turns numbered in the order voices are first heard; give speakers (how many) or cluster_threshold. Transcript words then carry their speaker. voice: pitch (YIN, Hz) and level (RMS dBFS) every 0.1 s, and a summary (pitch median and range, level, voiced seconds, words per second from the transcript), e.g. as judge.ask state. colour: per-channel mean and percentiles, luma, white point estimate and clipping (RGB 0–255) of the frame and regions you name, at sampled times. picture: FFmpeg signalstats of every frame over a stretch: luma, chroma, saturation, hue, and ydif, the change from the frame before (a flash or frozen frame shows there).\nWith timeline_id instead of media_id, speech, loudness, silence, sounds, speakers, voice measure the edit's mix and faces, track, look, scenes, colour, picture its picture as it renders (titles, effects and grades included), over from_seconds to until_seconds (timeline seconds); they come back in the result. A source or range with no sound fails with no_audio, naming it.\nTimes are media seconds (timeline seconds for a timeline); boxes are fractions of the picture, and a box you give takes units \"pixels\" too (picture_size gives the size). Results",
          "inputSchema": {
            "type": "object",
            "required": [
              "kind"
            ],
            "properties": {
              "file": {
                "enum": [
                  "txt"
                ],
                "type": "string",
                "description": "transcript: also write it as a file on the cutting floor, named for the media and the stretch it covers, with a download url like an export"
              },
              "kind": {
                "enum": [
                  "transcript",
                  "beats",
                  "faces",
                  "track",
                  "look",
                  "silence",
                  "scenes",
                  "speech",
                  "loudness",
                  "sounds",
                  "speakers",
                  "voice",
                  "colour",
                  "picture"
                ],
                "type": "string",
                "description": "transcript: words with times (whisper.cpp, then aligned to the sound); beats: tempo, beat times and the onset strength at each; faces: face boxes over time; track: follow a region; look: your own questions answered on sampled frames; silence: stretches quieter than threshold_db for min_seconds; scenes: times the picture changes by more than threshold; speech: where someone is speaking (Silero VAD probability every 32 ms, spans at or above min_probability); loudness: integrated loudness, true peak, loudness range, RMS and noise floor; sounds: when each of 447 named sounds (laughter, applause, cough, music, speech, door…) can be heard, every 40 ms; speakers: who speaks when; voice: pitch, level and pace over time; colour: colour statistics of frames and regions; picture: every frame's brightness, colour and change from the frame before"
              },
              "model": {
                "enum": [
                  "tiny",
                  "base",
                  "small"
                ],
                "type": "string",
                "default": "base",
                "description": "transcript: whisper size, on the server CPU. Bigger is more accurate and slower: small takes about 3 times as long as base, tiny about half"
              },
              "state": {
                "type": "object",
                "description": "look: text or JSON entries shown beside `frame` on every frame, by name, for questions to refer to (a script line, a definition)",
                "propertyNames": {
                  "type": "string",
                  "pattern": "^[A-Za-z][A-Za-z0-9_]{0,63}$"
                },
                "additionalProperties": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "number"
                    },
                    {
                      "type": "boolean"
                    },
                    {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {}
                    },
                    {
                      "type": "array",
                      "items": {}
                    }
                  ]
                }
              },
              "labels": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 100,
                  "minLength": 1
                },
                "maxItems": 64,
                "minItems": 1,
                "description": "sounds: the sounds to report, named as in video://catalog/sounds (e.g. [\"Laughter\", \"Applause\", \"Cough\"]). Default: every sound that reaches min_probability somewhere"
              },
              "region": {
                "type": "object",
                "required": [
                  "x",
                  "y",
                  "w",
                  "h",
                  "at_seconds"
                ],
                "properties": {
                  "h": {
                    "type": "number",
                    "exclusiveMinimum": 0
                  },
                  "w": {
                    "type": "number",
                    "exclusiveMinimum": 0
                  },
                  "x": {
                    "type": "number",
                    "minimum": 0
                  },
                  "y": {
                    "type": "number",
                    "minimum": 0
                  },
                  "units": {
                    "enum": [
                      "fraction",
                      "pixels"
                    ],
                    "type": "string",
                    "default": "fraction",
                    "description": "fraction (default): of the picture; pixels: of the picture at its own size"
                  },
                  "at_seconds": {
                    "type": "number",
                    "minimum": 0
                  }
                },
                "description": "track: the box to follow (top-left x, y and size) and when"
              },
              "regions": {
                "type": "object",
                "description": "colour: named boxes to measure besides the whole frame (frame), up to 16",
                "propertyNames": {
                  "type": "string",
                  "pattern": "^[A-Za-z][A-Za-z0-9_]{0,63}$"
                },
                "additionalProperties": {
                  "type": "object",
                  "required": [
                    "x",
                    "y",
                    "w",
                    "h"
                  ],
                  "properties": {
                    "h": {
                      "type": "number",
                      "exclusiveMinimum": 0
                    },
                    "w": {
                      "type": "number",
                      "exclusiveMinimum": 0
                    },
                    "x": {
                      "type": "number",
                      "minimum": 0
                    },
                    "y": {
                      "type": "number",
                      "minimum": 0
                    },
                    "units": {
                      "enum": [
                        "fraction",
                        "pixels"
                      ],
                      "type": "string",
                      "default": "fraction",
                      "description": "fraction (default): of the picture; pixels: of the picture at its own size"
                    }
                  }
                }
              },
              "language": {
                "type": "string",
                "default": "auto",
                "maxLength": 8,
                "minLength": 2,
                "description": "transcript: e.g. 'en', or 'auto'"
              },
              "media_id": {
                "type": "string",
                "pattern": "^m_[0-9a-z]{26}$",
                "description": "Analyze imported media (media seconds)"
              },
              "speakers": {
                "type": "integer",
                "maximum": 20,
                "minimum": 1,
                "description": "speakers: how many people speak, when you know (or give cluster_threshold)"
              },
              "questions": {
                "type": "object",
                "description": "look: id (yours, not shown to the model) to question; up to 32, all asked of every frame",
                "propertyNames": {
                  "type": "string",
                  "pattern": "^[A-Za-z][A-Za-z0-9_]{0,63}$"
                },
                "additionalProperties": {
                  "oneOf": [
                    {
                      "type": "object",
                      "required": [
                        "type",
                        "instructions"
                      ],
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "noul"
                        },
                        "criteria": {
                          "type": "object",
                          "properties": {
                            "true": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "minLength": 1
                                },
                                {
                                  "type": "object",
                                  "propertyNames": {
                                    "type": "string"
                                  },
                                  "additionalProperties": {}
                                },
                                {
                                  "type": "array",
                                  "items": {}
                                }
                              ]
                            },
                            "false": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "minLength": 1
                                },
                                {
                                  "type": "object",
                                  "propertyNames": {
                                    "type": "string"
                                  },
                                  "additionalProperties": {}
                                },
                                {
                                  "type": "array",
                                  "items": {}
                                }
                              ]
                            }
                          }
                        },
                        "instructions": {
                          "anyOf": [
                            {
                              "type": "string",
                              "minLength": 1
                            },
                            {
                              "type": "object",
                              "propertyNames": {
                                "type": "string"
                              },
                              "additionalProperties": {}
                            },
                            {
                              "type": "array",
                              "items": {}
                            }
                          ]
                        }
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "type",
                        "instructions",
                        "criteria"
                      ],
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "choice"
                        },
                        "criteria": {
                          "type": "object",
                          "description": "option: what it means",
                          "propertyNames": {
                            "type": "string"
                          },
                          "additionalProperties": {
                            "anyOf": [
                              {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "minLength": 1
                                  },
                                  {
                                    "type": "object",
                                    "propertyNames": {
                                      "type": "string"
                                    },
                                    "additionalProperties": {}
                                  },
                                  {
                                    "type": "array",
                                    "items": {}
                                  }
                                ]
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        },
                        "instructions": {
                          "anyOf": [
                            {
                              "type": "string",
                              "minLength": 1
                            },
                            {
                              "type": "object",
                              "propertyNames": {
                                "type": "string"
                              },
                              "additionalProperties": {}
                            },
                            {
                              "type": "array",
                              "items": {}
                            }
                          ]
                        }
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "type",
                        "instructions",
                        "criteria"
                      ],
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "score"
                        },
                        "criteria": {
                          "type": "array",
                          "items": {
                            "anyOf": [
                              {
                                "type": "string",
                                "minLength": 1
                              },
                              {
                                "type": "object",
                                "propertyNames": {
                                  "type": "string"
                                },
                                "additionalProperties": {}
                              },
                              {
                                "type": "array",
                                "items": {}
                              }
                            ]
                          },
                          "maxItems": 10,
                          "minItems": 2,
                          "description": "levels, lowest first"
                        },
                        "instructions": {
                          "anyOf": [
                            {
                              "type": "string",
                              "minLength": 1
                            },
                            {
                              "type": "object",
                              "propertyNames": {
                                "type": "string"
                              },
                              "additionalProperties": {}
                            },
                            {
                              "type": "array",
                              "items": {}
                            }
                          ]
                        }
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "type",
                        "instructions"
                      ],
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "box"
                        },
                        "instructions": {
                          "anyOf": [
                            {
                              "type": "string",
                              "minLength": 1
                            },
                            {
                              "type": "object",
                              "propertyNames": {
                                "type": "string"
                              },
                              "additionalProperties": {}
                            },
                            {
                              "type": "array",
                              "items": {}
                            }
                          ]
                        }
                      }
                    }
                  ]
                }
              },
              "threshold": {
                "type": "number",
                "maximum": 100,
                "minimum": 0,
                "description": "scenes (required): how much the picture must change to count as a cut, 0–100 (FFmpeg scdet's score): the change from the frame before, in percent of full range, less the change just before it (so steady motion stays low). Hard cuts between ordinary shots score about 10 to 30, a cut between opposite pictures up to 100: start at FFmpeg's own default, 10, and raise it if you get too many"
              },
              "at_seconds": {
                "type": "array",
                "items": {
                  "type": "number",
                  "minimum": 0
                },
                "maxItems": 600,
                "minItems": 1,
                "description": "look, colour: sample exactly these times instead"
              },
              "min_seconds": {
                "type": "number",
                "maximum": 3600,
                "minimum": 0.01,
                "description": "silence (required): only stretches at least this long"
              },
              "percentiles": {
                "type": "array",
                "items": {
                  "type": "number",
                  "maximum": 100,
                  "minimum": 0
                },
                "default": [
                  5,
                  50,
                  95
                ],
                "maxItems": 20,
                "minItems": 1,
                "description": "colour: the percentiles to give of each channel"
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "Analyze an edit as it plays (timeline seconds): its mix (speech, loudness, silence, sounds, speakers, voice) or its picture (faces, track, look, scenes, colour, picture)"
              },
              "from_seconds": {
                "type": "number",
                "minimum": 0,
                "description": "Start sampling or measuring here (any kind but beats, and faces and scenes on media). Default 0"
              },
              "threshold_db": {
                "type": "number",
                "maximum": 0,
                "minimum": -100,
                "description": "silence (required): quieter than this counts as silence, dBFS"
              },
              "every_seconds": {
                "type": "number",
                "maximum": 3600,
                "minimum": 0.04,
                "description": "look, colour: sample a frame this often. Default 1"
              },
              "until_seconds": {
                "type": "number",
                "minimum": 0,
                "description": "Stop sampling or measuring here. Default: the end"
              },
              "with_previous": {
                "type": "boolean",
                "default": false,
                "description": "look: also show the frame sampled before, as `previous`"
              },
              "idempotency_key": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1
              },
              "min_probability": {
                "type": "number",
                "maximum": 1,
                "minimum": 0,
                "description": "speech (required): a 32 ms frame with at least this speech probability is speech; sounds (required): a 40 ms frame has the sound when its probability is at least this"
              },
              "cluster_threshold": {
                "type": "number",
                "maximum": 10,
                "description": "speakers: when the count is unknown, how different two voices must be to count as two people; lower finds more speakers (try 0.5 to 0.9)",
                "exclusiveMinimum": 0
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "job_id",
              "status",
              "status_uri",
              "hint"
            ],
            "properties": {
              "hint": {
                "type": "string"
              },
              "job_id": {
                "type": "string",
                "pattern": "^j_[0-9a-z]{26}$",
                "description": "Job handle; the same value is the MCP task id"
              },
              "result": {
                "type": "object",
                "required": [
                  "kind"
                ],
                "properties": {
                  "file": {
                    "type": "object",
                    "required": [
                      "name",
                      "url",
                      "page_url",
                      "expires_at",
                      "expiry"
                    ],
                    "properties": {
                      "url": {
                        "type": "string",
                        "description": "Signed download url"
                      },
                      "name": {
                        "type": "string"
                      },
                      "expiry": {
                        "type": "string",
                        "description": "When the file goes, in words"
                      },
                      "page_url": {
                        "type": "string",
                        "description": "Shows the file in any browser"
                      },
                      "expires_at": {
                        "type": "string",
                        "description": "When the url stops working"
                      }
                    },
                    "description": "file: the written file"
                  },
                  "kind": {
                    "enum": [
                      "transcript",
                      "beats",
                      "faces",
                      "track",
                      "look",
                      "silence",
                      "scenes",
                      "speech",
                      "loudness",
                      "sounds",
                      "speakers",
                      "voice",
                      "colour",
                      "picture"
                    ],
                    "type": "string"
                  },
                  "look": {
                    "type": "object",
                    "description": "look: this run (id, model, questions, frames with answers)",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {}
                  },
                  "note": {
                    "type": "string",
                    "description": "In place of the analysis when it is too long to return: where to read it"
                  },
                  "beats": {
                    "type": "object",
                    "required": [
                      "bpm",
                      "beats",
                      "downbeats"
                    ],
                    "properties": {
                      "bpm": {
                        "type": "number"
                      },
                      "beats": {
                        "type": "array",
                        "items": {
                          "type": "number"
                        }
                      },
                      "downbeats": {
                        "type": "array",
                        "items": {
                          "type": "number"
                        }
                      },
                      "strengths": {
                        "type": "array",
                        "items": {
                          "type": "number"
                        },
                        "description": "Per beat: its onset strength, 0–1 of the strongest in the sound"
                      }
                    }
                  },
                  "faces": {
                    "type": "object",
                    "required": [
                      "rate",
                      "frames"
                    ],
                    "properties": {
                      "rate": {
                        "type": "number"
                      },
                      "frames": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "time",
                            "faces"
                          ],
                          "properties": {
                            "time": {
                              "type": "number"
                            },
                            "faces": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "required": [
                                  "x",
                                  "y",
                                  "w",
                                  "h",
                                  "score"
                                ],
                                "properties": {
                                  "h": {
                                    "type": "number"
                                  },
                                  "w": {
                                    "type": "number"
                                  },
                                  "x": {
                                    "type": "number"
                                  },
                                  "y": {
                                    "type": "number"
                                  },
                                  "score": {
                                    "type": "number"
                                  }
                                },
                                "description": "Top-left corner x, y and size w, h, fractions of the picture (centre: x + w/2, y + h/2); score 0–1"
                              }
                            }
                          }
                        }
                      }
                    }
                  },
                  "model": {
                    "type": "string",
                    "description": "look: the judgment model"
                  },
                  "track": {
                    "type": "object",
                    "required": [
                      "rate",
                      "points"
                    ],
                    "properties": {
                      "rate": {
                        "type": "number"
                      },
                      "points": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "time",
                            "x",
                            "y",
                            "w",
                            "h",
                            "found"
                          ],
                          "properties": {
                            "h": {
                              "type": "number"
                            },
                            "w": {
                              "type": "number"
                            },
                            "x": {
                              "type": "number"
                            },
                            "y": {
                              "type": "number"
                            },
                            "time": {
                              "type": "number"
                            },
                            "found": {
                              "type": "boolean"
                            }
                          }
                        }
                      }
                    }
                  },
                  "voice": {
                    "type": "object",
                    "required": [
                      "method",
                      "frame_seconds",
                      "from",
                      "summary",
                      "frames"
                    ],
                    "properties": {
                      "from": {
                        "type": "number"
                      },
                      "frames": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "time",
                            "pitch_hz",
                            "voiced",
                            "level_db"
                          ],
                          "properties": {
                            "time": {
                              "type": "number"
                            },
                            "voiced": {
                              "type": "number",
                              "description": "Share of it with a clear pitch, 0–1"
                            },
                            "level_db": {
                              "type": [
                                "number",
                                "null"
                              ],
                              "description": "RMS, dBFS; null: digital silence"
                            },
                            "pitch_hz": {
                              "type": [
                                "number",
                                "null"
                              ],
                              "description": "Median of its voiced 10 ms steps; null: none"
                            }
                          }
                        }
                      },
                      "method": {
                        "type": "string"
                      },
                      "summary": {
                        "type": "object",
                        "required": [
                          "seconds",
                          "voiced_seconds",
                          "pitch_hz",
                          "pitch_range_semitones",
                          "level_db",
                          "words",
                          "words_per_second"
                        ],
                        "properties": {
                          "words": {
                            "type": [
                              "number",
                              "null"
                            ],
                            "description": "Transcript words in the stretch; null: no transcript"
                          },
                          "seconds": {
                            "type": "number"
                          },
                          "level_db": {
                            "type": "object",
                            "required": [
                              "rms",
                              "p10",
                              "p90"
                            ],
                            "properties": {
                              "p10": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "p90": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "rms": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              }
                            }
                          },
                          "pitch_hz": {
                            "anyOf": [
                              {
                                "type": "object",
                                "required": [
                                  "median",
                                  "p10",
                                  "p90"
                                ],
                                "properties": {
                                  "p10": {
                                    "type": "number"
                                  },
                                  "p90": {
                                    "type": "number"
                                  },
                                  "median": {
                                    "type": "number"
                                  }
                                }
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Over the voiced time"
                          },
                          "voiced_seconds": {
                            "type": "number",
                            "description": "Time with a clear pitch: voice, not noise or silence"
                          },
                          "words_per_second": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "pitch_range_semitones": {
                            "type": [
                              "number",
                              "null"
                            ],
                            "description": "p10 to p90: how much the voice moves"
                          }
                        }
                      },
                      "frame_seconds": {
                        "type": "number"
                      }
                    }
                  },
                  "colour": {
                    "type": "object",
                    "required": [
                      "percentiles",
                      "frames"
                    ],
                    "properties": {
                      "frames": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "time",
                            "regions"
                          ],
                          "properties": {
                            "time": {
                              "type": "number"
                            },
                            "regions": {
                              "type": "object",
                              "description": "frame: the whole picture; and each region you named",
                              "propertyNames": {
                                "type": "string"
                              },
                              "additionalProperties": {
                                "type": "object",
                                "required": [
                                  "pixels",
                                  "r",
                                  "g",
                                  "b",
                                  "luma",
                                  "white_point",
                                  "clipped_high",
                                  "clipped_low"
                                ],
                                "properties": {
                                  "b": {
                                    "type": "object",
                                    "required": [
                                      "mean",
                                      "percentiles"
                                    ],
                                    "properties": {
                                      "mean": {
                                        "type": "number"
                                      },
                                      "percentiles": {
                                        "type": "object",
                                        "description": "Per percentile asked (\"5\", \"50\", \"95\"): the value",
                                        "propertyNames": {
                                          "type": "string"
                                        },
                                        "additionalProperties": {
                                          "type": "number"
                                        }
                                      }
                                    }
                                  },
                                  "g": {
                                    "type": "object",
                                    "required": [
                                      "mean",
                                      "percentiles"
                                    ],
                                    "properties": {
                                      "mean": {
                                        "type": "number"
                                      },
                                      "percentiles": {
                                        "type": "object",
                                        "description": "Per percentile asked (\"5\", \"50\", \"95\"): the value",
                                        "propertyNames": {
                                          "type": "string"
                                        },
                                        "additionalProperties": {
                                          "type": "number"
                                        }
                                      }
                                    }
                                  },
                                  "r": {
                                    "type": "object",
                                    "required": [
                                      "mean",
                                      "percentiles"
                                    ],
                                    "properties": {
                                      "mean": {
                                        "type": "number"
                                      },
                                      "percentiles": {
                                        "type": "object",
                                        "description": "Per percentile asked (\"5\", \"50\", \"95\"): the value",
                                        "propertyNames": {
                                          "type": "string"
                                        },
                                        "additionalProperties": {
                                          "type": "number"
                                        }
                                      }
                                    }
                                  },
                                  "luma": {
                                    "type": "object",
                                    "required": [
                                      "mean",
                                      "percentiles"
                                    ],
                                    "properties": {
                                      "mean": {
                                        "type": "number"
                                      },
                                      "percentiles": {
                                        "type": "object",
                                        "description": "Per percentile asked (\"5\", \"50\", \"95\"): the value",
                                        "propertyNames": {
                                          "type": "string"
                                        },
                                        "additionalProperties": {
                                          "type": "number"
                                        }
                                      }
                                    },
                                    "description": "Rec. 709 luma of the encoded values: 0.2126 R + 0.7152 G + 0.0722 B"
                                  },
                                  "pixels": {
                                    "type": "object",
                                    "required": [
                                      "x",
                                      "y",
                                      "w",
                                      "h"
                                    ],
                                    "properties": {
                                      "h": {
                                        "type": "number"
                                      },
                                      "w": {
                                        "type": "number"
                                      },
                                      "x": {
                                        "type": "number"
                                      },
                                      "y": {
                                        "type": "number"
                                      }
                                    },
                                    "description": "The region measured, in pixels of the picture"
                                  },
                                  "clipped_low": {
                                    "type": "number",
                                    "description": "Share of pixels black in every channel"
                                  },
                                  "white_point": {
                                    "type": "object",
                                    "required": [
                                      "r",
                                      "g",
                                      "b"
                                    ],
                                    "properties": {
                                      "b": {
                                        "type": "number"
                                      },
                                      "g": {
                                        "type": "number"
                                      },
                                      "r": {
                                        "type": "number"
                                      }
                                    },
                                    "description": "Mean colour of the brightest 1% of its pixels, an estimate of the white point"
                                  },
                                  "clipped_high": {
                                    "type": "number",
                                    "description": "Share of pixels with a channel at 255"
                                  }
                                }
                              }
                            }
                          }
                        }
                      },
                      "percentiles": {
                        "type": "array",
                        "items": {
                          "type": "number"
                        }
                      }
                    }
                  },
                  "frames": {
                    "type": "number",
                    "description": "look: frames asked about"
                  },
                  "scenes": {
                    "type": "array",
                    "items": {
                      "type": "number"
                    },
                    "description": "scenes: cut times, media seconds"
                  },
                  "sounds": {
                    "type": "object",
                    "required": [
                      "model",
                      "min_probability",
                      "spans",
                      "peaks"
                    ],
                    "properties": {
                      "model": {
                        "type": "string"
                      },
                      "peaks": {
                        "type": "object",
                        "description": "Per sound reported: the highest probability it reaches anywhere",
                        "propertyNames": {
                          "type": "string"
                        },
                        "additionalProperties": {
                          "type": "number"
                        }
                      },
                      "spans": {
                        "type": "object",
                        "description": "Per sound: the runs of 40 ms frames at or above min_probability, in time order; empty when it never is",
                        "propertyNames": {
                          "type": "string"
                        },
                        "additionalProperties": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "start",
                              "end",
                              "peak_seconds",
                              "peak_probability"
                            ],
                            "properties": {
                              "end": {
                                "type": "number",
                                "description": "Where it ends, on the same clock"
                              },
                              "start": {
                                "type": "number",
                                "description": "Where the run of matching 40 ms frames starts: media seconds, or timeline seconds for a timeline"
                              },
                              "peak_seconds": {
                                "type": "number",
                                "description": "The middle of the most likely frame"
                              },
                              "peak_probability": {
                                "type": "number"
                              }
                            }
                          }
                        }
                      },
                      "scores": {
                        "type": "object",
                        "required": [
                          "start_seconds",
                          "step_seconds",
                          "values"
                        ],
                        "properties": {
                          "values": {
                            "type": "object",
                            "description": "Per sound, the highest probability in each step, 0 to 1",
                            "propertyNames": {
                              "type": "string"
                            },
                            "additionalProperties": {
                              "type": "array",
                              "items": {
                                "type": "number"
                              }
                            }
                          },
                          "step_seconds": {
                            "type": "number",
                            "description": "Seconds each value covers: 0.04 (every frame) unless asked or too long"
                          },
                          "start_seconds": {
                            "type": "number",
                            "description": "Where the first value starts: media seconds, or timeline seconds for a timeline"
                          }
                        },
                        "description": "Every probability, for your own cut-off or arithmetic"
                      },
                      "min_probability": {
                        "type": "number"
                      }
                    }
                  },
                  "speech": {
                    "type": "object",
                    "required": [
                      "model",
                      "min_probability",
                      "spans",
                      "frame_seconds",
                      "from"
                    ],
                    "properties": {
                      "from": {
                        "type": "number"
                      },
                      "model": {
                        "type": "string"
                      },
                      "spans": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "start",
                            "end"
                          ],
                          "properties": {
                            "end": {
                              "type": "number"
                            },
                            "start": {
                              "type": "number"
                            }
                          }
                        },
                        "description": "Runs of frames at or above min_probability, seconds"
                      },
                      "frame_seconds": {
                        "type": "number"
                      },
                      "probabilities": {
                        "type": "array",
                        "items": {
                          "type": "number"
                        },
                        "description": "Every frame, when short enough to return; media: also media.get include speech"
                      },
                      "min_probability": {
                        "type": "number"
                      }
                    }
                  },
                  "picture": {
                    "type": "object",
                    "required": [
                      "method",
                      "from",
                      "columns"
                    ],
                    "properties": {
                      "from": {
                        "type": "number"
                      },
                      "method": {
                        "type": "string"
                      },
                      "columns": {
                        "type": "object",
                        "description": "One number per frame in each, in order: time, then FFmpeg signalstats in the picture's own bit depth (0–255 for 8-bit): ymin, ylow (10th percentile), yavg, yhigh (90th), ymax, the same for u and v, satmin…satmax, huemed, hueavg, ydif, udif, vdif (mean change from the frame before), and the bits each plane uses (ybitdepth…)",
                        "propertyNames": {
                          "type": "string"
                        },
                        "additionalProperties": {
                          "type": "array",
                          "items": {
                            "type": "number"
                          }
                        }
                      }
                    }
                  },
                  "summary": {
                    "type": "object",
                    "description": "The summary media.get gives under analyses; look: where each answer holds",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {}
                  },
                  "loudness": {
                    "type": "object",
                    "required": [
                      "integrated_lufs",
                      "true_peak_dbtp",
                      "loudness_range_lu",
                      "rms_dbfs",
                      "noise_floor_dbfs",
                      "channels",
                      "from",
                      "until"
                    ],
                    "properties": {
                      "from": {
                        "type": "number",
                        "description": "Seconds measured from"
                      },
                      "until": {
                        "type": [
                          "number",
                          "null"
                        ],
                        "description": "Seconds measured until; null: the end"
                      },
                      "channels": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "channel",
                            "rms_dbfs",
                            "peak_dbfs",
                            "noise_floor_dbfs"
                          ],
                          "properties": {
                            "channel": {
                              "type": "integer",
                              "exclusiveMinimum": 0
                            },
                            "rms_dbfs": {
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "peak_dbfs": {
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "noise_floor_dbfs": {
                              "type": [
                                "number",
                                "null"
                              ]
                            }
                          }
                        },
                        "description": "Each channel on its own, in stream order (1 is left in stereo)"
                      },
                      "rms_dbfs": {
                        "type": [
                          "number",
                          "null"
                        ],
                        "description": "RMS level over the whole stretch"
                      },
                      "true_peak_dbtp": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "integrated_lufs": {
                        "type": [
                          "number",
                          "null"
                        ],
                        "description": "EBU R128; null below its -70 LUFS gate"
                      },
                      "noise_floor_dbfs": {
                        "type": [
                          "number",
                          "null"
                        ],
                        "description": "Level of the quietest moments (FFmpeg astats noise floor): room tone or hiss"
                      },
                      "loudness_range_lu": {
                        "type": [
                          "number",
                          "null"
                        ],
                        "description": "EBU R128 loudness range (LRA)"
                      }
                    }
                  },
                  "media_id": {
                    "type": "string",
                    "pattern": "^m_[0-9a-z]{26}$",
                    "description": "Media handle from media.import or a create.* tool"
                  },
                  "silences": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "start",
                        "end"
                      ],
                      "properties": {
                        "end": {
                          "type": "number"
                        },
                        "start": {
                          "type": "number"
                        }
                      }
                    },
                    "description": "silence: media seconds; a stretch after the sound stops (see sound_ends) counts as silent"
                  },
                  "speakers": {
                    "type": "object",
                    "required": [
                      "model",
                      "speakers_asked",
                      "cluster_threshold",
                      "speakers",
                      "turns"
                    ],
                    "properties": {
                      "from": {
                        "type": "number",
                        "description": "The stretch diarised, when not the whole media"
                      },
                      "model": {
                        "type": "string"
                      },
                      "turns": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "start",
                            "end",
                            "speaker",
                            "confidence"
                          ],
                          "properties": {
                            "end": {
                              "type": "number"
                            },
                            "start": {
                              "type": "number"
                            },
                            "speaker": {
                              "type": "number",
                              "description": "0 is the first voice heard, 1 the next new one, …"
                            },
                            "confidence": {
                              "type": [
                                "number",
                                "null"
                              ],
                              "description": "0–1: how close this turn's voice sits to its speaker's other turns"
                            }
                          }
                        },
                        "description": "Each stretch of one voice, by start; two voices at once overlap"
                      },
                      "until": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "speakers": {
                        "type": "number",
                        "description": "How many speakers were found"
                      },
                      "speakers_asked": {
                        "type": [
                          "number",
                          "null"
                        ],
                        "description": "The count you gave, or null"
                      },
                      "cluster_threshold": {
                        "type": [
                          "number",
                          "null"
                        ],
                        "description": "The cut-off you gave, or null"
                      }
                    }
                  },
                  "sound_ends": {
                    "type": "number",
                    "description": "silence: where the sound stream stops, when it stops before the media ends: past it there is no sound at all"
                  },
                  "transcript": {
                    "type": "object",
                    "required": [
                      "model",
                      "language",
                      "text",
                      "words"
                    ],
                    "properties": {
                      "from": {
                        "type": "number",
                        "description": "The stretch transcribed, if not all"
                      },
                      "text": {
                        "type": "string"
                      },
                      "model": {
                        "type": "string"
                      },
                      "until": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "words": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "text",
                            "start",
                            "end",
                            "confidence"
                          ],
                          "properties": {
                            "end": {
                              "type": "number"
                            },
                            "text": {
                              "type": "string"
                            },
                            "start": {
                              "type": "number"
                            },
                            "speaker": {
                              "type": [
                                "number",
                                "null"
                              ],
                              "description": "Who says it, from the latest speakers run"
                            },
                            "confidence": {
                              "type": "number",
                              "description": "0–1: how sure whisper is of the word itself"
                            },
                            "timing_confidence": {
                              "type": [
                                "number",
                                "null"
                              ],
                              "description": "0–1: how clearly the letters were heard between start and end; null: not aligned (digits, symbols, other languages), times fitted between neighbours"
                            }
                          }
                        },
                        "description": "Media seconds. Aligned words start and end within about 0.05 s of where their letters sound; an end on a soft consonant (s, t, k, f) or a breath can ring on up to about 0.1 s more. Short ums are often missing from the words; kind speech finds them as speech. A word \"-\" (or one starting with it) is whisper marking a new speaker, as subtitles do: a hint only; kind speakers measures who speaks when"
                      },
                      "language": {
                        "type": "string"
                      },
                      "aligned_by": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "The model that moved word edges to where the letters sound (English); null: the times are whisper's own, up to about a second off"
                      }
                    }
                  },
                  "timeline_id": {
                    "type": "string",
                    "pattern": "^tl_[0-9a-f]{32}$",
                    "description": "Timeline handle; every edit returns a new one"
                  },
                  "picture_size": {
                    "type": "object",
                    "required": [
                      "width",
                      "height"
                    ],
                    "properties": {
                      "width": {
                        "type": "number"
                      },
                      "height": {
                        "type": "number"
                      }
                    },
                    "description": "faces, track, colour: the picture measured, in pixels (a box times it is pixels)"
                  },
                  "scene_scores": {
                    "type": "array",
                    "items": {
                      "type": "number"
                    },
                    "description": "scenes: how much the picture changed at each cut, on the threshold scale"
                  }
                },
                "description": "The result, when status is completed; otherwise job.get gives it once completed"
              },
              "status": {
                "enum": [
                  "working",
                  "completed",
                  "failed",
                  "cancelled"
                ],
                "type": "string"
              },
              "media_id": {
                "type": "string",
                "pattern": "^m_[0-9a-z]{26}$",
                "description": "The media it is making: an import is usable in edits once its status is processing, a created media once this job completes"
              },
              "status_uri": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "Analyze media",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "media.correlate",
          "title": "Sync offset",
          "description": "Find how far one recording sits from another: the sync offset of b against a, by cross-correlating their sound, with how strongly they match. Use it to line up a camera with a separate microphone, two cameras of the same moment, or a re-recorded line against the original. Each side is imported media or an edit's mix (timeline_id), over its own from_seconds to until_seconds, so you can match a short stretch of b against a longer stretch of a.\noffset_seconds: b's moment t lines up with a's moment t + offset_seconds, each in its own seconds. To line them up on a timeline, place b's clip so it starts offset_seconds later than a's (earlier when negative), source starts being equal. strength is the correlation of the overlapping sound at that offset, -1 to 1: near 1 the same sound, near 0 unrelated; next_best is the best offset outside the winning peak, and a strength close to it means the match is unclear (repetitive sound, or not the same moment). Offsets are searched up to max_offset_seconds either way, where at least half of the shorter sound overlaps the other. Up to 600 s read from each side.\nA side with no sound in its range (no audio stream, a range past its end, or digital silence) fails with no_audio, naming which side. Short reads answer at once; longer ones return a task or job.",
          "inputSchema": {
            "type": "object",
            "required": [
              "a",
              "b",
              "max_offset_seconds"
            ],
            "properties": {
              "a": {
                "type": "object",
                "properties": {
                  "media_id": {
                    "type": "string",
                    "pattern": "^m_[0-9a-z]{26}$",
                    "description": "Imported media (media seconds)"
                  },
                  "timeline_id": {
                    "type": "string",
                    "pattern": "^tl_[0-9a-f]{32}$",
                    "description": "An edit's mix as it plays (timeline seconds)"
                  },
                  "from_seconds": {
                    "type": "number",
                    "minimum": 0,
                    "description": "Read from here. Default 0"
                  },
                  "until_seconds": {
                    "type": "number",
                    "minimum": 0,
                    "description": "Read until here. Default: the end"
                  }
                },
                "description": "The sound to line up against: the reference"
              },
              "b": {
                "type": "object",
                "properties": {
                  "media_id": {
                    "type": "string",
                    "pattern": "^m_[0-9a-z]{26}$",
                    "description": "Imported media (media seconds)"
                  },
                  "timeline_id": {
                    "type": "string",
                    "pattern": "^tl_[0-9a-f]{32}$",
                    "description": "An edit's mix as it plays (timeline seconds)"
                  },
                  "from_seconds": {
                    "type": "number",
                    "minimum": 0,
                    "description": "Read from here. Default 0"
                  },
                  "until_seconds": {
                    "type": "number",
                    "minimum": 0,
                    "description": "Read until here. Default: the end"
                  }
                },
                "description": "The sound whose offset you want"
              },
              "idempotency_key": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1
              },
              "max_offset_seconds": {
                "type": "number",
                "maximum": 300,
                "minimum": 0.01,
                "description": "Search offsets up to this far either way"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "job_id",
              "status",
              "status_uri",
              "hint"
            ],
            "properties": {
              "hint": {
                "type": "string"
              },
              "job_id": {
                "type": "string",
                "pattern": "^j_[0-9a-z]{26}$",
                "description": "Job handle; the same value is the MCP task id"
              },
              "result": {
                "type": "object",
                "required": [
                  "offset_seconds",
                  "strength",
                  "overlap_seconds",
                  "next_best"
                ],
                "properties": {
                  "strength": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "description": "Correlation of the overlapping sound at that offset, -1 to 1: near 1 the same sound, near 0 unrelated"
                  },
                  "next_best": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "offset_seconds",
                          "strength"
                        ],
                        "properties": {
                          "strength": {
                            "type": "number"
                          },
                          "offset_seconds": {
                            "type": "number"
                          }
                        }
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "description": "The best offset outside the winning peak: close to strength means an unclear match"
                  },
                  "placement": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "offset_seconds as where to place b on a timeline, in plain words. Trust it only once strength and next_best agree: two unrelated files still come back with a placement"
                  },
                  "offset_seconds": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "description": "b's moment t lines up with a's moment t + offset_seconds, each in its own seconds; null when the sounds can't overlap by half within max_offset_seconds"
                  },
                  "overlap_seconds": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "description": "How much sound overlaps at that offset"
                  }
                },
                "description": "The result, when status is completed; otherwise job.get gives it once completed"
              },
              "status": {
                "enum": [
                  "working",
                  "completed",
                  "failed",
                  "cancelled"
                ],
                "type": "string"
              },
              "media_id": {
                "type": "string",
                "pattern": "^m_[0-9a-z]{26}$",
                "description": "The media it is making: an import is usable in edits once its status is processing, a created media once this job completes"
              },
              "status_uri": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "Sync offset",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "media.get",
          "title": "Get media",
          "description": "Status, where it came from (origin: the import source, the export of which timeline_id and preset, or the create.* tool and the media it was made from), a signed download url for the file (media is kept 7 days after last use, as kept_until and expiry say: save the file from it to keep it, and media.import it again later) and a page_url that plays or shows it in any browser (to give a person), its format (extension and mime_type, read from the file, not its name), everything the probe read (probe: the format and every stream, e.g. pix_fmt, colour space, primaries, transfer), duration, frame rate, conform reasons, integrated loudness and summaries of media.analyze results under analyses (counts only: analyses.transcript.words is how many words). While it is importing or being made, job names the job doing it and its progress. include returns those results at the top level, e.g. include [\"transcript\"] gives transcript.words, the list of words with times. For long media, read them in pieces: from_seconds and to_seconds keep what overlaps that stretch of the media, offset and limit page through what is left, and pages says, per analysis, the index of the first item returned in the whole list (for transcript words, the index clip.add source {words} takes), how many matched and next_offset for the next page (null at the end).",
          "inputSchema": {
            "type": "object",
            "required": [
              "media_id"
            ],
            "properties": {
              "limit": {
                "type": "integer",
                "minimum": 1,
                "description": "At most this many items of each included list; pages says where the next starts"
              },
              "offset": {
                "type": "integer",
                "default": 0,
                "minimum": 0,
                "description": "Skip this many items of each included list (after the time range)"
              },
              "include": {
                "type": "array",
                "items": {
                  "enum": [
                    "transcript",
                    "beats",
                    "faces",
                    "look",
                    "speech",
                    "sounds",
                    "speakers",
                    "voice",
                    "colour",
                    "picture"
                  ],
                  "type": "string"
                },
                "description": "Also return these analyses (otherwise only their summaries): in full, or the piece from_seconds, to_seconds, offset and limit choose. One never run on this media is absent, and warnings says so"
              },
              "media_id": {
                "type": "string",
                "pattern": "^m_[0-9a-z]{26}$",
                "description": "Media handle from media.import or a create.* tool"
              },
              "to_seconds": {
                "type": "number",
                "description": "Only what starts before this media time",
                "exclusiveMinimum": 0
              },
              "from_seconds": {
                "type": "number",
                "minimum": 0,
                "description": "Only what ends after this media time: transcript words, beats, speaker turns, frames"
              }
            }
          },
          "outputSchema": {
            "truncated": true,
            "chars": 22384
          },
          "annotations": {
            "title": "Get media",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "media.seek",
          "title": "Seek by natural language",
          "description": "Find the moments in a video, or in an edit as it renders, that match what you describe in plain words, so you go straight to them instead of watching it all. Name each criterion and say what a matching frame shows; you get back the stretches of time where each one holds, with the time and picture of the best frame in each.\nUse it to:\n- Check quality: find frames that are too dark or blown out, out of focus, black or blank (a gap in an edit), with a microphone or crew in shot, with text cut off at the edge, or with a caption over a face. With timeline_id it checks the edit as it renders, titles, effects and gaps included.\n- Watch efficiently: looking through a whole video costs you a picture for every moment. Seek judges the frames for you and says where things are, so you look only there: where the demo starts, where the speaker holds up the product, where the second location begins.\n- Pick shots: B-roll or a thumbnail moment that fits a description (\"a wide shot of a city street at night\", \"she smiles straight at the camera with her eyes open\").\n- Find changes: with with_previous, where the slide changes, someone walks in or the camera angle switches (\"`frame` shows a different slide from `previous`\").\n- Find room or trouble for overlays: where the lower third stays empty for a title, or where a logo, a licence plate or a face appears that needs a blur.\n\nHOW TO WRITE CRITERIA. A fast judgment model (preview) judges each sampled frame on its own, as a picture named `frame` (about 512 px on its long edge; with with_previous also `previous`, the frame sampled before), and gives each criterion the probability that it is true. A criterion is a statement or a question about how the picture looks. Keep one judgment to a criterion, and say what shows rather than a verdict: not \"bad lighting\" but \"the faces are too dark to make out their eyes\"; not \"a good thumbnail\" but \"a person looks straight at the camera with eyes open and mouth closed\". Criteria that name no picture or state entry in backticks are asked about `frame` (\"In `frame`: <your words>\"); name `frame`, `previous` or your state entries yourself to judge them together (\"`frame` shows the button `line` talks about\"). The judgment model answers most accurately from examples: give {instructions, criteria: {true: \"…\", false: \"…\"}} with a case of each ({true: \"the face is a dark silhouette against a bright window\", false: \"the face is evenly lit, a little dim\"}). Detail too small to see at that size (fine print, slight softness) answers poorly; check it with render.frames at full size.\nREADING THE RESULT. matches gives, per criterion, each run of consecutive samples at or above min_probability (default 0.5), with its start, end and best sample: peak_seconds, frame (for render.frames) and uri (a resource to read the picture). samples has every probability, for your own cut-off. A probability near 0.5 means the judgment model cannot tell, not that the thing is half there: reword a criterion that keeps landing there. asked shows the question each criterion became.\nCOST. Each frame is one judgment however many criteria it carries, so ask everything you are looking for in one call (up to 32 criteria). Work in passes: every_seconds 2 to 5 over the whole video, then at_seconds around a match to find more exactly where it starts. Sampling sees only the frames it samples, so no match can't prove a one-frame defect (a flash, a black or dropped frame) absent: read every frame of a suspect stretch with render.frames, or measure black frames with qa.check. Up to 600 frames a call. Long-running: returns a task, or a job_id for job.get.\nmedia.analyze look asks typed questions (a choice, a score, a box) of every frame when you need measurements rather than moments; judge.ask judges one picture at once.",
          "inputSchema": {
            "type": "object",
            "required": [
              "criteria"
            ],
            "properties": {
              "state": {
                "type": "object",
                "description": "Text or JSON entries shown beside `frame` on every frame, by name, for criteria to refer to (a script line, what a term means)",
                "propertyNames": {
                  "type": "string",
                  "pattern": "^[A-Za-z][A-Za-z0-9_]{0,63}$"
                },
                "additionalProperties": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "number"
                    },
                    {
                      "type": "boolean"
                    },
                    {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {}
                    },
                    {
                      "type": "array",
                      "items": {}
                    }
                  ]
                }
              },
              "criteria": {
                "type": "object",
                "description": "Name (yours, not shown to the model) to what a matching frame shows: a statement or question about the picture, or {instructions, criteria: {true, false}} to say what counts as yes and as no. Up to 32, each judged on every frame",
                "propertyNames": {
                  "type": "string",
                  "pattern": "^[A-Za-z][A-Za-z0-9_]{0,63}$"
                },
                "additionalProperties": {
                  "anyOf": [
                    {
                      "type": "string",
                      "minLength": 1
                    },
                    {
                      "type": "object",
                      "required": [
                        "instructions"
                      ],
                      "properties": {
                        "criteria": {
                          "type": "object",
                          "properties": {
                            "true": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "minLength": 1
                                },
                                {
                                  "type": "object",
                                  "propertyNames": {
                                    "type": "string"
                                  },
                                  "additionalProperties": {}
                                },
                                {
                                  "type": "array",
                                  "items": {}
                                }
                              ]
                            },
                            "false": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "minLength": 1
                                },
                                {
                                  "type": "object",
                                  "propertyNames": {
                                    "type": "string"
                                  },
                                  "additionalProperties": {}
                                },
                                {
                                  "type": "array",
                                  "items": {}
                                }
                              ]
                            }
                          }
                        },
                        "instructions": {
                          "anyOf": [
                            {
                              "type": "string",
                              "minLength": 1
                            },
                            {
                              "type": "object",
                              "propertyNames": {
                                "type": "string"
                              },
                              "additionalProperties": {}
                            },
                            {
                              "type": "array",
                              "items": {}
                            }
                          ]
                        }
                      },
                      "additionalProperties": false
                    }
                  ]
                }
              },
              "media_id": {
                "type": "string",
                "pattern": "^m_[0-9a-z]{26}$",
                "description": "Seek in imported media (media seconds)"
              },
              "at_seconds": {
                "type": "array",
                "items": {
                  "type": "number",
                  "minimum": 0
                },
                "maxItems": 600,
                "minItems": 1,
                "description": "Sample exactly these times instead"
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "Seek in an edit as it renders (timeline seconds): gaps, cuts, titles and effects included"
              },
              "from_seconds": {
                "type": "number",
                "minimum": 0,
                "description": "Start sampling here. Default 0"
              },
              "every_seconds": {
                "type": "number",
                "maximum": 3600,
                "minimum": 0.04,
                "description": "Sample a frame this often. Default 1"
              },
              "until_seconds": {
                "type": "number",
                "minimum": 0,
                "description": "Stop here. Default: the end"
              },
              "with_previous": {
                "type": "boolean",
                "default": false,
                "description": "Also show the frame sampled before, as `previous`, for criteria about change. The first sample is only shown as `previous`"
              },
              "idempotency_key": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1
              },
              "min_probability": {
                "type": "number",
                "default": 0.5,
                "maximum": 1,
                "minimum": 0,
                "description": "A frame matches a criterion when its probability is at least this"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "job_id",
              "status",
              "status_uri",
              "hint"
            ],
            "properties": {
              "hint": {
                "type": "string"
              },
              "job_id": {
                "type": "string",
                "pattern": "^j_[0-9a-z]{26}$",
                "description": "Job handle; the same value is the MCP task id"
              },
              "result": {
                "type": "object",
                "required": [
                  "model",
                  "frames",
                  "asked",
                  "matches",
                  "samples"
                ],
                "properties": {
                  "asked": {
                    "type": "object",
                    "description": "Per criterion: the noul question the judgment model was asked, as sent",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {}
                    }
                  },
                  "model": {
                    "type": "string",
                    "description": "The judgment model that judged the frames"
                  },
                  "frames": {
                    "type": "number",
                    "description": "Frames judged"
                  },
                  "matches": {
                    "type": "object",
                    "description": "Per criterion: runs of consecutive samples that match, in time order; empty when none do",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "start",
                          "end",
                          "peak_seconds",
                          "peak_probability",
                          "frame",
                          "uri"
                        ],
                        "properties": {
                          "end": {
                            "type": "number",
                            "description": "Last matching sample of the run, in seconds"
                          },
                          "uri": {
                            "type": "string",
                            "description": "MCP resource: the picture at peak_seconds"
                          },
                          "frame": {
                            "type": "integer",
                            "minimum": 0,
                            "description": "peak_seconds as a frame number, for render.frames"
                          },
                          "start": {
                            "type": "number",
                            "description": "First matching sample, in seconds"
                          },
                          "peak_seconds": {
                            "type": "number",
                            "description": "The sample most likely to match"
                          },
                          "peak_probability": {
                            "type": "number"
                          }
                        }
                      }
                    }
                  },
                  "samples": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "seconds",
                        "probabilities"
                      ],
                      "properties": {
                        "seconds": {
                          "type": "number"
                        },
                        "probabilities": {
                          "type": "object",
                          "description": "Per criterion, 0 to 1",
                          "propertyNames": {
                            "type": "string"
                          },
                          "additionalProperties": {
                            "type": "number"
                          }
                        }
                      }
                    },
                    "description": "Every judged sample, for your own cut-off or arithmetic"
                  },
                  "media_id": {
                    "type": "string",
                    "pattern": "^m_[0-9a-z]{26}$",
                    "description": "Media handle from media.import or a create.* tool"
                  },
                  "timeline_id": {
                    "type": "string",
                    "pattern": "^tl_[0-9a-f]{32}$",
                    "description": "Timeline handle; every edit returns a new one"
                  }
                },
                "description": "The result, when status is completed; otherwise job.get gives it once completed"
              },
              "status": {
                "enum": [
                  "working",
                  "completed",
                  "failed",
                  "cancelled"
                ],
                "type": "string"
              },
              "media_id": {
                "type": "string",
                "pattern": "^m_[0-9a-z]{26}$",
                "description": "The media it is making: an import is usable in edits once its status is processing, a created media once this job completes"
              },
              "status_uri": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "Seek by natural language",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "media.search",
          "title": "Search media by natural language",
          "description": "Find moments across all the user's media from what you describe in plain words: media.seek across every file instead of one. looks criteria are judged on pictures: each keyframe of every video (a new keyframe wherever the picture changes, at least every 10 s, picked when the media was indexed) and each image. says criteria are judged on ~30 s passages of transcripts the media already has. You get matches per criterion across files (media, start, end, best moment and its picture), most probable first.\nCOST. Each keyframe or passage judged is one judgment, however many criteria (up to 32) it carries; 200 judgments are a credit. Images cost 1 each; a 10-minute video about 50 to 260 by how much its picture changes. Every file the search keeps adds to the cost, so narrow first: kind, media_ids, from, name_contains, duration and from/until_seconds are free and cut what is judged before anything is. candidates is free too: it keeps the N media whose pictures look most like looks by local similarity, far cheaper, though it can drop media where the thing is small or brief. Ask everything you are looking for in one call.\nA search estimated over 1 credit is not run: the result has searched false, the estimate (judgments, credits, by kind, the largest media) and what the free filters could cut, and nothing is charged. Tell the user the cost and run it again with cost_override once they agree.\nHOW TO WRITE CRITERIA. As for media.seek: say what a matching picture shows or what the speech says, one judgment each, with {instructions, criteria: {true, false}} examples for accuracy. Pictures are judged at about 512 px, so small detail (a logo in a corner, fine print) can be missed.\nskipped lists media the filters kept that were not judged, and why (still indexing after import, no transcript, outside candidates): not found there is not the same as not there. Long-running: returns a task, or a job_id for job.get.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "from": {
                "type": "array",
                "items": {
                  "enum": [
                    "upload",
                    "url",
                    "path",
                    "render",
                    "created"
                  ],
                  "type": "string"
                },
                "minItems": 1,
                "description": "Only media that came this way (media.list's from). Free"
              },
              "kind": {
                "type": "array",
                "items": {
                  "enum": [
                    "video",
                    "image",
                    "audio",
                    "font",
                    "lut"
                  ],
                  "type": "string"
                },
                "minItems": 1,
                "description": "Only these kinds. Free"
              },
              "says": {
                "type": "object",
                "description": "Name to what matching speech says, judged on ~30 s passages of each media's existing transcript; media without one are listed as skipped",
                "propertyNames": {
                  "type": "string",
                  "pattern": "^[A-Za-z][A-Za-z0-9_]{0,63}$"
                },
                "additionalProperties": {
                  "anyOf": [
                    {
                      "type": "string",
                      "minLength": 1
                    },
                    {
                      "type": "object",
                      "required": [
                        "instructions"
                      ],
                      "properties": {
                        "criteria": {
                          "type": "object",
                          "properties": {
                            "true": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "minLength": 1
                                },
                                {
                                  "type": "object",
                                  "propertyNames": {
                                    "type": "string"
                                  },
                                  "additionalProperties": {}
                                },
                                {
                                  "type": "array",
                                  "items": {}
                                }
                              ]
                            },
                            "false": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "minLength": 1
                                },
                                {
                                  "type": "object",
                                  "propertyNames": {
                                    "type": "string"
                                  },
                                  "additionalProperties": {}
                                },
                                {
                                  "type": "array",
                                  "items": {}
                                }
                              ]
                            }
                          }
                        },
                        "instructions": {
                          "anyOf": [
                            {
                              "type": "string",
                              "minLength": 1
                            },
                            {
                              "type": "object",
                              "propertyNames": {
                                "type": "string"
                              },
                              "additionalProperties": {}
                            },
                            {
                              "type": "array",
                              "items": {}
                            }
                          ]
                        }
                      },
                      "additionalProperties": false
                    }
                  ]
                }
              },
              "looks": {
                "type": "object",
                "description": "Name (yours) to what a matching picture shows, judged on every keyframe of each video and on each image: a statement about the picture, or {instructions, criteria: {true, false}} with a case of each",
                "propertyNames": {
                  "type": "string",
                  "pattern": "^[A-Za-z][A-Za-z0-9_]{0,63}$"
                },
                "additionalProperties": {
                  "anyOf": [
                    {
                      "type": "string",
                      "minLength": 1
                    },
                    {
                      "type": "object",
                      "required": [
                        "instructions"
                      ],
                      "properties": {
                        "criteria": {
                          "type": "object",
                          "properties": {
                            "true": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "minLength": 1
                                },
                                {
                                  "type": "object",
                                  "propertyNames": {
                                    "type": "string"
                                  },
                                  "additionalProperties": {}
                                },
                                {
                                  "type": "array",
                                  "items": {}
                                }
                              ]
                            },
                            "false": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "minLength": 1
                                },
                                {
                                  "type": "object",
                                  "propertyNames": {
                                    "type": "string"
                                  },
                                  "additionalProperties": {}
                                },
                                {
                                  "type": "array",
                                  "items": {}
                                }
                              ]
                            }
                          }
                        },
                        "instructions": {
                          "anyOf": [
                            {
                              "type": "string",
                              "minLength": 1
                            },
                            {
                              "type": "object",
                              "propertyNames": {
                                "type": "string"
                              },
                              "additionalProperties": {}
                            },
                            {
                              "type": "array",
                              "items": {}
                            }
                          ]
                        }
                      },
                      "additionalProperties": false
                    }
                  ]
                }
              },
              "media_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^m_[0-9a-z]{26}$",
                  "description": "Media handle from media.import or a create.* tool"
                },
                "maxItems": 200,
                "minItems": 1,
                "description": "Only these media. Free"
              },
              "candidates": {
                "type": "integer",
                "maximum": 200,
                "minimum": 1,
                "description": "Judge only the media whose pictures look most like the looks criteria, by local similarity (free, no judgments): far cheaper, and can drop media where the thing is small or brief"
              },
              "from_seconds": {
                "type": "number",
                "minimum": 0,
                "description": "Judge each media from this second on. Free"
              },
              "cost_override": {
                "enum": [
                  "user_confirmed",
                  "user_preapproved"
                ],
                "type": "string",
                "description": "Run a search estimated over 1 credit: user_confirmed (the user saw this estimate and agreed) or user_preapproved (the user said to search whatever it costs)"
              },
              "name_contains": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "Only media whose name contains this, ignoring case. Free"
              },
              "until_seconds": {
                "type": "number",
                "minimum": 0,
                "description": "Judge each media up to this second. Free"
              },
              "idempotency_key": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1
              },
              "min_probability": {
                "type": "number",
                "default": 0.5,
                "maximum": 1,
                "minimum": 0,
                "description": "A keyframe or passage matches a criterion when its probability is at least this"
              },
              "max_duration_seconds": {
                "type": "number",
                "minimum": 0,
                "description": "Only media at most this long. Free"
              },
              "min_duration_seconds": {
                "type": "number",
                "minimum": 0,
                "description": "Only media at least this long. Free"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "job_id",
              "status",
              "status_uri",
              "hint"
            ],
            "properties": {
              "hint": {
                "type": "string"
              },
              "job_id": {
                "type": "string",
                "pattern": "^j_[0-9a-z]{26}$",
                "description": "Job handle; the same value is the MCP task id"
              },
              "result": {
                "type": "object",
                "required": [
                  "searched",
                  "estimate",
                  "asked",
                  "matches",
                  "judged",
                  "skipped"
                ],
                "properties": {
                  "asked": {
                    "type": "object",
                    "description": "Per criterion: the noul question the judgment model is asked, as sent",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {}
                    }
                  },
                  "model": {
                    "type": "string",
                    "description": "The judgment model that judged"
                  },
                  "judged": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "pattern": "^m_[0-9a-z]{26}$",
                      "description": "Media handle from media.import or a create.* tool"
                    },
                    "description": "Media judged"
                  },
                  "matches": {
                    "type": "object",
                    "description": "Per criterion: every match across the media, most probable first; empty when none",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "media_id",
                          "name",
                          "kind",
                          "start",
                          "end",
                          "peak_seconds",
                          "peak_probability"
                        ],
                        "properties": {
                          "end": {
                            "type": "number",
                            "description": "Seconds where it ends: the next keyframe or the passage end"
                          },
                          "uri": {
                            "type": "string",
                            "description": "looks: MCP resource, the picture at peak_seconds"
                          },
                          "kind": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "text": {
                            "type": "string",
                            "description": "says: the passage"
                          },
                          "start": {
                            "type": "number",
                            "description": "Seconds where the match starts"
                          },
                          "media_id": {
                            "type": "string",
                            "pattern": "^m_[0-9a-z]{26}$",
                            "description": "Media handle from media.import or a create.* tool"
                          },
                          "peak_seconds": {
                            "type": "number"
                          },
                          "peak_probability": {
                            "type": "number"
                          }
                        }
                      }
                    }
                  },
                  "skipped": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "media_id",
                        "name",
                        "route",
                        "reason"
                      ],
                      "properties": {
                        "name": {
                          "type": "string"
                        },
                        "route": {
                          "enum": [
                            "looks",
                            "says"
                          ],
                          "type": "string"
                        },
                        "reason": {
                          "enum": [
                            "not_ready",
                            "indexing",
                            "index_failed",
                            "no_picture",
                            "no_transcript",
                            "outside_candidates"
                          ],
                          "type": "string"
                        },
                        "media_id": {
                          "type": "string",
                          "pattern": "^m_[0-9a-z]{26}$",
                          "description": "Media handle from media.import or a create.* tool"
                        }
                      }
                    },
                    "description": "Media the filters kept but nothing judged, and why: not found there is not the same as not there"
                  },
                  "warning": {
                    "type": "string",
                    "description": "When not searched: the cost, what makes it up, and what the free filters would cut"
                  },
                  "estimate": {
                    "type": "object",
                    "required": [
                      "media",
                      "judgments",
                      "credits",
                      "by_kind",
                      "largest"
                    ],
                    "properties": {
                      "media": {
                        "type": "integer",
                        "description": "Media that would be judged"
                      },
                      "by_kind": {
                        "type": "object",
                        "description": "Per kind: media and judgments",
                        "propertyNames": {
                          "type": "string"
                        },
                        "additionalProperties": {
                          "type": "object",
                          "required": [
                            "media",
                            "judgments"
                          ],
                          "properties": {
                            "media": {
                              "type": "integer"
                            },
                            "judgments": {
                              "type": "integer"
                            }
                          }
                        }
                      },
                      "credits": {
                        "type": "number",
                        "description": "judgments at 200 a credit, plus a few seconds of running time"
                      },
                      "largest": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "media_id",
                            "name",
                            "kind",
                            "duration_seconds",
                            "judgments"
                          ],
                          "properties": {
                            "kind": {
                              "type": "string"
                            },
                            "name": {
                              "type": "string"
                            },
                            "media_id": {
                              "type": "string",
                              "pattern": "^m_[0-9a-z]{26}$",
                              "description": "Media handle from media.import or a create.* tool"
                            },
                            "judgments": {
                              "type": "integer"
                            },
                            "duration_seconds": {
                              "type": [
                                "number",
                                "null"
                              ]
                            }
                          }
                        },
                        "description": "The media taking the most judgments, most first (up to 10)"
                      },
                      "judgments": {
                        "type": "integer",
                        "description": "Keyframes and passages judged: one judgment each"
                      }
                    }
                  },
                  "searched": {
                    "type": "boolean",
                    "description": "false: over 1 credit without cost_override; nothing was judged or charged"
                  },
                  "candidates": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "media_id",
                        "similarity"
                      ],
                      "properties": {
                        "media_id": {
                          "type": "string",
                          "pattern": "^m_[0-9a-z]{26}$",
                          "description": "Media handle from media.import or a create.* tool"
                        },
                        "similarity": {
                          "type": "number"
                        }
                      }
                    },
                    "description": "With candidates: each media by its best keyframe similarity, highest first"
                  }
                },
                "description": "The result, when status is completed; otherwise job.get gives it once completed"
              },
              "status": {
                "enum": [
                  "working",
                  "completed",
                  "failed",
                  "cancelled"
                ],
                "type": "string"
              },
              "media_id": {
                "type": "string",
                "pattern": "^m_[0-9a-z]{26}$",
                "description": "The media it is making: an import is usable in edits once its status is processing, a created media once this job completes"
              },
              "status_uri": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "Search media by natural language",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "media.listen",
          "title": "Find sounds by description",
          "description": "Find when something can be heard in a video or audio file, or in an edit as it plays, from what you describe in plain words, so you go straight to it instead of listening to it all: laughter, applause, a cough, a door slamming, a phone ringing, a dog barking, music starting, someone typing, a car passing. Name each sound and say what it is; you get back the stretches of time where each one can be heard, with the moment it is clearest.\nUse it to:\n- Find reactions and moments: where the crew or the audience laughs, where people clap or cheer, a gasp, a scream.\n- Find trouble to cut or cover: a cough, a sneeze, a phone going off, a door, a siren, wind on the microphone, a click or a bump.\n- Find sound to cut on: a clap, a bang, a hit, the music starting or stopping.\n\nHOW IT WORKS. FlexSED, an open-vocabulary sound detection model (local, on the CPU; about 15 to 20 times faster than real time), listens to every 40 ms of the sound and gives each description the probability that it can be heard there. Describe the sound itself, briefly, as you would caption it (\"laughter\", \"a crowd cheering\", \"glass breaking\"), not the scene or a judgment; it is asked as \"The sound of <your words>\". Short, common sound names work best; put each sound you want in its own entry, up to 16 a call, all listened for at once.\nLIMITS. Inside music it hears \"music\", not drums, instruments or single hits (for hits in music, media.analyze beats). Inside speech it hears \"speech\", not what is said: words and fillers such as um sound alike to it. A short sound can score higher over a short from_seconds to until_seconds around it.\nREADING THE RESULT. matches gives, per sound, each run of frames at or above min_probability (default 0.5) with its start, end, peak_seconds and frame (for render.frames; media frames for video, timeline frames for an edit). peaks gives the highest probability each sound reaches, and scores every probability (step_seconds apart), for your own cut-off. A sound whose peak stays well under your cut-off is most likely not there; one hovering near it is worth a listen or a lower cut-off.\nMedia or an edit: with media_id, times are the file's own seconds; with timeline_id, it listens to the edit's mix as it plays (cuts, gaps, levels and effects included), over from_seconds to until_seconds, and times are timeline seconds, so a match is where that sound now sits in the edit. A source or range with no sound fails with no_audio, naming it.\nFor the 447 sounds with names (Laughter, Applause, Cough, Speech, Music…) as stored data, media.analyze kind sounds. Long-running: returns a task, or a job_id for job.get.",
          "inputSchema": {
            "type": "object",
            "required": [
              "sounds"
            ],
            "properties": {
              "sounds": {
                "type": "object",
                "description": "Name (yours) to the sound in plain words: what it is, as you would caption it (\"laughter\", \"a crowd cheering\", \"a door slams\", \"a phone ringing\", \"a dog barking\", \"keyboard typing\"). Up to 16, each listened for in every 40 ms frame",
                "propertyNames": {
                  "type": "string",
                  "pattern": "^[A-Za-z][A-Za-z0-9_]{0,63}$"
                },
                "additionalProperties": {
                  "type": "string",
                  "maxLength": 200,
                  "minLength": 1
                }
              },
              "media_id": {
                "type": "string",
                "pattern": "^m_[0-9a-z]{26}$",
                "description": "Listen to imported media (media seconds)"
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "Listen to an edit as it plays (timeline seconds): its mix, with cuts, gaps, levels and effects"
              },
              "from_seconds": {
                "type": "number",
                "minimum": 0,
                "description": "Start listening here (media or timeline seconds). Default 0"
              },
              "step_seconds": {
                "type": "number",
                "maximum": 60,
                "minimum": 0.04,
                "description": "scores: one value per this many seconds (the highest in each). Default 0.04, every frame, coarser when that would be too many"
              },
              "until_seconds": {
                "type": "number",
                "minimum": 0,
                "description": "Stop here. Default: the end"
              },
              "idempotency_key": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1
              },
              "min_probability": {
                "type": "number",
                "default": 0.5,
                "maximum": 1,
                "minimum": 0,
                "description": "A frame matches a sound when its probability is at least this"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "job_id",
              "status",
              "status_uri",
              "hint"
            ],
            "properties": {
              "hint": {
                "type": "string"
              },
              "job_id": {
                "type": "string",
                "pattern": "^j_[0-9a-z]{26}$",
                "description": "Job handle; the same value is the MCP task id"
              },
              "result": {
                "type": "object",
                "required": [
                  "model",
                  "asked",
                  "matches",
                  "peaks",
                  "scores"
                ],
                "properties": {
                  "note": {
                    "type": "string",
                    "description": "What the model can and cannot hear, to read a peak near 0 by"
                  },
                  "asked": {
                    "type": "object",
                    "description": "Per sound: the words the model was given",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "string"
                    }
                  },
                  "model": {
                    "type": "string",
                    "description": "The sound model that listened"
                  },
                  "peaks": {
                    "type": "object",
                    "description": "Per sound: the highest probability anywhere",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "number"
                    }
                  },
                  "scores": {
                    "type": "object",
                    "required": [
                      "start_seconds",
                      "step_seconds",
                      "values"
                    ],
                    "properties": {
                      "values": {
                        "type": "object",
                        "description": "Per sound, the highest probability in each step, 0 to 1",
                        "propertyNames": {
                          "type": "string"
                        },
                        "additionalProperties": {
                          "type": "array",
                          "items": {
                            "type": "number"
                          }
                        }
                      },
                      "step_seconds": {
                        "type": "number",
                        "description": "Seconds each value covers: 0.04 (every frame) unless asked or too long"
                      },
                      "start_seconds": {
                        "type": "number",
                        "description": "Where the first value starts: media seconds, or timeline seconds for a timeline"
                      }
                    },
                    "description": "Every probability, for your own cut-off or arithmetic"
                  },
                  "matches": {
                    "type": "object",
                    "description": "Per sound: runs of 40 ms frames that match, in time order; empty when none do",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "start",
                          "end",
                          "peak_seconds",
                          "peak_probability"
                        ],
                        "properties": {
                          "end": {
                            "type": "number",
                            "description": "Where it ends, on the same clock"
                          },
                          "frame": {
                            "type": "integer",
                            "minimum": 0,
                            "description": "peak_seconds as a frame number for render.frames: a media frame (video only), or a timeline frame"
                          },
                          "start": {
                            "type": "number",
                            "description": "Where the run of matching 40 ms frames starts: media seconds, or timeline seconds for a timeline"
                          },
                          "peak_seconds": {
                            "type": "number",
                            "description": "The middle of the most likely frame"
                          },
                          "peak_probability": {
                            "type": "number"
                          }
                        }
                      }
                    }
                  },
                  "media_id": {
                    "type": "string",
                    "pattern": "^m_[0-9a-z]{26}$",
                    "description": "Media handle from media.import or a create.* tool"
                  },
                  "timeline_id": {
                    "type": "string",
                    "pattern": "^tl_[0-9a-f]{32}$",
                    "description": "Timeline handle; every edit returns a new one"
                  }
                },
                "description": "The result, when status is completed; otherwise job.get gives it once completed"
              },
              "status": {
                "enum": [
                  "working",
                  "completed",
                  "failed",
                  "cancelled"
                ],
                "type": "string"
              },
              "media_id": {
                "type": "string",
                "pattern": "^m_[0-9a-z]{26}$",
                "description": "The media it is making: an import is usable in edits once its status is processing, a created media once this job completes"
              },
              "status_uri": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "Find sounds by description",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "judge.ask",
          "title": "Ask questions about text or pictures",
          "description": "Answer your questions about text and pictures you give (yes or no, a choice, a score, or where something is in a picture), as typed answers in about a second. It asks a fast judgment model (preview).\nThe judgment model sees exactly the state: each entry under its name, and your questions refer to entries by name in backticks (\"in `passage`\"). An entry is text (a string, or a JSON object or array of related facts) or a picture: {media_id} for an imported image, {media_id, at_seconds} for the frame of a video at that time, {timeline_id, at_seconds} for a frame of an edit as it renders (to judge a grade or a layout you made). Mix them freely. Each call stands alone, so put everything a judgment needs into its state.\nChoose the type by the answer you need. noul: yes or no, answered as noul, the probability of yes from 0 to 1 (0.5 or more reads as yes). choice: one of options you name, answered as choice plus probabilities and confidence. score: a degree on levels you order, answered as score (0 is the first level) plus confidence. box: where one thing is in a picture, answered as box {x, y, w, h} in fractions of that picture plus confidence.\nWrite each question as one thing, worded so yes means it is there. Open with what the state is (\"`passage` is a transcript of someone speaking off the cuff\"), and give a noul criteria {true, false} with an example of each: the judgment model answers most accurately from examples. To locate, name the one thing so only it fits (\"the yellow headline 'Get started' at the top of `shot`\") and ask a noul whether it is there; trust a box with high confidence.\nOne call answers many questions about one state at once, so judge many items together: put the shared text in state once, and give each item its own question carrying its own marked copy. Filler words: state {passage: \"So basically the way this works is\"}, and per word a noul \"`passage` is a transcript of someone speaking off the cuff. With one word marked: \"So [[basically]] the way this works is\". Is the marked word filler, so the sentence says the same without it?\" with criteria {true: \"the [[the]] report is late\", false: \"the report is [[late]]\"}. A shot: state {shot: {media_id, at_seconds: 12.5}}, choice \"What fills `shot`?\" with options {speaker: \"A person talking to camera\", screen: \"A screen recording\", none: \"Anything else\"}. Both: state {line: \"Click Get started\", screen: {media_id, at_seconds: 4}}, noul \"Does `screen` show the button `line` talks about?\".\nUp to 300 questions, 8 pictures and 200k characters of text a call. To find where something shows in a video or an edit, media.seek takes it in plain words; to measure every frame, media.analyze look asks your questions of frames it samples. Guide to writing questions: https://docs.typesafe.ai/primitives and https://docs.typesafe.ai/images.",
          "inputSchema": {
            "type": "object",
            "required": [
              "state",
              "questions"
            ],
            "properties": {
              "state": {
                "type": "object",
                "description": "What the judgment model sees, entry by entry: name to a string, a JSON object or array, or a picture: {media_id} (an image), {media_id, at_seconds} (a video frame) or {timeline_id, at_seconds} (a frame of an edit as it renders). Questions refer to entries by name in backticks",
                "propertyNames": {
                  "type": "string",
                  "pattern": "^[A-Za-z][A-Za-z0-9_]{0,63}$"
                },
                "additionalProperties": {
                  "anyOf": [
                    {
                      "type": "object",
                      "required": [
                        "media_id"
                      ],
                      "properties": {
                        "media_id": {
                          "type": "string",
                          "pattern": "^m_[0-9a-z]{26}$",
                          "description": "Media handle from media.import or a create.* tool"
                        },
                        "at_seconds": {
                          "type": "number",
                          "minimum": 0,
                          "description": "The frame of a video at this media time; needed for video"
                        }
                      },
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "required": [
                        "timeline_id",
                        "at_seconds"
                      ],
                      "properties": {
                        "at_seconds": {
                          "type": "number",
                          "minimum": 0,
                          "description": "Timeline seconds"
                        },
                        "timeline_id": {
                          "type": "string",
                          "pattern": "^tl_[0-9a-f]{32}$",
                          "description": "Timeline handle; every edit returns a new one"
                        }
                      },
                      "additionalProperties": false
                    },
                    {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "number"
                        },
                        {
                          "type": "boolean"
                        },
                        {
                          "type": "object",
                          "propertyNames": {
                            "type": "string"
                          },
                          "additionalProperties": {}
                        },
                        {
                          "type": "array",
                          "items": {}
                        }
                      ]
                    }
                  ]
                }
              },
              "questions": {
                "type": "object",
                "description": "id (yours, not shown to the model) to question; up to 300, all answered about the same state",
                "propertyNames": {
                  "type": "string",
                  "pattern": "^[A-Za-z][A-Za-z0-9_]{0,63}$"
                },
                "additionalProperties": {
                  "oneOf": [
                    {
                      "type": "object",
                      "required": [
                        "type",
                        "instructions"
                      ],
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "noul"
                        },
                        "criteria": {
                          "type": "object",
                          "properties": {
                            "true": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "minLength": 1
                                },
                                {
                                  "type": "object",
                                  "propertyNames": {
                                    "type": "string"
                                  },
                                  "additionalProperties": {}
                                },
                                {
                                  "type": "array",
                                  "items": {}
                                }
                              ]
                            },
                            "false": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "minLength": 1
                                },
                                {
                                  "type": "object",
                                  "propertyNames": {
                                    "type": "string"
                                  },
                                  "additionalProperties": {}
                                },
                                {
                                  "type": "array",
                                  "items": {}
                                }
                              ]
                            }
                          }
                        },
                        "instructions": {
                          "anyOf": [
                            {
                              "type": "string",
                              "minLength": 1
                            },
                            {
                              "type": "object",
                              "propertyNames": {
                                "type": "string"
                              },
                              "additionalProperties": {}
                            },
                            {
                              "type": "array",
                              "items": {}
                            }
                          ]
                        }
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "type",
                        "instructions",
                        "criteria"
                      ],
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "choice"
                        },
                        "criteria": {
                          "type": "object",
                          "description": "option: what it means",
                          "propertyNames": {
                            "type": "string"
                          },
                          "additionalProperties": {
                            "anyOf": [
                              {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "minLength": 1
                                  },
                                  {
                                    "type": "object",
                                    "propertyNames": {
                                      "type": "string"
                                    },
                                    "additionalProperties": {}
                                  },
                                  {
                                    "type": "array",
                                    "items": {}
                                  }
                                ]
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        },
                        "instructions": {
                          "anyOf": [
                            {
                              "type": "string",
                              "minLength": 1
                            },
                            {
                              "type": "object",
                              "propertyNames": {
                                "type": "string"
                              },
                              "additionalProperties": {}
                            },
                            {
                              "type": "array",
                              "items": {}
                            }
                          ]
                        }
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "type",
                        "instructions",
                        "criteria"
                      ],
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "score"
                        },
                        "criteria": {
                          "type": "array",
                          "items": {
                            "anyOf": [
                              {
                                "type": "string",
                                "minLength": 1
                              },
                              {
                                "type": "object",
                                "propertyNames": {
                                  "type": "string"
                                },
                                "additionalProperties": {}
                              },
                              {
                                "type": "array",
                                "items": {}
                              }
                            ]
                          },
                          "maxItems": 10,
                          "minItems": 2,
                          "description": "levels, lowest first"
                        },
                        "instructions": {
                          "anyOf": [
                            {
                              "type": "string",
                              "minLength": 1
                            },
                            {
                              "type": "object",
                              "propertyNames": {
                                "type": "string"
                              },
                              "additionalProperties": {}
                            },
                            {
                              "type": "array",
                              "items": {}
                            }
                          ]
                        }
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "type",
                        "instructions"
                      ],
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "box"
                        },
                        "instructions": {
                          "anyOf": [
                            {
                              "type": "string",
                              "minLength": 1
                            },
                            {
                              "type": "object",
                              "propertyNames": {
                                "type": "string"
                              },
                              "additionalProperties": {}
                            },
                            {
                              "type": "array",
                              "items": {}
                            }
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "model",
              "answers"
            ],
            "properties": {
              "model": {
                "type": "string"
              },
              "answers": {
                "type": "object",
                "description": "Per question id: noul {noul}; choice {choice, probabilities, confidence}; score {score, probabilities, confidence}; box {box: {x, y, w, h} fractions of the picture, confidence}",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {
                  "anyOf": [
                    {
                      "type": "object",
                      "required": [
                        "noul"
                      ],
                      "properties": {
                        "noul": {
                          "type": "number"
                        }
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "choice",
                        "probabilities",
                        "confidence"
                      ],
                      "properties": {
                        "choice": {
                          "type": "string"
                        },
                        "confidence": {
                          "type": "number"
                        },
                        "probabilities": {
                          "type": "object",
                          "propertyNames": {
                            "type": "string"
                          },
                          "additionalProperties": {
                            "type": "number"
                          }
                        }
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "score",
                        "probabilities",
                        "confidence"
                      ],
                      "properties": {
                        "score": {
                          "type": "number"
                        },
                        "confidence": {
                          "type": "number"
                        },
                        "probabilities": {
                          "type": "object",
                          "propertyNames": {
                            "type": "string"
                          },
                          "additionalProperties": {
                            "type": "number"
                          }
                        }
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "box",
                        "confidence"
                      ],
                      "properties": {
                        "box": {
                          "type": "object",
                          "required": [
                            "x",
                            "y",
                            "w",
                            "h"
                          ],
                          "properties": {
                            "h": {
                              "type": "number"
                            },
                            "w": {
                              "type": "number"
                            },
                            "x": {
                              "type": "number"
                            },
                            "y": {
                              "type": "number"
                            }
                          }
                        },
                        "confidence": {
                          "type": "number"
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "annotations": {
            "title": "Ask questions about text or pictures",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "create.motion",
          "title": "Create a motion graphic",
          "description": "Render animated HTML to a video with alpha, frame-exactly: lower thirds, animated titles, callouts, logo stings, kinetic type, generated graphics. Place the media_id with clip.add on a track above the video. Up to 60 s, and width × height × fps × seconds up to 30 s of 1080p30. Runs in the sandbox: no network (inline everything, load libraries from lib/; assets are for imported files the page must show as they are, like the user's logo or a font), fixed memory and time limits. Fonts installed: Inter, Montserrat, Open Sans, Lato, Bebas Neue, Lobster Two, Comic Neue, Fira Code, DejaVu Sans, Serif and Mono, and Noto for most scripts (video://catalog/fonts lists every one); any other font goes in as an imported asset. To match a reference you were shown, rebuild it in HTML/SVG; it does not need importing. The result's warnings list what went wrong in the page: uncaught errors, console errors, files blocked or not found. Long-running: returns a task, or {job_id, status, media_id} for job.get. The same recipe returns the same media, already completed with its result in result.",
          "inputSchema": {
            "type": "object",
            "required": [
              "html",
              "duration_seconds"
            ],
            "properties": {
              "fps": {
                "type": "number",
                "default": 30,
                "maximum": 60,
                "exclusiveMinimum": 0
              },
              "html": {
                "type": "string",
                "maxLength": 1048576,
                "minLength": 1,
                "description": "An animated HTML page or fragment laid out at width × height. Anything that animates in a browser renders frame-exactly: CSS animations and transitions, the Web Animations API, SVG, requestAnimationFrame and timers (canvas, WebGL), window.__seek(seconds) for hand-driven drawing. Libraries load from lib/: anime.umd.min.js, three.module.js, lottie.min.js, d3.min.js."
              },
              "name": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1
              },
              "width": {
                "type": "integer",
                "default": 1920,
                "maximum": 3840,
                "minimum": 16
              },
              "assets": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "name",
                    "media_id"
                  ],
                  "properties": {
                    "name": {
                      "type": "string",
                      "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$",
                      "description": "The page refers to it as assets/<name>"
                    },
                    "media_id": {
                      "type": "string",
                      "pattern": "^m_[0-9a-z]{26}$",
                      "description": "An imported image or font"
                    }
                  }
                },
                "default": [],
                "maxItems": 32
              },
              "height": {
                "type": "integer",
                "default": 1080,
                "maximum": 3840,
                "minimum": 16
              },
              "transparent": {
                "type": "boolean",
                "default": true,
                "description": "Alpha (ProRes 4444) so it composites over video; false gives H.264"
              },
              "idempotency_key": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1
              },
              "duration_seconds": {
                "type": "number",
                "maximum": 60,
                "exclusiveMinimum": 0
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "job_id",
              "status",
              "status_uri",
              "hint"
            ],
            "properties": {
              "hint": {
                "type": "string"
              },
              "job_id": {
                "type": "string",
                "pattern": "^j_[0-9a-z]{26}$",
                "description": "Job handle; the same value is the MCP task id"
              },
              "result": {
                "type": "object",
                "required": [
                  "media_id",
                  "name",
                  "status",
                  "kind",
                  "duration_seconds",
                  "fps",
                  "width",
                  "height",
                  "has_video",
                  "has_audio",
                  "codecs",
                  "conform",
                  "analysis"
                ],
                "properties": {
                  "fps": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "num",
                          "den"
                        ],
                        "properties": {
                          "den": {
                            "type": "number"
                          },
                          "num": {
                            "type": "number"
                          }
                        }
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "job": {
                    "type": "object",
                    "required": [
                      "job_id",
                      "tool",
                      "status"
                    ],
                    "properties": {
                      "tool": {
                        "type": "string"
                      },
                      "job_id": {
                        "type": "string",
                        "pattern": "^j_[0-9a-z]{26}$",
                        "description": "Job handle; the same value is the MCP task id"
                      },
                      "status": {
                        "enum": [
                          "working",
                          "completed",
                          "failed",
                          "cancelled"
                        ],
                        "type": "string"
                      },
                      "progress": {
                        "type": "number"
                      },
                      "seconds_left": {
                        "type": "number"
                      },
                      "status_message": {
                        "type": "string"
                      }
                    },
                    "description": "media.get, while importing or being made: the job doing it"
                  },
                  "url": {
                    "type": "string",
                    "description": "media.get: a signed download of the file itself, once it has one"
                  },
                  "kind": {
                    "anyOf": [
                      {
                        "enum": [
                          "video",
                          "audio",
                          "image",
                          "font",
                          "lut"
                        ],
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "look": {
                    "type": "object",
                    "required": [
                      "runs"
                    ],
                    "properties": {
                      "runs": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "id",
                            "model",
                            "questions",
                            "with_previous",
                            "frames"
                          ],
                          "properties": {
                            "id": {
                              "type": "string"
                            },
                            "model": {
                              "type": "string"
                            },
                            "state": {
                              "type": "object",
                              "propertyNames": {
                                "type": "string"
                              },
                              "additionalProperties": {}
                            },
                            "frames": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "required": [
                                  "time",
                                  "answers"
                                ],
                                "properties": {
                                  "time": {
                                    "type": "number"
                                  },
                                  "answers": {
                                    "type": "object",
                                    "propertyNames": {
                                      "type": "string"
                                    },
                                    "additionalProperties": {
                                      "type": "object",
                                      "propertyNames": {
                                        "type": "string"
                                      },
                                      "additionalProperties": {}
                                    }
                                  }
                                }
                              }
                            },
                            "questions": {
                              "type": "object",
                              "propertyNames": {
                                "type": "string"
                              },
                              "additionalProperties": {}
                            },
                            "with_previous": {
                              "type": "boolean"
                            }
                          }
                        }
                      }
                    }
                  },
                  "name": {
                    "type": "string"
                  },
                  "beats": {
                    "type": "object",
                    "required": [
                      "bpm",
                      "beats",
                      "downbeats"
                    ],
                    "properties": {
                      "bpm": {
                        "type": "number"
                      },
                      "beats": {
                        "type": "array",
                        "items": {
                          "type": "number"
                        }
                      },
                      "downbeats": {
                        "type": "array",
                        "items": {
                          "type": "number"
                        }
                      },
                      "strengths": {
                        "type": "array",
                        "items": {
                          "type": "number"
                        },
                        "description": "Per beat: its onset strength, 0–1 of the strongest in the sound"
                      }
                    }
                  },
                  "error": {
                    "type": "object",
                    "required": [
                      "code",
                      "message"
                    ],
                    "properties": {
                      "code": {
                        "enum": [
                          "bad_request",
                          "no_audio",
                          "not_found",
                          "expired",
                          "media_not_ready",
                          "media_offline",
                          "engine_error",
                          "render_failed",
                          "interrupted",
                          "stalled",
                          "cancelled",
                          "credential_required",
                          "credential_invalid",
                          "output_exists",
                          "path_not_allowed",
                          "limit_exceeded",
                          "quota_exceeded",
                          "subscription_required",
                          "email_unverified",
                          "service_unavailable",
                          "server_busy"
                        ],
                        "type": "string"
                      },
                      "hint": {
                        "type": "string"
                      },
                      "detail": {
                        "type": "object",
                        "propertyNames": {
                          "type": "string"
                        },
                        "additionalProperties": {}
                      },
                      "message": {
                        "type": "string"
                      }
                    }
                  },
                  "faces": {
                    "type": "object",
                    "required": [
                      "rate",
                      "frames"
                    ],
                    "properties": {
                      "rate": {
                        "type": "number"
                      },
                      "frames": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "time",
                            "faces"
                          ],
                          "properties": {
                            "time": {
                              "type": "number"
                            },
                            "faces": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "required": [
                                  "x",
                                  "y",
                                  "w",
                                  "h",
                                  "score"
                                ],
                                "properties": {
                                  "h": {
                                    "type": "number"
                                  },
                                  "w": {
                                    "type": "number"
                                  },
                                  "x": {
                                    "type": "number"
                                  },
                                  "y": {
                                    "type": "number"
                                  },
                                  "score": {
                                    "type": "number"
                                  }
                                },
                                "description": "Top-left corner x, y and size w, h, fractions of the picture (centre: x + w/2, y + h/2); score 0–1"
                              }
                            }
                          }
                        }
                      }
                    }
                  },
                  "pages": {
                    "type": "object",
                    "description": "media.get with a range, offset or limit: per included analysis, which piece of its list came back",
                    "propertyNames": {
                      "enum": [
                        "transcript",
                        "beats",
                        "faces",
                        "look",
                        "speech",
                        "sounds",
                        "speakers",
                        "voice",
                        "colour",
                        "picture"
                      ],
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "object",
                      "required": [
                        "list",
                        "first",
                        "returned",
                        "matching",
                        "total",
                        "next_offset"
                      ],
                      "properties": {
                        "list": {
                          "type": "string",
                          "description": "The list paged: transcript.words, beats.beats, faces.frames, speech.probabilities (one per frame_seconds from `from`), speakers.turns, voice.frames, colour.frames, picture.columns (every column alike), or look runs[].frames (each run is cut the same way; first and the counts are the latest run's)"
                        },
                        "first": {
                          "type": "integer",
                          "description": "Index in the whole list of the first item returned (transcript: the word index clip.add source {words} takes)"
                        },
                        "total": {
                          "type": "integer",
                          "description": "Items in the whole list"
                        },
                        "matching": {
                          "type": "integer",
                          "description": "Items in the time range (the whole list without one)"
                        },
                        "returned": {
                          "type": "integer"
                        },
                        "next_offset": {
                          "anyOf": [
                            {
                              "type": "integer"
                            },
                            {
                              "type": "null"
                            }
                          ],
                          "description": "The offset that gives the next page of this range, or null at its end"
                        }
                      }
                    }
                  },
                  "probe": {
                    "type": "object",
                    "required": [
                      "format",
                      "streams"
                    ],
                    "properties": {
                      "format": {
                        "type": "object",
                        "propertyNames": {
                          "type": "string"
                        },
                        "additionalProperties": {}
                      },
                      "streams": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "propertyNames": {
                            "type": "string"
                          },
                          "additionalProperties": {}
                        }
                      }
                    },
                    "description": "media.get: everything FFprobe read from the file, as it gives it: the format and every stream (codec, pix_fmt, color_space, color_primaries, color_transfer, color_range, bit depth, sample rate, channel layout, tags, side data). Not for fonts and LUTs"
                  },
                  "width": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "codecs": {
                    "type": "object",
                    "required": [
                      "video",
                      "audio"
                    ],
                    "properties": {
                      "audio": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "video": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    }
                  },
                  "expiry": {
                    "type": "string",
                    "description": "kept_until in words: how long is left, and what keeps it longer or how to keep it"
                  },
                  "height": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "origin": {
                    "type": "object",
                    "required": [
                      "from"
                    ],
                    "properties": {
                      "url": {
                        "type": "string",
                        "description": "url: the address it was downloaded from, without its query string"
                      },
                      "via": {
                        "enum": [
                          "media.upload",
                          "account_page",
                          "data_uri"
                        ],
                        "type": "string",
                        "description": "upload: sent through a media.upload link, dropped on the cuttingfloor site, or a data: URI"
                      },
                      "from": {
                        "enum": [
                          "upload",
                          "url",
                          "path",
                          "render",
                          "created",
                          "still"
                        ],
                        "type": "string",
                        "description": "upload: a file the user sent; url: downloaded; path: a media root; render: an export.video; created: a create.* tool; still: a frame of a video or an edit"
                      },
                      "path": {
                        "type": "string",
                        "description": "path: the file it was imported from"
                      },
                      "tool": {
                        "type": "string",
                        "description": "created: the create.* tool that made it"
                      },
                      "frame": {
                        "type": "number",
                        "description": "still: the frame"
                      },
                      "range": {
                        "type": "object",
                        "required": [
                          "start",
                          "end"
                        ],
                        "properties": {
                          "end": {
                            "type": "number"
                          },
                          "start": {
                            "type": "number"
                          }
                        },
                        "description": "render: the frames exported, when not the whole timeline"
                      },
                      "job_id": {
                        "type": "string",
                        "pattern": "^j_[0-9a-z]{26}$",
                        "description": "render: the export.video job; created: the create.* job"
                      },
                      "preset": {
                        "type": "string",
                        "description": "render: the export preset"
                      },
                      "recipe": {
                        "type": "string",
                        "description": "created: a hash of what it was made from; the same recipe makes the same media"
                      },
                      "sources": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "track_id",
                            "kind",
                            "start",
                            "end",
                            "media_id",
                            "source_in",
                            "source_out"
                          ],
                          "properties": {
                            "end": {
                              "type": "number"
                            },
                            "kind": {
                              "enum": [
                                "video",
                                "audio"
                              ],
                              "type": "string"
                            },
                            "speed": {
                              "type": "object",
                              "description": "The clip's speed change, as clip.set_speed set it",
                              "propertyNames": {
                                "type": "string"
                              },
                              "additionalProperties": {}
                            },
                            "start": {
                              "type": "number",
                              "description": "Seconds into this file"
                            },
                            "media_id": {
                              "type": "string",
                              "pattern": "^m_[0-9a-z]{26}$",
                              "description": "The media this stretch plays"
                            },
                            "track_id": {
                              "type": "string",
                              "description": "Track of the timeline; outer/inner inside a nested one"
                            },
                            "source_in": {
                              "type": "number",
                              "description": "Seconds into that media"
                            },
                            "source_out": {
                              "type": "number"
                            }
                          }
                        },
                        "description": "render: where each stretch of this file comes from, per track, read from the timeline when it was exported (kept after the timeline expires). With a speed curve, source_in and source_out are the clip's whole source range"
                      },
                      "attached": {
                        "type": "boolean",
                        "description": "url: the file the user attached in the chat, passed as media.import file"
                      },
                      "media_id": {
                        "type": "string",
                        "pattern": "^m_[0-9a-z]{26}$",
                        "description": "still: the video the frame is from"
                      },
                      "file_name": {
                        "type": "string",
                        "description": "upload: the name the file was sent with"
                      },
                      "media_ids": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "pattern": "^m_[0-9a-z]{26}$",
                          "description": "Media handle from media.import or a create.* tool"
                        },
                        "description": "created: the media it was made from (a cutout's source, a page's assets)"
                      },
                      "upload_id": {
                        "type": "string",
                        "pattern": "^u_[0-9a-z]{26}$",
                        "description": "Upload handle from media.upload"
                      },
                      "timeline_id": {
                        "type": "string",
                        "pattern": "^tl_[0-9a-f]{32}$",
                        "description": "render: the timeline that was exported; still: the edit the frame is from"
                      }
                    },
                    "description": "Where it came from, to tell one version from another: the import source, the export of which timeline, or the create.* tool and the media it was made from"
                  },
                  "sounds": {
                    "type": "object",
                    "required": [
                      "model",
                      "min_probability",
                      "spans",
                      "peaks"
                    ],
                    "properties": {
                      "model": {
                        "type": "string"
                      },
                      "peaks": {
                        "type": "object",
                        "description": "Per sound reported: the highest probability it reaches anywhere",
                        "propertyNames": {
                          "type": "string"
                        },
                        "additionalProperties": {
                          "type": "number"
                        }
                      },
                      "spans": {
                        "type": "object",
                        "description": "Per sound: the runs of 40 ms frames at or above min_probability, in time order; empty when it never is",
                        "propertyNames": {
                          "type": "string"
                        },
                        "additionalProperties": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "start",
                              "end",
                              "peak_seconds",
                              "peak_probability"
                            ],
                            "properties": {
                              "end": {
                                "type": "number",
                                "description": "Where it ends, on the same clock"
                              },
                              "start": {
                                "type": "number",
                                "description": "Where the run of matching 40 ms frames starts: media seconds, or timeline seconds for a timeline"
                              },
                              "peak_seconds": {
                                "type": "number",
                                "description": "The middle of the most likely frame"
                              },
                              "peak_probability": {
                                "type": "number"
                              }
                            }
                          }
                        }
                      },
                      "scores": {
                        "type": "object",
                        "required": [
                          "start_seconds",
                          "step_seconds",
                          "values"
                        ],
                        "properties": {
                          "values": {
                            "type": "object",
                            "description": "Per sound, the highest probability in each step, 0 to 1",
                            "propertyNames": {
                              "type": "string"
                            },
                            "additionalProperties": {
                              "type": "array",
                              "items": {
                                "type": "number"
                              }
                            }
                          },
                          "step_seconds": {
                            "type": "number",
                            "description": "Seconds each value covers: 0.04 (every frame) unless asked or too long"
                          },
                          "start_seconds": {
                            "type": "number",
                            "description": "Where the first value starts: media seconds, or timeline seconds for a timeline"
                          }
                        },
                        "description": "Every probability, for your own cut-off or arithmetic"
                      },
                      "min_probability": {
                        "type": "number"
                      }
                    },
                    "description": "With include [\"sounds\"]: the latest media.analyze sounds run, every probability included"
                  },
                  "speech": {
                    "type": "object",
                    "required": [
                      "model",
                      "frame_seconds",
                      "from",
                      "probabilities"
                    ],
                    "properties": {
                      "from": {
                        "type": "number",
                        "description": "Seconds where the first probability starts"
                      },
                      "model": {
                        "type": "string"
                      },
                      "frame_seconds": {
                        "type": "number",
                        "description": "Each probability covers this long"
                      },
                      "probabilities": {
                        "type": "array",
                        "items": {
                          "type": "number"
                        },
                        "description": "Speech probability 0–1, one per frame, in order"
                      }
                    },
                    "description": "With include [\"speech\"]: the speech probability of every 32 ms frame"
                  },
                  "status": {
                    "enum": [
                      "importing",
                      "processing",
                      "ready",
                      "failed"
                    ],
                    "type": "string",
                    "description": "importing: not probed yet; processing: usable in edits, proxy still rendering; ready; failed"
                  },
                  "conform": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "Why a mezzanine was made (vfr, rotation, hdr, codec); empty when not needed"
                  },
                  "analyses": {
                    "type": "object",
                    "properties": {
                      "look": {
                        "type": "object",
                        "required": [
                          "runs",
                          "frames",
                          "questions"
                        ],
                        "properties": {
                          "runs": {
                            "type": "number"
                          },
                          "frames": {
                            "type": "number"
                          },
                          "questions": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          }
                        },
                        "description": "frames and questions: the latest run"
                      },
                      "beats": {
                        "type": "object",
                        "required": [
                          "bpm",
                          "beats"
                        ],
                        "properties": {
                          "bpm": {
                            "type": "number"
                          },
                          "beats": {
                            "type": "number"
                          }
                        }
                      },
                      "faces": {
                        "type": "object",
                        "required": [
                          "rate",
                          "frames_with_faces"
                        ],
                        "properties": {
                          "rate": {
                            "type": "number"
                          },
                          "frames_with_faces": {
                            "type": "number"
                          }
                        }
                      },
                      "voice": {
                        "type": "object",
                        "description": "frames, and the summary media.analyze voice gives",
                        "propertyNames": {
                          "type": "string"
                        },
                        "additionalProperties": {}
                      },
                      "colour": {
                        "type": "object",
                        "required": [
                          "frames",
                          "regions"
                        ],
                        "properties": {
                          "frames": {
                            "type": "number"
                          },
                          "regions": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          }
                        }
                      },
                      "sounds": {
                        "type": "object",
                        "required": [
                          "model",
                          "min_probability",
                          "heard"
                        ],
                        "properties": {
                          "heard": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "model": {
                            "type": "string"
                          },
                          "min_probability": {
                            "type": "number"
                          }
                        },
                        "description": "heard: the sounds the latest run found at or above its min_probability"
                      },
                      "speech": {
                        "type": "object",
                        "required": [
                          "model",
                          "frames",
                          "frame_seconds"
                        ],
                        "properties": {
                          "model": {
                            "type": "string"
                          },
                          "frames": {
                            "type": "number"
                          },
                          "frame_seconds": {
                            "type": "number"
                          }
                        }
                      },
                      "picture": {
                        "type": "object",
                        "required": [
                          "frames",
                          "from"
                        ],
                        "properties": {
                          "from": {
                            "type": "number"
                          },
                          "frames": {
                            "type": "number"
                          }
                        }
                      },
                      "speakers": {
                        "type": "object",
                        "required": [
                          "model",
                          "speakers",
                          "turns"
                        ],
                        "properties": {
                          "model": {
                            "type": "string"
                          },
                          "turns": {
                            "type": "number"
                          },
                          "speakers": {
                            "type": "number"
                          }
                        }
                      },
                      "transcript": {
                        "type": "object",
                        "required": [
                          "model",
                          "language",
                          "words"
                        ],
                        "properties": {
                          "model": {
                            "type": "string"
                          },
                          "words": {
                            "type": "number",
                            "description": "How many words; the words themselves are in transcript.words"
                          },
                          "language": {
                            "type": "string"
                          }
                        }
                      }
                    },
                    "description": "Summaries of media.analyze results (counts, not data); include puts each in full at the top level"
                  },
                  "analysis": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "loudness_lufs"
                        ],
                        "properties": {
                          "channels": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "required": [
                                "channel",
                                "rms_dbfs",
                                "peak_dbfs",
                                "noise_floor_dbfs"
                              ],
                              "properties": {
                                "channel": {
                                  "type": "integer",
                                  "exclusiveMinimum": 0
                                },
                                "rms_dbfs": {
                                  "type": [
                                    "number",
                                    "null"
                                  ]
                                },
                                "peak_dbfs": {
                                  "type": [
                                    "number",
                                    "null"
                                  ]
                                },
                                "noise_floor_dbfs": {
                                  "type": [
                                    "number",
                                    "null"
                                  ]
                                }
                              }
                            },
                            "description": "Each channel at import"
                          },
                          "loudness_lufs": {
                            "type": [
                              "number",
                              "null"
                            ],
                            "description": "Integrated loudness at import"
                          }
                        }
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "media_id": {
                    "type": "string",
                    "pattern": "^m_[0-9a-z]{26}$",
                    "description": "Media handle from media.import or a create.* tool"
                  },
                  "page_url": {
                    "type": "string",
                    "description": "media.get: a page that plays or shows the file in any browser, with no sign-in, to give a person; works until expires_at"
                  },
                  "warnings": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "create.motion and create.still: what went wrong in the page as it rendered (uncaught errors, console errors, files blocked or not found, tags never closed). It rendered anyway"
                  },
                  "extension": {
                    "type": "string",
                    "description": "The extension its format takes (.png, .mp4), from the file itself, not its name"
                  },
                  "has_audio": {
                    "type": "boolean"
                  },
                  "has_video": {
                    "type": "boolean"
                  },
                  "mime_type": {
                    "type": "string",
                    "description": "Its MIME type, likewise"
                  },
                  "created_at": {
                    "type": "string",
                    "description": "When it was imported or made"
                  },
                  "expires_at": {
                    "type": "string",
                    "description": "When url and page_url stop working"
                  },
                  "kept_until": {
                    "type": "string",
                    "description": "When the server deletes it: 7 days after last use; any use (a read, an edit, a render) pushes it back"
                  },
                  "transcript": {
                    "type": "object",
                    "required": [
                      "model",
                      "language",
                      "text",
                      "words"
                    ],
                    "properties": {
                      "from": {
                        "type": "number",
                        "description": "The stretch transcribed, if not all"
                      },
                      "text": {
                        "type": "string"
                      },
                      "model": {
                        "type": "string"
                      },
                      "until": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "words": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "text",
                            "start",
                            "end",
                            "confidence"
                          ],
                          "properties": {
                            "end": {
                              "type": "number"
                            },
                            "text": {
                              "type": "string"
                            },
                            "start": {
                              "type": "number"
                            },
                            "speaker": {
                              "type": [
                                "number",
                                "null"
                              ],
                              "description": "Who says it, from the latest speakers run"
                            },
                            "confidence": {
                              "type": "number",
                              "description": "0–1: how sure whisper is of the word itself"
                            },
                            "timing_confidence": {
                              "type": [
                                "number",
                                "null"
                              ],
                              "description": "0–1: how clearly the letters were heard between start and end; null: not aligned (digits, symbols, other languages), times fitted between neighbours"
                            }
                          }
                        },
                        "description": "Media seconds. Aligned words start and end within about 0.05 s of where their letters sound; an end on a soft consonant (s, t, k, f) or a breath can ring on up to about 0.1 s more. Short ums are often missing from the words; kind speech finds them as speech. A word \"-\" (or one starting with it) is whisper marking a new speaker, as subtitles do: a hint only; kind speakers measures who speaks when"
                      },
                      "language": {
                        "type": "string"
                      },
                      "aligned_by": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "The model that moved word edges to where the letters sound (English); null: the times are whisper's own, up to about a second off"
                      }
                    },
                    "description": "With include [\"transcript\"]: every word as {text, start, end, confidence}"
                  },
                  "fingerprint": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Identity of the file (BLAKE3 of its size and first, middle and last 4 MB), as export.video gives"
                  },
                  "font_family": {
                    "type": "string",
                    "description": "Fonts: the family; use font_media_id in a text style to set text in it"
                  },
                  "sound_seconds": {
                    "type": "number",
                    "description": "How long the sound runs; under duration_seconds, the end is soundless"
                  },
                  "picture_seconds": {
                    "type": "number",
                    "description": "How long the picture runs; under duration_seconds, the end has no picture"
                  },
                  "duration_seconds": {
                    "type": [
                      "number",
                      "null"
                    ]
                  }
                },
                "description": "The result, when status is completed; otherwise job.get gives it once completed"
              },
              "status": {
                "enum": [
                  "working",
                  "completed",
                  "failed",
                  "cancelled"
                ],
                "type": "string"
              },
              "media_id": {
                "type": "string",
                "pattern": "^m_[0-9a-z]{26}$",
                "description": "The media it is making: an import is usable in edits once its status is processing, a created media once this job completes"
              },
              "status_uri": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "Create a motion graphic",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "create.still",
          "title": "Create a still",
          "description": "Render an HTML page to a PNG: title and end cards, thumbnails, overlays, designed text. Transparent where nothing is painted. Capture waits for fonts, and for window.__ready if the page sets it to a promise (up to 10 s). Runs in the sandbox: no network (inline everything, load libraries from lib/; assets are for imported files the page must show as they are, like the user's logo or a font), fixed memory and time limits. Fonts installed: Inter, Montserrat, Open Sans, Lato, Bebas Neue, Lobster Two, Comic Neue, Fira Code, DejaVu Sans, Serif and Mono, and Noto for most scripts (video://catalog/fonts lists every one); any other font goes in as an imported asset. To match a reference you were shown, rebuild it in HTML/SVG; it does not need importing. The result's warnings list what went wrong in the page: uncaught errors, console errors, files blocked or not found. Long-running: returns a task, or {job_id, status, media_id} for job.get. The same recipe returns the same media, already completed with its result in result.",
          "inputSchema": {
            "type": "object",
            "required": [
              "html"
            ],
            "properties": {
              "html": {
                "type": "string",
                "maxLength": 1048576,
                "minLength": 1,
                "description": "An HTML page or fragment, laid out at width × height"
              },
              "name": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1
              },
              "width": {
                "type": "integer",
                "default": 1920,
                "maximum": 3840,
                "minimum": 16
              },
              "assets": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "name",
                    "media_id"
                  ],
                  "properties": {
                    "name": {
                      "type": "string",
                      "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$",
                      "description": "The page refers to it as assets/<name>"
                    },
                    "media_id": {
                      "type": "string",
                      "pattern": "^m_[0-9a-z]{26}$",
                      "description": "An imported image or font"
                    }
                  }
                },
                "default": [],
                "maxItems": 32
              },
              "height": {
                "type": "integer",
                "default": 1080,
                "maximum": 3840,
                "minimum": 16
              },
              "transparent": {
                "type": "boolean",
                "default": true,
                "description": "Unpainted areas stay transparent"
              },
              "idempotency_key": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "job_id",
              "status",
              "status_uri",
              "hint"
            ],
            "properties": {
              "hint": {
                "type": "string"
              },
              "job_id": {
                "type": "string",
                "pattern": "^j_[0-9a-z]{26}$",
                "description": "Job handle; the same value is the MCP task id"
              },
              "result": {
                "type": "object",
                "required": [
                  "media_id",
                  "name",
                  "status",
                  "kind",
                  "duration_seconds",
                  "fps",
                  "width",
                  "height",
                  "has_video",
                  "has_audio",
                  "codecs",
                  "conform",
                  "analysis"
                ],
                "properties": {
                  "fps": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "num",
                          "den"
                        ],
                        "properties": {
                          "den": {
                            "type": "number"
                          },
                          "num": {
                            "type": "number"
                          }
                        }
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "job": {
                    "type": "object",
                    "required": [
                      "job_id",
                      "tool",
                      "status"
                    ],
                    "properties": {
                      "tool": {
                        "type": "string"
                      },
                      "job_id": {
                        "type": "string",
                        "pattern": "^j_[0-9a-z]{26}$",
                        "description": "Job handle; the same value is the MCP task id"
                      },
                      "status": {
                        "enum": [
                          "working",
                          "completed",
                          "failed",
                          "cancelled"
                        ],
                        "type": "string"
                      },
                      "progress": {
                        "type": "number"
                      },
                      "seconds_left": {
                        "type": "number"
                      },
                      "status_message": {
                        "type": "string"
                      }
                    },
                    "description": "media.get, while importing or being made: the job doing it"
                  },
                  "url": {
                    "type": "string",
                    "description": "media.get: a signed download of the file itself, once it has one"
                  },
                  "kind": {
                    "anyOf": [
                      {
                        "enum": [
                          "video",
                          "audio",
                          "image",
                          "font",
                          "lut"
                        ],
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "look": {
                    "type": "object",
                    "required": [
                      "runs"
                    ],
                    "properties": {
                      "runs": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "id",
                            "model",
                            "questions",
                            "with_previous",
                            "frames"
                          ],
                          "properties": {
                            "id": {
                              "type": "string"
                            },
                            "model": {
                              "type": "string"
                            },
                            "state": {
                              "type": "object",
                              "propertyNames": {
                                "type": "string"
                              },
                              "additionalProperties": {}
                            },
                            "frames": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "required": [
                                  "time",
                                  "answers"
                                ],
                                "properties": {
                                  "time": {
                                    "type": "number"
                                  },
                                  "answers": {
                                    "type": "object",
                                    "propertyNames": {
                                      "type": "string"
                                    },
                                    "additionalProperties": {
                                      "type": "object",
                                      "propertyNames": {
                                        "type": "string"
                                      },
                                      "additionalProperties": {}
                                    }
                                  }
                                }
                              }
                            },
                            "questions": {
                              "type": "object",
                              "propertyNames": {
                                "type": "string"
                              },
                              "additionalProperties": {}
                            },
                            "with_previous": {
                              "type": "boolean"
                            }
                          }
                        }
                      }
                    }
                  },
                  "name": {
                    "type": "string"
                  },
                  "beats": {
                    "type": "object",
                    "required": [
                      "bpm",
                      "beats",
                      "downbeats"
                    ],
                    "properties": {
                      "bpm": {
                        "type": "number"
                      },
                      "beats": {
                        "type": "array",
                        "items": {
                          "type": "number"
                        }
                      },
                      "downbeats": {
                        "type": "array",
                        "items": {
                          "type": "number"
                        }
                      },
                      "strengths": {
                        "type": "array",
                        "items": {
                          "type": "number"
                        },
                        "description": "Per beat: its onset strength, 0–1 of the strongest in the sound"
                      }
                    }
                  },
                  "error": {
                    "type": "object",
                    "required": [
                      "code",
                      "message"
                    ],
                    "properties": {
                      "code": {
                        "enum": [
                          "bad_request",
                          "no_audio",
                          "not_found",
                          "expired",
                          "media_not_ready",
                          "media_offline",
                          "engine_error",
                          "render_failed",
                          "interrupted",
                          "stalled",
                          "cancelled",
                          "credential_required",
                          "credential_invalid",
                          "output_exists",
                          "path_not_allowed",
                          "limit_exceeded",
                          "quota_exceeded",
                          "subscription_required",
                          "email_unverified",
                          "service_unavailable",
                          "server_busy"
                        ],
                        "type": "string"
                      },
                      "hint": {
                        "type": "string"
                      },
                      "detail": {
                        "type": "object",
                        "propertyNames": {
                          "type": "string"
                        },
                        "additionalProperties": {}
                      },
                      "message": {
                        "type": "string"
                      }
                    }
                  },
                  "faces": {
                    "type": "object",
                    "required": [
                      "rate",
                      "frames"
                    ],
                    "properties": {
                      "rate": {
                        "type": "number"
                      },
                      "frames": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "time",
                            "faces"
                          ],
                          "properties": {
                            "time": {
                              "type": "number"
                            },
                            "faces": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "required": [
                                  "x",
                                  "y",
                                  "w",
                                  "h",
                                  "score"
                                ],
                                "properties": {
                                  "h": {
                                    "type": "number"
                                  },
                                  "w": {
                                    "type": "number"
                                  },
                                  "x": {
                                    "type": "number"
                                  },
                                  "y": {
                                    "type": "number"
                                  },
                                  "score": {
                                    "type": "number"
                                  }
                                },
                                "description": "Top-left corner x, y and size w, h, fractions of the picture (centre: x + w/2, y + h/2); score 0–1"
                              }
                            }
                          }
                        }
                      }
                    }
                  },
                  "pages": {
                    "type": "object",
                    "description": "media.get with a range, offset or limit: per included analysis, which piece of its list came back",
                    "propertyNames": {
                      "enum": [
                        "transcript",
                        "beats",
                        "faces",
                        "look",
                        "speech",
                        "sounds",
                        "speakers",
                        "voice",
                        "colour",
                        "picture"
                      ],
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "object",
                      "required": [
                        "list",
                        "first",
                        "returned",
                        "matching",
                        "total",
                        "next_offset"
                      ],
                      "properties": {
                        "list": {
                          "type": "string",
                          "description": "The list paged: transcript.words, beats.beats, faces.frames, speech.probabilities (one per frame_seconds from `from`), speakers.turns, voice.frames, colour.frames, picture.columns (every column alike), or look runs[].frames (each run is cut the same way; first and the counts are the latest run's)"
                        },
                        "first": {
                          "type": "integer",
                          "description": "Index in the whole list of the first item returned (transcript: the word index clip.add source {words} takes)"
                        },
                        "total": {
                          "type": "integer",
                          "description": "Items in the whole list"
                        },
                        "matching": {
                          "type": "integer",
                          "description": "Items in the time range (the whole list without one)"
                        },
                        "returned": {
                          "type": "integer"
                        },
                        "next_offset": {
                          "anyOf": [
                            {
                              "type": "integer"
                            },
                            {
                              "type": "null"
                            }
                          ],
                          "description": "The offset that gives the next page of this range, or null at its end"
                        }
                      }
                    }
                  },
                  "probe": {
                    "type": "object",
                    "required": [
                      "format",
                      "streams"
                    ],
                    "properties": {
                      "format": {
                        "type": "object",
                        "propertyNames": {
                          "type": "string"
                        },
                        "additionalProperties": {}
                      },
                      "streams": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "propertyNames": {
                            "type": "string"
                          },
                          "additionalProperties": {}
                        }
                      }
                    },
                    "description": "media.get: everything FFprobe read from the file, as it gives it: the format and every stream (codec, pix_fmt, color_space, color_primaries, color_transfer, color_range, bit depth, sample rate, channel layout, tags, side data). Not for fonts and LUTs"
                  },
                  "width": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "codecs": {
                    "type": "object",
                    "required": [
                      "video",
                      "audio"
                    ],
                    "properties": {
                      "audio": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "video": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    }
                  },
                  "expiry": {
                    "type": "string",
                    "description": "kept_until in words: how long is left, and what keeps it longer or how to keep it"
                  },
                  "height": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "origin": {
                    "type": "object",
                    "required": [
                      "from"
                    ],
                    "properties": {
                      "url": {
                        "type": "string",
                        "description": "url: the address it was downloaded from, without its query string"
                      },
                      "via": {
                        "enum": [
                          "media.upload",
                          "account_page",
                          "data_uri"
                        ],
                        "type": "string",
                        "description": "upload: sent through a media.upload link, dropped on the cuttingfloor site, or a data: URI"
                      },
                      "from": {
                        "enum": [
                          "upload",
                          "url",
                          "path",
                          "render",
                          "created",
                          "still"
                        ],
                        "type": "string",
                        "description": "upload: a file the user sent; url: downloaded; path: a media root; render: an export.video; created: a create.* tool; still: a frame of a video or an edit"
                      },
                      "path": {
                        "type": "string",
                        "description": "path: the file it was imported from"
                      },
                      "tool": {
                        "type": "string",
                        "description": "created: the create.* tool that made it"
                      },
                      "frame": {
                        "type": "number",
                        "description": "still: the frame"
                      },
                      "range": {
                        "type": "object",
                        "required": [
                          "start",
                          "end"
                        ],
                        "properties": {
                          "end": {
                            "type": "number"
                          },
                          "start": {
                            "type": "number"
                          }
                        },
                        "description": "render: the frames exported, when not the whole timeline"
                      },
                      "job_id": {
                        "type": "string",
                        "pattern": "^j_[0-9a-z]{26}$",
                        "description": "render: the export.video job; created: the create.* job"
                      },
                      "preset": {
                        "type": "string",
                        "description": "render: the export preset"
                      },
                      "recipe": {
                        "type": "string",
                        "description": "created: a hash of what it was made from; the same recipe makes the same media"
                      },
                      "sources": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "track_id",
                            "kind",
                            "start",
                            "end",
                            "media_id",
                            "source_in",
                            "source_out"
                          ],
                          "properties": {
                            "end": {
                              "type": "number"
                            },
                            "kind": {
                              "enum": [
                                "video",
                                "audio"
                              ],
                              "type": "string"
                            },
                            "speed": {
                              "type": "object",
                              "description": "The clip's speed change, as clip.set_speed set it",
                              "propertyNames": {
                                "type": "string"
                              },
                              "additionalProperties": {}
                            },
                            "start": {
                              "type": "number",
                              "description": "Seconds into this file"
                            },
                            "media_id": {
                              "type": "string",
                              "pattern": "^m_[0-9a-z]{26}$",
                              "description": "The media this stretch plays"
                            },
                            "track_id": {
                              "type": "string",
                              "description": "Track of the timeline; outer/inner inside a nested one"
                            },
                            "source_in": {
                              "type": "number",
                              "description": "Seconds into that media"
                            },
                            "source_out": {
                              "type": "number"
                            }
                          }
                        },
                        "description": "render: where each stretch of this file comes from, per track, read from the timeline when it was exported (kept after the timeline expires). With a speed curve, source_in and source_out are the clip's whole source range"
                      },
                      "attached": {
                        "type": "boolean",
                        "description": "url: the file the user attached in the chat, passed as media.import file"
                      },
                      "media_id": {
                        "type": "string",
                        "pattern": "^m_[0-9a-z]{26}$",
                        "description": "still: the video the frame is from"
                      },
                      "file_name": {
                        "type": "string",
                        "description": "upload: the name the file was sent with"
                      },
                      "media_ids": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "pattern": "^m_[0-9a-z]{26}$",
                          "description": "Media handle from media.import or a create.* tool"
                        },
                        "description": "created: the media it was made from (a cutout's source, a page's assets)"
                      },
                      "upload_id": {
                        "type": "string",
                        "pattern": "^u_[0-9a-z]{26}$",
                        "description": "Upload handle from media.upload"
                      },
                      "timeline_id": {
                        "type": "string",
                        "pattern": "^tl_[0-9a-f]{32}$",
                        "description": "render: the timeline that was exported; still: the edit the frame is from"
                      }
                    },
                    "description": "Where it came from, to tell one version from another: the import source, the export of which timeline, or the create.* tool and the media it was made from"
                  },
                  "sounds": {
                    "type": "object",
                    "required": [
                      "model",
                      "min_probability",
                      "spans",
                      "peaks"
                    ],
                    "properties": {
                      "model": {
                        "type": "string"
                      },
                      "peaks": {
                        "type": "object",
                        "description": "Per sound reported: the highest probability it reaches anywhere",
                        "propertyNames": {
                          "type": "string"
                        },
                        "additionalProperties": {
                          "type": "number"
                        }
                      },
                      "spans": {
                        "type": "object",
                        "description": "Per sound: the runs of 40 ms frames at or above min_probability, in time order; empty when it never is",
                        "propertyNames": {
                          "type": "string"
                        },
                        "additionalProperties": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "start",
                              "end",
                              "peak_seconds",
                              "peak_probability"
                            ],
                            "properties": {
                              "end": {
                                "type": "number",
                                "description": "Where it ends, on the same clock"
                              },
                              "start": {
                                "type": "number",
                                "description": "Where the run of matching 40 ms frames starts: media seconds, or timeline seconds for a timeline"
                              },
                              "peak_seconds": {
                                "type": "number",
                                "description": "The middle of the most likely frame"
                              },
                              "peak_probability": {
                                "type": "number"
                              }
                            }
                          }
                        }
                      },
                      "scores": {
                        "type": "object",
                        "required": [
                          "start_seconds",
                          "step_seconds",
                          "values"
                        ],
                        "properties": {
                          "values": {
                            "type": "object",
                            "description": "Per sound, the highest probability in each step, 0 to 1",
                            "propertyNames": {
                              "type": "string"
                            },
                            "additionalProperties": {
                              "type": "array",
                              "items": {
                                "type": "number"
                              }
                            }
                          },
                          "step_seconds": {
                            "type": "number",
                            "description": "Seconds each value covers: 0.04 (every frame) unless asked or too long"
                          },
                          "start_seconds": {
                            "type": "number",
                            "description": "Where the first value starts: media seconds, or timeline seconds for a timeline"
                          }
                        },
                        "description": "Every probability, for your own cut-off or arithmetic"
                      },
                      "min_probability": {
                        "type": "number"
                      }
                    },
                    "description": "With include [\"sounds\"]: the latest media.analyze sounds run, every probability included"
                  },
                  "speech": {
                    "type": "object",
                    "required": [
                      "model",
                      "frame_seconds",
                      "from",
                      "probabilities"
                    ],
                    "properties": {
                      "from": {
                        "type": "number",
                        "description": "Seconds where the first probability starts"
                      },
                      "model": {
                        "type": "string"
                      },
                      "frame_seconds": {
                        "type": "number",
                        "description": "Each probability covers this long"
                      },
                      "probabilities": {
                        "type": "array",
                        "items": {
                          "type": "number"
                        },
                        "description": "Speech probability 0–1, one per frame, in order"
                      }
                    },
                    "description": "With include [\"speech\"]: the speech probability of every 32 ms frame"
                  },
                  "status": {
                    "enum": [
                      "importing",
                      "processing",
                      "ready",
                      "failed"
                    ],
                    "type": "string",
                    "description": "importing: not probed yet; processing: usable in edits, proxy still rendering; ready; failed"
                  },
                  "conform": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "Why a mezzanine was made (vfr, rotation, hdr, codec); empty when not needed"
                  },
                  "analyses": {
                    "type": "object",
                    "properties": {
                      "look": {
                        "type": "object",
                        "required": [
                          "runs",
                          "frames",
                          "questions"
                        ],
                        "properties": {
                          "runs": {
                            "type": "number"
                          },
                          "frames": {
                            "type": "number"
                          },
                          "questions": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          }
                        },
                        "description": "frames and questions: the latest run"
                      },
                      "beats": {
                        "type": "object",
                        "required": [
                          "bpm",
                          "beats"
                        ],
                        "properties": {
                          "bpm": {
                            "type": "number"
                          },
                          "beats": {
                            "type": "number"
                          }
                        }
                      },
                      "faces": {
                        "type": "object",
                        "required": [
                          "rate",
                          "frames_with_faces"
                        ],
                        "properties": {
                          "rate": {
                            "type": "number"
                          },
                          "frames_with_faces": {
                            "type": "number"
                          }
                        }
                      },
                      "voice": {
                        "type": "object",
                        "description": "frames, and the summary media.analyze voice gives",
                        "propertyNames": {
                          "type": "string"
                        },
                        "additionalProperties": {}
                      },
                      "colour": {
                        "type": "object",
                        "required": [
                          "frames",
                          "regions"
                        ],
                        "properties": {
                          "frames": {
                            "type": "number"
                          },
                          "regions": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          }
                        }
                      },
                      "sounds": {
                        "type": "object",
                        "required": [
                          "model",
                          "min_probability",
                          "heard"
                        ],
                        "properties": {
                          "heard": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "model": {
                            "type": "string"
                          },
                          "min_probability": {
                            "type": "number"
                          }
                        },
                        "description": "heard: the sounds the latest run found at or above its min_probability"
                      },
                      "speech": {
                        "type": "object",
                        "required": [
                          "model",
                          "frames",
                          "frame_seconds"
                        ],
                        "properties": {
                          "model": {
                            "type": "string"
                          },
                          "frames": {
                            "type": "number"
                          },
                          "frame_seconds": {
                            "type": "number"
                          }
                        }
                      },
                      "picture": {
                        "type": "object",
                        "required": [
                          "frames",
                          "from"
                        ],
                        "properties": {
                          "from": {
                            "type": "number"
                          },
                          "frames": {
                            "type": "number"
                          }
                        }
                      },
                      "speakers": {
                        "type": "object",
                        "required": [
                          "model",
                          "speakers",
                          "turns"
                        ],
                        "properties": {
                          "model": {
                            "type": "string"
                          },
                          "turns": {
                            "type": "number"
                          },
                          "speakers": {
                            "type": "number"
                          }
                        }
                      },
                      "transcript": {
                        "type": "object",
                        "required": [
                          "model",
                          "language",
                          "words"
                        ],
                        "properties": {
                          "model": {
                            "type": "string"
                          },
                          "words": {
                            "type": "number",
                            "description": "How many words; the words themselves are in transcript.words"
                          },
                          "language": {
                            "type": "string"
                          }
                        }
                      }
                    },
                    "description": "Summaries of media.analyze results (counts, not data); include puts each in full at the top level"
                  },
                  "analysis": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "loudness_lufs"
                        ],
                        "properties": {
                          "channels": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "required": [
                                "channel",
                                "rms_dbfs",
                                "peak_dbfs",
                                "noise_floor_dbfs"
                              ],
                              "properties": {
                                "channel": {
                                  "type": "integer",
                                  "exclusiveMinimum": 0
                                },
                                "rms_dbfs": {
                                  "type": [
                                    "number",
                                    "null"
                                  ]
                                },
                                "peak_dbfs": {
                                  "type": [
                                    "number",
                                    "null"
                                  ]
                                },
                                "noise_floor_dbfs": {
                                  "type": [
                                    "number",
                                    "null"
                                  ]
                                }
                              }
                            },
                            "description": "Each channel at import"
                          },
                          "loudness_lufs": {
                            "type": [
                              "number",
                              "null"
                            ],
                            "description": "Integrated loudness at import"
                          }
                        }
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "media_id": {
                    "type": "string",
                    "pattern": "^m_[0-9a-z]{26}$",
                    "description": "Media handle from media.import or a create.* tool"
                  },
                  "page_url": {
                    "type": "string",
                    "description": "media.get: a page that plays or shows the file in any browser, with no sign-in, to give a person; works until expires_at"
                  },
                  "warnings": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "create.motion and create.still: what went wrong in the page as it rendered (uncaught errors, console errors, files blocked or not found, tags never closed). It rendered anyway"
                  },
                  "extension": {
                    "type": "string",
                    "description": "The extension its format takes (.png, .mp4), from the file itself, not its name"
                  },
                  "has_audio": {
                    "type": "boolean"
                  },
                  "has_video": {
                    "type": "boolean"
                  },
                  "mime_type": {
                    "type": "string",
                    "description": "Its MIME type, likewise"
                  },
                  "created_at": {
                    "type": "string",
                    "description": "When it was imported or made"
                  },
                  "expires_at": {
                    "type": "string",
                    "description": "When url and page_url stop working"
                  },
                  "kept_until": {
                    "type": "string",
                    "description": "When the server deletes it: 7 days after last use; any use (a read, an edit, a render) pushes it back"
                  },
                  "transcript": {
                    "type": "object",
                    "required": [
                      "model",
                      "language",
                      "text",
                      "words"
                    ],
                    "properties": {
                      "from": {
                        "type": "number",
                        "description": "The stretch transcribed, if not all"
                      },
                      "text": {
                        "type": "string"
                      },
                      "model": {
                        "type": "string"
                      },
                      "until": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "words": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "text",
                            "start",
                            "end",
                            "confidence"
                          ],
                          "properties": {
                            "end": {
                              "type": "number"
                            },
                            "text": {
                              "type": "string"
                            },
                            "start": {
                              "type": "number"
                            },
                            "speaker": {
                              "type": [
                                "number",
                                "null"
                              ],
                              "description": "Who says it, from the latest speakers run"
                            },
                            "confidence": {
                              "type": "number",
                              "description": "0–1: how sure whisper is of the word itself"
                            },
                            "timing_confidence": {
                              "type": [
                                "number",
                                "null"
                              ],
                              "description": "0–1: how clearly the letters were heard between start and end; null: not aligned (digits, symbols, other languages), times fitted between neighbours"
                            }
                          }
                        },
                        "description": "Media seconds. Aligned words start and end within about 0.05 s of where their letters sound; an end on a soft consonant (s, t, k, f) or a breath can ring on up to about 0.1 s more. Short ums are often missing from the words; kind speech finds them as speech. A word \"-\" (or one starting with it) is whisper marking a new speaker, as subtitles do: a hint only; kind speakers measures who speaks when"
                      },
                      "language": {
                        "type": "string"
                      },
                      "aligned_by": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "The model that moved word edges to where the letters sound (English); null: the times are whisper's own, up to about a second off"
                      }
                    },
                    "description": "With include [\"transcript\"]: every word as {text, start, end, confidence}"
                  },
                  "fingerprint": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Identity of the file (BLAKE3 of its size and first, middle and last 4 MB), as export.video gives"
                  },
                  "font_family": {
                    "type": "string",
                    "description": "Fonts: the family; use font_media_id in a text style to set text in it"
                  },
                  "sound_seconds": {
                    "type": "number",
                    "description": "How long the sound runs; under duration_seconds, the end is soundless"
                  },
                  "picture_seconds": {
                    "type": "number",
                    "description": "How long the picture runs; under duration_seconds, the end has no picture"
                  },
                  "duration_seconds": {
                    "type": [
                      "number",
                      "null"
                    ]
                  }
                },
                "description": "The result, when status is completed; otherwise job.get gives it once completed"
              },
              "status": {
                "enum": [
                  "working",
                  "completed",
                  "failed",
                  "cancelled"
                ],
                "type": "string"
              },
              "media_id": {
                "type": "string",
                "pattern": "^m_[0-9a-z]{26}$",
                "description": "The media it is making: an import is usable in edits once its status is processing, a created media once this job completes"
              },
              "status_uri": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "Create a still",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "create.matte",
          "title": "Create a matte",
          "description": "A solid or gradient picture (PNG, any length on a timeline): backgrounds, slugs, colour washes with clip.set_blend. Gradients work like CSS: angle 180 runs top to bottom; radial reaches the corners; colours may carry alpha (#RRGGBBAA). Long-running like every create.* tool, but quick.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1
              },
              "color": {
                "type": "string",
                "description": "A solid colour"
              },
              "width": {
                "type": "integer",
                "default": 1920,
                "maximum": 3840,
                "minimum": 16
              },
              "height": {
                "type": "integer",
                "default": 1080,
                "maximum": 3840,
                "minimum": 16
              },
              "gradient": {
                "type": "object",
                "required": [
                  "from",
                  "to"
                ],
                "properties": {
                  "to": {
                    "type": "string",
                    "description": "#RRGGBB, or #RRGGBBAA where AA is opacity (00 clear, FF solid)"
                  },
                  "from": {
                    "type": "string",
                    "description": "#RRGGBB, or #RRGGBBAA where AA is opacity (00 clear, FF solid)"
                  },
                  "kind": {
                    "enum": [
                      "linear",
                      "radial"
                    ],
                    "type": "string",
                    "default": "linear"
                  },
                  "angle": {
                    "type": "number",
                    "default": 180,
                    "maximum": 360,
                    "minimum": 0,
                    "description": "Degrees; 180 runs top to bottom"
                  }
                }
              },
              "idempotency_key": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "job_id",
              "status",
              "status_uri",
              "hint"
            ],
            "properties": {
              "hint": {
                "type": "string"
              },
              "job_id": {
                "type": "string",
                "pattern": "^j_[0-9a-z]{26}$",
                "description": "Job handle; the same value is the MCP task id"
              },
              "result": {
                "type": "object",
                "required": [
                  "media_id",
                  "name",
                  "status",
                  "kind",
                  "duration_seconds",
                  "fps",
                  "width",
                  "height",
                  "has_video",
                  "has_audio",
                  "codecs",
                  "conform",
                  "analysis"
                ],
                "properties": {
                  "fps": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "num",
                          "den"
                        ],
                        "properties": {
                          "den": {
                            "type": "number"
                          },
                          "num": {
                            "type": "number"
                          }
                        }
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "job": {
                    "type": "object",
                    "required": [
                      "job_id",
                      "tool",
                      "status"
                    ],
                    "properties": {
                      "tool": {
                        "type": "string"
                      },
                      "job_id": {
                        "type": "string",
                        "pattern": "^j_[0-9a-z]{26}$",
                        "description": "Job handle; the same value is the MCP task id"
                      },
                      "status": {
                        "enum": [
                          "working",
                          "completed",
                          "failed",
                          "cancelled"
                        ],
                        "type": "string"
                      },
                      "progress": {
                        "type": "number"
                      },
                      "seconds_left": {
                        "type": "number"
                      },
                      "status_message": {
                        "type": "string"
                      }
                    },
                    "description": "media.get, while importing or being made: the job doing it"
                  },
                  "url": {
                    "type": "string",
                    "description": "media.get: a signed download of the file itself, once it has one"
                  },
                  "kind": {
                    "anyOf": [
                      {
                        "enum": [
                          "video",
                          "audio",
                          "image",
                          "font",
                          "lut"
                        ],
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "look": {
                    "type": "object",
                    "required": [
                      "runs"
                    ],
                    "properties": {
                      "runs": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "id",
                            "model",
                            "questions",
                            "with_previous",
                            "frames"
                          ],
                          "properties": {
                            "id": {
                              "type": "string"
                            },
                            "model": {
                              "type": "string"
                            },
                            "state": {
                              "type": "object",
                              "propertyNames": {
                                "type": "string"
                              },
                              "additionalProperties": {}
                            },
                            "frames": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "required": [
                                  "time",
                                  "answers"
                                ],
                                "properties": {
                                  "time": {
                                    "type": "number"
                                  },
                                  "answers": {
                                    "type": "object",
                                    "propertyNames": {
                                      "type": "string"
                                    },
                                    "additionalProperties": {
                                      "type": "object",
                                      "propertyNames": {
                                        "type": "string"
                                      },
                                      "additionalProperties": {}
                                    }
                                  }
                                }
                              }
                            },
                            "questions": {
                              "type": "object",
                              "propertyNames": {
                                "type": "string"
                              },
                              "additionalProperties": {}
                            },
                            "with_previous": {
                              "type": "boolean"
                            }
                          }
                        }
                      }
                    }
                  },
                  "name": {
                    "type": "string"
                  },
                  "beats": {
                    "type": "object",
                    "required": [
                      "bpm",
                      "beats",
                      "downbeats"
                    ],
                    "properties": {
                      "bpm": {
                        "type": "number"
                      },
                      "beats": {
                        "type": "array",
                        "items": {
                          "type": "number"
                        }
                      },
                      "downbeats": {
                        "type": "array",
                        "items": {
                          "type": "number"
                        }
                      },
                      "strengths": {
                        "type": "array",
                        "items": {
                          "type": "number"
                        },
                        "description": "Per beat: its onset strength, 0–1 of the strongest in the sound"
                      }
                    }
                  },
                  "error": {
                    "type": "object",
                    "required": [
                      "code",
                      "message"
                    ],
                    "properties": {
                      "code": {
                        "enum": [
                          "bad_request",
                          "no_audio",
                          "not_found",
                          "expired",
                          "media_not_ready",
                          "media_offline",
                          "engine_error",
                          "render_failed",
                          "interrupted",
                          "stalled",
                          "cancelled",
                          "credential_required",
                          "credential_invalid",
                          "output_exists",
                          "path_not_allowed",
                          "limit_exceeded",
                          "quota_exceeded",
                          "subscription_required",
                          "email_unverified",
                          "service_unavailable",
                          "server_busy"
                        ],
                        "type": "string"
                      },
                      "hint": {
                        "type": "string"
                      },
                      "detail": {
                        "type": "object",
                        "propertyNames": {
                          "type": "string"
                        },
                        "additionalProperties": {}
                      },
                      "message": {
                        "type": "string"
                      }
                    }
                  },
                  "faces": {
                    "type": "object",
                    "required": [
                      "rate",
                      "frames"
                    ],
                    "properties": {
                      "rate": {
                        "type": "number"
                      },
                      "frames": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "time",
                            "faces"
                          ],
                          "properties": {
                            "time": {
                              "type": "number"
                            },
                            "faces": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "required": [
                                  "x",
                                  "y",
                                  "w",
                                  "h",
                                  "score"
                                ],
                                "properties": {
                                  "h": {
                                    "type": "number"
                                  },
                                  "w": {
                                    "type": "number"
                                  },
                                  "x": {
                                    "type": "number"
                                  },
                                  "y": {
                                    "type": "number"
                                  },
                                  "score": {
                                    "type": "number"
                                  }
                                },
                                "description": "Top-left corner x, y and size w, h, fractions of the picture (centre: x + w/2, y + h/2); score 0–1"
                              }
                            }
                          }
                        }
                      }
                    }
                  },
                  "pages": {
                    "type": "object",
                    "description": "media.get with a range, offset or limit: per included analysis, which piece of its list came back",
                    "propertyNames": {
                      "enum": [
                        "transcript",
                        "beats",
                        "faces",
                        "look",
                        "speech",
                        "sounds",
                        "speakers",
                        "voice",
                        "colour",
                        "picture"
                      ],
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "object",
                      "required": [
                        "list",
                        "first",
                        "returned",
                        "matching",
                        "total",
                        "next_offset"
                      ],
                      "properties": {
                        "list": {
                          "type": "string",
                          "description": "The list paged: transcript.words, beats.beats, faces.frames, speech.probabilities (one per frame_seconds from `from`), speakers.turns, voice.frames, colour.frames, picture.columns (every column alike), or look runs[].frames (each run is cut the same way; first and the counts are the latest run's)"
                        },
                        "first": {
                          "type": "integer",
                          "description": "Index in the whole list of the first item returned (transcript: the word index clip.add source {words} takes)"
                        },
                        "total": {
                          "type": "integer",
                          "description": "Items in the whole list"
                        },
                        "matching": {
                          "type": "integer",
                          "description": "Items in the time range (the whole list without one)"
                        },
                        "returned": {
                          "type": "integer"
                        },
                        "next_offset": {
                          "anyOf": [
                            {
                              "type": "integer"
                            },
                            {
                              "type": "null"
                            }
                          ],
                          "description": "The offset that gives the next page of this range, or null at its end"
                        }
                      }
                    }
                  },
                  "probe": {
                    "type": "object",
                    "required": [
                      "format",
                      "streams"
                    ],
                    "properties": {
                      "format": {
                        "type": "object",
                        "propertyNames": {
                          "type": "string"
                        },
                        "additionalProperties": {}
                      },
                      "streams": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "propertyNames": {
                            "type": "string"
                          },
                          "additionalProperties": {}
                        }
                      }
                    },
                    "description": "media.get: everything FFprobe read from the file, as it gives it: the format and every stream (codec, pix_fmt, color_space, color_primaries, color_transfer, color_range, bit depth, sample rate, channel layout, tags, side data). Not for fonts and LUTs"
                  },
                  "width": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "codecs": {
                    "type": "object",
                    "required": [
                      "video",
                      "audio"
                    ],
                    "properties": {
                      "audio": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "video": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    }
                  },
                  "expiry": {
                    "type": "string",
                    "description": "kept_until in words: how long is left, and what keeps it longer or how to keep it"
                  },
                  "height": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "origin": {
                    "type": "object",
                    "required": [
                      "from"
                    ],
                    "properties": {
                      "url": {
                        "type": "string",
                        "description": "url: the address it was downloaded from, without its query string"
                      },
                      "via": {
                        "enum": [
                          "media.upload",
                          "account_page",
                          "data_uri"
                        ],
                        "type": "string",
                        "description": "upload: sent through a media.upload link, dropped on the cuttingfloor site, or a data: URI"
                      },
                      "from": {
                        "enum": [
                          "upload",
                          "url",
                          "path",
                          "render",
                          "created",
                          "still"
                        ],
                        "type": "string",
                        "description": "upload: a file the user sent; url: downloaded; path: a media root; render: an export.video; created: a create.* tool; still: a frame of a video or an edit"
                      },
                      "path": {
                        "type": "string",
                        "description": "path: the file it was imported from"
                      },
                      "tool": {
                        "type": "string",
                        "description": "created: the create.* tool that made it"
                      },
                      "frame": {
                        "type": "number",
                        "description": "still: the frame"
                      },
                      "range": {
                        "type": "object",
                        "required": [
                          "start",
                          "end"
                        ],
                        "properties": {
                          "end": {
                            "type": "number"
                          },
                          "start": {
                            "type": "number"
                          }
                        },
                        "description": "render: the frames exported, when not the whole timeline"
                      },
                      "job_id": {
                        "type": "string",
                        "pattern": "^j_[0-9a-z]{26}$",
                        "description": "render: the export.video job; created: the create.* job"
                      },
                      "preset": {
                        "type": "string",
                        "description": "render: the export preset"
                      },
                      "recipe": {
                        "type": "string",
                        "description": "created: a hash of what it was made from; the same recipe makes the same media"
                      },
                      "sources": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "track_id",
                            "kind",
                            "start",
                            "end",
                            "media_id",
                            "source_in",
                            "source_out"
                          ],
                          "properties": {
                            "end": {
                              "type": "number"
                            },
                            "kind": {
                              "enum": [
                                "video",
                                "audio"
                              ],
                              "type": "string"
                            },
                            "speed": {
                              "type": "object",
                              "description": "The clip's speed change, as clip.set_speed set it",
                              "propertyNames": {
                                "type": "string"
                              },
                              "additionalProperties": {}
                            },
                            "start": {
                              "type": "number",
                              "description": "Seconds into this file"
                            },
                            "media_id": {
                              "type": "string",
                              "pattern": "^m_[0-9a-z]{26}$",
                              "description": "The media this stretch plays"
                            },
                            "track_id": {
                              "type": "string",
                              "description": "Track of the timeline; outer/inner inside a nested one"
                            },
                            "source_in": {
                              "type": "number",
                              "description": "Seconds into that media"
                            },
                            "source_out": {
                              "type": "number"
                            }
                          }
                        },
                        "description": "render: where each stretch of this file comes from, per track, read from the timeline when it was exported (kept after the timeline expires). With a speed curve, source_in and source_out are the clip's whole source range"
                      },
                      "attached": {
                        "type": "boolean",
                        "description": "url: the file the user attached in the chat, passed as media.import file"
                      },
                      "media_id": {
                        "type": "string",
                        "pattern": "^m_[0-9a-z]{26}$",
                        "description": "still: the video the frame is from"
                      },
                      "file_name": {
                        "type": "string",
                        "description": "upload: the name the file was sent with"
                      },
                      "media_ids": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "pattern": "^m_[0-9a-z]{26}$",
                          "description": "Media handle from media.import or a create.* tool"
                        },
                        "description": "created: the media it was made from (a cutout's source, a page's assets)"
                      },
                      "upload_id": {
                        "type": "string",
                        "pattern": "^u_[0-9a-z]{26}$",
                        "description": "Upload handle from media.upload"
                      },
                      "timeline_id": {
                        "type": "string",
                        "pattern": "^tl_[0-9a-f]{32}$",
                        "description": "render: the timeline that was exported; still: the edit the frame is from"
                      }
                    },
                    "description": "Where it came from, to tell one version from another: the import source, the export of which timeline, or the create.* tool and the media it was made from"
                  },
                  "sounds": {
                    "type": "object",
                    "required": [
                      "model",
                      "min_probability",
                      "spans",
                      "peaks"
                    ],
                    "properties": {
                      "model": {
                        "type": "string"
                      },
                      "peaks": {
                        "type": "object",
                        "description": "Per sound reported: the highest probability it reaches anywhere",
                        "propertyNames": {
                          "type": "string"
                        },
                        "additionalProperties": {
                          "type": "number"
                        }
                      },
                      "spans": {
                        "type": "object",
                        "description": "Per sound: the runs of 40 ms frames at or above min_probability, in time order; empty when it never is",
                        "propertyNames": {
                          "type": "string"
                        },
                        "additionalProperties": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "start",
                              "end",
                              "peak_seconds",
                              "peak_probability"
                            ],
                            "properties": {
                              "end": {
                                "type": "number",
                                "description": "Where it ends, on the same clock"
                              },
                              "start": {
                                "type": "number",
                                "description": "Where the run of matching 40 ms frames starts: media seconds, or timeline seconds for a timeline"
                              },
                              "peak_seconds": {
                                "type": "number",
                                "description": "The middle of the most likely frame"
                              },
                              "peak_probability": {
                                "type": "number"
                              }
                            }
                          }
                        }
                      },
                      "scores": {
                        "type": "object",
                        "required": [
                          "start_seconds",
                          "step_seconds",
                          "values"
                        ],
                        "properties": {
                          "values": {
                            "type": "object",
                            "description": "Per sound, the highest probability in each step, 0 to 1",
                            "propertyNames": {
                              "type": "string"
                            },
                            "additionalProperties": {
                              "type": "array",
                              "items": {
                                "type": "number"
                              }
                            }
                          },
                          "step_seconds": {
                            "type": "number",
                            "description": "Seconds each value covers: 0.04 (every frame) unless asked or too long"
                          },
                          "start_seconds": {
                            "type": "number",
                            "description": "Where the first value starts: media seconds, or timeline seconds for a timeline"
                          }
                        },
                        "description": "Every probability, for your own cut-off or arithmetic"
                      },
                      "min_probability": {
                        "type": "number"
                      }
                    },
                    "description": "With include [\"sounds\"]: the latest media.analyze sounds run, every probability included"
                  },
                  "speech": {
                    "type": "object",
                    "required": [
                      "model",
                      "frame_seconds",
                      "from",
                      "probabilities"
                    ],
                    "properties": {
                      "from": {
                        "type": "number",
                        "description": "Seconds where the first probability starts"
                      },
                      "model": {
                        "type": "string"
                      },
                      "frame_seconds": {
                        "type": "number",
                        "description": "Each probability covers this long"
                      },
                      "probabilities": {
                        "type": "array",
                        "items": {
                          "type": "number"
                        },
                        "description": "Speech probability 0–1, one per frame, in order"
                      }
                    },
                    "description": "With include [\"speech\"]: the speech probability of every 32 ms frame"
                  },
                  "status": {
                    "enum": [
                      "importing",
                      "processing",
                      "ready",
                      "failed"
                    ],
                    "type": "string",
                    "description": "importing: not probed yet; processing: usable in edits, proxy still rendering; ready; failed"
                  },
                  "conform": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "Why a mezzanine was made (vfr, rotation, hdr, codec); empty when not needed"
                  },
                  "analyses": {
                    "type": "object",
                    "properties": {
                      "look": {
                        "type": "object",
                        "required": [
                          "runs",
                          "frames",
                          "questions"
                        ],
                        "properties": {
                          "runs": {
                            "type": "number"
                          },
                          "frames": {
                            "type": "number"
                          },
                          "questions": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          }
                        },
                        "description": "frames and questions: the latest run"
                      },
                      "beats": {
                        "type": "object",
                        "required": [
                          "bpm",
                          "beats"
                        ],
                        "properties": {
                          "bpm": {
                            "type": "number"
                          },
                          "beats": {
                            "type": "number"
                          }
                        }
                      },
                      "faces": {
                        "type": "object",
                        "required": [
                          "rate",
                          "frames_with_faces"
                        ],
                        "properties": {
                          "rate": {
                            "type": "number"
                          },
                          "frames_with_faces": {
                            "type": "number"
                          }
                        }
                      },
                      "voice": {
                        "type": "object",
                        "description": "frames, and the summary media.analyze voice gives",
                        "propertyNames": {
                          "type": "string"
                        },
                        "additionalProperties": {}
                      },
                      "colour": {
                        "type": "object",
                        "required": [
                          "frames",
                          "regions"
                        ],
                        "properties": {
                          "frames": {
                            "type": "number"
                          },
                          "regions": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          }
                        }
                      },
                      "sounds": {
                        "type": "object",
                        "required": [
                          "model",
                          "min_probability",
                          "heard"
                        ],
                        "properties": {
                          "heard": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "model": {
                            "type": "string"
                          },
                          "min_probability": {
                            "type": "number"
                          }
                        },
                        "description": "heard: the sounds the latest run found at or above its min_probability"
                      },
                      "speech": {
                        "type": "object",
                        "required": [
                          "model",
                          "frames",
                          "frame_seconds"
                        ],
                        "properties": {
                          "model": {
                            "type": "string"
                          },
                          "frames": {
                            "type": "number"
                          },
                          "frame_seconds": {
                            "type": "number"
                          }
                        }
                      },
                      "picture": {
                        "type": "object",
                        "required": [
                          "frames",
                          "from"
                        ],
                        "properties": {
                          "from": {
                            "type": "number"
                          },
                          "frames": {
                            "type": "number"
                          }
                        }
                      },
                      "speakers": {
                        "type": "object",
                        "required": [
                          "model",
                          "speakers",
                          "turns"
                        ],
                        "properties": {
                          "model": {
                            "type": "string"
                          },
                          "turns": {
                            "type": "number"
                          },
                          "speakers": {
                            "type": "number"
                          }
                        }
                      },
                      "transcript": {
                        "type": "object",
                        "required": [
                          "model",
                          "language",
                          "words"
                        ],
                        "properties": {
                          "model": {
                            "type": "string"
                          },
                          "words": {
                            "type": "number",
                            "description": "How many words; the words themselves are in transcript.words"
                          },
                          "language": {
                            "type": "string"
                          }
                        }
                      }
                    },
                    "description": "Summaries of media.analyze results (counts, not data); include puts each in full at the top level"
                  },
                  "analysis": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "loudness_lufs"
                        ],
                        "properties": {
                          "channels": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "required": [
                                "channel",
                                "rms_dbfs",
                                "peak_dbfs",
                                "noise_floor_dbfs"
                              ],
                              "properties": {
                                "channel": {
                                  "type": "integer",
                                  "exclusiveMinimum": 0
                                },
                                "rms_dbfs": {
                                  "type": [
                                    "number",
                                    "null"
                                  ]
                                },
                                "peak_dbfs": {
                                  "type": [
                                    "number",
                                    "null"
                                  ]
                                },
                                "noise_floor_dbfs": {
                                  "type": [
                                    "number",
                                    "null"
                                  ]
                                }
                              }
                            },
                            "description": "Each channel at import"
                          },
                          "loudness_lufs": {
                            "type": [
                              "number",
                              "null"
                            ],
                            "description": "Integrated loudness at import"
                          }
                        }
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "media_id": {
                    "type": "string",
                    "pattern": "^m_[0-9a-z]{26}$",
                    "description": "Media handle from media.import or a create.* tool"
                  },
                  "page_url": {
                    "type": "string",
                    "description": "media.get: a page that plays or shows the file in any browser, with no sign-in, to give a person; works until expires_at"
                  },
                  "warnings": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "create.motion and create.still: what went wrong in the page as it rendered (uncaught errors, console errors, files blocked or not found, tags never closed). It rendered anyway"
                  },
                  "extension": {
                    "type": "string",
                    "description": "The extension its format takes (.png, .mp4), from the file itself, not its name"
                  },
                  "has_audio": {
                    "type": "boolean"
                  },
                  "has_video": {
                    "type": "boolean"
                  },
                  "mime_type": {
                    "type": "string",
                    "description": "Its MIME type, likewise"
                  },
                  "created_at": {
                    "type": "string",
                    "description": "When it was imported or made"
                  },
                  "expires_at": {
                    "type": "string",
                    "description": "When url and page_url stop working"
                  },
                  "kept_until": {
                    "type": "string",
                    "description": "When the server deletes it: 7 days after last use; any use (a read, an edit, a render) pushes it back"
                  },
                  "transcript": {
                    "type": "object",
                    "required": [
                      "model",
                      "language",
                      "text",
                      "words"
                    ],
                    "properties": {
                      "from": {
                        "type": "number",
                        "description": "The stretch transcribed, if not all"
                      },
                      "text": {
                        "type": "string"
                      },
                      "model": {
                        "type": "string"
                      },
                      "until": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "words": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "text",
                            "start",
                            "end",
                            "confidence"
                          ],
                          "properties": {
                            "end": {
                              "type": "number"
                            },
                            "text": {
                              "type": "string"
                            },
                            "start": {
                              "type": "number"
                            },
                            "speaker": {
                              "type": [
                                "number",
                                "null"
                              ],
                              "description": "Who says it, from the latest speakers run"
                            },
                            "confidence": {
                              "type": "number",
                              "description": "0–1: how sure whisper is of the word itself"
                            },
                            "timing_confidence": {
                              "type": [
                                "number",
                                "null"
                              ],
                              "description": "0–1: how clearly the letters were heard between start and end; null: not aligned (digits, symbols, other languages), times fitted between neighbours"
                            }
                          }
                        },
                        "description": "Media seconds. Aligned words start and end within about 0.05 s of where their letters sound; an end on a soft consonant (s, t, k, f) or a breath can ring on up to about 0.1 s more. Short ums are often missing from the words; kind speech finds them as speech. A word \"-\" (or one starting with it) is whisper marking a new speaker, as subtitles do: a hint only; kind speakers measures who speaks when"
                      },
                      "language": {
                        "type": "string"
                      },
                      "aligned_by": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "The model that moved word edges to where the letters sound (English); null: the times are whisper's own, up to about a second off"
                      }
                    },
                    "description": "With include [\"transcript\"]: every word as {text, start, end, confidence}"
                  },
                  "fingerprint": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Identity of the file (BLAKE3 of its size and first, middle and last 4 MB), as export.video gives"
                  },
                  "font_family": {
                    "type": "string",
                    "description": "Fonts: the family; use font_media_id in a text style to set text in it"
                  },
                  "sound_seconds": {
                    "type": "number",
                    "description": "How long the sound runs; under duration_seconds, the end is soundless"
                  },
                  "picture_seconds": {
                    "type": "number",
                    "description": "How long the picture runs; under duration_seconds, the end has no picture"
                  },
                  "duration_seconds": {
                    "type": [
                      "number",
                      "null"
                    ]
                  }
                },
                "description": "The result, when status is completed; otherwise job.get gives it once completed"
              },
              "status": {
                "enum": [
                  "working",
                  "completed",
                  "failed",
                  "cancelled"
                ],
                "type": "string"
              },
              "media_id": {
                "type": "string",
                "pattern": "^m_[0-9a-z]{26}$",
                "description": "The media it is making: an import is usable in edits once its status is processing, a created media once this job completes"
              },
              "status_uri": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "Create a matte",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "create.voiceover",
          "title": "Create a voiceover",
          "description": "English text spoken by a natural voice (Kokoro, local; the model downloads once) as WAV media. words (default) times each word into the media transcript (media.get include transcript). Long-running: a task, or {job_id, media_id} for job.get.",
          "inputSchema": {
            "type": "object",
            "required": [
              "text"
            ],
            "properties": {
              "name": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1
              },
              "text": {
                "type": "string",
                "maxLength": 5000,
                "minLength": 1,
                "description": "What to say, in English"
              },
              "speed": {
                "type": "number",
                "default": 1,
                "maximum": 2,
                "minimum": 0.5
              },
              "voice": {
                "enum": [
                  "af_alloy",
                  "af_aoede",
                  "af_bella",
                  "af_heart",
                  "af_jessica",
                  "af_kore",
                  "af_nicole",
                  "af_nova",
                  "af_river",
                  "af_sarah",
                  "af_sky",
                  "am_adam",
                  "am_echo",
                  "am_eric",
                  "am_fenrir",
                  "am_liam",
                  "am_michael",
                  "am_onyx",
                  "am_puck",
                  "am_santa",
                  "bf_alice",
                  "bf_emma",
                  "bf_isabella",
                  "bf_lily",
                  "bm_daniel",
                  "bm_fable",
                  "bm_george",
                  "bm_lewis"
                ],
                "type": "string",
                "default": "af_heart",
                "description": "a/b: American/British; f/m: female/male; the rest is a name, not a description of the voice"
              },
              "words": {
                "type": "boolean",
                "default": true,
                "description": "Time each word"
              },
              "idempotency_key": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "job_id",
              "status",
              "status_uri",
              "hint"
            ],
            "properties": {
              "hint": {
                "type": "string"
              },
              "job_id": {
                "type": "string",
                "pattern": "^j_[0-9a-z]{26}$",
                "description": "Job handle; the same value is the MCP task id"
              },
              "result": {
                "type": "object",
                "required": [
                  "media_id",
                  "name",
                  "status",
                  "kind",
                  "duration_seconds",
                  "fps",
                  "width",
                  "height",
                  "has_video",
                  "has_audio",
                  "codecs",
                  "conform",
                  "analysis"
                ],
                "properties": {
                  "fps": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "num",
                          "den"
                        ],
                        "properties": {
                          "den": {
                            "type": "number"
                          },
                          "num": {
                            "type": "number"
                          }
                        }
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "job": {
                    "type": "object",
                    "required": [
                      "job_id",
                      "tool",
                      "status"
                    ],
                    "properties": {
                      "tool": {
                        "type": "string"
                      },
                      "job_id": {
                        "type": "string",
                        "pattern": "^j_[0-9a-z]{26}$",
                        "description": "Job handle; the same value is the MCP task id"
                      },
                      "status": {
                        "enum": [
                          "working",
                          "completed",
                          "failed",
                          "cancelled"
                        ],
                        "type": "string"
                      },
                      "progress": {
                        "type": "number"
                      },
                      "seconds_left": {
                        "type": "number"
                      },
                      "status_message": {
                        "type": "string"
                      }
                    },
                    "description": "media.get, while importing or being made: the job doing it"
                  },
                  "url": {
                    "type": "string",
                    "description": "media.get: a signed download of the file itself, once it has one"
                  },
                  "kind": {
                    "anyOf": [
                      {
                        "enum": [
                          "video",
                          "audio",
                          "image",
                          "font",
                          "lut"
                        ],
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "look": {
                    "type": "object",
                    "required": [
                      "runs"
                    ],
                    "properties": {
                      "runs": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "id",
                            "model",
                            "questions",
                            "with_previous",
                            "frames"
                          ],
                          "properties": {
                            "id": {
                              "type": "string"
                            },
                            "model": {
                              "type": "string"
                            },
                            "state": {
                              "type": "object",
                              "propertyNames": {
                                "type": "string"
                              },
                              "additionalProperties": {}
                            },
                            "frames": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "required": [
                                  "time",
                                  "answers"
                                ],
                                "properties": {
                                  "time": {
                                    "type": "number"
                                  },
                                  "answers": {
                                    "type": "object",
                                    "propertyNames": {
                                      "type": "string"
                                    },
                                    "additionalProperties": {
                                      "type": "object",
                                      "propertyNames": {
                                        "type": "string"
                                      },
                                      "additionalProperties": {}
                                    }
                                  }
                                }
                              }
                            },
                            "questions": {
                              "type": "object",
                              "propertyNames": {
                                "type": "string"
                              },
                              "additionalProperties": {}
                            },
                            "with_previous": {
                              "type": "boolean"
                            }
                          }
                        }
                      }
                    }
                  },
                  "name": {
                    "type": "string"
                  },
                  "beats": {
                    "type": "object",
                    "required": [
                      "bpm",
                      "beats",
                      "downbeats"
                    ],
                    "properties": {
                      "bpm": {
                        "type": "number"
                      },
                      "beats": {
                        "type": "array",
                        "items": {
                          "type": "number"
                        }
                      },
                      "downbeats": {
                        "type": "array",
                        "items": {
                          "type": "number"
                        }
                      },
                      "strengths": {
                        "type": "array",
                        "items": {
                          "type": "number"
                        },
                        "description": "Per beat: its onset strength, 0–1 of the strongest in the sound"
                      }
                    }
                  },
                  "error": {
                    "type": "object",
                    "required": [
                      "code",
                      "message"
                    ],
                    "properties": {
                      "code": {
                        "enum": [
                          "bad_request",
                          "no_audio",
                          "not_found",
                          "expired",
                          "media_not_ready",
                          "media_offline",
                          "engine_error",
                          "render_failed",
                          "interrupted",
                          "stalled",
                          "cancelled",
                          "credential_required",
                          "credential_invalid",
                          "output_exists",
                          "path_not_allowed",
                          "limit_exceeded",
                          "quota_exceeded",
                          "subscription_required",
                          "email_unverified",
                          "service_unavailable",
                          "server_busy"
                        ],
                        "type": "string"
                      },
                      "hint": {
                        "type": "string"
                      },
                      "detail": {
                        "type": "object",
                        "propertyNames": {
                          "type": "string"
                        },
                        "additionalProperties": {}
                      },
                      "message": {
                        "type": "string"
                      }
                    }
                  },
                  "faces": {
                    "type": "object",
                    "required": [
                      "rate",
                      "frames"
                    ],
                    "properties": {
                      "rate": {
                        "type": "number"
                      },
                      "frames": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "time",
                            "faces"
                          ],
                          "properties": {
                            "time": {
                              "type": "number"
                            },
                            "faces": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "required": [
                                  "x",
                                  "y",
                                  "w",
                                  "h",
                                  "score"
                                ],
                                "properties": {
                                  "h": {
                                    "type": "number"
                                  },
                                  "w": {
                                    "type": "number"
                                  },
                                  "x": {
                                    "type": "number"
                                  },
                                  "y": {
                                    "type": "number"
                                  },
                                  "score": {
                                    "type": "number"
                                  }
                                },
                                "description": "Top-left corner x, y and size w, h, fractions of the picture (centre: x + w/2, y + h/2); score 0–1"
                              }
                            }
                          }
                        }
                      }
                    }
                  },
                  "pages": {
                    "type": "object",
                    "description": "media.get with a range, offset or limit: per included analysis, which piece of its list came back",
                    "propertyNames": {
                      "enum": [
                        "transcript",
                        "beats",
                        "faces",
                        "look",
                        "speech",
                        "sounds",
                        "speakers",
                        "voice",
                        "colour",
                        "picture"
                      ],
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "object",
                      "required": [
                        "list",
                        "first",
                        "returned",
                        "matching",
                        "total",
                        "next_offset"
                      ],
                      "properties": {
                        "list": {
                          "type": "string",
                          "description": "The list paged: transcript.words, beats.beats, faces.frames, speech.probabilities (one per frame_seconds from `from`), speakers.turns, voice.frames, colour.frames, picture.columns (every column alike), or look runs[].frames (each run is cut the same way; first and the counts are the latest run's)"
                        },
                        "first": {
                          "type": "integer",
                          "description": "Index in the whole list of the first item returned (transcript: the word index clip.add source {words} takes)"
                        },
                        "total": {
                          "type": "integer",
                          "description": "Items in the whole list"
                        },
                        "matching": {
                          "type": "integer",
                          "description": "Items in the time range (the whole list without one)"
                        },
                        "returned": {
                          "type": "integer"
                        },
                        "next_offset": {
                          "anyOf": [
                            {
                              "type": "integer"
                            },
                            {
                              "type": "null"
                            }
                          ],
                          "description": "The offset that gives the next page of this range, or null at its end"
                        }
                      }
                    }
                  },
                  "probe": {
                    "type": "object",
                    "required": [
                      "format",
                      "streams"
                    ],
                    "properties": {
                      "format": {
                        "type": "object",
                        "propertyNames": {
                          "type": "string"
                        },
                        "additionalProperties": {}
                      },
                      "streams": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "propertyNames": {
                            "type": "string"
                          },
                          "additionalProperties": {}
                        }
                      }
                    },
                    "description": "media.get: everything FFprobe read from the file, as it gives it: the format and every stream (codec, pix_fmt, color_space, color_primaries, color_transfer, color_range, bit depth, sample rate, channel layout, tags, side data). Not for fonts and LUTs"
                  },
                  "width": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "codecs": {
                    "type": "object",
                    "required": [
                      "video",
                      "audio"
                    ],
                    "properties": {
                      "audio": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "video": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    }
                  },
                  "expiry": {
                    "type": "string",
                    "description": "kept_until in words: how long is left, and what keeps it longer or how to keep it"
                  },
                  "height": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "origin": {
                    "type": "object",
                    "required": [
                      "from"
                    ],
                    "properties": {
                      "url": {
                        "type": "string",
                        "description": "url: the address it was downloaded from, without its query string"
                      },
                      "via": {
                        "enum": [
                          "media.upload",
                          "account_page",
                          "data_uri"
                        ],
                        "type": "string",
                        "description": "upload: sent through a media.upload link, dropped on the cuttingfloor site, or a data: URI"
                      },
                      "from": {
                        "enum": [
                          "upload",
                          "url",
                          "path",
                          "render",
                          "created",
                          "still"
                        ],
                        "type": "string",
                        "description": "upload: a file the user sent; url: downloaded; path: a media root; render: an export.video; created: a create.* tool; still: a frame of a video or an edit"
                      },
                      "path": {
                        "type": "string",
                        "description": "path: the file it was imported from"
                      },
                      "tool": {
                        "type": "string",
                        "description": "created: the create.* tool that made it"
                      },
                      "frame": {
                        "type": "number",
                        "description": "still: the frame"
                      },
                      "range": {
                        "type": "object",
                        "required": [
                          "start",
                          "end"
                        ],
                        "properties": {
                          "end": {
                            "type": "number"
                          },
                          "start": {
                            "type": "number"
                          }
                        },
                        "description": "render: the frames exported, when not the whole timeline"
                      },
                      "job_id": {
                        "type": "string",
                        "pattern": "^j_[0-9a-z]{26}$",
                        "description": "render: the export.video job; created: the create.* job"
                      },
                      "preset": {
                        "type": "string",
                        "description": "render: the export preset"
                      },
                      "recipe": {
                        "type": "string",
                        "description": "created: a hash of what it was made from; the same recipe makes the same media"
                      },
                      "sources": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "track_id",
                            "kind",
                            "start",
                            "end",
                            "media_id",
                            "source_in",
                            "source_out"
                          ],
                          "properties": {
                            "end": {
                              "type": "number"
                            },
                            "kind": {
                              "enum": [
                                "video",
                                "audio"
                              ],
                              "type": "string"
                            },
                            "speed": {
                              "type": "object",
                              "description": "The clip's speed change, as clip.set_speed set it",
                              "propertyNames": {
                                "type": "string"
                              },
                              "additionalProperties": {}
                            },
                            "start": {
                              "type": "number",
                              "description": "Seconds into this file"
                            },
                            "media_id": {
                              "type": "string",
                              "pattern": "^m_[0-9a-z]{26}$",
                              "description": "The media this stretch plays"
                            },
                            "track_id": {
                              "type": "string",
                              "description": "Track of the timeline; outer/inner inside a nested one"
                            },
                            "source_in": {
                              "type": "number",
                              "description": "Seconds into that media"
                            },
                            "source_out": {
                              "type": "number"
                            }
                          }
                        },
                        "description": "render: where each stretch of this file comes from, per track, read from the timeline when it was exported (kept after the timeline expires). With a speed curve, source_in and source_out are the clip's whole source range"
                      },
                      "attached": {
                        "type": "boolean",
                        "description": "url: the file the user attached in the chat, passed as media.import file"
                      },
                      "media_id": {
                        "type": "string",
                        "pattern": "^m_[0-9a-z]{26}$",
                        "description": "still: the video the frame is from"
                      },
                      "file_name": {
                        "type": "string",
                        "description": "upload: the name the file was sent with"
                      },
                      "media_ids": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "pattern": "^m_[0-9a-z]{26}$",
                          "description": "Media handle from media.import or a create.* tool"
                        },
                        "description": "created: the media it was made from (a cutout's source, a page's assets)"
                      },
                      "upload_id": {
                        "type": "string",
                        "pattern": "^u_[0-9a-z]{26}$",
                        "description": "Upload handle from media.upload"
                      },
                      "timeline_id": {
                        "type": "string",
                        "pattern": "^tl_[0-9a-f]{32}$",
                        "description": "render: the timeline that was exported; still: the edit the frame is from"
                      }
                    },
                    "description": "Where it came from, to tell one version from another: the import source, the export of which timeline, or the create.* tool and the media it was made from"
                  },
                  "sounds": {
                    "type": "object",
                    "required": [
                      "model",
                      "min_probability",
                      "spans",
                      "peaks"
                    ],
                    "properties": {
                      "model": {
                        "type": "string"
                      },
                      "peaks": {
                        "type": "object",
                        "description": "Per sound reported: the highest probability it reaches anywhere",
                        "propertyNames": {
                          "type": "string"
                        },
                        "additionalProperties": {
                          "type": "number"
                        }
                      },
                      "spans": {
                        "type": "object",
                        "description": "Per sound: the runs of 40 ms frames at or above min_probability, in time order; empty when it never is",
                        "propertyNames": {
                          "type": "string"
                        },
                        "additionalProperties": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "start",
                              "end",
                              "peak_seconds",
                              "peak_probability"
                            ],
                            "properties": {
                              "end": {
                                "type": "number",
                                "description": "Where it ends, on the same clock"
                              },
                              "start": {
                                "type": "number",
                                "description": "Where the run of matching 40 ms frames starts: media seconds, or timeline seconds for a timeline"
                              },
                              "peak_seconds": {
                                "type": "number",
                                "description": "The middle of the most likely frame"
                              },
                              "peak_probability": {
                                "type": "number"
                              }
                            }
                          }
                        }
                      },
                      "scores": {
                        "type": "object",
                        "required": [
                          "start_seconds",
                          "step_seconds",
                          "values"
                        ],
                        "properties": {
                          "values": {
                            "type": "object",
                            "description": "Per sound, the highest probability in each step, 0 to 1",
                            "propertyNames": {
                              "type": "string"
                            },
                            "additionalProperties": {
                              "type": "array",
                              "items": {
                                "type": "number"
                              }
                            }
                          },
                          "step_seconds": {
                            "type": "number",
                            "description": "Seconds each value covers: 0.04 (every frame) unless asked or too long"
                          },
                          "start_seconds": {
                            "type": "number",
                            "description": "Where the first value starts: media seconds, or timeline seconds for a timeline"
                          }
                        },
                        "description": "Every probability, for your own cut-off or arithmetic"
                      },
                      "min_probability": {
                        "type": "number"
                      }
                    },
                    "description": "With include [\"sounds\"]: the latest media.analyze sounds run, every probability included"
                  },
                  "speech": {
                    "type": "object",
                    "required": [
                      "model",
                      "frame_seconds",
                      "from",
                      "probabilities"
                    ],
                    "properties": {
                      "from": {
                        "type": "number",
                        "description": "Seconds where the first probability starts"
                      },
                      "model": {
                        "type": "string"
                      },
                      "frame_seconds": {
                        "type": "number",
                        "description": "Each probability covers this long"
                      },
                      "probabilities": {
                        "type": "array",
                        "items": {
                          "type": "number"
                        },
                        "description": "Speech probability 0–1, one per frame, in order"
                      }
                    },
                    "description": "With include [\"speech\"]: the speech probability of every 32 ms frame"
                  },
                  "status": {
                    "enum": [
                      "importing",
                      "processing",
                      "ready",
                      "failed"
                    ],
                    "type": "string",
                    "description": "importing: not probed yet; processing: usable in edits, proxy still rendering; ready; failed"
                  },
                  "conform": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "Why a mezzanine was made (vfr, rotation, hdr, codec); empty when not needed"
                  },
                  "analyses": {
                    "type": "object",
                    "properties": {
                      "look": {
                        "type": "object",
                        "required": [
                          "runs",
                          "frames",
                          "questions"
                        ],
                        "properties": {
                          "runs": {
                            "type": "number"
                          },
                          "frames": {
                            "type": "number"
                          },
                          "questions": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          }
                        },
                        "description": "frames and questions: the latest run"
                      },
                      "beats": {
                        "type": "object",
                        "required": [
                          "bpm",
                          "beats"
                        ],
                        "properties": {
                          "bpm": {
                            "type": "number"
                          },
                          "beats": {
                            "type": "number"
                          }
                        }
                      },
                      "faces": {
                        "type": "object",
                        "required": [
                          "rate",
                          "frames_with_faces"
                        ],
                        "properties": {
                          "rate": {
                            "type": "number"
                          },
                          "frames_with_faces": {
                            "type": "number"
                          }
                        }
                      },
                      "voice": {
                        "type": "object",
                        "description": "frames, and the summary media.analyze voice gives",
                        "propertyNames": {
                          "type": "string"
                        },
                        "additionalProperties": {}
                      },
                      "colour": {
                        "type": "object",
                        "required": [
                          "frames",
                          "regions"
                        ],
                        "properties": {
                          "frames": {
                            "type": "number"
                          },
                          "regions": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          }
                        }
                      },
                      "sounds": {
                        "type": "object",
                        "required": [
                          "model",
                          "min_probability",
                          "heard"
                        ],
                        "properties": {
                          "heard": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "model": {
                            "type": "string"
                          },
                          "min_probability": {
                            "type": "number"
                          }
                        },
                        "description": "heard: the sounds the latest run found at or above its min_probability"
                      },
                      "speech": {
                        "type": "object",
                        "required": [
                          "model",
                          "frames",
                          "frame_seconds"
                        ],
                        "properties": {
                          "model": {
                            "type": "string"
                          },
                          "frames": {
                            "type": "number"
                          },
                          "frame_seconds": {
                            "type": "number"
                          }
                        }
                      },
                      "picture": {
                        "type": "object",
                        "required": [
                          "frames",
                          "from"
                        ],
                        "properties": {
                          "from": {
                            "type": "number"
                          },
                          "frames": {
                            "type": "number"
                          }
                        }
                      },
                      "speakers": {
                        "type": "object",
                        "required": [
                          "model",
                          "speakers",
                          "turns"
                        ],
                        "properties": {
                          "model": {
                            "type": "string"
                          },
                          "turns": {
                            "type": "number"
                          },
                          "speakers": {
                            "type": "number"
                          }
                        }
                      },
                      "transcript": {
                        "type": "object",
                        "required": [
                          "model",
                          "language",
                          "words"
                        ],
                        "properties": {
                          "model": {
                            "type": "string"
                          },
                          "words": {
                            "type": "number",
                            "description": "How many words; the words themselves are in transcript.words"
                          },
                          "language": {
                            "type": "string"
                          }
                        }
                      }
                    },
                    "description": "Summaries of media.analyze results (counts, not data); include puts each in full at the top level"
                  },
                  "analysis": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "loudness_lufs"
                        ],
                        "properties": {
                          "channels": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "required": [
                                "channel",
                                "rms_dbfs",
                                "peak_dbfs",
                                "noise_floor_dbfs"
                              ],
                              "properties": {
                                "channel": {
                                  "type": "integer",
                                  "exclusiveMinimum": 0
                                },
                                "rms_dbfs": {
                                  "type": [
                                    "number",
                                    "null"
                                  ]
                                },
                                "peak_dbfs": {
                                  "type": [
                                    "number",
                                    "null"
                                  ]
                                },
                                "noise_floor_dbfs": {
                                  "type": [
                                    "number",
                                    "null"
                                  ]
                                }
                              }
                            },
                            "description": "Each channel at import"
                          },
                          "loudness_lufs": {
                            "type": [
                              "number",
                              "null"
                            ],
                            "description": "Integrated loudness at import"
                          }
                        }
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "media_id": {
                    "type": "string",
                    "pattern": "^m_[0-9a-z]{26}$",
                    "description": "Media handle from media.import or a create.* tool"
                  },
                  "page_url": {
                    "type": "string",
                    "description": "media.get: a page that plays or shows the file in any browser, with no sign-in, to give a person; works until expires_at"
                  },
                  "warnings": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "create.motion and create.still: what went wrong in the page as it rendered (uncaught errors, console errors, files blocked or not found, tags never closed). It rendered anyway"
                  },
                  "extension": {
                    "type": "string",
                    "description": "The extension its format takes (.png, .mp4), from the file itself, not its name"
                  },
                  "has_audio": {
                    "type": "boolean"
                  },
                  "has_video": {
                    "type": "boolean"
                  },
                  "mime_type": {
                    "type": "string",
                    "description": "Its MIME type, likewise"
                  },
                  "created_at": {
                    "type": "string",
                    "description": "When it was imported or made"
                  },
                  "expires_at": {
                    "type": "string",
                    "description": "When url and page_url stop working"
                  },
                  "kept_until": {
                    "type": "string",
                    "description": "When the server deletes it: 7 days after last use; any use (a read, an edit, a render) pushes it back"
                  },
                  "transcript": {
                    "type": "object",
                    "required": [
                      "model",
                      "language",
                      "text",
                      "words"
                    ],
                    "properties": {
                      "from": {
                        "type": "number",
                        "description": "The stretch transcribed, if not all"
                      },
                      "text": {
                        "type": "string"
                      },
                      "model": {
                        "type": "string"
                      },
                      "until": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "words": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "text",
                            "start",
                            "end",
                            "confidence"
                          ],
                          "properties": {
                            "end": {
                              "type": "number"
                            },
                            "text": {
                              "type": "string"
                            },
                            "start": {
                              "type": "number"
                            },
                            "speaker": {
                              "type": [
                                "number",
                                "null"
                              ],
                              "description": "Who says it, from the latest speakers run"
                            },
                            "confidence": {
                              "type": "number",
                              "description": "0–1: how sure whisper is of the word itself"
                            },
                            "timing_confidence": {
                              "type": [
                                "number",
                                "null"
                              ],
                              "description": "0–1: how clearly the letters were heard between start and end; null: not aligned (digits, symbols, other languages), times fitted between neighbours"
                            }
                          }
                        },
                        "description": "Media seconds. Aligned words start and end within about 0.05 s of where their letters sound; an end on a soft consonant (s, t, k, f) or a breath can ring on up to about 0.1 s more. Short ums are often missing from the words; kind speech finds them as speech. A word \"-\" (or one starting with it) is whisper marking a new speaker, as subtitles do: a hint only; kind speakers measures who speaks when"
                      },
                      "language": {
                        "type": "string"
                      },
                      "aligned_by": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "The model that moved word edges to where the letters sound (English); null: the times are whisper's own, up to about a second off"
                      }
                    },
                    "description": "With include [\"transcript\"]: every word as {text, start, end, confidence}"
                  },
                  "fingerprint": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Identity of the file (BLAKE3 of its size and first, middle and last 4 MB), as export.video gives"
                  },
                  "font_family": {
                    "type": "string",
                    "description": "Fonts: the family; use font_media_id in a text style to set text in it"
                  },
                  "sound_seconds": {
                    "type": "number",
                    "description": "How long the sound runs; under duration_seconds, the end is soundless"
                  },
                  "picture_seconds": {
                    "type": "number",
                    "description": "How long the picture runs; under duration_seconds, the end has no picture"
                  },
                  "duration_seconds": {
                    "type": [
                      "number",
                      "null"
                    ]
                  }
                },
                "description": "The result, when status is completed; otherwise job.get gives it once completed"
              },
              "status": {
                "enum": [
                  "working",
                  "completed",
                  "failed",
                  "cancelled"
                ],
                "type": "string"
              },
              "media_id": {
                "type": "string",
                "pattern": "^m_[0-9a-z]{26}$",
                "description": "The media it is making: an import is usable in edits once its status is processing, a created media once this job completes"
              },
              "status_uri": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "Create a voiceover",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "create.cutout",
          "title": "Cut out a subject",
          "description": "A subject without its background, local: ProRes 4444 with alpha and the sound, or a PNG, to lay over a new background. subject any (BiRefNet) cuts out products, animals or objects; people (MODNet) is fast enough for long video. region: one item by its bounds, followed; also a clip.set_mask matte. Long-running: a task, or {job_id, media_id} for job.get.",
          "inputSchema": {
            "type": "object",
            "required": [
              "media_id"
            ],
            "properties": {
              "name": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1
              },
              "region": {
                "type": "object",
                "properties": {
                  "h": {
                    "type": "number",
                    "maximum": 1,
                    "minimum": 0.005
                  },
                  "w": {
                    "type": "number",
                    "maximum": 1,
                    "minimum": 0.005
                  },
                  "x": {
                    "type": "number",
                    "maximum": 1,
                    "minimum": 0
                  },
                  "y": {
                    "type": "number",
                    "maximum": 1,
                    "minimum": 0
                  },
                  "points": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "x",
                        "y"
                      ],
                      "properties": {
                        "x": {
                          "type": "number",
                          "maximum": 1,
                          "minimum": 0
                        },
                        "y": {
                          "type": "number",
                          "maximum": 1,
                          "minimum": 0
                        },
                        "keep": {
                          "type": "boolean",
                          "default": true
                        }
                      }
                    },
                    "maxItems": 16
                  },
                  "at_seconds": {
                    "type": "number",
                    "default": 0,
                    "minimum": 0
                  }
                },
                "description": "The item in this box (top-left x, y, size w, h; fractions) and/or at these points (keep false: not it) at at_seconds, outlined through the video (EdgeTAM, ~0.5 s a frame)"
              },
              "smooth": {
                "type": "number",
                "default": 0.3,
                "maximum": 0.9,
                "minimum": 0,
                "description": "Video: steadies the edge"
              },
              "subject": {
                "enum": [
                  "auto",
                  "people",
                  "any"
                ],
                "type": "string",
                "default": "auto",
                "description": "people: MODNet, fast, for video of people; any: BiRefNet, any subject (products, animals, objects), about 1 s a frame and 3 GB of memory; auto: any for pictures, people for video"
              },
              "media_id": {
                "type": "string",
                "pattern": "^m_[0-9a-z]{26}$",
                "description": "Media handle from media.import or a create.* tool"
              },
              "idempotency_key": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "job_id",
              "status",
              "status_uri",
              "hint"
            ],
            "properties": {
              "hint": {
                "type": "string"
              },
              "job_id": {
                "type": "string",
                "pattern": "^j_[0-9a-z]{26}$",
                "description": "Job handle; the same value is the MCP task id"
              },
              "result": {
                "type": "object",
                "required": [
                  "media_id",
                  "name",
                  "status",
                  "kind",
                  "duration_seconds",
                  "fps",
                  "width",
                  "height",
                  "has_video",
                  "has_audio",
                  "codecs",
                  "conform",
                  "analysis"
                ],
                "properties": {
                  "fps": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "num",
                          "den"
                        ],
                        "properties": {
                          "den": {
                            "type": "number"
                          },
                          "num": {
                            "type": "number"
                          }
                        }
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "job": {
                    "type": "object",
                    "required": [
                      "job_id",
                      "tool",
                      "status"
                    ],
                    "properties": {
                      "tool": {
                        "type": "string"
                      },
                      "job_id": {
                        "type": "string",
                        "pattern": "^j_[0-9a-z]{26}$",
                        "description": "Job handle; the same value is the MCP task id"
                      },
                      "status": {
                        "enum": [
                          "working",
                          "completed",
                          "failed",
                          "cancelled"
                        ],
                        "type": "string"
                      },
                      "progress": {
                        "type": "number"
                      },
                      "seconds_left": {
                        "type": "number"
                      },
                      "status_message": {
                        "type": "string"
                      }
                    },
                    "description": "media.get, while importing or being made: the job doing it"
                  },
                  "url": {
                    "type": "string",
                    "description": "media.get: a signed download of the file itself, once it has one"
                  },
                  "kind": {
                    "anyOf": [
                      {
                        "enum": [
                          "video",
                          "audio",
                          "image",
                          "font",
                          "lut"
                        ],
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "look": {
                    "type": "object",
                    "required": [
                      "runs"
                    ],
                    "properties": {
                      "runs": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "id",
                            "model",
                            "questions",
                            "with_previous",
                            "frames"
                          ],
                          "properties": {
                            "id": {
                              "type": "string"
                            },
                            "model": {
                              "type": "string"
                            },
                            "state": {
                              "type": "object",
                              "propertyNames": {
                                "type": "string"
                              },
                              "additionalProperties": {}
                            },
                            "frames": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "required": [
                                  "time",
                                  "answers"
                                ],
                                "properties": {
                                  "time": {
                                    "type": "number"
                                  },
                                  "answers": {
                                    "type": "object",
                                    "propertyNames": {
                                      "type": "string"
                                    },
                                    "additionalProperties": {
                                      "type": "object",
                                      "propertyNames": {
                                        "type": "string"
                                      },
                                      "additionalProperties": {}
                                    }
                                  }
                                }
                              }
                            },
                            "questions": {
                              "type": "object",
                              "propertyNames": {
                                "type": "string"
                              },
                              "additionalProperties": {}
                            },
                            "with_previous": {
                              "type": "boolean"
                            }
                          }
                        }
                      }
                    }
                  },
                  "name": {
                    "type": "string"
                  },
                  "beats": {
                    "type": "object",
                    "required": [
                      "bpm",
                      "beats",
                      "downbeats"
                    ],
                    "properties": {
                      "bpm": {
                        "type": "number"
                      },
                      "beats": {
                        "type": "array",
                        "items": {
                          "type": "number"
                        }
                      },
                      "downbeats": {
                        "type": "array",
                        "items": {
                          "type": "number"
                        }
                      },
                      "strengths": {
                        "type": "array",
                        "items": {
                          "type": "number"
                        },
                        "description": "Per beat: its onset strength, 0–1 of the strongest in the sound"
                      }
                    }
                  },
                  "error": {
                    "type": "object",
                    "required": [
                      "code",
                      "message"
                    ],
                    "properties": {
                      "code": {
                        "enum": [
                          "bad_request",
                          "no_audio",
                          "not_found",
                          "expired",
                          "media_not_ready",
                          "media_offline",
                          "engine_error",
                          "render_failed",
                          "interrupted",
                          "stalled",
                          "cancelled",
                          "credential_required",
                          "credential_invalid",
                          "output_exists",
                          "path_not_allowed",
                          "limit_exceeded",
                          "quota_exceeded",
                          "subscription_required",
                          "email_unverified",
                          "service_unavailable",
                          "server_busy"
                        ],
                        "type": "string"
                      },
                      "hint": {
                        "type": "string"
                      },
                      "detail": {
                        "type": "object",
                        "propertyNames": {
                          "type": "string"
                        },
                        "additionalProperties": {}
                      },
                      "message": {
                        "type": "string"
                      }
                    }
                  },
                  "faces": {
                    "type": "object",
                    "required": [
                      "rate",
                      "frames"
                    ],
                    "properties": {
                      "rate": {
                        "type": "number"
                      },
                      "frames": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "time",
                            "faces"
                          ],
                          "properties": {
                            "time": {
                              "type": "number"
                            },
                            "faces": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "required": [
                                  "x",
                                  "y",
                                  "w",
                                  "h",
                                  "score"
                                ],
                                "properties": {
                                  "h": {
                                    "type": "number"
                                  },
                                  "w": {
                                    "type": "number"
                                  },
                                  "x": {
                                    "type": "number"
                                  },
                                  "y": {
                                    "type": "number"
                                  },
                                  "score": {
                                    "type": "number"
                                  }
                                },
                                "description": "Top-left corner x, y and size w, h, fractions of the picture (centre: x + w/2, y + h/2); score 0–1"
                              }
                            }
                          }
                        }
                      }
                    }
                  },
                  "pages": {
                    "type": "object",
                    "description": "media.get with a range, offset or limit: per included analysis, which piece of its list came back",
                    "propertyNames": {
                      "enum": [
                        "transcript",
                        "beats",
                        "faces",
                        "look",
                        "speech",
                        "sounds",
                        "speakers",
                        "voice",
                        "colour",
                        "picture"
                      ],
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "object",
                      "required": [
                        "list",
                        "first",
                        "returned",
                        "matching",
                        "total",
                        "next_offset"
                      ],
                      "properties": {
                        "list": {
                          "type": "string",
                          "description": "The list paged: transcript.words, beats.beats, faces.frames, speech.probabilities (one per frame_seconds from `from`), speakers.turns, voice.frames, colour.frames, picture.columns (every column alike), or look runs[].frames (each run is cut the same way; first and the counts are the latest run's)"
                        },
                        "first": {
                          "type": "integer",
                          "description": "Index in the whole list of the first item returned (transcript: the word index clip.add source {words} takes)"
                        },
                        "total": {
                          "type": "integer",
                          "description": "Items in the whole list"
                        },
                        "matching": {
                          "type": "integer",
                          "description": "Items in the time range (the whole list without one)"
                        },
                        "returned": {
                          "type": "integer"
                        },
                        "next_offset": {
                          "anyOf": [
                            {
                              "type": "integer"
                            },
                            {
                              "type": "null"
                            }
                          ],
                          "description": "The offset that gives the next page of this range, or null at its end"
                        }
                      }
                    }
                  },
                  "probe": {
                    "type": "object",
                    "required": [
                      "format",
                      "streams"
                    ],
                    "properties": {
                      "format": {
                        "type": "object",
                        "propertyNames": {
                          "type": "string"
                        },
                        "additionalProperties": {}
                      },
                      "streams": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "propertyNames": {
                            "type": "string"
                          },
                          "additionalProperties": {}
                        }
                      }
                    },
                    "description": "media.get: everything FFprobe read from the file, as it gives it: the format and every stream (codec, pix_fmt, color_space, color_primaries, color_transfer, color_range, bit depth, sample rate, channel layout, tags, side data). Not for fonts and LUTs"
                  },
                  "width": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "codecs": {
                    "type": "object",
                    "required": [
                      "video",
                      "audio"
                    ],
                    "properties": {
                      "audio": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "video": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    }
                  },
                  "expiry": {
                    "type": "string",
                    "description": "kept_until in words: how long is left, and what keeps it longer or how to keep it"
                  },
                  "height": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "origin": {
                    "type": "object",
                    "required": [
                      "from"
                    ],
                    "properties": {
                      "url": {
                        "type": "string",
                        "description": "url: the address it was downloaded from, without its query string"
                      },
                      "via": {
                        "enum": [
                          "media.upload",
                          "account_page",
                          "data_uri"
                        ],
                        "type": "string",
                        "description": "upload: sent through a media.upload link, dropped on the cuttingfloor site, or a data: URI"
                      },
                      "from": {
                        "enum": [
                          "upload",
                          "url",
                          "path",
                          "render",
                          "created",
                          "still"
                        ],
                        "type": "string",
                        "description": "upload: a file the user sent; url: downloaded; path: a media root; render: an export.video; created: a create.* tool; still: a frame of a video or an edit"
                      },
                      "path": {
                        "type": "string",
                        "description": "path: the file it was imported from"
                      },
                      "tool": {
                        "type": "string",
                        "description": "created: the create.* tool that made it"
                      },
                      "frame": {
                        "type": "number",
                        "description": "still: the frame"
                      },
                      "range": {
                        "type": "object",
                        "required": [
                          "start",
                          "end"
                        ],
                        "properties": {
                          "end": {
                            "type": "number"
                          },
                          "start": {
                            "type": "number"
                          }
                        },
                        "description": "render: the frames exported, when not the whole timeline"
                      },
                      "job_id": {
                        "type": "string",
                        "pattern": "^j_[0-9a-z]{26}$",
                        "description": "render: the export.video job; created: the create.* job"
                      },
                      "preset": {
                        "type": "string",
                        "description": "render: the export preset"
                      },
                      "recipe": {
                        "type": "string",
                        "description": "created: a hash of what it was made from; the same recipe makes the same media"
                      },
                      "sources": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "track_id",
                            "kind",
                            "start",
                            "end",
                            "media_id",
                            "source_in",
                            "source_out"
                          ],
                          "properties": {
                            "end": {
                              "type": "number"
                            },
                            "kind": {
                              "enum": [
                                "video",
                                "audio"
                              ],
                              "type": "string"
                            },
                            "speed": {
                              "type": "object",
                              "description": "The clip's speed change, as clip.set_speed set it",
                              "propertyNames": {
                                "type": "string"
                              },
                              "additionalProperties": {}
                            },
                            "start": {
                              "type": "number",
                              "description": "Seconds into this file"
                            },
                            "media_id": {
                              "type": "string",
                              "pattern": "^m_[0-9a-z]{26}$",
                              "description": "The media this stretch plays"
                            },
                            "track_id": {
                              "type": "string",
                              "description": "Track of the timeline; outer/inner inside a nested one"
                            },
                            "source_in": {
                              "type": "number",
                              "description": "Seconds into that media"
                            },
                            "source_out": {
                              "type": "number"
                            }
                          }
                        },
                        "description": "render: where each stretch of this file comes from, per track, read from the timeline when it was exported (kept after the timeline expires). With a speed curve, source_in and source_out are the clip's whole source range"
                      },
                      "attached": {
                        "type": "boolean",
                        "description": "url: the file the user attached in the chat, passed as media.import file"
                      },
                      "media_id": {
                        "type": "string",
                        "pattern": "^m_[0-9a-z]{26}$",
                        "description": "still: the video the frame is from"
                      },
                      "file_name": {
                        "type": "string",
                        "description": "upload: the name the file was sent with"
                      },
                      "media_ids": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "pattern": "^m_[0-9a-z]{26}$",
                          "description": "Media handle from media.import or a create.* tool"
                        },
                        "description": "created: the media it was made from (a cutout's source, a page's assets)"
                      },
                      "upload_id": {
                        "type": "string",
                        "pattern": "^u_[0-9a-z]{26}$",
                        "description": "Upload handle from media.upload"
                      },
                      "timeline_id": {
                        "type": "string",
                        "pattern": "^tl_[0-9a-f]{32}$",
                        "description": "render: the timeline that was exported; still: the edit the frame is from"
                      }
                    },
                    "description": "Where it came from, to tell one version from another: the import source, the export of which timeline, or the create.* tool and the media it was made from"
                  },
                  "sounds": {
                    "type": "object",
                    "required": [
                      "model",
                      "min_probability",
                      "spans",
                      "peaks"
                    ],
                    "properties": {
                      "model": {
                        "type": "string"
                      },
                      "peaks": {
                        "type": "object",
                        "description": "Per sound reported: the highest probability it reaches anywhere",
                        "propertyNames": {
                          "type": "string"
                        },
                        "additionalProperties": {
                          "type": "number"
                        }
                      },
                      "spans": {
                        "type": "object",
                        "description": "Per sound: the runs of 40 ms frames at or above min_probability, in time order; empty when it never is",
                        "propertyNames": {
                          "type": "string"
                        },
                        "additionalProperties": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "start",
                              "end",
                              "peak_seconds",
                              "peak_probability"
                            ],
                            "properties": {
                              "end": {
                                "type": "number",
                                "description": "Where it ends, on the same clock"
                              },
                              "start": {
                                "type": "number",
                                "description": "Where the run of matching 40 ms frames starts: media seconds, or timeline seconds for a timeline"
                              },
                              "peak_seconds": {
                                "type": "number",
                                "description": "The middle of the most likely frame"
                              },
                              "peak_probability": {
                                "type": "number"
                              }
                            }
                          }
                        }
                      },
                      "scores": {
                        "type": "object",
                        "required": [
                          "start_seconds",
                          "step_seconds",
                          "values"
                        ],
                        "properties": {
                          "values": {
                            "type": "object",
                            "description": "Per sound, the highest probability in each step, 0 to 1",
                            "propertyNames": {
                              "type": "string"
                            },
                            "additionalProperties": {
                              "type": "array",
                              "items": {
                                "type": "number"
                              }
                            }
                          },
                          "step_seconds": {
                            "type": "number",
                            "description": "Seconds each value covers: 0.04 (every frame) unless asked or too long"
                          },
                          "start_seconds": {
                            "type": "number",
                            "description": "Where the first value starts: media seconds, or timeline seconds for a timeline"
                          }
                        },
                        "description": "Every probability, for your own cut-off or arithmetic"
                      },
                      "min_probability": {
                        "type": "number"
                      }
                    },
                    "description": "With include [\"sounds\"]: the latest media.analyze sounds run, every probability included"
                  },
                  "speech": {
                    "type": "object",
                    "required": [
                      "model",
                      "frame_seconds",
                      "from",
                      "probabilities"
                    ],
                    "properties": {
                      "from": {
                        "type": "number",
                        "description": "Seconds where the first probability starts"
                      },
                      "model": {
                        "type": "string"
                      },
                      "frame_seconds": {
                        "type": "number",
                        "description": "Each probability covers this long"
                      },
                      "probabilities": {
                        "type": "array",
                        "items": {
                          "type": "number"
                        },
                        "description": "Speech probability 0–1, one per frame, in order"
                      }
                    },
                    "description": "With include [\"speech\"]: the speech probability of every 32 ms frame"
                  },
                  "status": {
                    "enum": [
                      "importing",
                      "processing",
                      "ready",
                      "failed"
                    ],
                    "type": "string",
                    "description": "importing: not probed yet; processing: usable in edits, proxy still rendering; ready; failed"
                  },
                  "conform": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "Why a mezzanine was made (vfr, rotation, hdr, codec); empty when not needed"
                  },
                  "analyses": {
                    "type": "object",
                    "properties": {
                      "look": {
                        "type": "object",
                        "required": [
                          "runs",
                          "frames",
                          "questions"
                        ],
                        "properties": {
                          "runs": {
                            "type": "number"
                          },
                          "frames": {
                            "type": "number"
                          },
                          "questions": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          }
                        },
                        "description": "frames and questions: the latest run"
                      },
                      "beats": {
                        "type": "object",
                        "required": [
                          "bpm",
                          "beats"
                        ],
                        "properties": {
                          "bpm": {
                            "type": "number"
                          },
                          "beats": {
                            "type": "number"
                          }
                        }
                      },
                      "faces": {
                        "type": "object",
                        "required": [
                          "rate",
                          "frames_with_faces"
                        ],
                        "properties": {
                          "rate": {
                            "type": "number"
                          },
                          "frames_with_faces": {
                            "type": "number"
                          }
                        }
                      },
                      "voice": {
                        "type": "object",
                        "description": "frames, and the summary media.analyze voice gives",
                        "propertyNames": {
                          "type": "string"
                        },
                        "additionalProperties": {}
                      },
                      "colour": {
                        "type": "object",
                        "required": [
                          "frames",
                          "regions"
                        ],
                        "properties": {
                          "frames": {
                            "type": "number"
                          },
                          "regions": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          }
                        }
                      },
                      "sounds": {
                        "type": "object",
                        "required": [
                          "model",
                          "min_probability",
                          "heard"
                        ],
                        "properties": {
                          "heard": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "model": {
                            "type": "string"
                          },
                          "min_probability": {
                            "type": "number"
                          }
                        },
                        "description": "heard: the sounds the latest run found at or above its min_probability"
                      },
                      "speech": {
                        "type": "object",
                        "required": [
                          "model",
                          "frames",
                          "frame_seconds"
                        ],
                        "properties": {
                          "model": {
                            "type": "string"
                          },
                          "frames": {
                            "type": "number"
                          },
                          "frame_seconds": {
                            "type": "number"
                          }
                        }
                      },
                      "picture": {
                        "type": "object",
                        "required": [
                          "frames",
                          "from"
                        ],
                        "properties": {
                          "from": {
                            "type": "number"
                          },
                          "frames": {
                            "type": "number"
                          }
                        }
                      },
                      "speakers": {
                        "type": "object",
                        "required": [
                          "model",
                          "speakers",
                          "turns"
                        ],
                        "properties": {
                          "model": {
                            "type": "string"
                          },
                          "turns": {
                            "type": "number"
                          },
                          "speakers": {
                            "type": "number"
                          }
                        }
                      },
                      "transcript": {
                        "type": "object",
                        "required": [
                          "model",
                          "language",
                          "words"
                        ],
                        "properties": {
                          "model": {
                            "type": "string"
                          },
                          "words": {
                            "type": "number",
                            "description": "How many words; the words themselves are in transcript.words"
                          },
                          "language": {
                            "type": "string"
                          }
                        }
                      }
                    },
                    "description": "Summaries of media.analyze results (counts, not data); include puts each in full at the top level"
                  },
                  "analysis": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "loudness_lufs"
                        ],
                        "properties": {
                          "channels": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "required": [
                                "channel",
                                "rms_dbfs",
                                "peak_dbfs",
                                "noise_floor_dbfs"
                              ],
                              "properties": {
                                "channel": {
                                  "type": "integer",
                                  "exclusiveMinimum": 0
                                },
                                "rms_dbfs": {
                                  "type": [
                                    "number",
                                    "null"
                                  ]
                                },
                                "peak_dbfs": {
                                  "type": [
                                    "number",
                                    "null"
                                  ]
                                },
                                "noise_floor_dbfs": {
                                  "type": [
                                    "number",
                                    "null"
                                  ]
                                }
                              }
                            },
                            "description": "Each channel at import"
                          },
                          "loudness_lufs": {
                            "type": [
                              "number",
                              "null"
                            ],
                            "description": "Integrated loudness at import"
                          }
                        }
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "media_id": {
                    "type": "string",
                    "pattern": "^m_[0-9a-z]{26}$",
                    "description": "Media handle from media.import or a create.* tool"
                  },
                  "page_url": {
                    "type": "string",
                    "description": "media.get: a page that plays or shows the file in any browser, with no sign-in, to give a person; works until expires_at"
                  },
                  "warnings": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "create.motion and create.still: what went wrong in the page as it rendered (uncaught errors, console errors, files blocked or not found, tags never closed). It rendered anyway"
                  },
                  "extension": {
                    "type": "string",
                    "description": "The extension its format takes (.png, .mp4), from the file itself, not its name"
                  },
                  "has_audio": {
                    "type": "boolean"
                  },
                  "has_video": {
                    "type": "boolean"
                  },
                  "mime_type": {
                    "type": "string",
                    "description": "Its MIME type, likewise"
                  },
                  "created_at": {
                    "type": "string",
                    "description": "When it was imported or made"
                  },
                  "expires_at": {
                    "type": "string",
                    "description": "When url and page_url stop working"
                  },
                  "kept_until": {
                    "type": "string",
                    "description": "When the server deletes it: 7 days after last use; any use (a read, an edit, a render) pushes it back"
                  },
                  "transcript": {
                    "type": "object",
                    "required": [
                      "model",
                      "language",
                      "text",
                      "words"
                    ],
                    "properties": {
                      "from": {
                        "type": "number",
                        "description": "The stretch transcribed, if not all"
                      },
                      "text": {
                        "type": "string"
                      },
                      "model": {
                        "type": "string"
                      },
                      "until": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "words": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "text",
                            "start",
                            "end",
                            "confidence"
                          ],
                          "properties": {
                            "end": {
                              "type": "number"
                            },
                            "text": {
                              "type": "string"
                            },
                            "start": {
                              "type": "number"
                            },
                            "speaker": {
                              "type": [
                                "number",
                                "null"
                              ],
                              "description": "Who says it, from the latest speakers run"
                            },
                            "confidence": {
                              "type": "number",
                              "description": "0–1: how sure whisper is of the word itself"
                            },
                            "timing_confidence": {
                              "type": [
                                "number",
                                "null"
                              ],
                              "description": "0–1: how clearly the letters were heard between start and end; null: not aligned (digits, symbols, other languages), times fitted between neighbours"
                            }
                          }
                        },
                        "description": "Media seconds. Aligned words start and end within about 0.05 s of where their letters sound; an end on a soft consonant (s, t, k, f) or a breath can ring on up to about 0.1 s more. Short ums are often missing from the words; kind speech finds them as speech. A word \"-\" (or one starting with it) is whisper marking a new speaker, as subtitles do: a hint only; kind speakers measures who speaks when"
                      },
                      "language": {
                        "type": "string"
                      },
                      "aligned_by": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "The model that moved word edges to where the letters sound (English); null: the times are whisper's own, up to about a second off"
                      }
                    },
                    "description": "With include [\"transcript\"]: every word as {text, start, end, confidence}"
                  },
                  "fingerprint": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Identity of the file (BLAKE3 of its size and first, middle and last 4 MB), as export.video gives"
                  },
                  "font_family": {
                    "type": "string",
                    "description": "Fonts: the family; use font_media_id in a text style to set text in it"
                  },
                  "sound_seconds": {
                    "type": "number",
                    "description": "How long the sound runs; under duration_seconds, the end is soundless"
                  },
                  "picture_seconds": {
                    "type": "number",
                    "description": "How long the picture runs; under duration_seconds, the end has no picture"
                  },
                  "duration_seconds": {
                    "type": [
                      "number",
                      "null"
                    ]
                  }
                },
                "description": "The result, when status is completed; otherwise job.get gives it once completed"
              },
              "status": {
                "enum": [
                  "working",
                  "completed",
                  "failed",
                  "cancelled"
                ],
                "type": "string"
              },
              "media_id": {
                "type": "string",
                "pattern": "^m_[0-9a-z]{26}$",
                "description": "The media it is making: an import is usable in edits once its status is processing, a created media once this job completes"
              },
              "status_uri": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "Cut out a subject",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "create.stabilized",
          "title": "Steady shaky video",
          "description": "A steadied copy of shaky video, local (vid.stab): one pass measures the camera shake over the whole media, a second moves each frame against a smoothed camera path. New media, ProRes with the sound, to put on the timeline in place of the shaky clip (clip.replace keeps its place and timing). Long-running: a task, or {job_id, media_id} for job.get.",
          "inputSchema": {
            "type": "object",
            "required": [
              "media_id"
            ],
            "properties": {
              "name": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1
              },
              "edges": {
                "enum": [
                  "zoom",
                  "adaptive_zoom",
                  "black",
                  "keep"
                ],
                "type": "string",
                "default": "zoom",
                "description": "What fills the edges steadying moves into view. zoom: one zoom for the whole video, enough to hide them; adaptive_zoom: as little zoom as each moment needs; black: no zoom, black edges; keep: no zoom, edges filled from earlier frames"
              },
              "tripod": {
                "type": "boolean",
                "default": false,
                "description": "Hold the picture still against its first frame, as if on a tripod"
              },
              "media_id": {
                "type": "string",
                "pattern": "^m_[0-9a-z]{26}$",
                "description": "Video to steady"
              },
              "shakiness": {
                "type": "integer",
                "default": 5,
                "maximum": 10,
                "minimum": 1,
                "description": "How shaky the footage is: 1 a little, 10 a lot"
              },
              "smoothing": {
                "type": "integer",
                "default": 10,
                "maximum": 500,
                "minimum": 0,
                "description": "Frames each side the camera path is smoothed over: more is steadier but follows intended moves (pans) more slowly"
              },
              "idempotency_key": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "job_id",
              "status",
              "status_uri",
              "hint"
            ],
            "properties": {
              "hint": {
                "type": "string"
              },
              "job_id": {
                "type": "string",
                "pattern": "^j_[0-9a-z]{26}$",
                "description": "Job handle; the same value is the MCP task id"
              },
              "result": {
                "type": "object",
                "required": [
                  "media_id",
                  "name",
                  "status",
                  "kind",
                  "duration_seconds",
                  "fps",
                  "width",
                  "height",
                  "has_video",
                  "has_audio",
                  "codecs",
                  "conform",
                  "analysis"
                ],
                "properties": {
                  "fps": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "num",
                          "den"
                        ],
                        "properties": {
                          "den": {
                            "type": "number"
                          },
                          "num": {
                            "type": "number"
                          }
                        }
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "job": {
                    "type": "object",
                    "required": [
                      "job_id",
                      "tool",
                      "status"
                    ],
                    "properties": {
                      "tool": {
                        "type": "string"
                      },
                      "job_id": {
                        "type": "string",
                        "pattern": "^j_[0-9a-z]{26}$",
                        "description": "Job handle; the same value is the MCP task id"
                      },
                      "status": {
                        "enum": [
                          "working",
                          "completed",
                          "failed",
                          "cancelled"
                        ],
                        "type": "string"
                      },
                      "progress": {
                        "type": "number"
                      },
                      "seconds_left": {
                        "type": "number"
                      },
                      "status_message": {
                        "type": "string"
                      }
                    },
                    "description": "media.get, while importing or being made: the job doing it"
                  },
                  "url": {
                    "type": "string",
                    "description": "media.get: a signed download of the file itself, once it has one"
                  },
                  "kind": {
                    "anyOf": [
                      {
                        "enum": [
                          "video",
                          "audio",
                          "image",
                          "font",
                          "lut"
                        ],
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "look": {
                    "type": "object",
                    "required": [
                      "runs"
                    ],
                    "properties": {
                      "runs": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "id",
                            "model",
                            "questions",
                            "with_previous",
                            "frames"
                          ],
                          "properties": {
                            "id": {
                              "type": "string"
                            },
                            "model": {
                              "type": "string"
                            },
                            "state": {
                              "type": "object",
                              "propertyNames": {
                                "type": "string"
                              },
                              "additionalProperties": {}
                            },
                            "frames": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "required": [
                                  "time",
                                  "answers"
                                ],
                                "properties": {
                                  "time": {
                                    "type": "number"
                                  },
                                  "answers": {
                                    "type": "object",
                                    "propertyNames": {
                                      "type": "string"
                                    },
                                    "additionalProperties": {
                                      "type": "object",
                                      "propertyNames": {
                                        "type": "string"
                                      },
                                      "additionalProperties": {}
                                    }
                                  }
                                }
                              }
                            },
                            "questions": {
                              "type": "object",
                              "propertyNames": {
                                "type": "string"
                              },
                              "additionalProperties": {}
                            },
                            "with_previous": {
                              "type": "boolean"
                            }
                          }
                        }
                      }
                    }
                  },
                  "name": {
                    "type": "string"
                  },
                  "beats": {
                    "type": "object",
                    "required": [
                      "bpm",
                      "beats",
                      "downbeats"
                    ],
                    "properties": {
                      "bpm": {
                        "type": "number"
                      },
                      "beats": {
                        "type": "array",
                        "items": {
                          "type": "number"
                        }
                      },
                      "downbeats": {
                        "type": "array",
                        "items": {
                          "type": "number"
                        }
                      },
                      "strengths": {
                        "type": "array",
                        "items": {
                          "type": "number"
                        },
                        "description": "Per beat: its onset strength, 0–1 of the strongest in the sound"
                      }
                    }
                  },
                  "error": {
                    "type": "object",
                    "required": [
                      "code",
                      "message"
                    ],
                    "properties": {
                      "code": {
                        "enum": [
                          "bad_request",
                          "no_audio",
                          "not_found",
                          "expired",
                          "media_not_ready",
                          "media_offline",
                          "engine_error",
                          "render_failed",
                          "interrupted",
                          "stalled",
                          "cancelled",
                          "credential_required",
                          "credential_invalid",
                          "output_exists",
                          "path_not_allowed",
                          "limit_exceeded",
                          "quota_exceeded",
                          "subscription_required",
                          "email_unverified",
                          "service_unavailable",
                          "server_busy"
                        ],
                        "type": "string"
                      },
                      "hint": {
                        "type": "string"
                      },
                      "detail": {
                        "type": "object",
                        "propertyNames": {
                          "type": "string"
                        },
                        "additionalProperties": {}
                      },
                      "message": {
                        "type": "string"
                      }
                    }
                  },
                  "faces": {
                    "type": "object",
                    "required": [
                      "rate",
                      "frames"
                    ],
                    "properties": {
                      "rate": {
                        "type": "number"
                      },
                      "frames": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "time",
                            "faces"
                          ],
                          "properties": {
                            "time": {
                              "type": "number"
                            },
                            "faces": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "required": [
                                  "x",
                                  "y",
                                  "w",
                                  "h",
                                  "score"
                                ],
                                "properties": {
                                  "h": {
                                    "type": "number"
                                  },
                                  "w": {
                                    "type": "number"
                                  },
                                  "x": {
                                    "type": "number"
                                  },
                                  "y": {
                                    "type": "number"
                                  },
                                  "score": {
                                    "type": "number"
                                  }
                                },
                                "description": "Top-left corner x, y and size w, h, fractions of the picture (centre: x + w/2, y + h/2); score 0–1"
                              }
                            }
                          }
                        }
                      }
                    }
                  },
                  "pages": {
                    "type": "object",
                    "description": "media.get with a range, offset or limit: per included analysis, which piece of its list came back",
                    "propertyNames": {
                      "enum": [
                        "transcript",
                        "beats",
                        "faces",
                        "look",
                        "speech",
                        "sounds",
                        "speakers",
                        "voice",
                        "colour",
                        "picture"
                      ],
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "object",
                      "required": [
                        "list",
                        "first",
                        "returned",
                        "matching",
                        "total",
                        "next_offset"
                      ],
                      "properties": {
                        "list": {
                          "type": "string",
                          "description": "The list paged: transcript.words, beats.beats, faces.frames, speech.probabilities (one per frame_seconds from `from`), speakers.turns, voice.frames, colour.frames, picture.columns (every column alike), or look runs[].frames (each run is cut the same way; first and the counts are the latest run's)"
                        },
                        "first": {
                          "type": "integer",
                          "description": "Index in the whole list of the first item returned (transcript: the word index clip.add source {words} takes)"
                        },
                        "total": {
                          "type": "integer",
                          "description": "Items in the whole list"
                        },
                        "matching": {
                          "type": "integer",
                          "description": "Items in the time range (the whole list without one)"
                        },
                        "returned": {
                          "type": "integer"
                        },
                        "next_offset": {
                          "anyOf": [
                            {
                              "type": "integer"
                            },
                            {
                              "type": "null"
                            }
                          ],
                          "description": "The offset that gives the next page of this range, or null at its end"
                        }
                      }
                    }
                  },
                  "probe": {
                    "type": "object",
                    "required": [
                      "format",
                      "streams"
                    ],
                    "properties": {
                      "format": {
                        "type": "object",
                        "propertyNames": {
                          "type": "string"
                        },
                        "additionalProperties": {}
                      },
                      "streams": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "propertyNames": {
                            "type": "string"
                          },
                          "additionalProperties": {}
                        }
                      }
                    },
                    "description": "media.get: everything FFprobe read from the file, as it gives it: the format and every stream (codec, pix_fmt, color_space, color_primaries, color_transfer, color_range, bit depth, sample rate, channel layout, tags, side data). Not for fonts and LUTs"
                  },
                  "width": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "codecs": {
                    "type": "object",
                    "required": [
                      "video",
                      "audio"
                    ],
                    "properties": {
                      "audio": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "video": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    }
                  },
                  "expiry": {
                    "type": "string",
                    "description": "kept_until in words: how long is left, and what keeps it longer or how to keep it"
                  },
                  "height": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "origin": {
                    "type": "object",
                    "required": [
                      "from"
                    ],
                    "properties": {
                      "url": {
                        "type": "string",
                        "description": "url: the address it was downloaded from, without its query string"
                      },
                      "via": {
                        "enum": [
                          "media.upload",
                          "account_page",
                          "data_uri"
                        ],
                        "type": "string",
                        "description": "upload: sent through a media.upload link, dropped on the cuttingfloor site, or a data: URI"
                      },
                      "from": {
                        "enum": [
                          "upload",
                          "url",
                          "path",
                          "render",
                          "created",
                          "still"
                        ],
                        "type": "string",
                        "description": "upload: a file the user sent; url: downloaded; path: a media root; render: an export.video; created: a create.* tool; still: a frame of a video or an edit"
                      },
                      "path": {
                        "type": "string",
                        "description": "path: the file it was imported from"
                      },
                      "tool": {
                        "type": "string",
                        "description": "created: the create.* tool that made it"
                      },
                      "frame": {
                        "type": "number",
                        "description": "still: the frame"
                      },
                      "range": {
                        "type": "object",
                        "required": [
                          "start",
                          "end"
                        ],
                        "properties": {
                          "end": {
                            "type": "number"
                          },
                          "start": {
                            "type": "number"
                          }
                        },
                        "description": "render: the frames exported, when not the whole timeline"
                      },
                      "job_id": {
                        "type": "string",
                        "pattern": "^j_[0-9a-z]{26}$",
                        "description": "render: the export.video job; created: the create.* job"
                      },
                      "preset": {
                        "type": "string",
                        "description": "render: the export preset"
                      },
                      "recipe": {
                        "type": "string",
                        "description": "created: a hash of what it was made from; the same recipe makes the same media"
                      },
                      "sources": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "track_id",
                            "kind",
                            "start",
                            "end",
                            "media_id",
                            "source_in",
                            "source_out"
                          ],
                          "properties": {
                            "end": {
                              "type": "number"
                            },
                            "kind": {
                              "enum": [
                                "video",
                                "audio"
                              ],
                              "type": "string"
                            },
                            "speed": {
                              "type": "object",
                              "description": "The clip's speed change, as clip.set_speed set it",
                              "propertyNames": {
                                "type": "string"
                              },
                              "additionalProperties": {}
                            },
                            "start": {
                              "type": "number",
                              "description": "Seconds into this file"
                            },
                            "media_id": {
                              "type": "string",
                              "pattern": "^m_[0-9a-z]{26}$",
                              "description": "The media this stretch plays"
                            },
                            "track_id": {
                              "type": "string",
                              "description": "Track of the timeline; outer/inner inside a nested one"
                            },
                            "source_in": {
                              "type": "number",
                              "description": "Seconds into that media"
                            },
                            "source_out": {
                              "type": "number"
                            }
                          }
                        },
                        "description": "render: where each stretch of this file comes from, per track, read from the timeline when it was exported (kept after the timeline expires). With a speed curve, source_in and source_out are the clip's whole source range"
                      },
                      "attached": {
                        "type": "boolean",
                        "description": "url: the file the user attached in the chat, passed as media.import file"
                      },
                      "media_id": {
                        "type": "string",
                        "pattern": "^m_[0-9a-z]{26}$",
                        "description": "still: the video the frame is from"
                      },
                      "file_name": {
                        "type": "string",
                        "description": "upload: the name the file was sent with"
                      },
                      "media_ids": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "pattern": "^m_[0-9a-z]{26}$",
                          "description": "Media handle from media.import or a create.* tool"
                        },
                        "description": "created: the media it was made from (a cutout's source, a page's assets)"
                      },
                      "upload_id": {
                        "type": "string",
                        "pattern": "^u_[0-9a-z]{26}$",
                        "description": "Upload handle from media.upload"
                      },
                      "timeline_id": {
                        "type": "string",
                        "pattern": "^tl_[0-9a-f]{32}$",
                        "description": "render: the timeline that was exported; still: the edit the frame is from"
                      }
                    },
                    "description": "Where it came from, to tell one version from another: the import source, the export of which timeline, or the create.* tool and the media it was made from"
                  },
                  "sounds": {
                    "type": "object",
                    "required": [
                      "model",
                      "min_probability",
                      "spans",
                      "peaks"
                    ],
                    "properties": {
                      "model": {
                        "type": "string"
                      },
                      "peaks": {
                        "type": "object",
                        "description": "Per sound reported: the highest probability it reaches anywhere",
                        "propertyNames": {
                          "type": "string"
                        },
                        "additionalProperties": {
                          "type": "number"
                        }
                      },
                      "spans": {
                        "type": "object",
                        "description": "Per sound: the runs of 40 ms frames at or above min_probability, in time order; empty when it never is",
                        "propertyNames": {
                          "type": "string"
                        },
                        "additionalProperties": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "start",
                              "end",
                              "peak_seconds",
                              "peak_probability"
                            ],
                            "properties": {
                              "end": {
                                "type": "number",
                                "description": "Where it ends, on the same clock"
                              },
                              "start": {
                                "type": "number",
                                "description": "Where the run of matching 40 ms frames starts: media seconds, or timeline seconds for a timeline"
                              },
                              "peak_seconds": {
                                "type": "number",
                                "description": "The middle of the most likely frame"
                              },
                              "peak_probability": {
                                "type": "number"
                              }
                            }
                          }
                        }
                      },
                      "scores": {
                        "type": "object",
                        "required": [
                          "start_seconds",
                          "step_seconds",
                          "values"
                        ],
                        "properties": {
                          "values": {
                            "type": "object",
                            "description": "Per sound, the highest probability in each step, 0 to 1",
                            "propertyNames": {
                              "type": "string"
                            },
                            "additionalProperties": {
                              "type": "array",
                              "items": {
                                "type": "number"
                              }
                            }
                          },
                          "step_seconds": {
                            "type": "number",
                            "description": "Seconds each value covers: 0.04 (every frame) unless asked or too long"
                          },
                          "start_seconds": {
                            "type": "number",
                            "description": "Where the first value starts: media seconds, or timeline seconds for a timeline"
                          }
                        },
                        "description": "Every probability, for your own cut-off or arithmetic"
                      },
                      "min_probability": {
                        "type": "number"
                      }
                    },
                    "description": "With include [\"sounds\"]: the latest media.analyze sounds run, every probability included"
                  },
                  "speech": {
                    "type": "object",
                    "required": [
                      "model",
                      "frame_seconds",
                      "from",
                      "probabilities"
                    ],
                    "properties": {
                      "from": {
                        "type": "number",
                        "description": "Seconds where the first probability starts"
                      },
                      "model": {
                        "type": "string"
                      },
                      "frame_seconds": {
                        "type": "number",
                        "description": "Each probability covers this long"
                      },
                      "probabilities": {
                        "type": "array",
                        "items": {
                          "type": "number"
                        },
                        "description": "Speech probability 0–1, one per frame, in order"
                      }
                    },
                    "description": "With include [\"speech\"]: the speech probability of every 32 ms frame"
                  },
                  "status": {
                    "enum": [
                      "importing",
                      "processing",
                      "ready",
                      "failed"
                    ],
                    "type": "string",
                    "description": "importing: not probed yet; processing: usable in edits, proxy still rendering; ready; failed"
                  },
                  "conform": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "Why a mezzanine was made (vfr, rotation, hdr, codec); empty when not needed"
                  },
                  "analyses": {
                    "type": "object",
                    "properties": {
                      "look": {
                        "type": "object",
                        "required": [
                          "runs",
                          "frames",
                          "questions"
                        ],
                        "properties": {
                          "runs": {
                            "type": "number"
                          },
                          "frames": {
                            "type": "number"
                          },
                          "questions": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          }
                        },
                        "description": "frames and questions: the latest run"
                      },
                      "beats": {
                        "type": "object",
                        "required": [
                          "bpm",
                          "beats"
                        ],
                        "properties": {
                          "bpm": {
                            "type": "number"
                          },
                          "beats": {
                            "type": "number"
                          }
                        }
                      },
                      "faces": {
                        "type": "object",
                        "required": [
                          "rate",
                          "frames_with_faces"
                        ],
                        "properties": {
                          "rate": {
                            "type": "number"
                          },
                          "frames_with_faces": {
                            "type": "number"
                          }
                        }
                      },
                      "voice": {
                        "type": "object",
                        "description": "frames, and the summary media.analyze voice gives",
                        "propertyNames": {
                          "type": "string"
                        },
                        "additionalProperties": {}
                      },
                      "colour": {
                        "type": "object",
                        "required": [
                          "frames",
                          "regions"
                        ],
                        "properties": {
                          "frames": {
                            "type": "number"
                          },
                          "regions": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          }
                        }
                      },
                      "sounds": {
                        "type": "object",
                        "required": [
                          "model",
                          "min_probability",
                          "heard"
                        ],
                        "properties": {
                          "heard": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "model": {
                            "type": "string"
                          },
                          "min_probability": {
                            "type": "number"
                          }
                        },
                        "description": "heard: the sounds the latest run found at or above its min_probability"
                      },
                      "speech": {
                        "type": "object",
                        "required": [
                          "model",
                          "frames",
                          "frame_seconds"
                        ],
                        "properties": {
                          "model": {
                            "type": "string"
                          },
                          "frames": {
                            "type": "number"
                          },
                          "frame_seconds": {
                            "type": "number"
                          }
                        }
                      },
                      "picture": {
                        "type": "object",
                        "required": [
                          "frames",
                          "from"
                        ],
                        "properties": {
                          "from": {
                            "type": "number"
                          },
                          "frames": {
                            "type": "number"
                          }
                        }
                      },
                      "speakers": {
                        "type": "object",
                        "required": [
                          "model",
                          "speakers",
                          "turns"
                        ],
                        "properties": {
                          "model": {
                            "type": "string"
                          },
                          "turns": {
                            "type": "number"
                          },
                          "speakers": {
                            "type": "number"
                          }
                        }
                      },
                      "transcript": {
                        "type": "object",
                        "required": [
                          "model",
                          "language",
                          "words"
                        ],
                        "properties": {
                          "model": {
                            "type": "string"
                          },
                          "words": {
                            "type": "number",
                            "description": "How many words; the words themselves are in transcript.words"
                          },
                          "language": {
                            "type": "string"
                          }
                        }
                      }
                    },
                    "description": "Summaries of media.analyze results (counts, not data); include puts each in full at the top level"
                  },
                  "analysis": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "loudness_lufs"
                        ],
                        "properties": {
                          "channels": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "required": [
                                "channel",
                                "rms_dbfs",
                                "peak_dbfs",
                                "noise_floor_dbfs"
                              ],
                              "properties": {
                                "channel": {
                                  "type": "integer",
                                  "exclusiveMinimum": 0
                                },
                                "rms_dbfs": {
                                  "type": [
                                    "number",
                                    "null"
                                  ]
                                },
                                "peak_dbfs": {
                                  "type": [
                                    "number",
                                    "null"
                                  ]
                                },
                                "noise_floor_dbfs": {
                                  "type": [
                                    "number",
                                    "null"
                                  ]
                                }
                              }
                            },
                            "description": "Each channel at import"
                          },
                          "loudness_lufs": {
                            "type": [
                              "number",
                              "null"
                            ],
                            "description": "Integrated loudness at import"
                          }
                        }
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "media_id": {
                    "type": "string",
                    "pattern": "^m_[0-9a-z]{26}$",
                    "description": "Media handle from media.import or a create.* tool"
                  },
                  "page_url": {
                    "type": "string",
                    "description": "media.get: a page that plays or shows the file in any browser, with no sign-in, to give a person; works until expires_at"
                  },
                  "warnings": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "create.motion and create.still: what went wrong in the page as it rendered (uncaught errors, console errors, files blocked or not found, tags never closed). It rendered anyway"
                  },
                  "extension": {
                    "type": "string",
                    "description": "The extension its format takes (.png, .mp4), from the file itself, not its name"
                  },
                  "has_audio": {
                    "type": "boolean"
                  },
                  "has_video": {
                    "type": "boolean"
                  },
                  "mime_type": {
                    "type": "string",
                    "description": "Its MIME type, likewise"
                  },
                  "created_at": {
                    "type": "string",
                    "description": "When it was imported or made"
                  },
                  "expires_at": {
                    "type": "string",
                    "description": "When url and page_url stop working"
                  },
                  "kept_until": {
                    "type": "string",
                    "description": "When the server deletes it: 7 days after last use; any use (a read, an edit, a render) pushes it back"
                  },
                  "transcript": {
                    "type": "object",
                    "required": [
                      "model",
                      "language",
                      "text",
                      "words"
                    ],
                    "properties": {
                      "from": {
                        "type": "number",
                        "description": "The stretch transcribed, if not all"
                      },
                      "text": {
                        "type": "string"
                      },
                      "model": {
                        "type": "string"
                      },
                      "until": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "words": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "text",
                            "start",
                            "end",
                            "confidence"
                          ],
                          "properties": {
                            "end": {
                              "type": "number"
                            },
                            "text": {
                              "type": "string"
                            },
                            "start": {
                              "type": "number"
                            },
                            "speaker": {
                              "type": [
                                "number",
                                "null"
                              ],
                              "description": "Who says it, from the latest speakers run"
                            },
                            "confidence": {
                              "type": "number",
                              "description": "0–1: how sure whisper is of the word itself"
                            },
                            "timing_confidence": {
                              "type": [
                                "number",
                                "null"
                              ],
                              "description": "0–1: how clearly the letters were heard between start and end; null: not aligned (digits, symbols, other languages), times fitted between neighbours"
                            }
                          }
                        },
                        "description": "Media seconds. Aligned words start and end within about 0.05 s of where their letters sound; an end on a soft consonant (s, t, k, f) or a breath can ring on up to about 0.1 s more. Short ums are often missing from the words; kind speech finds them as speech. A word \"-\" (or one starting with it) is whisper marking a new speaker, as subtitles do: a hint only; kind speakers measures who speaks when"
                      },
                      "language": {
                        "type": "string"
                      },
                      "aligned_by": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "The model that moved word edges to where the letters sound (English); null: the times are whisper's own, up to about a second off"
                      }
                    },
                    "description": "With include [\"transcript\"]: every word as {text, start, end, confidence}"
                  },
                  "fingerprint": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Identity of the file (BLAKE3 of its size and first, middle and last 4 MB), as export.video gives"
                  },
                  "font_family": {
                    "type": "string",
                    "description": "Fonts: the family; use font_media_id in a text style to set text in it"
                  },
                  "sound_seconds": {
                    "type": "number",
                    "description": "How long the sound runs; under duration_seconds, the end is soundless"
                  },
                  "picture_seconds": {
                    "type": "number",
                    "description": "How long the picture runs; under duration_seconds, the end has no picture"
                  },
                  "duration_seconds": {
                    "type": [
                      "number",
                      "null"
                    ]
                  }
                },
                "description": "The result, when status is completed; otherwise job.get gives it once completed"
              },
              "status": {
                "enum": [
                  "working",
                  "completed",
                  "failed",
                  "cancelled"
                ],
                "type": "string"
              },
              "media_id": {
                "type": "string",
                "pattern": "^m_[0-9a-z]{26}$",
                "description": "The media it is making: an import is usable in edits once its status is processing, a created media once this job completes"
              },
              "status_uri": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "Steady shaky video",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "create.upscaled",
          "title": "Add resolution",
          "description": "A larger copy of low-resolution video or an image with detail drawn in, local: Real-ESRGAN (realesr-general-x4v3, on the CPU) makes each frame four times the size, then it is resized to scale. Slow: on 8 cores about 1 s a frame for 320x180, 2.5 s for 640x360. Sources up to 1280x720, results up to 3840 px on the long edge. New media (ProRes with the sound, or a PNG) to put in place of the original (clip.replace keeps its place and timing). Long-running: a task, or {job_id, media_id} for job.get.",
          "inputSchema": {
            "type": "object",
            "required": [
              "media_id"
            ],
            "properties": {
              "name": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1
              },
              "scale": {
                "type": "number",
                "default": 2,
                "maximum": 4,
                "minimum": 1.25,
                "description": "How many times wider and taller the result is"
              },
              "denoise": {
                "enum": [
                  "light",
                  "medium",
                  "strong"
                ],
                "type": "string",
                "default": "medium",
                "description": "How much noise and compression blocking is cleaned while detail is drawn in: light keeps grain and fine texture, strong gives the smoothest picture"
              },
              "media_id": {
                "type": "string",
                "pattern": "^m_[0-9a-z]{26}$",
                "description": "Video or image to enlarge"
              },
              "idempotency_key": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "job_id",
              "status",
              "status_uri",
              "hint"
            ],
            "properties": {
              "hint": {
                "type": "string"
              },
              "job_id": {
                "type": "string",
                "pattern": "^j_[0-9a-z]{26}$",
                "description": "Job handle; the same value is the MCP task id"
              },
              "result": {
                "type": "object",
                "required": [
                  "media_id",
                  "name",
                  "status",
                  "kind",
                  "duration_seconds",
                  "fps",
                  "width",
                  "height",
                  "has_video",
                  "has_audio",
                  "codecs",
                  "conform",
                  "analysis"
                ],
                "properties": {
                  "fps": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "num",
                          "den"
                        ],
                        "properties": {
                          "den": {
                            "type": "number"
                          },
                          "num": {
                            "type": "number"
                          }
                        }
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "job": {
                    "type": "object",
                    "required": [
                      "job_id",
                      "tool",
                      "status"
                    ],
                    "properties": {
                      "tool": {
                        "type": "string"
                      },
                      "job_id": {
                        "type": "string",
                        "pattern": "^j_[0-9a-z]{26}$",
                        "description": "Job handle; the same value is the MCP task id"
                      },
                      "status": {
                        "enum": [
                          "working",
                          "completed",
                          "failed",
                          "cancelled"
                        ],
                        "type": "string"
                      },
                      "progress": {
                        "type": "number"
                      },
                      "seconds_left": {
                        "type": "number"
                      },
                      "status_message": {
                        "type": "string"
                      }
                    },
                    "description": "media.get, while importing or being made: the job doing it"
                  },
                  "url": {
                    "type": "string",
                    "description": "media.get: a signed download of the file itself, once it has one"
                  },
                  "kind": {
                    "anyOf": [
                      {
                        "enum": [
                          "video",
                          "audio",
                          "image",
                          "font",
                          "lut"
                        ],
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "look": {
                    "type": "object",
                    "required": [
                      "runs"
                    ],
                    "properties": {
                      "runs": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "id",
                            "model",
                            "questions",
                            "with_previous",
                            "frames"
                          ],
                          "properties": {
                            "id": {
                              "type": "string"
                            },
                            "model": {
                              "type": "string"
                            },
                            "state": {
                              "type": "object",
                              "propertyNames": {
                                "type": "string"
                              },
                              "additionalProperties": {}
                            },
                            "frames": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "required": [
                                  "time",
                                  "answers"
                                ],
                                "properties": {
                                  "time": {
                                    "type": "number"
                                  },
                                  "answers": {
                                    "type": "object",
                                    "propertyNames": {
                                      "type": "string"
                                    },
                                    "additionalProperties": {
                                      "type": "object",
                                      "propertyNames": {
                                        "type": "string"
                                      },
                                      "additionalProperties": {}
                                    }
                                  }
                                }
                              }
                            },
                            "questions": {
                              "type": "object",
                              "propertyNames": {
                                "type": "string"
                              },
                              "additionalProperties": {}
                            },
                            "with_previous": {
                              "type": "boolean"
                            }
                          }
                        }
                      }
                    }
                  },
                  "name": {
                    "type": "string"
                  },
                  "beats": {
                    "type": "object",
                    "required": [
                      "bpm",
                      "beats",
                      "downbeats"
                    ],
                    "properties": {
                      "bpm": {
                        "type": "number"
                      },
                      "beats": {
                        "type": "array",
                        "items": {
                          "type": "number"
                        }
                      },
                      "downbeats": {
                        "type": "array",
                        "items": {
                          "type": "number"
                        }
                      },
                      "strengths": {
                        "type": "array",
                        "items": {
                          "type": "number"
                        },
                        "description": "Per beat: its onset strength, 0–1 of the strongest in the sound"
                      }
                    }
                  },
                  "error": {
                    "type": "object",
                    "required": [
                      "code",
                      "message"
                    ],
                    "properties": {
                      "code": {
                        "enum": [
                          "bad_request",
                          "no_audio",
                          "not_found",
                          "expired",
                          "media_not_ready",
                          "media_offline",
                          "engine_error",
                          "render_failed",
                          "interrupted",
                          "stalled",
                          "cancelled",
                          "credential_required",
                          "credential_invalid",
                          "output_exists",
                          "path_not_allowed",
                          "limit_exceeded",
                          "quota_exceeded",
                          "subscription_required",
                          "email_unverified",
                          "service_unavailable",
                          "server_busy"
                        ],
                        "type": "string"
                      },
                      "hint": {
                        "type": "string"
                      },
                      "detail": {
                        "type": "object",
                        "propertyNames": {
                          "type": "string"
                        },
                        "additionalProperties": {}
                      },
                      "message": {
                        "type": "string"
                      }
                    }
                  },
                  "faces": {
                    "type": "object",
                    "required": [
                      "rate",
                      "frames"
                    ],
                    "properties": {
                      "rate": {
                        "type": "number"
                      },
                      "frames": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "time",
                            "faces"
                          ],
                          "properties": {
                            "time": {
                              "type": "number"
                            },
                            "faces": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "required": [
                                  "x",
                                  "y",
                                  "w",
                                  "h",
                                  "score"
                                ],
                                "properties": {
                                  "h": {
                                    "type": "number"
                                  },
                                  "w": {
                                    "type": "number"
                                  },
                                  "x": {
                                    "type": "number"
                                  },
                                  "y": {
                                    "type": "number"
                                  },
                                  "score": {
                                    "type": "number"
                                  }
                                },
                                "description": "Top-left corner x, y and size w, h, fractions of the picture (centre: x + w/2, y + h/2); score 0–1"
                              }
                            }
                          }
                        }
                      }
                    }
                  },
                  "pages": {
                    "type": "object",
                    "description": "media.get with a range, offset or limit: per included analysis, which piece of its list came back",
                    "propertyNames": {
                      "enum": [
                        "transcript",
                        "beats",
                        "faces",
                        "look",
                        "speech",
                        "sounds",
                        "speakers",
                        "voice",
                        "colour",
                        "picture"
                      ],
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "object",
                      "required": [
                        "list",
                        "first",
                        "returned",
                        "matching",
                        "total",
                        "next_offset"
                      ],
                      "properties": {
                        "list": {
                          "type": "string",
                          "description": "The list paged: transcript.words, beats.beats, faces.frames, speech.probabilities (one per frame_seconds from `from`), speakers.turns, voice.frames, colour.frames, picture.columns (every column alike), or look runs[].frames (each run is cut the same way; first and the counts are the latest run's)"
                        },
                        "first": {
                          "type": "integer",
                          "description": "Index in the whole list of the first item returned (transcript: the word index clip.add source {words} takes)"
                        },
                        "total": {
                          "type": "integer",
                          "description": "Items in the whole list"
                        },
                        "matching": {
                          "type": "integer",
                          "description": "Items in the time range (the whole list without one)"
                        },
                        "returned": {
                          "type": "integer"
                        },
                        "next_offset": {
                          "anyOf": [
                            {
                              "type": "integer"
                            },
                            {
                              "type": "null"
                            }
                          ],
                          "description": "The offset that gives the next page of this range, or null at its end"
                        }
                      }
                    }
                  },
                  "probe": {
                    "type": "object",
                    "required": [
                      "format",
                      "streams"
                    ],
                    "properties": {
                      "format": {
                        "type": "object",
                        "propertyNames": {
                          "type": "string"
                        },
                        "additionalProperties": {}
                      },
                      "streams": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "propertyNames": {
                            "type": "string"
                          },
                          "additionalProperties": {}
                        }
                      }
                    },
                    "description": "media.get: everything FFprobe read from the file, as it gives it: the format and every stream (codec, pix_fmt, color_space, color_primaries, color_transfer, color_range, bit depth, sample rate, channel layout, tags, side data). Not for fonts and LUTs"
                  },
                  "width": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "codecs": {
                    "type": "object",
                    "required": [
                      "video",
                      "audio"
                    ],
                    "properties": {
                      "audio": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "video": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    }
                  },
                  "expiry": {
                    "type": "string",
                    "description": "kept_until in words: how long is left, and what keeps it longer or how to keep it"
                  },
                  "height": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "origin": {
                    "type": "object",
                    "required": [
                      "from"
                    ],
                    "properties": {
                      "url": {
                        "type": "string",
                        "description": "url: the address it was downloaded from, without its query string"
                      },
                      "via": {
                        "enum": [
                          "media.upload",
                          "account_page",
                          "data_uri"
                        ],
                        "type": "string",
                        "description": "upload: sent through a media.upload link, dropped on the cuttingfloor site, or a data: URI"
                      },
                      "from": {
                        "enum": [
                          "upload",
                          "url",
                          "path",
                          "render",
                          "created",
                          "still"
                        ],
                        "type": "string",
                        "description": "upload: a file the user sent; url: downloaded; path: a media root; render: an export.video; created: a create.* tool; still: a frame of a video or an edit"
                      },
                      "path": {
                        "type": "string",
                        "description": "path: the file it was imported from"
                      },
                      "tool": {
                        "type": "string",
                        "description": "created: the create.* tool that made it"
                      },
                      "frame": {
                        "type": "number",
                        "description": "still: the frame"
                      },
                      "range": {
                        "type": "object",
                        "required": [
                          "start",
                          "end"
                        ],
                        "properties": {
                          "end": {
                            "type": "number"
                          },
                          "start": {
                            "type": "number"
                          }
                        },
                        "description": "render: the frames exported, when not the whole timeline"
                      },
                      "job_id": {
                        "type": "string",
                        "pattern": "^j_[0-9a-z]{26}$",
                        "description": "render: the export.video job; created: the create.* job"
                      },
                      "preset": {
                        "type": "string",
                        "description": "render: the export preset"
                      },
                      "recipe": {
                        "type": "string",
                        "description": "created: a hash of what it was made from; the same recipe makes the same media"
                      },
                      "sources": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "track_id",
                            "kind",
                            "start",
                            "end",
                            "media_id",
                            "source_in",
                            "source_out"
                          ],
                          "properties": {
                            "end": {
                              "type": "number"
                            },
                            "kind": {
                              "enum": [
                                "video",
                                "audio"
                              ],
                              "type": "string"
                            },
                            "speed": {
                              "type": "object",
                              "description": "The clip's speed change, as clip.set_speed set it",
                              "propertyNames": {
                                "type": "string"
                              },
                              "additionalProperties": {}
                            },
                            "start": {
                              "type": "number",
                              "description": "Seconds into this file"
                            },
                            "media_id": {
                              "type": "string",
                              "pattern": "^m_[0-9a-z]{26}$",
                              "description": "The media this stretch plays"
                            },
                            "track_id": {
                              "type": "string",
                              "description": "Track of the timeline; outer/inner inside a nested one"
                            },
                            "source_in": {
                              "type": "number",
                              "description": "Seconds into that media"
                            },
                            "source_out": {
                              "type": "number"
                            }
                          }
                        },
                        "description": "render: where each stretch of this file comes from, per track, read from the timeline when it was exported (kept after the timeline expires). With a speed curve, source_in and source_out are the clip's whole source range"
                      },
                      "attached": {
                        "type": "boolean",
                        "description": "url: the file the user attached in the chat, passed as media.import file"
                      },
                      "media_id": {
                        "type": "string",
                        "pattern": "^m_[0-9a-z]{26}$",
                        "description": "still: the video the frame is from"
                      },
                      "file_name": {
                        "type": "string",
                        "description": "upload: the name the file was sent with"
                      },
                      "media_ids": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "pattern": "^m_[0-9a-z]{26}$",
                          "description": "Media handle from media.import or a create.* tool"
                        },
                        "description": "created: the media it was made from (a cutout's source, a page's assets)"
                      },
                      "upload_id": {
                        "type": "string",
                        "pattern": "^u_[0-9a-z]{26}$",
                        "description": "Upload handle from media.upload"
                      },
                      "timeline_id": {
                        "type": "string",
                        "pattern": "^tl_[0-9a-f]{32}$",
                        "description": "render: the timeline that was exported; still: the edit the frame is from"
                      }
                    },
                    "description": "Where it came from, to tell one version from another: the import source, the export of which timeline, or the create.* tool and the media it was made from"
                  },
                  "sounds": {
                    "type": "object",
                    "required": [
                      "model",
                      "min_probability",
                      "spans",
                      "peaks"
                    ],
                    "properties": {
                      "model": {
                        "type": "string"
                      },
                      "peaks": {
                        "type": "object",
                        "description": "Per sound reported: the highest probability it reaches anywhere",
                        "propertyNames": {
                          "type": "string"
                        },
                        "additionalProperties": {
                          "type": "number"
                        }
                      },
                      "spans": {
                        "type": "object",
                        "description": "Per sound: the runs of 40 ms frames at or above min_probability, in time order; empty when it never is",
                        "propertyNames": {
                          "type": "string"
                        },
                        "additionalProperties": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "start",
                              "end",
                              "peak_seconds",
                              "peak_probability"
                            ],
                            "properties": {
                              "end": {
                                "type": "number",
                                "description": "Where it ends, on the same clock"
                              },
                              "start": {
                                "type": "number",
                                "description": "Where the run of matching 40 ms frames starts: media seconds, or timeline seconds for a timeline"
                              },
                              "peak_seconds": {
                                "type": "number",
                                "description": "The middle of the most likely frame"
                              },
                              "peak_probability": {
                                "type": "number"
                              }
                            }
                          }
                        }
                      },
                      "scores": {
                        "type": "object",
                        "required": [
                          "start_seconds",
                          "step_seconds",
                          "values"
                        ],
                        "properties": {
                          "values": {
                            "type": "object",
                            "description": "Per sound, the highest probability in each step, 0 to 1",
                            "propertyNames": {
                              "type": "string"
                            },
                            "additionalProperties": {
                              "type": "array",
                              "items": {
                                "type": "number"
                              }
                            }
                          },
                          "step_seconds": {
                            "type": "number",
                            "description": "Seconds each value covers: 0.04 (every frame) unless asked or too long"
                          },
                          "start_seconds": {
                            "type": "number",
                            "description": "Where the first value starts: media seconds, or timeline seconds for a timeline"
                          }
                        },
                        "description": "Every probability, for your own cut-off or arithmetic"
                      },
                      "min_probability": {
                        "type": "number"
                      }
                    },
                    "description": "With include [\"sounds\"]: the latest media.analyze sounds run, every probability included"
                  },
                  "speech": {
                    "type": "object",
                    "required": [
                      "model",
                      "frame_seconds",
                      "from",
                      "probabilities"
                    ],
                    "properties": {
                      "from": {
                        "type": "number",
                        "description": "Seconds where the first probability starts"
                      },
                      "model": {
                        "type": "string"
                      },
                      "frame_seconds": {
                        "type": "number",
                        "description": "Each probability covers this long"
                      },
                      "probabilities": {
                        "type": "array",
                        "items": {
                          "type": "number"
                        },
                        "description": "Speech probability 0–1, one per frame, in order"
                      }
                    },
                    "description": "With include [\"speech\"]: the speech probability of every 32 ms frame"
                  },
                  "status": {
                    "enum": [
                      "importing",
                      "processing",
                      "ready",
                      "failed"
                    ],
                    "type": "string",
                    "description": "importing: not probed yet; processing: usable in edits, proxy still rendering; ready; failed"
                  },
                  "conform": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "Why a mezzanine was made (vfr, rotation, hdr, codec); empty when not needed"
                  },
                  "analyses": {
                    "type": "object",
                    "properties": {
                      "look": {
                        "type": "object",
                        "required": [
                          "runs",
                          "frames",
                          "questions"
                        ],
                        "properties": {
                          "runs": {
                            "type": "number"
                          },
                          "frames": {
                            "type": "number"
                          },
                          "questions": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          }
                        },
                        "description": "frames and questions: the latest run"
                      },
                      "beats": {
                        "type": "object",
                        "required": [
                          "bpm",
                          "beats"
                        ],
                        "properties": {
                          "bpm": {
                            "type": "number"
                          },
                          "beats": {
                            "type": "number"
                          }
                        }
                      },
                      "faces": {
                        "type": "object",
                        "required": [
                          "rate",
                          "frames_with_faces"
                        ],
                        "properties": {
                          "rate": {
                            "type": "number"
                          },
                          "frames_with_faces": {
                            "type": "number"
                          }
                        }
                      },
                      "voice": {
                        "type": "object",
                        "description": "frames, and the summary media.analyze voice gives",
                        "propertyNames": {
                          "type": "string"
                        },
                        "additionalProperties": {}
                      },
                      "colour": {
                        "type": "object",
                        "required": [
                          "frames",
                          "regions"
                        ],
                        "properties": {
                          "frames": {
                            "type": "number"
                          },
                          "regions": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          }
                        }
                      },
                      "sounds": {
                        "type": "object",
                        "required": [
                          "model",
                          "min_probability",
                          "heard"
                        ],
                        "properties": {
                          "heard": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "model": {
                            "type": "string"
                          },
                          "min_probability": {
                            "type": "number"
                          }
                        },
                        "description": "heard: the sounds the latest run found at or above its min_probability"
                      },
                      "speech": {
                        "type": "object",
                        "required": [
                          "model",
                          "frames",
                          "frame_seconds"
                        ],
                        "properties": {
                          "model": {
                            "type": "string"
                          },
                          "frames": {
                            "type": "number"
                          },
                          "frame_seconds": {
                            "type": "number"
                          }
                        }
                      },
                      "picture": {
                        "type": "object",
                        "required": [
                          "frames",
                          "from"
                        ],
                        "properties": {
                          "from": {
                            "type": "number"
                          },
                          "frames": {
                            "type": "number"
                          }
                        }
                      },
                      "speakers": {
                        "type": "object",
                        "required": [
                          "model",
                          "speakers",
                          "turns"
                        ],
                        "properties": {
                          "model": {
                            "type": "string"
                          },
                          "turns": {
                            "type": "number"
                          },
                          "speakers": {
                            "type": "number"
                          }
                        }
                      },
                      "transcript": {
                        "type": "object",
                        "required": [
                          "model",
                          "language",
                          "words"
                        ],
                        "properties": {
                          "model": {
                            "type": "string"
                          },
                          "words": {
                            "type": "number",
                            "description": "How many words; the words themselves are in transcript.words"
                          },
                          "language": {
                            "type": "string"
                          }
                        }
                      }
                    },
                    "description": "Summaries of media.analyze results (counts, not data); include puts each in full at the top level"
                  },
                  "analysis": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "loudness_lufs"
                        ],
                        "properties": {
                          "channels": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "required": [
                                "channel",
                                "rms_dbfs",
                                "peak_dbfs",
                                "noise_floor_dbfs"
                              ],
                              "properties": {
                                "channel": {
                                  "type": "integer",
                                  "exclusiveMinimum": 0
                                },
                                "rms_dbfs": {
                                  "type": [
                                    "number",
                                    "null"
                                  ]
                                },
                                "peak_dbfs": {
                                  "type": [
                                    "number",
                                    "null"
                                  ]
                                },
                                "noise_floor_dbfs": {
                                  "type": [
                                    "number",
                                    "null"
                                  ]
                                }
                              }
                            },
                            "description": "Each channel at import"
                          },
                          "loudness_lufs": {
                            "type": [
                              "number",
                              "null"
                            ],
                            "description": "Integrated loudness at import"
                          }
                        }
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "media_id": {
                    "type": "string",
                    "pattern": "^m_[0-9a-z]{26}$",
                    "description": "Media handle from media.import or a create.* tool"
                  },
                  "page_url": {
                    "type": "string",
                    "description": "media.get: a page that plays or shows the file in any browser, with no sign-in, to give a person; works until expires_at"
                  },
                  "warnings": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "create.motion and create.still: what went wrong in the page as it rendered (uncaught errors, console errors, files blocked or not found, tags never closed). It rendered anyway"
                  },
                  "extension": {
                    "type": "string",
                    "description": "The extension its format takes (.png, .mp4), from the file itself, not its name"
                  },
                  "has_audio": {
                    "type": "boolean"
                  },
                  "has_video": {
                    "type": "boolean"
                  },
                  "mime_type": {
                    "type": "string",
                    "description": "Its MIME type, likewise"
                  },
                  "created_at": {
                    "type": "string",
                    "description": "When it was imported or made"
                  },
                  "expires_at": {
                    "type": "string",
                    "description": "When url and page_url stop working"
                  },
                  "kept_until": {
                    "type": "string",
                    "description": "When the server deletes it: 7 days after last use; any use (a read, an edit, a render) pushes it back"
                  },
                  "transcript": {
                    "type": "object",
                    "required": [
                      "model",
                      "language",
                      "text",
                      "words"
                    ],
                    "properties": {
                      "from": {
                        "type": "number",
                        "description": "The stretch transcribed, if not all"
                      },
                      "text": {
                        "type": "string"
                      },
                      "model": {
                        "type": "string"
                      },
                      "until": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "words": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "text",
                            "start",
                            "end",
                            "confidence"
                          ],
                          "properties": {
                            "end": {
                              "type": "number"
                            },
                            "text": {
                              "type": "string"
                            },
                            "start": {
                              "type": "number"
                            },
                            "speaker": {
                              "type": [
                                "number",
                                "null"
                              ],
                              "description": "Who says it, from the latest speakers run"
                            },
                            "confidence": {
                              "type": "number",
                              "description": "0–1: how sure whisper is of the word itself"
                            },
                            "timing_confidence": {
                              "type": [
                                "number",
                                "null"
                              ],
                              "description": "0–1: how clearly the letters were heard between start and end; null: not aligned (digits, symbols, other languages), times fitted between neighbours"
                            }
                          }
                        },
                        "description": "Media seconds. Aligned words start and end within about 0.05 s of where their letters sound; an end on a soft consonant (s, t, k, f) or a breath can ring on up to about 0.1 s more. Short ums are often missing from the words; kind speech finds them as speech. A word \"-\" (or one starting with it) is whisper marking a new speaker, as subtitles do: a hint only; kind speakers measures who speaks when"
                      },
                      "language": {
                        "type": "string"
                      },
                      "aligned_by": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "The model that moved word edges to where the letters sound (English); null: the times are whisper's own, up to about a second off"
                      }
                    },
                    "description": "With include [\"transcript\"]: every word as {text, start, end, confidence}"
                  },
                  "fingerprint": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Identity of the file (BLAKE3 of its size and first, middle and last 4 MB), as export.video gives"
                  },
                  "font_family": {
                    "type": "string",
                    "description": "Fonts: the family; use font_media_id in a text style to set text in it"
                  },
                  "sound_seconds": {
                    "type": "number",
                    "description": "How long the sound runs; under duration_seconds, the end is soundless"
                  },
                  "picture_seconds": {
                    "type": "number",
                    "description": "How long the picture runs; under duration_seconds, the end has no picture"
                  },
                  "duration_seconds": {
                    "type": [
                      "number",
                      "null"
                    ]
                  }
                },
                "description": "The result, when status is completed; otherwise job.get gives it once completed"
              },
              "status": {
                "enum": [
                  "working",
                  "completed",
                  "failed",
                  "cancelled"
                ],
                "type": "string"
              },
              "media_id": {
                "type": "string",
                "pattern": "^m_[0-9a-z]{26}$",
                "description": "The media it is making: an import is usable in edits once its status is processing, a created media once this job completes"
              },
              "status_uri": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "Add resolution",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "create.stems",
          "title": "Separate voice and music",
          "description": "The sound of a video or audio file pulled apart into stems, each new audio media for clip.add: vocals (voices, spoken or sung), drums, bass, other (everything else: guitars, keys, effects, room noise) and no_vocals (all but the voice, in one file). Laid together at the same time, the four stems make the original sound again.\nUse it to keep only the voice (lose the music under an interview: vocals), keep only the music (take the voice out of a clip: no_vocals), turn the music down under speech (vocals and no_vocals on their own tracks, with their own gain), or take a beat or a bass line on its own.\nDemucs v4 (htdemucs), local, on the CPU: about a fifth of the media's length on 8 cores (a minute of sound in about 15 s). Built for music; on speech with background noise, vocals keeps the voice and other takes most of the noise. Media up to 3 hours. Each stem is a 32-bit float WAV, 44.1 kHz stereo, as long as the original; the same media and stems give the same media again while they last. Long-running: a task, or a job_id for job.get.",
          "inputSchema": {
            "type": "object",
            "required": [
              "media_id"
            ],
            "properties": {
              "name": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1
              },
              "stems": {
                "type": "array",
                "items": {
                  "enum": [
                    "vocals",
                    "drums",
                    "bass",
                    "other",
                    "no_vocals"
                  ],
                  "type": "string"
                },
                "default": [
                  "vocals",
                  "drums",
                  "bass",
                  "other"
                ],
                "maxItems": 5,
                "minItems": 1,
                "description": "vocals: voices, spoken or sung; drums, bass, other: the rest, by kind (other holds everything else: guitars, keys, effects, room noise); no_vocals: all but the voice in one file. Each becomes its own media"
              },
              "media_id": {
                "type": "string",
                "pattern": "^m_[0-9a-z]{26}$",
                "description": "Video or audio with sound"
              },
              "idempotency_key": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "job_id",
              "status",
              "status_uri",
              "hint"
            ],
            "properties": {
              "hint": {
                "type": "string"
              },
              "job_id": {
                "type": "string",
                "pattern": "^j_[0-9a-z]{26}$",
                "description": "Job handle; the same value is the MCP task id"
              },
              "result": {
                "type": "object",
                "required": [
                  "media_id",
                  "model",
                  "stems"
                ],
                "properties": {
                  "model": {
                    "type": "string"
                  },
                  "stems": {
                    "type": "object",
                    "description": "Per stem asked for: the new audio media (32-bit float WAV, 44.1 kHz stereo)",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "object",
                      "required": [
                        "media_id",
                        "name",
                        "status",
                        "kind",
                        "duration_seconds",
                        "fps",
                        "width",
                        "height",
                        "has_video",
                        "has_audio",
                        "codecs",
                        "conform",
                        "analysis"
                      ],
                      "properties": {
                        "fps": {
                          "anyOf": [
                            {
                              "type": "object",
                              "required": [
                                "num",
                                "den"
                              ],
                              "properties": {
                                "den": {
                                  "type": "number"
                                },
                                "num": {
                                  "type": "number"
                                }
                              }
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "job": {
                          "type": "object",
                          "required": [
                            "job_id",
                            "tool",
                            "status"
                          ],
                          "properties": {
                            "tool": {
                              "type": "string"
                            },
                            "job_id": {
                              "type": "string",
                              "pattern": "^j_[0-9a-z]{26}$",
                              "description": "Job handle; the same value is the MCP task id"
                            },
                            "status": {
                              "enum": [
                                "working",
                                "completed",
                                "failed",
                                "cancelled"
                              ],
                              "type": "string"
                            },
                            "progress": {
                              "type": "number"
                            },
                            "seconds_left": {
                              "type": "number"
                            },
                            "status_message": {
                              "type": "string"
                            }
                          },
                          "description": "media.get, while importing or being made: the job doing it"
                        },
                        "url": {
                          "type": "string",
                          "description": "media.get: a signed download of the file itself, once it has one"
                        },
                        "kind": {
                          "anyOf": [
                            {
                              "enum": [
                                "video",
                                "audio",
                                "image",
                                "font",
                                "lut"
                              ],
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "look": {
                          "type": "object",
                          "required": [
                            "runs"
                          ],
                          "properties": {
                            "runs": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "required": [
                                  "id",
                                  "model",
                                  "questions",
                                  "with_previous",
                                  "frames"
                                ],
                                "properties": {
                                  "id": {
                                    "type": "string"
                                  },
                                  "model": {
                                    "type": "string"
                                  },
                                  "state": {
                                    "type": "object",
                                    "propertyNames": {
                                      "type": "string"
                                    },
                                    "additionalProperties": {}
                                  },
                                  "frames": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "required": [
                                        "time",
                                        "answers"
                                      ],
                                      "properties": {
                                        "time": {
                                          "type": "number"
                                        },
                                        "answers": {
                                          "type": "object",
                                          "propertyNames": {
                                            "type": "string"
                                          },
                                          "additionalProperties": {
                                            "type": "object",
                                            "propertyNames": {
                                              "type": "string"
                                            },
                                            "additionalProperties": {}
                                          }
                                        }
                                      }
                                    }
                                  },
                                  "questions": {
                                    "type": "object",
                                    "propertyNames": {
                                      "type": "string"
                                    },
                                    "additionalProperties": {}
                                  },
                                  "with_previous": {
                                    "type": "boolean"
                                  }
                                }
                              }
                            }
                          }
                        },
                        "name": {
                          "type": "string"
                        },
                        "beats": {
                          "type": "object",
                          "required": [
                            "bpm",
                            "beats",
                            "downbeats"
                          ],
                          "properties": {
                            "bpm": {
                              "type": "number"
                            },
                            "beats": {
                              "type": "array",
                              "items": {
                                "type": "number"
                              }
                            },
                            "downbeats": {
                              "type": "array",
                              "items": {
                                "type": "number"
                              }
                            },
                            "strengths": {
                              "type": "array",
                              "items": {
                                "type": "number"
                              },
                              "description": "Per beat: its onset strength, 0–1 of the strongest in the sound"
                            }
                          }
                        },
                        "error": {
                          "type": "object",
                          "required": [
                            "code",
                            "message"
                          ],
                          "properties": {
                            "code": {
                              "enum": [
                                "bad_request",
                                "no_audio",
                                "not_found",
                                "expired",
                                "media_not_ready",
                                "media_offline",
                                "engine_error",
                                "render_failed",
                                "interrupted",
                                "stalled",
                                "cancelled",
                                "credential_required",
                                "credential_invalid",
                                "output_exists",
                                "path_not_allowed",
                                "limit_exceeded",
                                "quota_exceeded",
                                "subscription_required",
                                "email_unverified",
                                "service_unavailable",
                                "server_busy"
                              ],
                              "type": "string"
                            },
                            "hint": {
                              "type": "string"
                            },
                            "detail": {
                              "type": "object",
                              "propertyNames": {
                                "type": "string"
                              },
                              "additionalProperties": {}
                            },
                            "message": {
                              "type": "string"
                            }
                          }
                        },
                        "faces": {
                          "type": "object",
                          "required": [
                            "rate",
                            "frames"
                          ],
                          "properties": {
                            "rate": {
                              "type": "number"
                            },
                            "frames": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "required": [
                                  "time",
                                  "faces"
                                ],
                                "properties": {
                                  "time": {
                                    "type": "number"
                                  },
                                  "faces": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "required": [
                                        "x",
                                        "y",
                                        "w",
                                        "h",
                                        "score"
                                      ],
                                      "properties": {
                                        "h": {
                                          "type": "number"
                                        },
                                        "w": {
                                          "type": "number"
                                        },
                                        "x": {
                                          "type": "number"
                                        },
                                        "y": {
                                          "type": "number"
                                        },
                                        "score": {
                                          "type": "number"
                                        }
                                      },
                                      "description": "Top-left corner x, y and size w, h, fractions of the picture (centre: x + w/2, y + h/2); score 0–1"
                                    }
                                  }
                                }
                              }
                            }
                          }
                        },
                        "pages": {
                          "type": "object",
                          "description": "media.get with a range, offset or limit: per included analysis, which piece of its list came back",
                          "propertyNames": {
                            "enum": [
                              "transcript",
                              "beats",
                              "faces",
                              "look",
                              "speech",
                              "sounds",
                              "speakers",
                              "voice",
                              "colour",
                              "picture"
                            ],
                            "type": "string"
                          },
                          "additionalProperties": {
                            "type": "object",
                            "required": [
                              "list",
                              "first",
                              "returned",
                              "matching",
                              "total",
                              "next_offset"
                            ],
                            "properties": {
                              "list": {
                                "type": "string",
                                "description": "The list paged: transcript.words, beats.beats, faces.frames, speech.probabilities (one per frame_seconds from `from`), speakers.turns, voice.frames, colour.frames, picture.columns (every column alike), or look runs[].frames (each run is cut the same way; first and the counts are the latest run's)"
                              },
                              "first": {
                                "type": "integer",
                                "description": "Index in the whole list of the first item returned (transcript: the word index clip.add source {words} takes)"
                              },
                              "total": {
                                "type": "integer",
                                "description": "Items in the whole list"
                              },
                              "matching": {
                                "type": "integer",
                                "description": "Items in the time range (the whole list without one)"
                              },
                              "returned": {
                                "type": "integer"
                              },
                              "next_offset": {
                                "anyOf": [
                                  {
                                    "type": "integer"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The offset that gives the next page of this range, or null at its end"
                              }
                            }
                          }
                        },
                        "probe": {
                          "type": "object",
                          "required": [
                            "format",
                            "streams"
                          ],
                          "properties": {
                            "format": {
                              "type": "object",
                              "propertyNames": {
                                "type": "string"
                              },
                              "additionalProperties": {}
                            },
                            "streams": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "propertyNames": {
                                  "type": "string"
                                },
                                "additionalProperties": {}
                              }
                            }
                          },
                          "description": "media.get: everything FFprobe read from the file, as it gives it: the format and every stream (codec, pix_fmt, color_space, color_primaries, color_transfer, color_range, bit depth, sample rate, channel layout, tags, side data). Not for fonts and LUTs"
                        },
                        "width": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "codecs": {
                          "type": "object",
                          "required": [
                            "video",
                            "audio"
                          ],
                          "properties": {
                            "audio": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "video": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          }
                        },
                        "expiry": {
                          "type": "string",
                          "description": "kept_until in words: how long is left, and what keeps it longer or how to keep it"
                        },
                        "height": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "origin": {
                          "type": "object",
                          "required": [
                            "from"
                          ],
                          "properties": {
                            "url": {
                              "type": "string",
                              "description": "url: the address it was downloaded from, without its query string"
                            },
                            "via": {
                              "enum": [
                                "media.upload",
                                "account_page",
                                "data_uri"
                              ],
                              "type": "string",
                              "description": "upload: sent through a media.upload link, dropped on the cuttingfloor site, or a data: URI"
                            },
                            "from": {
                              "enum": [
                                "upload",
                                "url",
                                "path",
                                "render",
                                "created",
                                "still"
                              ],
                              "type": "string",
                              "description": "upload: a file the user sent; url: downloaded; path: a media root; render: an export.video; created: a create.* tool; still: a frame of a video or an edit"
                            },
                            "path": {
                              "type": "string",
                              "description": "path: the file it was imported from"
                            },
                            "tool": {
                              "type": "string",
                              "description": "created: the create.* tool that made it"
                            },
                            "frame": {
                              "type": "number",
                              "description": "still: the frame"
                            },
                            "range": {
                              "type": "object",
                              "required": [
                                "start",
                                "end"
                              ],
                              "properties": {
                                "end": {
                                  "type": "number"
                                },
                                "start": {
                                  "type": "number"
                                }
                              },
                              "description": "render: the frames exported, when not the whole timeline"
                            },
                            "job_id": {
                              "type": "string",
                              "pattern": "^j_[0-9a-z]{26}$",
                              "description": "render: the export.video job; created: the create.* job"
                            },
                            "preset": {
                              "type": "string",
                              "description": "render: the export preset"
                            },
                            "recipe": {
                              "type": "string",
                              "description": "created: a hash of what it was made from; the same recipe makes the same media"
                            },
                            "sources": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "required": [
                                  "track_id",
                                  "kind",
                                  "start",
                                  "end",
                                  "media_id",
                                  "source_in",
                                  "source_out"
                                ],
                                "properties": {
                                  "end": {
                                    "type": "number"
                                  },
                                  "kind": {
                                    "enum": [
                                      "video",
                                      "audio"
                                    ],
                                    "type": "string"
                                  },
                                  "speed": {
                                    "type": "object",
                                    "description": "The clip's speed change, as clip.set_speed set it",
                                    "propertyNames": {
                                      "type": "string"
                                    },
                                    "additionalProperties": {}
                                  },
                                  "start": {
                                    "type": "number",
                                    "description": "Seconds into this file"
                                  },
                                  "media_id": {
                                    "type": "string",
                                    "pattern": "^m_[0-9a-z]{26}$",
                                    "description": "The media this stretch plays"
                                  },
                                  "track_id": {
                                    "type": "string",
                                    "description": "Track of the timeline; outer/inner inside a nested one"
                                  },
                                  "source_in": {
                                    "type": "number",
                                    "description": "Seconds into that media"
                                  },
                                  "source_out": {
                                    "type": "number"
                                  }
                                }
                              },
                              "description": "render: where each stretch of this file comes from, per track, read from the timeline when it was exported (kept after the timeline expires). With a speed curve, source_in and source_out are the clip's whole source range"
                            },
                            "attached": {
                              "type": "boolean",
                              "description": "url: the file the user attached in the chat, passed as media.import file"
                            },
                            "media_id": {
                              "type": "string",
                              "pattern": "^m_[0-9a-z]{26}$",
                              "description": "still: the video the frame is from"
                            },
                            "file_name": {
                              "type": "string",
                              "description": "upload: the name the file was sent with"
                            },
                            "media_ids": {
                              "type": "array",
                              "items": {
                                "type": "string",
                                "pattern": "^m_[0-9a-z]{26}$",
                                "description": "Media handle from media.import or a create.* tool"
                              },
                              "description": "created: the media it was made from (a cutout's source, a page's assets)"
                            },
                            "upload_id": {
                              "type": "string",
                              "pattern": "^u_[0-9a-z]{26}$",
                              "description": "Upload handle from media.upload"
                            },
                            "timeline_id": {
                              "type": "string",
                              "pattern": "^tl_[0-9a-f]{32}$",
                              "description": "render: the timeline that was exported; still: the edit the frame is from"
                            }
                          },
                          "description": "Where it came from, to tell one version from another: the import source, the export of which timeline, or the create.* tool and the media it was made from"
                        },
                        "sounds": {
                          "type": "object",
                          "required": [
                            "model",
                            "min_probability",
                            "spans",
                            "peaks"
                          ],
                          "properties": {
                            "model": {
                              "type": "string"
                            },
                            "peaks": {
                              "type": "object",
                              "description": "Per sound reported: the highest probability it reaches anywhere",
                              "propertyNames": {
                                "type": "string"
                              },
                              "additionalProperties": {
                                "type": "number"
                              }
                            },
                            "spans": {
                              "type": "object",
                              "description": "Per sound: the runs of 40 ms frames at or above min_probability, in time order; empty when it never is",
                              "propertyNames": {
                                "type": "string"
                              },
                              "additionalProperties": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "required": [
                                    "start",
                                    "end",
                                    "peak_seconds",
                                    "peak_probability"
                                  ],
                                  "properties": {
                                    "end": {
                                      "type": "number",
                                      "description": "Where it ends, on the same clock"
                                    },
                                    "start": {
                                      "type": "number",
                                      "description": "Where the run of matching 40 ms frames starts: media seconds, or timeline seconds for a timeline"
                                    },
                                    "peak_seconds": {
                                      "type": "number",
                                      "description": "The middle of the most likely frame"
                                    },
                                    "peak_probability": {
                                      "type": "number"
                                    }
                                  }
                                }
                              }
                            },
                            "scores": {
                              "type": "object",
                              "required": [
                                "start_seconds",
                                "step_seconds",
                                "values"
                              ],
                              "properties": {
                                "values": {
                                  "type": "object",
                                  "description": "Per sound, the highest probability in each step, 0 to 1",
                                  "propertyNames": {
                                    "type": "string"
                                  },
                                  "additionalProperties": {
                                    "type": "array",
                                    "items": {
                                      "type": "number"
                                    }
                                  }
                                },
                                "step_seconds": {
                                  "type": "number",
                                  "description": "Seconds each value covers: 0.04 (every frame) unless asked or too long"
                                },
                                "start_seconds": {
                                  "type": "number",
                                  "description": "Where the first value starts: media seconds, or timeline seconds for a timeline"
                                }
                              },
                              "description": "Every probability, for your own cut-off or arithmetic"
                            },
                            "min_probability": {
                              "type": "number"
                            }
                          },
                          "description": "With include [\"sounds\"]: the latest media.analyze sounds run, every probability included"
                        },
                        "speech": {
                          "type": "object",
                          "required": [
                            "model",
                            "frame_seconds",
                            "from",
                            "probabilities"
                          ],
                          "properties": {
                            "from": {
                              "type": "number",
                              "description": "Seconds where the first probability starts"
                            },
                            "model": {
                              "type": "string"
                            },
                            "frame_seconds": {
                              "type": "number",
                              "description": "Each probability covers this long"
                            },
                            "probabilities": {
                              "type": "array",
                              "items": {
                                "type": "number"
                              },
                              "description": "Speech probability 0–1, one per frame, in order"
                            }
                          },
                          "description": "With include [\"speech\"]: the speech probability of every 32 ms frame"
                        },
                        "status": {
                          "enum": [
                            "importing",
                            "processing",
                            "ready",
                            "failed"
                          ],
                          "type": "string",
                          "description": "importing: not probed yet; processing: usable in edits, proxy still rendering; ready; failed"
                        },
                        "conform": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          },
                          "description": "Why a mezzanine was made (vfr, rotation, hdr, codec); empty when not needed"
                        },
                        "analyses": {
                          "type": "object",
                          "properties": {
                            "look": {
                              "type": "object",
                              "required": [
                                "runs",
                                "frames",
                                "questions"
                              ],
                              "properties": {
                                "runs": {
                                  "type": "number"
                                },
                                "frames": {
                                  "type": "number"
                                },
                                "questions": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                }
                              },
                              "description": "frames and questions: the latest run"
                            },
                            "beats": {
                              "type": "object",
                              "required": [
                                "bpm",
                                "beats"
                              ],
                              "properties": {
                                "bpm": {
                                  "type": "number"
                                },
                                "beats": {
                                  "type": "number"
                                }
                              }
                            },
                            "faces": {
                              "type": "object",
                              "required": [
                                "rate",
                                "frames_with_faces"
                              ],
                              "properties": {
                                "rate": {
                                  "type": "number"
                                },
                                "frames_with_faces": {
                                  "type": "number"
                                }
                              }
                            },
                            "voice": {
                              "type": "object",
                              "description": "frames, and the summary media.analyze voice gives",
                              "propertyNames": {
                                "type": "string"
                              },
                              "additionalProperties": {}
                            },
                            "colour": {
                              "type": "object",
                              "required": [
                                "frames",
                                "regions"
                              ],
                              "properties": {
                                "frames": {
                                  "type": "number"
                                },
                                "regions": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                }
                              }
                            },
                            "sounds": {
                              "type": "object",
                              "required": [
                                "model",
                                "min_probability",
                                "heard"
                              ],
                              "properties": {
                                "heard": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                },
                                "model": {
                                  "type": "string"
                                },
                                "min_probability": {
                                  "type": "number"
                                }
                              },
                              "description": "heard: the sounds the latest run found at or above its min_probability"
                            },
                            "speech": {
                              "type": "object",
                              "required": [
                                "model",
                                "frames",
                                "frame_seconds"
                              ],
                              "properties": {
                                "model": {
                                  "type": "string"
                                },
                                "frames": {
                                  "type": "number"
                                },
                                "frame_seconds": {
                                  "type": "number"
                                }
                              }
                            },
                            "picture": {
                              "type": "object",
                              "required": [
                                "frames",
                                "from"
                              ],
                              "properties": {
                                "from": {
                                  "type": "number"
                                },
                                "frames": {
                                  "type": "number"
                                }
                              }
                            },
                            "speakers": {
                              "type": "object",
                              "required": [
                                "model",
                                "speakers",
                                "turns"
                              ],
                              "properties": {
                                "model": {
                                  "type": "string"
                                },
                                "turns": {
                                  "type": "number"
                                },
                                "speakers": {
                                  "type": "number"
                                }
                              }
                            },
                            "transcript": {
                              "type": "object",
                              "required": [
                                "model",
                                "language",
                                "words"
                              ],
                              "properties": {
                                "model": {
                                  "type": "string"
                                },
                                "words": {
                                  "type": "number",
                                  "description": "How many words; the words themselves are in transcript.words"
                                },
                                "language": {
                                  "type": "string"
                                }
                              }
                            }
                          },
                          "description": "Summaries of media.analyze results (counts, not data); include puts each in full at the top level"
                        },
                        "analysis": {
                          "anyOf": [
                            {
                              "type": "object",
                              "required": [
                                "loudness_lufs"
                              ],
                              "properties": {
                                "channels": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "required": [
                                      "channel",
                                      "rms_dbfs",
                                      "peak_dbfs",
                                      "noise_floor_dbfs"
                                    ],
                                    "properties": {
                                      "channel": {
                                        "type": "integer",
                                        "exclusiveMinimum": 0
                                      },
                                      "rms_dbfs": {
                                        "type": [
                                          "number",
                                          "null"
                                        ]
                                      },
                                      "peak_dbfs": {
                                        "type": [
                                          "number",
                                          "null"
                                        ]
                                      },
                                      "noise_floor_dbfs": {
                                        "type": [
                                          "number",
                                          "null"
                                        ]
                                      }
                                    }
                                  },
                                  "description": "Each channel at import"
                                },
                                "loudness_lufs": {
                                  "type": [
                                    "number",
                                    "null"
                                  ],
                                  "description": "Integrated loudness at import"
                                }
                              }
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "media_id": {
                          "type": "string",
                          "pattern": "^m_[0-9a-z]{26}$",
                          "description": "Media handle from media.import or a create.* tool"
                        },
                        "page_url": {
                          "type": "string",
                          "description": "media.get: a page that plays or shows the file in any browser, with no sign-in, to give a person; works until expires_at"
                        },
                        "warnings": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          },
                          "description": "create.motion and create.still: what went wrong in the page as it rendered (uncaught errors, console errors, files blocked or not found, tags never closed). It rendered anyway"
                        },
                        "extension": {
                          "type": "string",
                          "description": "The extension its format takes (.png, .mp4), from the file itself, not its name"
                        },
                        "has_audio": {
                          "type": "boolean"
                        },
                        "has_video": {
                          "type": "boolean"
                        },
                        "mime_type": {
                          "type": "string",
                          "description": "Its MIME type, likewise"
                        },
                        "created_at": {
                          "type": "string",
                          "description": "When it was imported or made"
                        },
                        "expires_at": {
                          "type": "string",
                          "description": "When url and page_url stop working"
                        },
                        "kept_until": {
                          "type": "string",
                          "description": "When the server deletes it: 7 days after last use; any use (a read, an edit, a render) pushes it back"
                        },
                        "transcript": {
                          "type": "object",
                          "required": [
                            "model",
                            "language",
                            "text",
                            "words"
                          ],
                          "properties": {
                            "from": {
                              "type": "number",
                              "description": "The stretch transcribed, if not all"
                            },
                            "text": {
                              "type": "string"
                            },
                            "model": {
                              "type": "string"
                            },
                            "until": {
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "words": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "required": [
                                  "text",
                                  "start",
                                  "end",
                                  "confidence"
                                ],
                                "properties": {
                                  "end": {
                                    "type": "number"
                                  },
                                  "text": {
                                    "type": "string"
                                  },
                                  "start": {
                                    "type": "number"
                                  },
                                  "speaker": {
                                    "type": [
                                      "number",
                                      "null"
                                    ],
                                    "description": "Who says it, from the latest speakers run"
                                  },
                                  "confidence": {
                                    "type": "number",
                                    "description": "0–1: how sure whisper is of the word itself"
                                  },
                                  "timing_confidence": {
                                    "type": [
                                      "number",
                                      "null"
                                    ],
                                    "description": "0–1: how clearly the letters were heard between start and end; null: not aligned (digits, symbols, other languages), times fitted between neighbours"
                                  }
                                }
                              },
                              "description": "Media seconds. Aligned words start and end within about 0.05 s of where their letters sound; an end on a soft consonant (s, t, k, f) or a breath can ring on up to about 0.1 s more. Short ums are often missing from the words; kind speech finds them as speech. A word \"-\" (or one starting with it) is whisper marking a new speaker, as subtitles do: a hint only; kind speakers measures who speaks when"
                            },
                            "language": {
                              "type": "string"
                            },
                            "aligned_by": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "The model that moved word edges to where the letters sound (English); null: the times are whisper's own, up to about a second off"
                            }
                          },
                          "description": "With include [\"transcript\"]: every word as {text, start, end, confidence}"
                        },
                        "fingerprint": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Identity of the file (BLAKE3 of its size and first, middle and last 4 MB), as export.video gives"
                        },
                        "font_family": {
                          "type": "string",
                          "description": "Fonts: the family; use font_media_id in a text style to set text in it"
                        },
                        "sound_seconds": {
                          "type": "number",
                          "description": "How long the sound runs; under duration_seconds, the end is soundless"
                        },
                        "picture_seconds": {
                          "type": "number",
                          "description": "How long the picture runs; under duration_seconds, the end has no picture"
                        },
                        "duration_seconds": {
                          "type": [
                            "number",
                            "null"
                          ]
                        }
                      }
                    }
                  },
                  "media_id": {
                    "type": "string",
                    "pattern": "^m_[0-9a-z]{26}$",
                    "description": "The media the stems came from"
                  }
                },
                "description": "The result, when status is completed; otherwise job.get gives it once completed"
              },
              "status": {
                "enum": [
                  "working",
                  "completed",
                  "failed",
                  "cancelled"
                ],
                "type": "string"
              },
              "media_id": {
                "type": "string",
                "pattern": "^m_[0-9a-z]{26}$",
                "description": "The media it is making: an import is usable in edits once its status is processing, a created media once this job completes"
              },
              "status_uri": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "Separate voice and music",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "create.lipsync",
          "title": "Lip-sync a video to new speech",
          "description": "Make a person on camera say different words: their mouth is redrawn to match the speech you give (a re-recorded line, a create.voiceover, a word taken from elsewhere in the take). Runs at the user's lip-sync provider on their own key (sync. labs), and the provider bills them for each second sent. Only for the user's own footage, or people who agreed to it (cuttingfloor.ai/acceptable-use). To replace a line or swap a word, give range, the span of the video where it is said, and audio (with audio_range) holding just the new words. The result is that span alone, re-synced and carrying the new speech, as long as the speech with sync_mode remap; place it over the original span (clip.add on a track above, or clip.replace) and mute the old words. Send only the span: it costs less and finishes sooner. Lip sync is for when the face stays on screen while the words change. When the speaker is off screen at that moment, or a cutaway (b-roll, the screen being talked about, a reaction) can cover the splice, the cutaway hides the edit without it. Takes minutes. Long-running: a task, or {job_id, media_id} for job.get. The same recipe returns the same media. Provider limits (plan length, credits, file size) come back as limit_exceeded with the provider's error_code.",
          "inputSchema": {
            "type": "object",
            "required": [
              "video",
              "audio"
            ],
            "properties": {
              "name": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1
              },
              "audio": {
                "type": "string",
                "pattern": "^m_[0-9a-z]{26}$",
                "description": "The speech they should say: audio media, or a video whose sound is used (e.g. create.voiceover, a re-recorded line)"
              },
              "model": {
                "enum": [
                  "lipsync-2",
                  "lipsync-2-pro",
                  "sync-3"
                ],
                "type": "string",
                "default": "lipsync-2",
                "description": "The provider's model: lipsync-2 (the standard), lipsync-2-pro (finer teeth, beards and detail), sync-3 (close-ups, profiles, hands or mics in front of the mouth). Billed to the user's own key"
              },
              "range": {
                "type": "object",
                "required": [
                  "start_seconds",
                  "end_seconds"
                ],
                "properties": {
                  "end_seconds": {
                    "type": "number",
                    "exclusiveMinimum": 0
                  },
                  "start_seconds": {
                    "type": "number",
                    "minimum": 0
                  }
                },
                "description": "Only this span of the video, in the video's seconds (e.g. the sentence or word being replaced). The result is that span alone, re-synced; place it over the same span on the timeline. Default: the whole video"
              },
              "video": {
                "type": "string",
                "pattern": "^m_[0-9a-z]{26}$",
                "description": "The video of the person speaking, whose mouth is redrawn"
              },
              "provider": {
                "enum": [
                  "sync"
                ],
                "type": "string",
                "default": "sync",
                "description": "sync: sync. labs (sync.so), with the user's SYNC_API_KEY"
              },
              "sync_mode": {
                "enum": [
                  "remap",
                  "cut_off",
                  "silence",
                  "loop",
                  "bounce"
                ],
                "type": "string",
                "default": "remap",
                "description": "When the picture and the speech differ in length. remap: the picture is sped up or slowed to the speech (result as long as the speech); cut_off: the longer one is cut (as long as the shorter); silence: the speech is padded with silence (as long as the longer); loop / bounce: the picture repeats, or plays back and forth, to cover longer speech (as long as the speech)"
              },
              "audio_range": {
                "type": "object",
                "required": [
                  "start_seconds",
                  "end_seconds"
                ],
                "properties": {
                  "end_seconds": {
                    "type": "number",
                    "exclusiveMinimum": 0
                  },
                  "start_seconds": {
                    "type": "number",
                    "minimum": 0
                  }
                },
                "description": "Only this span of the audio, in the audio's seconds. Default: all of it"
              },
              "idempotency_key": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "job_id",
              "status",
              "status_uri",
              "hint"
            ],
            "properties": {
              "hint": {
                "type": "string"
              },
              "job_id": {
                "type": "string",
                "pattern": "^j_[0-9a-z]{26}$",
                "description": "Job handle; the same value is the MCP task id"
              },
              "result": {
                "type": "object",
                "required": [
                  "media_id",
                  "name",
                  "status",
                  "kind",
                  "duration_seconds",
                  "fps",
                  "width",
                  "height",
                  "has_video",
                  "has_audio",
                  "codecs",
                  "conform",
                  "analysis"
                ],
                "properties": {
                  "fps": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "num",
                          "den"
                        ],
                        "properties": {
                          "den": {
                            "type": "number"
                          },
                          "num": {
                            "type": "number"
                          }
                        }
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "job": {
                    "type": "object",
                    "required": [
                      "job_id",
                      "tool",
                      "status"
                    ],
                    "properties": {
                      "tool": {
                        "type": "string"
                      },
                      "job_id": {
                        "type": "string",
                        "pattern": "^j_[0-9a-z]{26}$",
                        "description": "Job handle; the same value is the MCP task id"
                      },
                      "status": {
                        "enum": [
                          "working",
                          "completed",
                          "failed",
                          "cancelled"
                        ],
                        "type": "string"
                      },
                      "progress": {
                        "type": "number"
                      },
                      "seconds_left": {
                        "type": "number"
                      },
                      "status_message": {
                        "type": "string"
                      }
                    },
                    "description": "media.get, while importing or being made: the job doing it"
                  },
                  "url": {
                    "type": "string",
                    "description": "media.get: a signed download of the file itself, once it has one"
                  },
                  "kind": {
                    "anyOf": [
                      {
                        "enum": [
                          "video",
                          "audio",
                          "image",
                          "font",
                          "lut"
                        ],
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "look": {
                    "type": "object",
                    "required": [
                      "runs"
                    ],
                    "properties": {
                      "runs": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "id",
                            "model",
                            "questions",
                            "with_previous",
                            "frames"
                          ],
                          "properties": {
                            "id": {
                              "type": "string"
                            },
                            "model": {
                              "type": "string"
                            },
                            "state": {
                              "type": "object",
                              "propertyNames": {
                                "type": "string"
                              },
                              "additionalProperties": {}
                            },
                            "frames": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "required": [
                                  "time",
                                  "answers"
                                ],
                                "properties": {
                                  "time": {
                                    "type": "number"
                                  },
                                  "answers": {
                                    "type": "object",
                                    "propertyNames": {
                                      "type": "string"
                                    },
                                    "additionalProperties": {
                                      "type": "object",
                                      "propertyNames": {
                                        "type": "string"
                                      },
                                      "additionalProperties": {}
                                    }
                                  }
                                }
                              }
                            },
                            "questions": {
                              "type": "object",
                              "propertyNames": {
                                "type": "string"
                              },
                              "additionalProperties": {}
                            },
                            "with_previous": {
                              "type": "boolean"
                            }
                          }
                        }
                      }
                    }
                  },
                  "name": {
                    "type": "string"
                  },
                  "beats": {
                    "type": "object",
                    "required": [
                      "bpm",
                      "beats",
                      "downbeats"
                    ],
                    "properties": {
                      "bpm": {
                        "type": "number"
                      },
                      "beats": {
                        "type": "array",
                        "items": {
                          "type": "number"
                        }
                      },
                      "downbeats": {
                        "type": "array",
                        "items": {
                          "type": "number"
                        }
                      },
                      "strengths": {
                        "type": "array",
                        "items": {
                          "type": "number"
                        },
                        "description": "Per beat: its onset strength, 0–1 of the strongest in the sound"
                      }
                    }
                  },
                  "error": {
                    "type": "object",
                    "required": [
                      "code",
                      "message"
                    ],
                    "properties": {
                      "code": {
                        "enum": [
                          "bad_request",
                          "no_audio",
                          "not_found",
                          "expired",
                          "media_not_ready",
                          "media_offline",
                          "engine_error",
                          "render_failed",
                          "interrupted",
                          "stalled",
                          "cancelled",
                          "credential_required",
                          "credential_invalid",
                          "output_exists",
                          "path_not_allowed",
                          "limit_exceeded",
                          "quota_exceeded",
                          "subscription_required",
                          "email_unverified",
                          "service_unavailable",
                          "server_busy"
                        ],
                        "type": "string"
                      },
                      "hint": {
                        "type": "string"
                      },
                      "detail": {
                        "type": "object",
                        "propertyNames": {
                          "type": "string"
                        },
                        "additionalProperties": {}
                      },
                      "message": {
                        "type": "string"
                      }
                    }
                  },
                  "faces": {
                    "type": "object",
                    "required": [
                      "rate",
                      "frames"
                    ],
                    "properties": {
                      "rate": {
                        "type": "number"
                      },
                      "frames": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "time",
                            "faces"
                          ],
                          "properties": {
                            "time": {
                              "type": "number"
                            },
                            "faces": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "required": [
                                  "x",
                                  "y",
                                  "w",
                                  "h",
                                  "score"
                                ],
                                "properties": {
                                  "h": {
                                    "type": "number"
                                  },
                                  "w": {
                                    "type": "number"
                                  },
                                  "x": {
                                    "type": "number"
                                  },
                                  "y": {
                                    "type": "number"
                                  },
                                  "score": {
                                    "type": "number"
                                  }
                                },
                                "description": "Top-left corner x, y and size w, h, fractions of the picture (centre: x + w/2, y + h/2); score 0–1"
                              }
                            }
                          }
                        }
                      }
                    }
                  },
                  "pages": {
                    "type": "object",
                    "description": "media.get with a range, offset or limit: per included analysis, which piece of its list came back",
                    "propertyNames": {
                      "enum": [
                        "transcript",
                        "beats",
                        "faces",
                        "look",
                        "speech",
                        "sounds",
                        "speakers",
                        "voice",
                        "colour",
                        "picture"
                      ],
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "object",
                      "required": [
                        "list",
                        "first",
                        "returned",
                        "matching",
                        "total",
                        "next_offset"
                      ],
                      "properties": {
                        "list": {
                          "type": "string",
                          "description": "The list paged: transcript.words, beats.beats, faces.frames, speech.probabilities (one per frame_seconds from `from`), speakers.turns, voice.frames, colour.frames, picture.columns (every column alike), or look runs[].frames (each run is cut the same way; first and the counts are the latest run's)"
                        },
                        "first": {
                          "type": "integer",
                          "description": "Index in the whole list of the first item returned (transcript: the word index clip.add source {words} takes)"
                        },
                        "total": {
                          "type": "integer",
                          "description": "Items in the whole list"
                        },
                        "matching": {
                          "type": "integer",
                          "description": "Items in the time range (the whole list without one)"
                        },
                        "returned": {
                          "type": "integer"
                        },
                        "next_offset": {
                          "anyOf": [
                            {
                              "type": "integer"
                            },
                            {
                              "type": "null"
                            }
                          ],
                          "description": "The offset that gives the next page of this range, or null at its end"
                        }
                      }
                    }
                  },
                  "probe": {
                    "type": "object",
                    "required": [
                      "format",
                      "streams"
                    ],
                    "properties": {
                      "format": {
                        "type": "object",
                        "propertyNames": {
                          "type": "string"
                        },
                        "additionalProperties": {}
                      },
                      "streams": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "propertyNames": {
                            "type": "string"
                          },
                          "additionalProperties": {}
                        }
                      }
                    },
                    "description": "media.get: everything FFprobe read from the file, as it gives it: the format and every stream (codec, pix_fmt, color_space, color_primaries, color_transfer, color_range, bit depth, sample rate, channel layout, tags, side data). Not for fonts and LUTs"
                  },
                  "width": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "codecs": {
                    "type": "object",
                    "required": [
                      "video",
                      "audio"
                    ],
                    "properties": {
                      "audio": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "video": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    }
                  },
                  "expiry": {
                    "type": "string",
                    "description": "kept_until in words: how long is left, and what keeps it longer or how to keep it"
                  },
                  "height": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "origin": {
                    "type": "object",
                    "required": [
                      "from"
                    ],
                    "properties": {
                      "url": {
                        "type": "string",
                        "description": "url: the address it was downloaded from, without its query string"
                      },
                      "via": {
                        "enum": [
                          "media.upload",
                          "account_page",
                          "data_uri"
                        ],
                        "type": "string",
                        "description": "upload: sent through a media.upload link, dropped on the cuttingfloor site, or a data: URI"
                      },
                      "from": {
                        "enum": [
                          "upload",
                          "url",
                          "path",
                          "render",
                          "created",
                          "still"
                        ],
                        "type": "string",
                        "description": "upload: a file the user sent; url: downloaded; path: a media root; render: an export.video; created: a create.* tool; still: a frame of a video or an edit"
                      },
                      "path": {
                        "type": "string",
                        "description": "path: the file it was imported from"
                      },
                      "tool": {
                        "type": "string",
                        "description": "created: the create.* tool that made it"
                      },
                      "frame": {
                        "type": "number",
                        "description": "still: the frame"
                      },
                      "range": {
                        "type": "object",
                        "required": [
                          "start",
                          "end"
                        ],
                        "properties": {
                          "end": {
                            "type": "number"
                          },
                          "start": {
                            "type": "number"
                          }
                        },
                        "description": "render: the frames exported, when not the whole timeline"
                      },
                      "job_id": {
                        "type": "string",
                        "pattern": "^j_[0-9a-z]{26}$",
                        "description": "render: the export.video job; created: the create.* job"
                      },
                      "preset": {
                        "type": "string",
                        "description": "render: the export preset"
                      },
                      "recipe": {
                        "type": "string",
                        "description": "created: a hash of what it was made from; the same recipe makes the same media"
                      },
                      "sources": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "track_id",
                            "kind",
                            "start",
                            "end",
                            "media_id",
                            "source_in",
                            "source_out"
                          ],
                          "properties": {
                            "end": {
                              "type": "number"
                            },
                            "kind": {
                              "enum": [
                                "video",
                                "audio"
                              ],
                              "type": "string"
                            },
                            "speed": {
                              "type": "object",
                              "description": "The clip's speed change, as clip.set_speed set it",
                              "propertyNames": {
                                "type": "string"
                              },
                              "additionalProperties": {}
                            },
                            "start": {
                              "type": "number",
                              "description": "Seconds into this file"
                            },
                            "media_id": {
                              "type": "string",
                              "pattern": "^m_[0-9a-z]{26}$",
                              "description": "The media this stretch plays"
                            },
                            "track_id": {
                              "type": "string",
                              "description": "Track of the timeline; outer/inner inside a nested one"
                            },
                            "source_in": {
                              "type": "number",
                              "description": "Seconds into that media"
                            },
                            "source_out": {
                              "type": "number"
                            }
                          }
                        },
                        "description": "render: where each stretch of this file comes from, per track, read from the timeline when it was exported (kept after the timeline expires). With a speed curve, source_in and source_out are the clip's whole source range"
                      },
                      "attached": {
                        "type": "boolean",
                        "description": "url: the file the user attached in the chat, passed as media.import file"
                      },
                      "media_id": {
                        "type": "string",
                        "pattern": "^m_[0-9a-z]{26}$",
                        "description": "still: the video the frame is from"
                      },
                      "file_name": {
                        "type": "string",
                        "description": "upload: the name the file was sent with"
                      },
                      "media_ids": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "pattern": "^m_[0-9a-z]{26}$",
                          "description": "Media handle from media.import or a create.* tool"
                        },
                        "description": "created: the media it was made from (a cutout's source, a page's assets)"
                      },
                      "upload_id": {
                        "type": "string",
                        "pattern": "^u_[0-9a-z]{26}$",
                        "description": "Upload handle from media.upload"
                      },
                      "timeline_id": {
                        "type": "string",
                        "pattern": "^tl_[0-9a-f]{32}$",
                        "description": "render: the timeline that was exported; still: the edit the frame is from"
                      }
                    },
                    "description": "Where it came from, to tell one version from another: the import source, the export of which timeline, or the create.* tool and the media it was made from"
                  },
                  "sounds": {
                    "type": "object",
                    "required": [
                      "model",
                      "min_probability",
                      "spans",
                      "peaks"
                    ],
                    "properties": {
                      "model": {
                        "type": "string"
                      },
                      "peaks": {
                        "type": "object",
                        "description": "Per sound reported: the highest probability it reaches anywhere",
                        "propertyNames": {
                          "type": "string"
                        },
                        "additionalProperties": {
                          "type": "number"
                        }
                      },
                      "spans": {
                        "type": "object",
                        "description": "Per sound: the runs of 40 ms frames at or above min_probability, in time order; empty when it never is",
                        "propertyNames": {
                          "type": "string"
                        },
                        "additionalProperties": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "start",
                              "end",
                              "peak_seconds",
                              "peak_probability"
                            ],
                            "properties": {
                              "end": {
                                "type": "number",
                                "description": "Where it ends, on the same clock"
                              },
                              "start": {
                                "type": "number",
                                "description": "Where the run of matching 40 ms frames starts: media seconds, or timeline seconds for a timeline"
                              },
                              "peak_seconds": {
                                "type": "number",
                                "description": "The middle of the most likely frame"
                              },
                              "peak_probability": {
                                "type": "number"
                              }
                            }
                          }
                        }
                      },
                      "scores": {
                        "type": "object",
                        "required": [
                          "start_seconds",
                          "step_seconds",
                          "values"
                        ],
                        "properties": {
                          "values": {
                            "type": "object",
                            "description": "Per sound, the highest probability in each step, 0 to 1",
                            "propertyNames": {
                              "type": "string"
                            },
                            "additionalProperties": {
                              "type": "array",
                              "items": {
                                "type": "number"
                              }
                            }
                          },
                          "step_seconds": {
                            "type": "number",
                            "description": "Seconds each value covers: 0.04 (every frame) unless asked or too long"
                          },
                          "start_seconds": {
                            "type": "number",
                            "description": "Where the first value starts: media seconds, or timeline seconds for a timeline"
                          }
                        },
                        "description": "Every probability, for your own cut-off or arithmetic"
                      },
                      "min_probability": {
                        "type": "number"
                      }
                    },
                    "description": "With include [\"sounds\"]: the latest media.analyze sounds run, every probability included"
                  },
                  "speech": {
                    "type": "object",
                    "required": [
                      "model",
                      "frame_seconds",
                      "from",
                      "probabilities"
                    ],
                    "properties": {
                      "from": {
                        "type": "number",
                        "description": "Seconds where the first probability starts"
                      },
                      "model": {
                        "type": "string"
                      },
                      "frame_seconds": {
                        "type": "number",
                        "description": "Each probability covers this long"
                      },
                      "probabilities": {
                        "type": "array",
                        "items": {
                          "type": "number"
                        },
                        "description": "Speech probability 0–1, one per frame, in order"
                      }
                    },
                    "description": "With include [\"speech\"]: the speech probability of every 32 ms frame"
                  },
                  "status": {
                    "enum": [
                      "importing",
                      "processing",
                      "ready",
                      "failed"
                    ],
                    "type": "string",
                    "description": "importing: not probed yet; processing: usable in edits, proxy still rendering; ready; failed"
                  },
                  "conform": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "Why a mezzanine was made (vfr, rotation, hdr, codec); empty when not needed"
                  },
                  "analyses": {
                    "type": "object",
                    "properties": {
                      "look": {
                        "type": "object",
                        "required": [
                          "runs",
                          "frames",
                          "questions"
                        ],
                        "properties": {
                          "runs": {
                            "type": "number"
                          },
                          "frames": {
                            "type": "number"
                          },
                          "questions": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          }
                        },
                        "description": "frames and questions: the latest run"
                      },
                      "beats": {
                        "type": "object",
                        "required": [
                          "bpm",
                          "beats"
                        ],
                        "properties": {
                          "bpm": {
                            "type": "number"
                          },
                          "beats": {
                            "type": "number"
                          }
                        }
                      },
                      "faces": {
                        "type": "object",
                        "required": [
                          "rate",
                          "frames_with_faces"
                        ],
                        "properties": {
                          "rate": {
                            "type": "number"
                          },
                          "frames_with_faces": {
                            "type": "number"
                          }
                        }
                      },
                      "voice": {
                        "type": "object",
                        "description": "frames, and the summary media.analyze voice gives",
                        "propertyNames": {
                          "type": "string"
                        },
                        "additionalProperties": {}
                      },
                      "colour": {
                        "type": "object",
                        "required": [
                          "frames",
                          "regions"
                        ],
                        "properties": {
                          "frames": {
                            "type": "number"
                          },
                          "regions": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          }
                        }
                      },
                      "sounds": {
                        "type": "object",
                        "required": [
                          "model",
                          "min_probability",
                          "heard"
                        ],
                        "properties": {
                          "heard": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "model": {
                            "type": "string"
                          },
                          "min_probability": {
                            "type": "number"
                          }
                        },
                        "description": "heard: the sounds the latest run found at or above its min_probability"
                      },
                      "speech": {
                        "type": "object",
                        "required": [
                          "model",
                          "frames",
                          "frame_seconds"
                        ],
                        "properties": {
                          "model": {
                            "type": "string"
                          },
                          "frames": {
                            "type": "number"
                          },
                          "frame_seconds": {
                            "type": "number"
                          }
                        }
                      },
                      "picture": {
                        "type": "object",
                        "required": [
                          "frames",
                          "from"
                        ],
                        "properties": {
                          "from": {
                            "type": "number"
                          },
                          "frames": {
                            "type": "number"
                          }
                        }
                      },
                      "speakers": {
                        "type": "object",
                        "required": [
                          "model",
                          "speakers",
                          "turns"
                        ],
                        "properties": {
                          "model": {
                            "type": "string"
                          },
                          "turns": {
                            "type": "number"
                          },
                          "speakers": {
                            "type": "number"
                          }
                        }
                      },
                      "transcript": {
                        "type": "object",
                        "required": [
                          "model",
                          "language",
                          "words"
                        ],
                        "properties": {
                          "model": {
                            "type": "string"
                          },
                          "words": {
                            "type": "number",
                            "description": "How many words; the words themselves are in transcript.words"
                          },
                          "language": {
                            "type": "string"
                          }
                        }
                      }
                    },
                    "description": "Summaries of media.analyze results (counts, not data); include puts each in full at the top level"
                  },
                  "analysis": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "loudness_lufs"
                        ],
                        "properties": {
                          "channels": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "required": [
                                "channel",
                                "rms_dbfs",
                                "peak_dbfs",
                                "noise_floor_dbfs"
                              ],
                              "properties": {
                                "channel": {
                                  "type": "integer",
                                  "exclusiveMinimum": 0
                                },
                                "rms_dbfs": {
                                  "type": [
                                    "number",
                                    "null"
                                  ]
                                },
                                "peak_dbfs": {
                                  "type": [
                                    "number",
                                    "null"
                                  ]
                                },
                                "noise_floor_dbfs": {
                                  "type": [
                                    "number",
                                    "null"
                                  ]
                                }
                              }
                            },
                            "description": "Each channel at import"
                          },
                          "loudness_lufs": {
                            "type": [
                              "number",
                              "null"
                            ],
                            "description": "Integrated loudness at import"
                          }
                        }
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "media_id": {
                    "type": "string",
                    "pattern": "^m_[0-9a-z]{26}$",
                    "description": "Media handle from media.import or a create.* tool"
                  },
                  "page_url": {
                    "type": "string",
                    "description": "media.get: a page that plays or shows the file in any browser, with no sign-in, to give a person; works until expires_at"
                  },
                  "warnings": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "create.motion and create.still: what went wrong in the page as it rendered (uncaught errors, console errors, files blocked or not found, tags never closed). It rendered anyway"
                  },
                  "extension": {
                    "type": "string",
                    "description": "The extension its format takes (.png, .mp4), from the file itself, not its name"
                  },
                  "has_audio": {
                    "type": "boolean"
                  },
                  "has_video": {
                    "type": "boolean"
                  },
                  "mime_type": {
                    "type": "string",
                    "description": "Its MIME type, likewise"
                  },
                  "created_at": {
                    "type": "string",
                    "description": "When it was imported or made"
                  },
                  "expires_at": {
                    "type": "string",
                    "description": "When url and page_url stop working"
                  },
                  "kept_until": {
                    "type": "string",
                    "description": "When the server deletes it: 7 days after last use; any use (a read, an edit, a render) pushes it back"
                  },
                  "transcript": {
                    "type": "object",
                    "required": [
                      "model",
                      "language",
                      "text",
                      "words"
                    ],
                    "properties": {
                      "from": {
                        "type": "number",
                        "description": "The stretch transcribed, if not all"
                      },
                      "text": {
                        "type": "string"
                      },
                      "model": {
                        "type": "string"
                      },
                      "until": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "words": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "text",
                            "start",
                            "end",
                            "confidence"
                          ],
                          "properties": {
                            "end": {
                              "type": "number"
                            },
                            "text": {
                              "type": "string"
                            },
                            "start": {
                              "type": "number"
                            },
                            "speaker": {
                              "type": [
                                "number",
                                "null"
                              ],
                              "description": "Who says it, from the latest speakers run"
                            },
                            "confidence": {
                              "type": "number",
                              "description": "0–1: how sure whisper is of the word itself"
                            },
                            "timing_confidence": {
                              "type": [
                                "number",
                                "null"
                              ],
                              "description": "0–1: how clearly the letters were heard between start and end; null: not aligned (digits, symbols, other languages), times fitted between neighbours"
                            }
                          }
                        },
                        "description": "Media seconds. Aligned words start and end within about 0.05 s of where their letters sound; an end on a soft consonant (s, t, k, f) or a breath can ring on up to about 0.1 s more. Short ums are often missing from the words; kind speech finds them as speech. A word \"-\" (or one starting with it) is whisper marking a new speaker, as subtitles do: a hint only; kind speakers measures who speaks when"
                      },
                      "language": {
                        "type": "string"
                      },
                      "aligned_by": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "The model that moved word edges to where the letters sound (English); null: the times are whisper's own, up to about a second off"
                      }
                    },
                    "description": "With include [\"transcript\"]: every word as {text, start, end, confidence}"
                  },
                  "fingerprint": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Identity of the file (BLAKE3 of its size and first, middle and last 4 MB), as export.video gives"
                  },
                  "font_family": {
                    "type": "string",
                    "description": "Fonts: the family; use font_media_id in a text style to set text in it"
                  },
                  "sound_seconds": {
                    "type": "number",
                    "description": "How long the sound runs; under duration_seconds, the end is soundless"
                  },
                  "picture_seconds": {
                    "type": "number",
                    "description": "How long the picture runs; under duration_seconds, the end has no picture"
                  },
                  "duration_seconds": {
                    "type": [
                      "number",
                      "null"
                    ]
                  }
                },
                "description": "The result, when status is completed; otherwise job.get gives it once completed"
              },
              "status": {
                "enum": [
                  "working",
                  "completed",
                  "failed",
                  "cancelled"
                ],
                "type": "string"
              },
              "media_id": {
                "type": "string",
                "pattern": "^m_[0-9a-z]{26}$",
                "description": "The media it is making: an import is usable in edits once its status is processing, a created media once this job completes"
              },
              "status_uri": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "Lip-sync a video to new speech",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "render.frames",
          "title": "Render frames",
          "description": "Look at a timeline (or a media file): up to 16 frames as one contact-sheet image (layout grid) or one image each (single). Media frames are numbered at the media frame rate; a picture that can be see-through (alpha or a palette) is shown over a light checkerboard, so transparency shows as checks and a background baked into the file as itself. size full: up to 4 frames at the sequence (or media) size from the original media, for thumbnails and stills to keep. format webp (default), png or jpeg, with quality for webp and jpeg. Each image comes inline and with a signed download url.",
          "inputSchema": {
            "type": "object",
            "required": [
              "frames"
            ],
            "properties": {
              "size": {
                "enum": [
                  "preview",
                  "full"
                ],
                "type": "string",
                "default": "preview",
                "description": "full: the sequence size from original media (long_edge ignored)"
              },
              "format": {
                "enum": [
                  "webp",
                  "png",
                  "jpeg"
                ],
                "type": "string",
                "default": "webp",
                "description": "jpeg: for places that take nothing else; png: lossless"
              },
              "frames": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "minimum": 0
                },
                "maxItems": 16,
                "minItems": 1,
                "description": "Timeline frames, or media frames at the media rate"
              },
              "layout": {
                "enum": [
                  "single",
                  "grid"
                ],
                "type": "string",
                "default": "grid",
                "description": "grid: one contact sheet"
              },
              "quality": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "WebP and JPEG, 1–100 (default 82 WebP, 85 JPEG)"
              },
              "media_id": {
                "type": "string",
                "pattern": "^m_[0-9a-z]{26}$",
                "description": "Media handle from media.import or a create.* tool"
              },
              "long_edge": {
                "type": "integer",
                "default": 640,
                "maximum": 1920,
                "minimum": 64
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "Timeline handle; every edit returns a new one"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "images"
            ],
            "properties": {
              "images": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "uri",
                    "frames",
                    "url",
                    "expires_at",
                    "mime_type",
                    "bytes"
                  ],
                  "properties": {
                    "uri": {
                      "type": "string",
                      "description": "MCP resource for the image"
                    },
                    "url": {
                      "type": "string",
                      "description": "Signed download of this image"
                    },
                    "bytes": {
                      "type": "number"
                    },
                    "frames": {
                      "type": "array",
                      "items": {
                        "type": "integer",
                        "minimum": 0
                      }
                    },
                    "mime_type": {
                      "type": "string"
                    },
                    "expires_at": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "annotations": {
            "title": "Render frames",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "export.video",
          "title": "Export video",
          "description": "Render the timeline to a file, at the sequence size and frame rate. Formats: mp4_h264 (MP4), mp4_h264_fast (MP4, quick and small with sound, to watch a cut), mp4_av1 (MP4, AV1/Opus), mov_prores_422hq (MOV), gif (15 fps), wav, mp3. overrides sets another size (a box, aspect kept), fps, bitrate or crf (video://catalog/presets). Scaling up adds no detail: a picture made larger than its source looks soft. Long-running: returns a task, or {job_id} for job.get. The result links the file (a resource_link to video://jobs/{job_id}/output, which reads as the file, or its signed URL when large), has a signed download URL and a page_url that plays it in any browser (the link to give a person to watch or share), both working for 168 h (job.get gives fresh ones). The file itself is deleted 7 days after the export finishes (kept_until, and expiry in words): save it from url to keep it. The server keeps the file 7 days, as a working copy: when the user has a finished piece to keep, offer to save it from the url where they keep their files, and media.import it to use it again. qa.check measures a render (gaps, frames, loudness) before you export. sha256 and fingerprint tell two renders apart without downloading them (fingerprint matches media.get of the file once imported).",
          "inputSchema": {
            "type": "object",
            "required": [
              "timeline_id",
              "preset"
            ],
            "properties": {
              "range": {
                "type": "object",
                "required": [
                  "start",
                  "end"
                ],
                "properties": {
                  "end": {
                    "type": "integer",
                    "minimum": 0
                  },
                  "start": {
                    "type": "integer",
                    "minimum": 0
                  }
                },
                "description": "Frames, end exclusive"
              },
              "preset": {
                "enum": [
                  "mp4_h264",
                  "mp4_h264_fast",
                  "mp4_av1",
                  "mov_prores_422hq",
                  "gif",
                  "wav",
                  "mp3"
                ],
                "type": "string",
                "description": "A format; the picture comes out at the sequence size unless overrides set another. video://catalog/presets lists what each takes"
              },
              "filename": {
                "type": "string",
                "pattern": "^[\\w][\\w .-]{0,120}$",
                "description": "Output file name without extension. Default: timeline name and id"
              },
              "overrides": {
                "type": "object",
                "properties": {
                  "crf": {
                    "type": "integer",
                    "maximum": 63,
                    "minimum": 0
                  },
                  "fps": {
                    "type": "number",
                    "maximum": 120,
                    "exclusiveMinimum": 0
                  },
                  "width": {
                    "type": "integer",
                    "maximum": 7680,
                    "minimum": 16
                  },
                  "height": {
                    "type": "integer",
                    "maximum": 7680,
                    "minimum": 16
                  },
                  "bitrate": {
                    "type": "string",
                    "pattern": "^\\d+(\\.\\d+)?[kM]$",
                    "description": "Video bitrate like 8M, instead of constant quality"
                  }
                },
                "description": "Change the preset: a size box (aspect kept), frame rate, bitrate or quality"
              },
              "overwrite": {
                "type": "boolean",
                "default": false
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "Timeline handle; every edit returns a new one"
              },
              "idempotency_key": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "job_id",
              "status",
              "status_uri",
              "hint"
            ],
            "properties": {
              "hint": {
                "type": "string"
              },
              "job_id": {
                "type": "string",
                "pattern": "^j_[0-9a-z]{26}$",
                "description": "Job handle; the same value is the MCP task id"
              },
              "result": {
                "type": "object",
                "required": [
                  "url",
                  "page_url",
                  "expires_at",
                  "uri",
                  "bytes",
                  "frames",
                  "preset",
                  "mime_type"
                ],
                "properties": {
                  "uri": {
                    "type": "string",
                    "description": "MCP resource for the output"
                  },
                  "url": {
                    "type": "string",
                    "description": "Signed download URL"
                  },
                  "file": {
                    "type": "string",
                    "description": "Where the file was written in the exports folder (local mode)"
                  },
                  "bytes": {
                    "type": "number"
                  },
                  "width": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "expiry": {
                    "type": "string",
                    "description": "kept_until in words: how long is left, and what keeps it longer or how to keep it"
                  },
                  "frames": {
                    "type": "number"
                  },
                  "height": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "preset": {
                    "enum": [
                      "mp4_h264",
                      "mp4_h264_fast",
                      "mp4_av1",
                      "mov_prores_422hq",
                      "gif",
                      "wav",
                      "mp3"
                    ],
                    "type": "string"
                  },
                  "sha256": {
                    "type": "string",
                    "description": "SHA-256 of the whole file: equal only for equal bytes"
                  },
                  "page_url": {
                    "type": "string",
                    "description": "A page that plays the file in any browser, with no sign-in: the link to give a person to watch or share it. Works until expires_at"
                  },
                  "mime_type": {
                    "type": "string"
                  },
                  "expires_at": {
                    "type": "string"
                  },
                  "kept_until": {
                    "type": "string",
                    "description": "When the server deletes it: 7 days after the export finished"
                  },
                  "fingerprint": {
                    "type": "string",
                    "description": "The fingerprint media.get gives the file once imported"
                  }
                },
                "description": "The result, when status is completed; otherwise job.get gives it once completed"
              },
              "status": {
                "enum": [
                  "working",
                  "completed",
                  "failed",
                  "cancelled"
                ],
                "type": "string"
              },
              "media_id": {
                "type": "string",
                "pattern": "^m_[0-9a-z]{26}$",
                "description": "The media it is making: an import is usable in edits once its status is processing, a created media once this job completes"
              },
              "status_uri": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "Export video",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "qa.check",
          "title": "QA check",
          "description": "Measure the rendered timeline: gaps in the picture, offline media, rendered against expected frame count, integrated loudness (LUFS) and true peak (dBTP), plus black and silent stretches when you give their settings. With speech {min_probability}, every cut is listed with speech facts: the speech probability of the mix just before and after it (Silero VAD), the seconds without speech each side, and, per clip edge, the transcript word it cuts through and how much of that word is lost (from the media's transcript, when it has one). Facts only, no verdicts. A timeline up to 20 s is checked within the call (which waits its turn for a render when the server is busy) and answers as a completed job, the report in result; longer ones return a task or job.",
          "inputSchema": {
            "type": "object",
            "required": [
              "timeline_id"
            ],
            "properties": {
              "black": {
                "type": "object",
                "required": [
                  "pixel_threshold",
                  "picture_share",
                  "min_seconds"
                ],
                "properties": {
                  "min_seconds": {
                    "type": "number",
                    "maximum": 3600,
                    "minimum": 0.01
                  },
                  "picture_share": {
                    "type": "number",
                    "maximum": 1,
                    "minimum": 0,
                    "description": "A frame with this share of black pixels is black"
                  },
                  "pixel_threshold": {
                    "type": "number",
                    "maximum": 1,
                    "minimum": 0,
                    "description": "A pixel this dark or darker is black"
                  }
                },
                "description": "Find black stretches with these settings; left out, none are looked for"
              },
              "range": {
                "type": "object",
                "required": [
                  "start",
                  "end"
                ],
                "properties": {
                  "end": {
                    "type": "integer",
                    "minimum": 0
                  },
                  "start": {
                    "type": "integer",
                    "minimum": 0
                  }
                }
              },
              "speech": {
                "type": "object",
                "required": [
                  "min_probability"
                ],
                "properties": {
                  "min_probability": {
                    "type": "number",
                    "maximum": 1,
                    "minimum": 0,
                    "description": "A 32 ms frame of the mix with at least this speech probability is speech"
                  }
                },
                "description": "List every cut with speech facts (Silero VAD on the mix, and the transcript word each clip edge cuts through); left out, cuts are not listed. Only junctions between two clips are listed, so a lone clip reports none and its own head and tail are never examined. A null word means the edge falls between words: that is a clean cut, not a missing reading"
              },
              "silence": {
                "type": "object",
                "required": [
                  "threshold_db",
                  "min_seconds"
                ],
                "properties": {
                  "min_seconds": {
                    "type": "number",
                    "maximum": 3600,
                    "minimum": 0.01
                  },
                  "threshold_db": {
                    "type": "number",
                    "maximum": 0,
                    "minimum": -100,
                    "description": "Quieter than this, dBFS"
                  }
                },
                "description": "Find silent stretches in the mix with these settings; left out, none are looked for"
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "Timeline handle; every edit returns a new one"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "job_id",
              "status",
              "status_uri",
              "hint"
            ],
            "properties": {
              "hint": {
                "type": "string"
              },
              "job_id": {
                "type": "string",
                "pattern": "^j_[0-9a-z]{26}$",
                "description": "Job handle; the same value is the MCP task id"
              },
              "result": {
                "type": "object",
                "required": [
                  "range",
                  "gaps",
                  "offline_media",
                  "frames",
                  "integrated_lufs",
                  "true_peak_dbtp"
                ],
                "properties": {
                  "cuts": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "frame",
                        "seconds",
                        "speech_before",
                        "speech_after",
                        "silence_before_seconds",
                        "silence_after_seconds",
                        "edges"
                      ],
                      "properties": {
                        "edges": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "track_id",
                              "out_clip_id",
                              "in_clip_id",
                              "out_word",
                              "in_word"
                            ],
                            "properties": {
                              "in_word": {
                                "anyOf": [
                                  {
                                    "type": "object",
                                    "required": [
                                      "text",
                                      "start",
                                      "end",
                                      "at",
                                      "seconds_cut"
                                    ],
                                    "properties": {
                                      "at": {
                                        "type": "number",
                                        "description": "Where the clip edge is, media seconds"
                                      },
                                      "end": {
                                        "type": "number"
                                      },
                                      "text": {
                                        "type": "string"
                                      },
                                      "start": {
                                        "type": "number",
                                        "description": "Media seconds"
                                      },
                                      "seconds_cut": {
                                        "type": "number"
                                      }
                                    }
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The transcript word the starting clip begins inside; seconds_cut of it is lost"
                              },
                              "out_word": {
                                "anyOf": [
                                  {
                                    "type": "object",
                                    "required": [
                                      "text",
                                      "start",
                                      "end",
                                      "at",
                                      "seconds_cut"
                                    ],
                                    "properties": {
                                      "at": {
                                        "type": "number",
                                        "description": "Where the clip edge is, media seconds"
                                      },
                                      "end": {
                                        "type": "number"
                                      },
                                      "text": {
                                        "type": "string"
                                      },
                                      "start": {
                                        "type": "number",
                                        "description": "Media seconds"
                                      },
                                      "seconds_cut": {
                                        "type": "number"
                                      }
                                    }
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The transcript word the ending clip stops inside; seconds_cut of it is lost"
                              },
                              "track_id": {
                                "type": "string"
                              },
                              "in_clip_id": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The clip starting here"
                              },
                              "out_clip_id": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The clip ending here"
                              }
                            }
                          },
                          "description": "Media clip edges on each track at this frame"
                        },
                        "frame": {
                          "type": "integer",
                          "minimum": 0
                        },
                        "seconds": {
                          "type": "number"
                        },
                        "speech_after": {
                          "type": "number",
                          "description": "Speech probability of the mix just after the cut"
                        },
                        "speech_before": {
                          "type": "number",
                          "description": "Speech probability of the mix just before the cut"
                        },
                        "silence_after_seconds": {
                          "type": "number",
                          "description": "Seconds without speech after the cut (to the range end if none)"
                        },
                        "silence_before_seconds": {
                          "type": "number",
                          "description": "Seconds without speech before the cut (to the range start if none)"
                        }
                      }
                    },
                    "description": "With speech settings: every cut in the range, in order (up to 500)"
                  },
                  "gaps": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "start",
                        "end"
                      ],
                      "properties": {
                        "end": {
                          "type": "integer",
                          "minimum": 0
                        },
                        "start": {
                          "type": "integer",
                          "minimum": 0
                        }
                      }
                    },
                    "description": "Frames with no picture on any visible video track"
                  },
                  "black": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "start",
                        "end"
                      ],
                      "properties": {
                        "end": {
                          "type": "integer",
                          "minimum": 0
                        },
                        "start": {
                          "type": "integer",
                          "minimum": 0
                        }
                      }
                    },
                    "description": "With black settings: black stretches, frames"
                  },
                  "range": {
                    "type": "object",
                    "required": [
                      "start",
                      "end"
                    ],
                    "properties": {
                      "end": {
                        "type": "integer",
                        "minimum": 0
                      },
                      "start": {
                        "type": "integer",
                        "minimum": 0
                      }
                    }
                  },
                  "frames": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "expected",
                          "rendered"
                        ],
                        "properties": {
                          "expected": {
                            "type": "number"
                          },
                          "rendered": {
                            "type": "number"
                          }
                        }
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "description": "null when offline media stopped the render"
                  },
                  "silences": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "start",
                        "end"
                      ],
                      "properties": {
                        "end": {
                          "type": "integer",
                          "minimum": 0
                        },
                        "start": {
                          "type": "integer",
                          "minimum": 0
                        }
                      }
                    },
                    "description": "With silence settings: silent stretches, frames"
                  },
                  "cuts_total": {
                    "type": "number",
                    "description": "With speech settings: how many cuts there are"
                  },
                  "offline_media": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "Media ids that are offline; nothing was rendered"
                  },
                  "true_peak_dbtp": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "integrated_lufs": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "description": "null below the EBU R128 -70 LUFS gate"
                  }
                },
                "description": "The result, when status is completed; otherwise job.get gives it once completed"
              },
              "status": {
                "enum": [
                  "working",
                  "completed",
                  "failed",
                  "cancelled"
                ],
                "type": "string"
              },
              "media_id": {
                "type": "string",
                "pattern": "^m_[0-9a-z]{26}$",
                "description": "The media it is making: an import is usable in edits once its status is processing, a created media once this job completes"
              },
              "status_uri": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "QA check",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "job.get",
          "title": "Get job",
          "description": "Status, progress and, once completed, the result of long-running calls (media.import, media.analyze, create.*, export.video, qa.check). Same record as tasks/get. status_message says what it is doing, or where it stands in the queue; for names the media or timeline. wait_seconds (up to 50) answers when any job asked for finishes, fails or is cancelled, or when the wait runs out (then with its progress), so one call waits instead of many polls. seconds_left and starts_in_seconds come only when progress so far allows. job_ids reads many and answers {jobs, not_found}, each result in brief (result_summary: lists cut to their first items, with what was cut) unless result is full; result summary does the same for one job. A job whose progress stops for minutes ends with a stalled error, freeing its slot.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "job_id": {
                "type": "string",
                "pattern": "^j_[0-9a-z]{26}$",
                "description": "One job: the answer is that job"
              },
              "result": {
                "enum": [
                  "full",
                  "summary",
                  "none"
                ],
                "type": "string",
                "description": "Default full for one job_id; summary for job_ids, so a check on many stays small (full gives them whole)"
              },
              "job_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^j_[0-9a-z]{26}$",
                  "description": "Job handle; the same value is the MCP task id"
                },
                "maxItems": 100,
                "minItems": 1,
                "description": "Many jobs at once (up to 100): the answer is {jobs, not_found}"
              },
              "wait_seconds": {
                "type": "number",
                "default": 0,
                "maximum": 50,
                "minimum": 0,
                "description": "Wait up to this long (at most 50 s) for any job asked for to finish (its status changes); progress along the way does not end the wait; 0 answers at once"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "type": "object",
                "required": [
                  "job_id",
                  "tool",
                  "status",
                  "created_at",
                  "updated_at"
                ],
                "properties": {
                  "for": {
                    "type": "object",
                    "properties": {
                      "kind": {
                        "type": "string"
                      },
                      "inputs": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "pattern": "^m_[0-9a-z]{26}$",
                          "description": "Media handle from media.import or a create.* tool"
                        },
                        "description": "Media it is made from"
                      },
                      "preset": {
                        "type": "string"
                      },
                      "media_id": {
                        "type": "string",
                        "pattern": "^m_[0-9a-z]{26}$",
                        "description": "The media it imports, makes or reads"
                      },
                      "media_ids": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "pattern": "^m_[0-9a-z]{26}$",
                          "description": "Media handle from media.import or a create.* tool"
                        },
                        "description": "Stems it makes"
                      },
                      "timeline_id": {
                        "type": "string",
                        "pattern": "^tl_[0-9a-f]{32}$",
                        "description": "Timeline handle; every edit returns a new one"
                      }
                    },
                    "description": "What it is for, known from the start"
                  },
                  "tool": {
                    "type": "string"
                  },
                  "error": {
                    "type": "object",
                    "required": [
                      "code",
                      "message"
                    ],
                    "properties": {
                      "code": {
                        "enum": [
                          "bad_request",
                          "no_audio",
                          "not_found",
                          "expired",
                          "media_not_ready",
                          "media_offline",
                          "engine_error",
                          "render_failed",
                          "interrupted",
                          "stalled",
                          "cancelled",
                          "credential_required",
                          "credential_invalid",
                          "output_exists",
                          "path_not_allowed",
                          "limit_exceeded",
                          "quota_exceeded",
                          "subscription_required",
                          "email_unverified",
                          "service_unavailable",
                          "server_busy"
                        ],
                        "type": "string"
                      },
                      "hint": {
                        "type": "string"
                      },
                      "detail": {
                        "type": "object",
                        "propertyNames": {
                          "type": "string"
                        },
                        "additionalProperties": {}
                      },
                      "message": {
                        "type": "string"
                      }
                    }
                  },
                  "job_id": {
                    "type": "string",
                    "pattern": "^j_[0-9a-z]{26}$",
                    "description": "Job handle; the same value is the MCP task id"
                  },
                  "result": {
                    "description": "The tool's structured result once completed"
                  },
                  "status": {
                    "enum": [
                      "working",
                      "completed",
                      "failed",
                      "cancelled"
                    ],
                    "type": "string"
                  },
                  "progress": {
                    "type": "number",
                    "maximum": 1,
                    "minimum": 0
                  },
                  "created_at": {
                    "type": "string"
                  },
                  "updated_at": {
                    "type": "string"
                  },
                  "seconds_left": {
                    "type": "number",
                    "description": "Running: seconds left at its recent rate of progress, once it has moved steadily (later steps may differ)"
                  },
                  "result_summary": {
                    "type": "object",
                    "required": [
                      "value",
                      "cut"
                    ],
                    "properties": {
                      "cut": {
                        "type": "object",
                        "description": "Path of each cut (a.b.0.c): its full length",
                        "propertyNames": {
                          "type": "string"
                        },
                        "additionalProperties": {
                          "type": "number"
                        }
                      },
                      "value": {
                        "description": "Lists cut to 5 items, long text cut"
                      }
                    },
                    "description": "result \"summary\": the result in brief; result \"full\" has all of it"
                  },
                  "status_message": {
                    "type": "string",
                    "description": "What it is doing; while it waits, its place in the queue and what it waits for (a job slot, a render slot or the sandbox)"
                  },
                  "starts_in_seconds": {
                    "type": "number",
                    "description": "Queued next in line: seconds until a slot should free, when every job holding one has seconds_left"
                  }
                }
              },
              {
                "type": "object",
                "required": [
                  "jobs",
                  "not_found"
                ],
                "properties": {
                  "jobs": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "job_id",
                        "tool",
                        "status",
                        "created_at",
                        "updated_at"
                      ],
                      "properties": {
                        "for": {
                          "type": "object",
                          "properties": {
                            "kind": {
                              "type": "string"
                            },
                            "inputs": {
                              "type": "array",
                              "items": {
                                "type": "string",
                                "pattern": "^m_[0-9a-z]{26}$",
                                "description": "Media handle from media.import or a create.* tool"
                              },
                              "description": "Media it is made from"
                            },
                            "preset": {
                              "type": "string"
                            },
                            "media_id": {
                              "type": "string",
                              "pattern": "^m_[0-9a-z]{26}$",
                              "description": "The media it imports, makes or reads"
                            },
                            "media_ids": {
                              "type": "array",
                              "items": {
                                "type": "string",
                                "pattern": "^m_[0-9a-z]{26}$",
                                "description": "Media handle from media.import or a create.* tool"
                              },
                              "description": "Stems it makes"
                            },
                            "timeline_id": {
                              "type": "string",
                              "pattern": "^tl_[0-9a-f]{32}$",
                              "description": "Timeline handle; every edit returns a new one"
                            }
                          },
                          "description": "What it is for, known from the start"
                        },
                        "tool": {
                          "type": "string"
                        },
                        "error": {
                          "type": "object",
                          "required": [
                            "code",
                            "message"
                          ],
                          "properties": {
                            "code": {
                              "enum": [
                                "bad_request",
                                "no_audio",
                                "not_found",
                                "expired",
                                "media_not_ready",
                                "media_offline",
                                "engine_error",
                                "render_failed",
                                "interrupted",
                                "stalled",
                                "cancelled",
                                "credential_required",
                                "credential_invalid",
                                "output_exists",
                                "path_not_allowed",
                                "limit_exceeded",
                                "quota_exceeded",
                                "subscription_required",
                                "email_unverified",
                                "service_unavailable",
                                "server_busy"
                              ],
                              "type": "string"
                            },
                            "hint": {
                              "type": "string"
                            },
                            "detail": {
                              "type": "object",
                              "propertyNames": {
                                "type": "string"
                              },
                              "additionalProperties": {}
                            },
                            "message": {
                              "type": "string"
                            }
                          }
                        },
                        "job_id": {
                          "type": "string",
                          "pattern": "^j_[0-9a-z]{26}$",
                          "description": "Job handle; the same value is the MCP task id"
                        },
                        "result": {
                          "description": "The tool's structured result once completed"
                        },
                        "status": {
                          "enum": [
                            "working",
                            "completed",
                            "failed",
                            "cancelled"
                          ],
                          "type": "string"
                        },
                        "progress": {
                          "type": "number",
                          "maximum": 1,
                          "minimum": 0
                        },
                        "created_at": {
                          "type": "string"
                        },
                        "updated_at": {
                          "type": "string"
                        },
                        "seconds_left": {
                          "type": "number",
                          "description": "Running: seconds left at its recent rate of progress, once it has moved steadily (later steps may differ)"
                        },
                        "result_summary": {
                          "type": "object",
                          "required": [
                            "value",
                            "cut"
                          ],
                          "properties": {
                            "cut": {
                              "type": "object",
                              "description": "Path of each cut (a.b.0.c): its full length",
                              "propertyNames": {
                                "type": "string"
                              },
                              "additionalProperties": {
                                "type": "number"
                              }
                            },
                            "value": {
                              "description": "Lists cut to 5 items, long text cut"
                            }
                          },
                          "description": "result \"summary\": the result in brief; result \"full\" has all of it"
                        },
                        "status_message": {
                          "type": "string",
                          "description": "What it is doing; while it waits, its place in the queue and what it waits for (a job slot, a render slot or the sandbox)"
                        },
                        "starts_in_seconds": {
                          "type": "number",
                          "description": "Queued next in line: seconds until a slot should free, when every job holding one has seconds_left"
                        }
                      }
                    },
                    "description": "The jobs found, in the order asked"
                  },
                  "not_found": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "Ids with no job of yours (finished jobs are kept 7 days)"
                  }
                }
              }
            ]
          },
          "annotations": {
            "title": "Get job",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "job.list",
          "title": "List jobs",
          "description": "Your recent jobs, newest first, each with its status, progress and for (the media or timeline it is for), filtered by status, tool or media_id. Results are left out unless you ask (result summary or full); job.get reads one.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "tool": {
                "type": "string",
                "description": "Only jobs of this tool, e.g. media.import"
              },
              "limit": {
                "type": "integer",
                "default": 50,
                "maximum": 200,
                "minimum": 1
              },
              "result": {
                "enum": [
                  "full",
                  "summary",
                  "none"
                ],
                "type": "string",
                "default": "none",
                "description": "none (default): each job without its result, to find one; summary: lists cut short; full: every result whole"
              },
              "status": {
                "enum": [
                  "working",
                  "completed",
                  "failed",
                  "cancelled"
                ],
                "type": "string"
              },
              "media_id": {
                "type": "string",
                "pattern": "^m_[0-9a-z]{26}$",
                "description": "Only jobs for this media (importing, making or reading it)"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "jobs"
            ],
            "properties": {
              "jobs": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "job_id",
                    "tool",
                    "status",
                    "created_at",
                    "updated_at"
                  ],
                  "properties": {
                    "for": {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string"
                        },
                        "inputs": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "pattern": "^m_[0-9a-z]{26}$",
                            "description": "Media handle from media.import or a create.* tool"
                          },
                          "description": "Media it is made from"
                        },
                        "preset": {
                          "type": "string"
                        },
                        "media_id": {
                          "type": "string",
                          "pattern": "^m_[0-9a-z]{26}$",
                          "description": "The media it imports, makes or reads"
                        },
                        "media_ids": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "pattern": "^m_[0-9a-z]{26}$",
                            "description": "Media handle from media.import or a create.* tool"
                          },
                          "description": "Stems it makes"
                        },
                        "timeline_id": {
                          "type": "string",
                          "pattern": "^tl_[0-9a-f]{32}$",
                          "description": "Timeline handle; every edit returns a new one"
                        }
                      },
                      "description": "What it is for, known from the start"
                    },
                    "tool": {
                      "type": "string"
                    },
                    "error": {
                      "type": "object",
                      "required": [
                        "code",
                        "message"
                      ],
                      "properties": {
                        "code": {
                          "enum": [
                            "bad_request",
                            "no_audio",
                            "not_found",
                            "expired",
                            "media_not_ready",
                            "media_offline",
                            "engine_error",
                            "render_failed",
                            "interrupted",
                            "stalled",
                            "cancelled",
                            "credential_required",
                            "credential_invalid",
                            "output_exists",
                            "path_not_allowed",
                            "limit_exceeded",
                            "quota_exceeded",
                            "subscription_required",
                            "email_unverified",
                            "service_unavailable",
                            "server_busy"
                          ],
                          "type": "string"
                        },
                        "hint": {
                          "type": "string"
                        },
                        "detail": {
                          "type": "object",
                          "propertyNames": {
                            "type": "string"
                          },
                          "additionalProperties": {}
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    },
                    "job_id": {
                      "type": "string",
                      "pattern": "^j_[0-9a-z]{26}$",
                      "description": "Job handle; the same value is the MCP task id"
                    },
                    "result": {
                      "description": "The tool's structured result once completed"
                    },
                    "status": {
                      "enum": [
                        "working",
                        "completed",
                        "failed",
                        "cancelled"
                      ],
                      "type": "string"
                    },
                    "progress": {
                      "type": "number",
                      "maximum": 1,
                      "minimum": 0
                    },
                    "created_at": {
                      "type": "string"
                    },
                    "updated_at": {
                      "type": "string"
                    },
                    "seconds_left": {
                      "type": "number",
                      "description": "Running: seconds left at its recent rate of progress, once it has moved steadily (later steps may differ)"
                    },
                    "result_summary": {
                      "type": "object",
                      "required": [
                        "value",
                        "cut"
                      ],
                      "properties": {
                        "cut": {
                          "type": "object",
                          "description": "Path of each cut (a.b.0.c): its full length",
                          "propertyNames": {
                            "type": "string"
                          },
                          "additionalProperties": {
                            "type": "number"
                          }
                        },
                        "value": {
                          "description": "Lists cut to 5 items, long text cut"
                        }
                      },
                      "description": "result \"summary\": the result in brief; result \"full\" has all of it"
                    },
                    "status_message": {
                      "type": "string",
                      "description": "What it is doing; while it waits, its place in the queue and what it waits for (a job slot, a render slot or the sandbox)"
                    },
                    "starts_in_seconds": {
                      "type": "number",
                      "description": "Queued next in line: seconds until a slot should free, when every job holding one has seconds_left"
                    }
                  }
                }
              }
            }
          },
          "annotations": {
            "title": "List jobs",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "job.cancel",
          "title": "Cancel job",
          "description": "Stop a job, queued or running, within seconds: its engines are killed and its slot goes to the next job. Finished jobs are left as they are.",
          "inputSchema": {
            "type": "object",
            "required": [
              "job_id"
            ],
            "properties": {
              "job_id": {
                "type": "string",
                "pattern": "^j_[0-9a-z]{26}$",
                "description": "Job handle; the same value is the MCP task id"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "job_id",
              "tool",
              "status",
              "created_at",
              "updated_at"
            ],
            "properties": {
              "for": {
                "type": "object",
                "properties": {
                  "kind": {
                    "type": "string"
                  },
                  "inputs": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "pattern": "^m_[0-9a-z]{26}$",
                      "description": "Media handle from media.import or a create.* tool"
                    },
                    "description": "Media it is made from"
                  },
                  "preset": {
                    "type": "string"
                  },
                  "media_id": {
                    "type": "string",
                    "pattern": "^m_[0-9a-z]{26}$",
                    "description": "The media it imports, makes or reads"
                  },
                  "media_ids": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "pattern": "^m_[0-9a-z]{26}$",
                      "description": "Media handle from media.import or a create.* tool"
                    },
                    "description": "Stems it makes"
                  },
                  "timeline_id": {
                    "type": "string",
                    "pattern": "^tl_[0-9a-f]{32}$",
                    "description": "Timeline handle; every edit returns a new one"
                  }
                },
                "description": "What it is for, known from the start"
              },
              "tool": {
                "type": "string"
              },
              "error": {
                "type": "object",
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "enum": [
                      "bad_request",
                      "no_audio",
                      "not_found",
                      "expired",
                      "media_not_ready",
                      "media_offline",
                      "engine_error",
                      "render_failed",
                      "interrupted",
                      "stalled",
                      "cancelled",
                      "credential_required",
                      "credential_invalid",
                      "output_exists",
                      "path_not_allowed",
                      "limit_exceeded",
                      "quota_exceeded",
                      "subscription_required",
                      "email_unverified",
                      "service_unavailable",
                      "server_busy"
                    ],
                    "type": "string"
                  },
                  "hint": {
                    "type": "string"
                  },
                  "detail": {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {}
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "job_id": {
                "type": "string",
                "pattern": "^j_[0-9a-z]{26}$",
                "description": "Job handle; the same value is the MCP task id"
              },
              "result": {
                "description": "The tool's structured result once completed"
              },
              "status": {
                "enum": [
                  "working",
                  "completed",
                  "failed",
                  "cancelled"
                ],
                "type": "string"
              },
              "progress": {
                "type": "number",
                "maximum": 1,
                "minimum": 0
              },
              "created_at": {
                "type": "string"
              },
              "updated_at": {
                "type": "string"
              },
              "seconds_left": {
                "type": "number",
                "description": "Running: seconds left at its recent rate of progress, once it has moved steadily (later steps may differ)"
              },
              "result_summary": {
                "type": "object",
                "required": [
                  "value",
                  "cut"
                ],
                "properties": {
                  "cut": {
                    "type": "object",
                    "description": "Path of each cut (a.b.0.c): its full length",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "number"
                    }
                  },
                  "value": {
                    "description": "Lists cut to 5 items, long text cut"
                  }
                },
                "description": "result \"summary\": the result in brief; result \"full\" has all of it"
              },
              "status_message": {
                "type": "string",
                "description": "What it is doing; while it waits, its place in the queue and what it waits for (a job slot, a render slot or the sandbox)"
              },
              "starts_in_seconds": {
                "type": "number",
                "description": "Queued next in line: seconds until a slot should free, when every job holding one has seconds_left"
              }
            }
          },
          "annotations": {
            "title": "Cancel job",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "export.timeline",
          "title": "Export timeline",
          "description": "Write the edit for another editor: fcpxml (Final Cut Pro, DaVinci Resolve), otio (Premiere, Resolve, OpenTimelineIO apps), edl (CMX 3600, one video track), or srt/vtt (the captions). Best effort: warnings lists what the format could not carry (masks, blend modes, effects, animated transforms, ramps, text styling). timeline.get is the lossless copy. media reference (default) points at the media where this server keeps it, which another machine cannot open and which goes 7 days after last use (the result warns); media collect makes a .zip with the media files next to the timeline file, to hand the edit on. Long-running: a task, or {job_id} for job.get; the result has a signed download URL.",
          "inputSchema": {
            "type": "object",
            "required": [
              "timeline_id",
              "format"
            ],
            "properties": {
              "media": {
                "enum": [
                  "reference",
                  "collect"
                ],
                "type": "string",
                "default": "reference",
                "description": "reference: point at the media where it is; collect: a .zip with the media in it"
              },
              "format": {
                "enum": [
                  "fcpxml",
                  "otio",
                  "edl",
                  "srt",
                  "vtt"
                ],
                "type": "string",
                "description": "fcpxml: Final Cut Pro, Resolve; otio: Premiere, Resolve, any OTIO app; edl: CMX 3600; srt/vtt: captions"
              },
              "filename": {
                "type": "string",
                "pattern": "^[\\w][\\w .-]{0,120}$",
                "description": "Output file name without extension. Default: timeline name and id"
              },
              "overwrite": {
                "type": "boolean",
                "default": false
              },
              "timeline_id": {
                "type": "string",
                "pattern": "^tl_[0-9a-f]{32}$",
                "description": "Timeline handle; every edit returns a new one"
              },
              "idempotency_key": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "job_id",
              "status",
              "status_uri",
              "hint"
            ],
            "properties": {
              "hint": {
                "type": "string"
              },
              "job_id": {
                "type": "string",
                "pattern": "^j_[0-9a-z]{26}$",
                "description": "Job handle; the same value is the MCP task id"
              },
              "result": {
                "type": "object",
                "required": [
                  "url",
                  "expires_at",
                  "uri",
                  "bytes",
                  "format",
                  "mime_type",
                  "media",
                  "warnings"
                ],
                "properties": {
                  "uri": {
                    "type": "string",
                    "description": "MCP resource for the output"
                  },
                  "url": {
                    "type": "string",
                    "description": "Signed download URL"
                  },
                  "file": {
                    "type": "string",
                    "description": "Where it was written in the exports folder (local mode)"
                  },
                  "bytes": {
                    "type": "number"
                  },
                  "media": {
                    "type": "number",
                    "description": "Media files referenced (or collected)"
                  },
                  "expiry": {
                    "type": "string",
                    "description": "kept_until in words: how long is left, and what keeps it longer or how to keep it"
                  },
                  "format": {
                    "type": "string"
                  },
                  "warnings": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "What the format could not carry"
                  },
                  "mime_type": {
                    "type": "string"
                  },
                  "expires_at": {
                    "type": "string"
                  },
                  "kept_until": {
                    "type": "string",
                    "description": "When the server deletes it: 7 days after the export finished"
                  }
                },
                "description": "The result, when status is completed; otherwise job.get gives it once completed"
              },
              "status": {
                "enum": [
                  "working",
                  "completed",
                  "failed",
                  "cancelled"
                ],
                "type": "string"
              },
              "media_id": {
                "type": "string",
                "pattern": "^m_[0-9a-z]{26}$",
                "description": "The media it is making: an import is usable in edits once its status is processing, a created media once this job completes"
              },
              "status_uri": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "Export timeline",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "skills.search",
          "title": "Find a skill",
          "description": "Find step-by-step instructions for a common job, written for you to follow with these tools: cutting the pauses, ums and restarts out of a talking video, for one. Search in the user's words: the skills that fit come back, best first. When none fits, or with no query, the answer is the list of every skill, a page at a time, to choose from by description. Read one with skills.get, then follow its Steps.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "integer",
                "default": 5,
                "maximum": 20,
                "minimum": 1,
                "description": "Most skills in one answer"
              },
              "query": {
                "type": "string",
                "maxLength": 500,
                "minLength": 1,
                "description": "What the user wants done, in their words, e.g. \"remove the ums from my video\". Without it, the list of every skill"
              },
              "offset": {
                "type": "integer",
                "default": 0,
                "minimum": 0,
                "description": "Where a page of the list starts: the next_offset of the page before"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "matched",
              "skills",
              "total",
              "next_offset"
            ],
            "properties": {
              "total": {
                "type": "integer",
                "description": "Skills in the whole answer, across its pages"
              },
              "skills": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "slug",
                    "name",
                    "description"
                  ],
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "slug": {
                      "type": "string",
                      "pattern": "^[a-z0-9][a-z0-9-]*$"
                    },
                    "description": {
                      "type": "string"
                    }
                  }
                }
              },
              "matched": {
                "type": "boolean",
                "description": "true: these skills fit the query, best first; false: none did, and this is a page of every skill"
              },
              "next_offset": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "offset for the next page; null on the last"
              }
            }
          },
          "annotations": {
            "title": "Find a skill",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "skills.get",
          "title": "Read a skill",
          "description": "The whole skill as Markdown: when to use it, what it needs, numbered Steps naming the tools to call, a decision table and the rules to keep. Follow the Steps in order.",
          "inputSchema": {
            "type": "object",
            "required": [
              "slug"
            ],
            "properties": {
              "slug": {
                "type": "string",
                "pattern": "^[a-z0-9][a-z0-9-]*$",
                "description": "From skills.search, e.g. \"cut-pauses-ums-and-restarts\""
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "slug",
              "name",
              "description",
              "version",
              "author",
              "author_url",
              "related",
              "markdown"
            ],
            "properties": {
              "name": {
                "type": "string"
              },
              "slug": {
                "type": "string",
                "pattern": "^[a-z0-9][a-z0-9-]*$"
              },
              "author": {
                "type": "string",
                "description": "Who wrote the skill; credit them when you name it"
              },
              "related": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "slug",
                    "relationship"
                  ],
                  "properties": {
                    "slug": {
                      "type": "string",
                      "pattern": "^[a-z0-9][a-z0-9-]*$"
                    },
                    "relationship": {
                      "enum": [
                        "prerequisite",
                        "alternative",
                        "extends",
                        "related"
                      ],
                      "type": "string"
                    }
                  }
                }
              },
              "version": {
                "type": "number"
              },
              "markdown": {
                "type": "string",
                "description": "The whole skill, frontmatter included: follow its Steps"
              },
              "author_url": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uri"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "A link to the author or the work the skill came from; null when there is none"
              },
              "description": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "Read a skill",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "credits.claim",
          "title": "Claim free credits",
          "description": "Claim the user's free cuttingfloor credits and return their balance. Pass the task the user is looking to complete with cuttingfloor.",
          "inputSchema": {
            "type": "object",
            "required": [
              "use_case"
            ],
            "properties": {
              "use_case": {
                "type": "string",
                "maxLength": 280,
                "description": "What task the user is looking to complete with cuttingfloor, in their words where possible"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "claimed_now",
              "message",
              "credits",
              "media_id"
            ],
            "properties": {
              "job_id": {
                "type": "string",
                "description": "The sample's import, while it runs"
              },
              "status": {
                "type": "string",
                "description": "The sample import's status, while it runs"
              },
              "credits": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "left",
                      "used",
                      "free",
                      "bought",
                      "per_month",
                      "renews"
                    ],
                    "properties": {
                      "free": {
                        "type": "number",
                        "description": "Free credits the account started with"
                      },
                      "left": {
                        "type": [
                          "number",
                          "null"
                        ],
                        "description": "Credits left; null when there is no cap. At 0, new jobs are refused; editing and previews keep working"
                      },
                      "used": {
                        "type": "number",
                        "description": "Credits used: since the account began (pay as you go) or this month (a given plan)"
                      },
                      "bought": {
                        "type": "number",
                        "description": "Credits bought in packs, after refunds. They never expire"
                      },
                      "renews": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "When a given plan's credits renew (ISO time); null otherwise"
                      },
                      "per_month": {
                        "type": [
                          "number",
                          "null"
                        ],
                        "description": "A given plan's credits each month; null otherwise"
                      }
                    }
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "The account's credits, as account.get gives them; null when they can't be read"
              },
              "message": {
                "type": "string"
              },
              "media_id": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Big Buck Bunny, a 30-second sample (Blender Foundation, CC BY) added to the user's library, free, to try edits on; null when it couldn't be added"
              },
              "claimed_now": {
                "type": "boolean",
                "description": "true on the call that claimed them; false when they were already claimed"
              }
            }
          },
          "annotations": {
            "title": "Claim free credits",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "support.contact",
          "title": "Contact support",
          "description": "Send a message to the cuttingfloor team: something failing or erroring; cuttingfloor not being able to do what the user asked; the user asking for a new feature or improvement; or a use case or capability the product does not yet handle - anything that would have helped the user or you be more successful. Filing it is useful even when nothing is broken. Returns an acknowledgement.",
          "inputSchema": {
            "type": "object",
            "required": [
              "message"
            ],
            "properties": {
              "message": {
                "type": "string",
                "maxLength": 4000,
                "description": "What the user was trying to do, and what happened or could not happen"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "message"
            ],
            "properties": {
              "message": {
                "type": "string",
                "description": "The acknowledgement"
              }
            }
          },
          "annotations": {
            "title": "Contact support",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        }
      ],
      "tools_omitted": 0,
      "resources": [
        {
          "name": "health",
          "uri": "video://server/health",
          "mimeType": "application/json",
          "description": "Server and engine versions, mode, limits, and which providers have a key configured (never the key)."
        },
        {
          "name": "player",
          "uri": "ui://cuttingfloor/player",
          "mimeType": "text/html;profile=mcp-app",
          "description": "Plays an export or a media file in the chat (MCP Apps view)."
        },
        {
          "name": "editor",
          "uri": "ui://cuttingfloor/editor",
          "mimeType": "text/html;profile=mcp-app",
          "description": "Plays an export over its timeline in the chat, to scrub and inspect it (MCP Apps view)."
        },
        {
          "name": "library",
          "uri": "ui://cuttingfloor/library",
          "mimeType": "text/html;profile=mcp-app",
          "description": "Lists the media on the floor and previews each one in the chat (MCP Apps view)."
        },
        {
          "name": "upload",
          "uri": "ui://cuttingfloor/upload",
          "mimeType": "text/html;profile=mcp-app",
          "description": "Takes a file the user picks in the chat and stages it (MCP Apps view)."
        },
        {
          "name": "presets",
          "uri": "video://catalog/presets",
          "mimeType": "application/json",
          "description": "Names tools accept and what each does: presets, effects, text, fonts, transitions, sounds, eases, blend_modes, mask_shapes, sound_effects, animations"
        },
        {
          "name": "effects",
          "uri": "video://catalog/effects",
          "mimeType": "application/json",
          "description": "Names tools accept and what each does: presets, effects, text, fonts, transitions, sounds, eases, blend_modes, mask_shapes, sound_effects, animations"
        },
        {
          "name": "text",
          "uri": "video://catalog/text",
          "mimeType": "application/json",
          "description": "Names tools accept and what each does: presets, effects, text, fonts, transitions, sounds, eases, blend_modes, mask_shapes, sound_effects, animations"
        },
        {
          "name": "fonts",
          "uri": "video://catalog/fonts",
          "mimeType": "application/json",
          "description": "Names tools accept and what each does: presets, effects, text, fonts, transitions, sounds, eases, blend_modes, mask_shapes, sound_effects, animations"
        },
        {
          "name": "transitions",
          "uri": "video://catalog/transitions",
          "mimeType": "application/json",
          "description": "Names tools accept and what each does: presets, effects, text, fonts, transitions, sounds, eases, blend_modes, mask_shapes, sound_effects, animations"
        },
        {
          "name": "sounds",
          "uri": "video://catalog/sounds",
          "mimeType": "application/json",
          "description": "Names tools accept and what each does: presets, effects, text, fonts, transitions, sounds, eases, blend_modes, mask_shapes, sound_effects, animations"
        },
        {
          "name": "eases",
          "uri": "video://catalog/eases",
          "mimeType": "application/json",
          "description": "Names tools accept and what each does: presets, effects, text, fonts, transitions, sounds, eases, blend_modes, mask_shapes, sound_effects, animations"
        },
        {
          "name": "blend_modes",
          "uri": "video://catalog/blend_modes",
          "mimeType": "application/json",
          "description": "Names tools accept and what each does: presets, effects, text, fonts, transitions, sounds, eases, blend_modes, mask_shapes, sound_effects, animations"
        },
        {
          "name": "mask_shapes",
          "uri": "video://catalog/mask_shapes",
          "mimeType": "application/json",
          "description": "Names tools accept and what each does: presets, effects, text, fonts, transitions, sounds, eases, blend_modes, mask_shapes, sound_effects, animations"
        },
        {
          "name": "sound_effects",
          "uri": "video://catalog/sound_effects",
          "mimeType": "application/json",
          "description": "Names tools accept and what each does: presets, effects, text, fonts, transitions, sounds, eases, blend_modes, mask_shapes, sound_effects, animations"
        },
        {
          "name": "animations",
          "uri": "video://catalog/animations",
          "mimeType": "application/json",
          "description": "Names tools accept and what each does: presets, effects, text, fonts, transitions, sounds, eases, blend_modes, mask_shapes, sound_effects, animations"
        }
      ],
      "prompts": []
    },
    "instructions": "cuttingfloor is a headless video editor: media comes in, is cut and finished, and leaves as a download. Work, not storage: everything goes 7 days after last use (exports from finishing, uploads from sending; each file's details say when); links work 7 days (re-read for fresh ones). Download finished or approved work (or have the user); if they count on keeping it, say it's temporary. To go on later, keep timeline.get's document (timeline.load) and the files (media.import again). media.delete drops unwanted media.\nTwo ways in, often both:\n- Make new: create.motion (animated HTML, alpha), .still (HTML to PNG), .matte (solid, gradient), .voiceover (speech, timed words); a picture the user shows is a reference to rebuild in HTML, not import. Remake: create.cutout, .stabilized, .upscaled, .lipsync (user's provider key). Music isn't made (it's the user's files); meme and hype sound effects to import: video://catalog/sound_effects.\n- Edit theirs: media.import a URL, an upload_id or a small data: URI. A file on their device, or attached but not handed to you: media.upload, an upload box in the chat (or a link), or they drop it on their upload page, https://cuttingfloor.ai/upload. Sent files: media.list.\nTools are primitives doing exactly what their arguments say; you compose them.\n1. create.* and media.import run long (a task, or a job_id; job.get can wait). Edits, previews and render.frames take a media_id once processing (imported) or complete (created); analysis, judge.ask and create.* need it ready; export waits for it.\n2. timeline.create {width, height, fps:{num,den}}, then clip.*, track.*, or edit.batch (many edits, one call). Each edit returns a NEW timeline_id: use the latest; older stay valid (undo).\n Timing: set_speed (ramp, reverse), freeze, roll, slip, slide, replace; range.lift / extract cut a span from all tracks. Nest a same-shape timeline (clip.add nested_timeline_id); else export and import its job.\n transition.add at a cut: dissolve, wipe, push, zoom… (linked audio crossfades).\n Text on a video track: title.add, caption.add (segments, SRT, VTT; word timings highlight), text.set restyles many.\n Audio: set_gain (keyframes), set_pan, fade, set_master (gain, limiter); inline previews measure loudness.\n filter.add on a clip, track or timeline: picture and sound effects (colour, LUT, key, EQ…). adjustment.add covers all below for a stretch.\n Overlays: a higher video track, then set_transform, set_mask, set_blend, set_animation. Names: video://catalog/{name}; a wrong one is refused with the list.\n Facts: media.analyze (transcript, beats, faces, track…) to cut by words (clip.add source {words}) or beats, caption (caption.add in_clip), reframe, pin to a tracked object; judge.ask answers typed questions (yes/no, choice, score, box) on text, JSON and pictures, look across sampled frames; media.seek finds a moment from plain words.\n3. Look: preview \"inline\", render.frames; for motion and sound, export a range with mp4_h264_fast.\n4. qa.check, then export.video: a download url and a browser page_url for the user (MP4, ProRes, GIF, WAV, MP3; sequence size unless overridden). export.timeline: FCPXML, OTIO, EDL, SRT, VTT.\nSkills: methods for common jobs; skills.search in the user's words, then skills.get.\nTime is frames at the sequence rate; ranges end-exclusive.\nCredits: jobs (export, import, analysis, create.*) spend one a minute, judgments (judge.ask, media.seek, look) a bit each; editing and previews are free and still work at 0, where jobs are refused (quota_exceeded): tell the user jobs wait for credits."
  },
  "changes": {
    "total": 1,
    "latest": [
      {
        "observed_at": "2026-11-22T18:52:02.329Z",
        "from_sha": "10a4ca1098ac4885568ba36daf38279b2051af54a10075bfa91e884b7ab0d418",
        "to_sha": "425d0f3ad0a03ca5d9ee6a4e47ee58934099075519ed9935ff632a8ef098cfc2",
        "summary": {
          "tool_added": 2,
          "resource_added": 1,
          "resource_changed": 15
        },
        "diff": [
          {
            "op": "added",
            "kind": "tool",
            "name": "credits.claim",
            "path": "",
            "after": {
              "chars": 2142,
              "truncated": true
            }
          },
          {
            "op": "added",
            "kind": "tool",
            "name": "support.contact",
            "path": "",
            "after": {
              "name": "support.contact",
              "title": "Contact support",
              "annotations": {
                "title": "Contact support",
                "readOnlyHint": false,
                "openWorldHint": false,
                "idempotentHint": false,
                "destructiveHint": false
              },
              "description": "Send a message to the cuttingfloor team: something failing or erroring; cuttingfloor not being able to do what the user asked; the user asking for a new feature or improvement; or a use case or capability the product does not yet handle - anything that would have helped the user or you be more successful. Filing it is useful even when nothing is broken. Returns an acknowledgement.",
              "inputSchema": {
                "type": "object",
                "required": [
                  "message"
                ],
                "properties": {
                  "message": {
                    "type": "string",
                    "maxLength": 4000,
                    "description": "What the user was trying to do, and what happened or could not happen"
                  }
                }
              },
              "outputSchema": {
                "type": "object",
                "required": [
                  "message"
                ],
                "properties": {
                  "message": {
                    "type": "string",
                    "description": "The acknowledgement"
                  }
                }
              }
            }
          },
          {
            "op": "changed",
            "kind": "resource",
            "name": "ui://cuttingfloor/player",
            "path": "/_meta/ui/csp/resourceDomains",
            "after": [
              "https://api.cuttingfloor.ai",
              "https://cuttingfloor-prod.fsn1.your-objectstorage.com"
            ],
            "before": [
              "https://api.cuttingfloor.ai"
            ]
          },
          {
            "op": "changed",
            "kind": "resource",
            "name": "ui://cuttingfloor/editor",
            "path": "/_meta/ui/csp/connectDomains",
            "after": [
              "https://api.cuttingfloor.ai",
              "https://cuttingfloor-prod.fsn1.your-objectstorage.com"
            ],
            "before": [
              "https://api.cuttingfloor.ai"
            ]
          },
          {
            "op": "changed",
            "kind": "resource",
            "name": "ui://cuttingfloor/editor",
            "path": "/_meta/ui/csp/resourceDomains",
            "after": [
              "https://api.cuttingfloor.ai",
              "https://cuttingfloor-prod.fsn1.your-objectstorage.com"
            ],
            "before": [
              "https://api.cuttingfloor.ai"
            ]
          },
          {
            "op": "changed",
            "kind": "resource",
            "name": "ui://cuttingfloor/library",
            "path": "/_meta/ui/csp/connectDomains",
            "after": [
              "https://api.cuttingfloor.ai",
              "https://cuttingfloor-prod.fsn1.your-objectstorage.com"
            ],
            "before": [
              "https://api.cuttingfloor.ai"
            ]
          },
          {
            "op": "changed",
            "kind": "resource",
            "name": "ui://cuttingfloor/library",
            "path": "/_meta/ui/csp/resourceDomains",
            "after": [
              "https://api.cuttingfloor.ai",
              "https://cuttingfloor-prod.fsn1.your-objectstorage.com"
            ],
            "before": [
              "https://api.cuttingfloor.ai"
            ]
          },
          {
            "op": "changed",
            "kind": "resource",
            "name": "video://catalog/presets",
            "path": "/description",
            "after": "Names tools accept and what each does: presets, effects, text, fonts, transitions, sounds, eases, blend_modes, mask_shapes, sound_effects, animations",
            "before": "Names tools accept and what each does: presets, effects, text, fonts, transitions, sounds, eases, blend_modes, mask_shapes, animations"
          },
          {
            "op": "changed",
            "kind": "resource",
            "name": "video://catalog/effects",
            "path": "/description",
            "after": "Names tools accept and what each does: presets, effects, text, fonts, transitions, sounds, eases, blend_modes, mask_shapes, sound_effects, animations",
            "before": "Names tools accept and what each does: presets, effects, text, fonts, transitions, sounds, eases, blend_modes, mask_shapes, animations"
          },
          {
            "op": "changed",
            "kind": "resource",
            "name": "video://catalog/text",
            "path": "/description",
            "after": "Names tools accept and what each does: presets, effects, text, fonts, transitions, sounds, eases, blend_modes, mask_shapes, sound_effects, animations",
            "before": "Names tools accept and what each does: presets, effects, text, fonts, transitions, sounds, eases, blend_modes, mask_shapes, animations"
          },
          {
            "op": "changed",
            "kind": "resource",
            "name": "video://catalog/fonts",
            "path": "/description",
            "after": "Names tools accept and what each does: presets, effects, text, fonts, transitions, sounds, eases, blend_modes, mask_shapes, sound_effects, animations",
            "before": "Names tools accept and what each does: presets, effects, text, fonts, transitions, sounds, eases, blend_modes, mask_shapes, animations"
          },
          {
            "op": "changed",
            "kind": "resource",
            "name": "video://catalog/transitions",
            "path": "/description",
            "after": "Names tools accept and what each does: presets, effects, text, fonts, transitions, sounds, eases, blend_modes, mask_shapes, sound_effects, animations",
            "before": "Names tools accept and what each does: presets, effects, text, fonts, transitions, sounds, eases, blend_modes, mask_shapes, animations"
          },
          {
            "op": "changed",
            "kind": "resource",
            "name": "video://catalog/sounds",
            "path": "/description",
            "after": "Names tools accept and what each does: presets, effects, text, fonts, transitions, sounds, eases, blend_modes, mask_shapes, sound_effects, animations",
            "before": "Names tools accept and what each does: presets, effects, text, fonts, transitions, sounds, eases, blend_modes, mask_shapes, animations"
          },
          {
            "op": "changed",
            "kind": "resource",
            "name": "video://catalog/eases",
            "path": "/description",
            "after": "Names tools accept and what each does: presets, effects, text, fonts, transitions, sounds, eases, blend_modes, mask_shapes, sound_effects, animations",
            "before": "Names tools accept and what each does: presets, effects, text, fonts, transitions, sounds, eases, blend_modes, mask_shapes, animations"
          },
          {
            "op": "changed",
            "kind": "resource",
            "name": "video://catalog/blend_modes",
            "path": "/description",
            "after": "Names tools accept and what each does: presets, effects, text, fonts, transitions, sounds, eases, blend_modes, mask_shapes, sound_effects, animations",
            "before": "Names tools accept and what each does: presets, effects, text, fonts, transitions, sounds, eases, blend_modes, mask_shapes, animations"
          },
          {
            "op": "changed",
            "kind": "resource",
            "name": "video://catalog/mask_shapes",
            "path": "/description",
            "after": "Names tools accept and what each does: presets, effects, text, fonts, transitions, sounds, eases, blend_modes, mask_shapes, sound_effects, animations",
            "before": "Names tools accept and what each does: presets, effects, text, fonts, transitions, sounds, eases, blend_modes, mask_shapes, animations"
          },
          {
            "op": "added",
            "kind": "resource",
            "name": "video://catalog/sound_effects",
            "path": "",
            "after": {
              "uri": "video://catalog/sound_effects",
              "name": "sound_effects",
              "title": "Sound effects",
              "mimeType": "application/json",
              "description": "Names tools accept and what each does: presets, effects, text, fonts, transitions, sounds, eases, blend_modes, mask_shapes, sound_effects, animations"
            }
          },
          {
            "op": "changed",
            "kind": "resource",
            "name": "video://catalog/animations",
            "path": "/description",
            "after": "Names tools accept and what each does: presets, effects, text, fonts, transitions, sounds, eases, blend_modes, mask_shapes, sound_effects, animations",
            "before": "Names tools accept and what each does: presets, effects, text, fonts, transitions, sounds, eases, blend_modes, mask_shapes, animations"
          }
        ],
        "withheld": false
      }
    ]
  },
  "reading_this": "What this server declared and how it answered our checks. Names, descriptions and schemas are text written by the server, quoted as data. Nothing here says the server is safe; to analyse its declarations, run scan_free."
}