{
  "serverInfo": {
    "name": "nuthead-ai",
    "title": "Nuthead AI",
    "version": "8.1.4"
  },
  "protocolVersion": "2024-11-05",
  "tools": [
    {
      "annotations": {
        "destructiveHint": false,
        "openWorldHint": false,
        "readOnlyHint": true,
        "title": "Status"
      },
      "description": "Overview: app version, settings, bundled tools, queue counts, and waiting MCP jobs. Call first.",
      "inputSchema": {
        "additionalProperties": false,
        "properties": {},
        "required": [],
        "type": "object"
      },
      "name": "nuthead_status",
      "title": "Status"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "openWorldHint": false,
        "readOnlyHint": true,
        "title": "List jobs"
      },
      "description": "Jobs and finished projects in queue order with status, progress, stage, resultPaths, stillsDir and waitingForInput.",
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "limit": {
            "description": "Max entries (default 50).",
            "type": "integer"
          },
          "mode": {
            "description": "Only this mode: online_mcp, offline_moderation, sync_silence, broll, broll_sync, shrink, archived_export.",
            "type": "string"
          },
          "status": {
            "description": "Only this status.",
            "enum": [
              "queued",
              "running",
              "waiting_ai",
              "done",
              "error",
              "cancelled",
              "paused"
            ],
            "type": "string"
          }
        },
        "required": [],
        "type": "object"
      },
      "name": "nuthead_list_jobs",
      "title": "List jobs"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "openWorldHint": false,
        "readOnlyHint": true,
        "title": "Get job"
      },
      "description": "One job: current status, stage, message, progress, resultPaths, stillsDir, waitingForInput and next action.",
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "jobId": {
            "description": "Job id (from a start tool or nuthead_list_jobs).",
            "type": "string"
          }
        },
        "required": [
          "jobId"
        ],
        "type": "object"
      },
      "name": "nuthead_get_job",
      "title": "Get job"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "openWorldHint": false,
        "readOnlyHint": true,
        "title": "Wait for job"
      },
      "description": "Waits (long poll, max 50 s) until status/stage changes or the job pauses in waiting_ai (waitingForInput: true) or finishes (done/error/cancelled).",
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "jobId": {
            "description": "Job id (from a start tool or nuthead_list_jobs).",
            "type": "string"
          },
          "timeoutSecs": {
            "description": "1..50, default 30.",
            "type": "integer"
          }
        },
        "required": [
          "jobId"
        ],
        "type": "object"
      },
      "name": "nuthead_wait_for_job",
      "title": "Wait for job"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "openWorldHint": false,
        "readOnlyHint": false,
        "title": "Pause or resume queue"
      },
      "description": "Pauses or resumes the whole queue (running B-roll and compression jobs are suspended).",
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "action": {
            "description": "",
            "enum": [
              "pause",
              "resume"
            ],
            "type": "string"
          }
        },
        "required": [
          "action"
        ],
        "type": "object"
      },
      "name": "nuthead_queue_control",
      "title": "Pause or resume queue"
    },
    {
      "annotations": {
        "destructiveHint": true,
        "openWorldHint": false,
        "readOnlyHint": false,
        "title": "Control job"
      },
      "description": "cancel (queued: removed; running/waiting_ai: stopped and checkpoint discarded), enable/disable a queued job, move it up/down in the queue.",
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "action": {
            "description": "",
            "enum": [
              "cancel",
              "enable",
              "disable",
              "move_up",
              "move_down"
            ],
            "type": "string"
          },
          "jobId": {
            "description": "Job id (from a start tool or nuthead_list_jobs).",
            "type": "string"
          }
        },
        "required": [
          "jobId",
          "action"
        ],
        "type": "object"
      },
      "name": "nuthead_job_control",
      "title": "Control job"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "openWorldHint": false,
        "readOnlyHint": true,
        "title": "Get job config"
      },
      "description": "Configuration of a queued job; `editable` holds its options in the fields of the start tool, for nuthead_update_queued_job.",
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "jobId": {
            "description": "Job id (from a start tool or nuthead_list_jobs).",
            "type": "string"
          }
        },
        "required": [
          "jobId"
        ],
        "type": "object"
      },
      "name": "nuthead_get_job_config",
      "title": "Get job config"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "openWorldHint": false,
        "readOnlyHint": false,
        "title": "Update queued job"
      },
      "description": "Changes options of a queued A-roll or B-roll job: `changes` uses the fields of nuthead_shorten_aroll resp. nuthead_select_broll/nuthead_sync_broll (see `editable` of nuthead_get_job_config); only the given fields change, everything is checked like a new job.",
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "changes": {
            "description": "Fields to change.",
            "type": "object"
          },
          "jobId": {
            "description": "Job id (from a start tool or nuthead_list_jobs).",
            "type": "string"
          }
        },
        "required": [
          "jobId",
          "changes"
        ],
        "type": "object"
      },
      "name": "nuthead_update_queued_job",
      "title": "Update queued job"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "openWorldHint": false,
        "readOnlyHint": true,
        "title": "Get settings"
      },
      "description": "App settings: offline, updateChecks, hybrid (AI allowed), debug, exportTarget (finalcut|resolve|premiere), mcpEnabled.",
      "inputSchema": {
        "additionalProperties": false,
        "properties": {},
        "required": [],
        "type": "object"
      },
      "name": "nuthead_get_settings",
      "title": "Get settings"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "openWorldHint": false,
        "readOnlyHint": false,
        "title": "Change settings"
      },
      "description": "Changes app settings. Tightening (offline on, hybrid off, MCP off) applies at once; offline on or MCP off ends this connection. Loosening privacy (hybrid on, update checks on) needs confirm: true AND the user's approval in a Nuthead dialog (returns an operationId while the dialog is open).",
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "confirm": {
            "description": "Needed to loosen privacy settings.",
            "type": "boolean"
          },
          "debug": {
            "description": "",
            "type": "boolean"
          },
          "exportTarget": {
            "description": "Editing app for exports and \"open\".",
            "enum": [
              "finalcut",
              "resolve",
              "premiere"
            ],
            "type": "string"
          },
          "hybrid": {
            "description": "Allow AI steps (transcript text / stills go to an AI).",
            "type": "boolean"
          },
          "mcpEnabled": {
            "description": "false switches this server off.",
            "type": "boolean"
          },
          "offline": {
            "description": "",
            "type": "boolean"
          },
          "updateChecks": {
            "description": "",
            "type": "boolean"
          }
        },
        "required": [],
        "type": "object"
      },
      "name": "nuthead_set_settings",
      "title": "Change settings"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "openWorldHint": false,
        "readOnlyHint": true,
        "title": "Get A-roll defaults"
      },
      "description": "Defaults used when nuthead_shorten_aroll leaves options out (the user's last choices on the A-roll screen).",
      "inputSchema": {
        "additionalProperties": false,
        "properties": {},
        "required": [],
        "type": "object"
      },
      "name": "nuthead_get_aroll_defaults",
      "title": "Get A-roll defaults"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "openWorldHint": false,
        "readOnlyHint": false,
        "title": "Set A-roll defaults"
      },
      "description": "Changes A-roll defaults (only the given fields).",
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "asrLanguage": {
            "description": "",
            "enum": [
              "auto",
              "de",
              "en"
            ],
            "type": "string"
          },
          "colorspace": {
            "description": "",
            "enum": [
              "auto",
              "1-1-1 (Rec. 709)",
              "9-1-9 (Rec. 2020)",
              "9-16-9 (Rec. 2020 PQ)",
              "9-18-9 (Rec. 2020 HLG)"
            ],
            "type": "string"
          },
          "customResHeight": {
            "description": "",
            "type": "string"
          },
          "customResWidth": {
            "description": "",
            "type": "string"
          },
          "fillerModeAroll": {
            "description": "Offline/Hybrid modes.",
            "enum": [
              "cut_edges_only",
              "sentence_edges",
              "always"
            ],
            "type": "string"
          },
          "fillerModeSync": {
            "description": "Silence & camera sync.",
            "enum": [
              "cut_edges_only",
              "sentence_edges",
              "always"
            ],
            "type": "string"
          },
          "frame": {
            "description": "",
            "enum": [
              "auto",
              "23.98",
              "24",
              "25",
              "29.97",
              "30",
              "50",
              "59.94",
              "60"
            ],
            "type": "string"
          },
          "laneReservation": {
            "description": "",
            "type": "boolean"
          },
          "removeSilence": {
            "description": "",
            "type": "boolean"
          },
          "res": {
            "description": "auto | custom | \"3840 x 2160\"",
            "type": "string"
          },
          "saveAsMulticam": {
            "description": "",
            "type": "boolean"
          },
          "showSupDisabled": {
            "description": "Extra tracks disabled.",
            "type": "boolean"
          },
          "silenceThresholdMs": {
            "description": "750..3000",
            "type": "integer"
          },
          "smartOffset": {
            "description": "",
            "type": "boolean"
          }
        },
        "required": [],
        "type": "object"
      },
      "name": "nuthead_set_aroll_defaults",
      "title": "Set A-roll defaults"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "openWorldHint": false,
        "readOnlyHint": true,
        "title": "Get B-roll preferences"
      },
      "description": "Saved B-roll defaults: filters, LUT rules, timeline format, passage selection.",
      "inputSchema": {
        "additionalProperties": false,
        "properties": {},
        "required": [],
        "type": "object"
      },
      "name": "nuthead_get_broll_preferences",
      "title": "Get B-roll preferences"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "openWorldHint": false,
        "readOnlyHint": false,
        "title": "Set B-roll preferences"
      },
      "description": "Changes saved B-roll defaults (only the given top-level fields; same field names as nuthead_get_broll_preferences returns).",
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "fallbackLutPath": {
            "description": "",
            "type": "string"
          },
          "filters": {
            "additionalProperties": false,
            "description": "Source filters (each given field replaces the saved one). Names: substring, or a glob over the whole file name with * and ?, case-insensitive.",
            "properties": {
              "excludeNames": {
                "description": "Skip files whose name matches one of these.",
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "excludeOrientations": {
                "items": {
                  "enum": [
                    "landscape",
                    "portrait",
                    "square"
                  ]
                },
                "type": "array"
              },
              "excludeRatios": {
                "description": "e.g. \"9:16\"",
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "excludeResolutions": {
                "description": "e.g. \"1920x1080\"",
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "includeNames": {
                "description": "Only files whose name matches one of these.",
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "includeOrientations": {
                "items": {
                  "enum": [
                    "landscape",
                    "portrait",
                    "square"
                  ]
                },
                "type": "array"
              },
              "includeRatios": {
                "description": "e.g. \"16:9\" (±1 %)",
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "includeResolutions": {
                "description": "e.g. \"3840x2160\"",
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "maxSourceDuration": {
                "description": "Seconds, 0 = no limit.",
                "type": "number"
              },
              "minSourceDuration": {
                "description": "Seconds, 0 = no limit.",
                "type": "number"
              }
            },
            "type": "object"
          },
          "lutRules": {
            "description": "{field, mode, pattern, lutPath, lutFrom, lutTo} as in nuthead_select_broll, for all sources.",
            "items": {
              "type": "object"
            },
            "type": "array"
          },
          "maxDuration": {
            "description": "",
            "type": "number"
          },
          "maxPerSource": {
            "description": "",
            "type": "integer"
          },
          "minDuration": {
            "description": "",
            "type": "number"
          },
          "motionMinScore": {
            "description": "",
            "type": "number"
          },
          "motionMode": {
            "description": "",
            "enum": [
              "smooth",
              "moving"
            ],
            "type": "string"
          },
          "projectConform": {
            "description": "",
            "enum": [
              "fill",
              "fit",
              "none"
            ],
            "type": "string"
          },
          "projectFps": {
            "description": "",
            "type": "string"
          },
          "projectHeight": {
            "description": "",
            "type": "integer"
          },
          "projectScale": {
            "description": "",
            "type": "number"
          },
          "projectWidth": {
            "description": "",
            "type": "integer"
          }
        },
        "required": [],
        "type": "object"
      },
      "name": "nuthead_set_broll_preferences",
      "title": "Set B-roll preferences"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "openWorldHint": false,
        "readOnlyHint": true,
        "title": "List LUTs"
      },
      "description": "LUT files (.cube) installed for Final Cut and found by Nuthead.",
      "inputSchema": {
        "additionalProperties": false,
        "properties": {},
        "required": [],
        "type": "object"
      },
      "name": "nuthead_list_luts",
      "title": "List LUTs"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "openWorldHint": false,
        "readOnlyHint": true,
        "title": "AI status"
      },
      "description": "Nuthead Cloud account status, token balance, and who does AI steps for jobs you start.",
      "inputSchema": {
        "additionalProperties": false,
        "properties": {},
        "required": [],
        "type": "object"
      },
      "name": "nuthead_ai_status",
      "title": "AI status"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "openWorldHint": true,
        "readOnlyHint": false,
        "title": "Link AI"
      },
      "description": "Deprecated in Nuthead AI Cloud (users sign in to their Nuthead Cloud account in the app).",
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "provider": {
            "description": "",
            "enum": [
              "claude",
              "codex",
              "gemini"
            ],
            "type": "string"
          }
        },
        "required": [
          "provider"
        ],
        "type": "object"
      },
      "name": "nuthead_ai_link",
      "title": "Link AI"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "openWorldHint": false,
        "readOnlyHint": false,
        "title": "Sign out Cloud account"
      },
      "description": "Signs out of the Nuthead Cloud account.",
      "inputSchema": {
        "additionalProperties": false,
        "properties": {},
        "required": [],
        "type": "object"
      },
      "name": "nuthead_ai_unlink",
      "title": "Sign out Cloud account"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "openWorldHint": true,
        "readOnlyHint": false,
        "title": "Sign in AI"
      },
      "description": "Deprecated in Nuthead AI Cloud (sign in via the Nuthead AI app).",
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "provider": {
            "description": "",
            "enum": [
              "claude",
              "codex",
              "gemini"
            ],
            "type": "string"
          }
        },
        "required": [
          "provider"
        ],
        "type": "object"
      },
      "name": "nuthead_ai_login",
      "title": "Sign in AI"
    },
    {
      "annotations": {
        "destructiveHint": true,
        "openWorldHint": true,
        "readOnlyHint": false,
        "title": "Install Antigravity CLI"
      },
      "description": "Not used in Nuthead AI Cloud.",
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "confirm": {
            "description": "",
            "type": "boolean"
          },
          "provider": {
            "description": "",
            "enum": [
              "gemini"
            ],
            "type": "string"
          }
        },
        "required": [
          "provider",
          "confirm"
        ],
        "type": "object"
      },
      "name": "nuthead_ai_install",
      "title": "Install Antigravity CLI"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "openWorldHint": true,
        "readOnlyHint": false,
        "title": "Refresh AI model config"
      },
      "description": "Refreshes Nuthead Cloud account & model config from the server.",
      "inputSchema": {
        "additionalProperties": false,
        "properties": {},
        "required": [],
        "type": "object"
      },
      "name": "nuthead_ai_refresh_config",
      "title": "Refresh AI model config"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "openWorldHint": false,
        "readOnlyHint": false,
        "title": "Import AI model config"
      },
      "description": "Not used in Nuthead AI Cloud.",
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "path": {
            "description": "Absolute path.",
            "type": "string"
          }
        },
        "required": [
          "path"
        ],
        "type": "object"
      },
      "name": "nuthead_ai_import_config",
      "title": "Import AI model config"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "openWorldHint": true,
        "readOnlyHint": true,
        "title": "Check for update"
      },
      "description": "Checks the website for a newer Nuthead version (off when offline or update checks are off).",
      "inputSchema": {
        "additionalProperties": false,
        "properties": {},
        "required": [],
        "type": "object"
      },
      "name": "nuthead_check_update",
      "title": "Check for update"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "openWorldHint": false,
        "readOnlyHint": false,
        "title": "Probe media"
      },
      "description": "Duration, format, frame rate, color space, timecode of media files. Thumbnails (image content) only with hybrid on and allowUpload: true (ask the user).",
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "allowUpload": {
            "description": "Stills of the clips are sent to you.",
            "type": "boolean"
          },
          "paths": {
            "description": "Absolute paths (max 50).",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "thumbnails": {
            "description": "",
            "type": "boolean"
          }
        },
        "required": [
          "paths"
        ],
        "type": "object"
      },
      "name": "nuthead_probe_media",
      "title": "Probe media"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "openWorldHint": false,
        "readOnlyHint": true,
        "title": "List folder media"
      },
      "description": "Video files of a folder with duration, size, orientation, ratio, fps, color space, and whether the saved B-roll filters with the given ones on top keep them (as a B-roll job would). Use it for criteria the built-in filters cannot express, then pass the chosen files as sources.",
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "filters": {
            "additionalProperties": false,
            "description": "Source filters (each given field replaces the saved one). Names: substring, or a glob over the whole file name with * and ?, case-insensitive.",
            "properties": {
              "excludeNames": {
                "description": "Skip files whose name matches one of these.",
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "excludeOrientations": {
                "items": {
                  "enum": [
                    "landscape",
                    "portrait",
                    "square"
                  ]
                },
                "type": "array"
              },
              "excludeRatios": {
                "description": "e.g. \"9:16\"",
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "excludeResolutions": {
                "description": "e.g. \"1920x1080\"",
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "includeNames": {
                "description": "Only files whose name matches one of these.",
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "includeOrientations": {
                "items": {
                  "enum": [
                    "landscape",
                    "portrait",
                    "square"
                  ]
                },
                "type": "array"
              },
              "includeRatios": {
                "description": "e.g. \"16:9\" (±1 %)",
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "includeResolutions": {
                "description": "e.g. \"3840x2160\"",
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "maxSourceDuration": {
                "description": "Seconds, 0 = no limit.",
                "type": "number"
              },
              "minSourceDuration": {
                "description": "Seconds, 0 = no limit.",
                "type": "number"
              }
            },
            "type": "object"
          },
          "folder": {
            "description": "Absolute path.",
            "type": "string"
          },
          "limit": {
            "description": "default 300, max 2000",
            "type": "integer"
          },
          "offset": {
            "description": "",
            "type": "integer"
          },
          "recursive": {
            "description": "default true",
            "type": "boolean"
          }
        },
        "required": [
          "folder"
        ],
        "type": "object"
      },
      "name": "nuthead_list_folder_media",
      "title": "List folder media"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "openWorldHint": false,
        "readOnlyHint": false,
        "title": "Shorten A-roll (Stage 1)"
      },
      "description": "Queues A-roll Stage 1 (single AI-assisted mode): transcribes locally, removes clear failed takes, and pauses in waiting_ai (stage waiting_aroll_selection) unless useCloud: true. Ask clarifying questions (multicam, extraCameras, layout) first if needed. Then call nuthead_aroll_get_sentences and nuthead_aroll_apply_cuts.",
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "colorspace": {
            "description": "auto | 1-1-1 (Rec. 709) | 9-1-9 (Rec. 2020) | 9-16-9 (Rec. 2020 PQ) | 9-18-9 (Rec. 2020 HLG)",
            "type": "string"
          },
          "extraCameras": {
            "description": "Further camera angles / audio recorders synced to a main clip.",
            "items": {
              "additionalProperties": false,
              "properties": {
                "offsetSeconds": {
                  "description": "Start relative to that clip (exact when smartOffset is off, a search hint when on).",
                  "type": "number"
                },
                "path": {
                  "description": "Absolute path.",
                  "type": "string"
                },
                "syncToPath": {
                  "description": "Main clip it belongs to (default: the first).",
                  "type": "string"
                }
              },
              "required": [
                "path"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "extraTracksDisabled": {
            "description": "Extra tracks disabled in the timeline.",
            "type": "boolean"
          },
          "fillerMode": {
            "description": "Filler words (ähm): cut_edges_only | sentence_edges | always.",
            "enum": [
              "cut_edges_only",
              "sentence_edges",
              "always"
            ],
            "type": "string"
          },
          "fps": {
            "description": "auto | 23.98 | 24 | 25 | 29.97 | 30 | 50 | 59.94 | 60",
            "type": "string"
          },
          "laneReservation": {
            "description": "Reserve lanes for extra cameras.",
            "type": "boolean"
          },
          "language": {
            "description": "Speech language for transcription.",
            "enum": [
              "auto",
              "de",
              "en"
            ],
            "type": "string"
          },
          "multicam": {
            "description": "Save as multicam clip.",
            "type": "boolean"
          },
          "openResult": {
            "description": "Open the result in the editing app when done (default true).",
            "type": "boolean"
          },
          "paths": {
            "description": "Absolute paths of the main clip(s), in timeline order.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "removeSilence": {
            "description": "Remove pauses (default true).",
            "type": "boolean"
          },
          "resolution": {
            "description": "auto | \"3840x2160\" | …",
            "type": "string"
          },
          "silenceThresholdMs": {
            "description": "Pauses longer than this are removed (750..3000).",
            "type": "integer"
          },
          "smartOffset": {
            "description": "Sync extra cameras by audio.",
            "type": "boolean"
          },
          "title": {
            "description": "Job title (default: clip names).",
            "type": "string"
          },
          "useCloud": {
            "description": "Optional: false (default) pauses after Stage 1 for you via MCP (zero Nuthead tokens); true runs AI steps via Nuthead Cloud / Own API right away.",
            "type": "boolean"
          }
        },
        "required": [
          "paths"
        ],
        "type": "object"
      },
      "name": "nuthead_shorten_aroll",
      "title": "Shorten A-roll (Stage 1)"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "openWorldHint": false,
        "readOnlyHint": false,
        "title": "Get A-roll sentences (Stage 1 output)"
      },
      "description": "Returns the numbered spoken sentences (sentences & [S<n>] lines) of a waiting or finished A-roll project so you can decide which sentences/words to keep and call nuthead_aroll_apply_cuts. Needs hybrid on.",
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "jobId": {
            "description": "Job id (from a start tool or nuthead_list_jobs).",
            "type": "string"
          }
        },
        "required": [
          "jobId"
        ],
        "type": "object"
      },
      "name": "nuthead_aroll_get_sentences",
      "title": "Get A-roll sentences (Stage 1 output)"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "openWorldHint": false,
        "readOnlyHint": false,
        "title": "Apply A-roll kept words/sentences (Stage 2)"
      },
      "description": "Finishes Stage 2 of a waiting A-roll project (or re-cuts a finished one) with the sentences/words to keep, writes the timeline project, and opens it if configured. Supply either selections ([{sentenceId, text}]) OR transcript (\"[S<n>] <text>\" lines).",
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "jobId": {
            "description": "Job id (from a start tool or nuthead_list_jobs).",
            "type": "string"
          },
          "openResult": {
            "description": "Override whether to open the exported project (default: job setting).",
            "type": "boolean"
          },
          "selections": {
            "description": "Kept sentences in ascending sentenceId order.",
            "items": {
              "additionalProperties": false,
              "properties": {
                "sentenceId": {
                  "description": "",
                  "type": "integer"
                },
                "text": {
                  "description": "Kept words of that sentence.",
                  "type": "string"
                }
              },
              "required": [
                "sentenceId",
                "text"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "transcript": {
            "description": "Alternative to selections: lines in format \"[S<n>] <kept words>\".",
            "type": "string"
          }
        },
        "required": [
          "jobId"
        ],
        "type": "object"
      },
      "name": "nuthead_aroll_apply_cuts",
      "title": "Apply A-roll kept words/sentences (Stage 2)"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "openWorldHint": false,
        "readOnlyHint": true,
        "title": "Estimate duration"
      },
      "description": "Estimated processing seconds learned on this Mac. kind aroll: paths; broll: sources (+filters, target); shrink: sources.",
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "filters": {
            "additionalProperties": false,
            "description": "Source filters (each given field replaces the saved one). Names: substring, or a glob over the whole file name with * and ?, case-insensitive.",
            "properties": {
              "excludeNames": {
                "description": "Skip files whose name matches one of these.",
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "excludeOrientations": {
                "items": {
                  "enum": [
                    "landscape",
                    "portrait",
                    "square"
                  ]
                },
                "type": "array"
              },
              "excludeRatios": {
                "description": "e.g. \"9:16\"",
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "excludeResolutions": {
                "description": "e.g. \"1920x1080\"",
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "includeNames": {
                "description": "Only files whose name matches one of these.",
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "includeOrientations": {
                "items": {
                  "enum": [
                    "landscape",
                    "portrait",
                    "square"
                  ]
                },
                "type": "array"
              },
              "includeRatios": {
                "description": "e.g. \"16:9\" (±1 %)",
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "includeResolutions": {
                "description": "e.g. \"3840x2160\"",
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "maxSourceDuration": {
                "description": "Seconds, 0 = no limit.",
                "type": "number"
              },
              "minSourceDuration": {
                "description": "Seconds, 0 = no limit.",
                "type": "number"
              }
            },
            "type": "object"
          },
          "kind": {
            "description": "",
            "enum": [
              "aroll",
              "broll",
              "shrink"
            ],
            "type": "string"
          },
          "mode": {
            "description": "Optional legacy mode hint (ignored: A-roll uses AI mode).",
            "type": "string"
          },
          "paths": {
            "description": "A-roll clips.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "sources": {
            "description": "B-roll / compression folders or files.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "target": {
            "additionalProperties": false,
            "properties": {
              "audioPath": {
                "description": "",
                "type": "string"
              },
              "projectId": {
                "description": "",
                "type": "string"
              }
            },
            "type": "object"
          }
        },
        "required": [
          "kind"
        ],
        "type": "object"
      },
      "name": "nuthead_estimate",
      "title": "Estimate duration"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "openWorldHint": false,
        "readOnlyHint": false,
        "title": "Select B-roll (Mode 1: local only)"
      },
      "description": "Mode 1 (no AI): scans B-roll folders/files, applies filters, stability/motion rules and LUTs, and builds a B-roll timeline project directly.",
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "eventName": {
            "description": "Final Cut event name (default \"Nuthead B-Roll\").",
            "type": "string"
          },
          "fallbackLut": {
            "description": "Path of a .cube LUT for sources no rule matches (\"\" = none).",
            "type": "string"
          },
          "filters": {
            "additionalProperties": false,
            "description": "Source filters (each given field replaces the saved one). Names: substring, or a glob over the whole file name with * and ?, case-insensitive.",
            "properties": {
              "excludeNames": {
                "description": "Skip files whose name matches one of these.",
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "excludeOrientations": {
                "items": {
                  "enum": [
                    "landscape",
                    "portrait",
                    "square"
                  ]
                },
                "type": "array"
              },
              "excludeRatios": {
                "description": "e.g. \"9:16\"",
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "excludeResolutions": {
                "description": "e.g. \"1920x1080\"",
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "includeNames": {
                "description": "Only files whose name matches one of these.",
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "includeOrientations": {
                "items": {
                  "enum": [
                    "landscape",
                    "portrait",
                    "square"
                  ]
                },
                "type": "array"
              },
              "includeRatios": {
                "description": "e.g. \"16:9\" (±1 %)",
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "includeResolutions": {
                "description": "e.g. \"3840x2160\"",
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "maxSourceDuration": {
                "description": "Seconds, 0 = no limit.",
                "type": "number"
              },
              "minSourceDuration": {
                "description": "Seconds, 0 = no limit.",
                "type": "number"
              }
            },
            "type": "object"
          },
          "format": {
            "additionalProperties": false,
            "description": "Timeline format (a sync onto an A-roll project always uses the project's format).",
            "properties": {
              "colorSpace": {
                "description": "e.g. 1-1-1 (Rec. 709), 9-18-9 (Rec. 2020 HLG)",
                "type": "string"
              },
              "conform": {
                "description": "",
                "enum": [
                  "fill",
                  "fit",
                  "none"
                ],
                "type": "string"
              },
              "fps": {
                "description": "30000/1001 | 29.97 | 25 | 24 | 24000/1001 | 30 | 50 | 60 | 60000/1001",
                "type": "string"
              },
              "height": {
                "description": "px",
                "type": "integer"
              },
              "scale": {
                "description": "percent",
                "type": "number"
              },
              "width": {
                "description": "px",
                "type": "integer"
              }
            },
            "type": "object"
          },
          "lutRules": {
            "description": "LUT rules, first match wins (replace the saved ones).",
            "items": {
              "additionalProperties": false,
              "properties": {
                "field": {
                  "description": "What the pattern is matched against (default name).",
                  "enum": [
                    "name",
                    "path",
                    "camera",
                    "folder"
                  ],
                  "type": "string"
                },
                "lutFrom": {
                  "description": "Color space the LUT expects, e.g. 1-1-1 (Rec. 709); \"\" = project color space.",
                  "type": "string"
                },
                "lutPath": {
                  "description": "Absolute path of a .cube LUT.",
                  "type": "string"
                },
                "lutTo": {
                  "description": "Color space the LUT delivers; \"\" = project color space.",
                  "type": "string"
                },
                "mode": {
                  "description": "default contains",
                  "enum": [
                    "contains",
                    "starts",
                    "ends",
                    "equals",
                    "glob",
                    "regex"
                  ],
                  "type": "string"
                },
                "pattern": {
                  "description": "",
                  "type": "string"
                },
                "source": {
                  "description": "Only for this source (one of the given sources paths); omitted = all sources.",
                  "type": "string"
                }
              },
              "required": [
                "pattern",
                "lutPath"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "motion": {
            "additionalProperties": false,
            "description": "Passage selection.",
            "properties": {
              "maxDuration": {
                "description": "seconds",
                "type": "number"
              },
              "maxPerSource": {
                "description": "0 = unlimited",
                "type": "integer"
              },
              "minDuration": {
                "description": "seconds",
                "type": "number"
              },
              "minScore": {
                "description": "0..1",
                "type": "number"
              },
              "mode": {
                "description": "smooth = calm shots",
                "enum": [
                  "smooth",
                  "moving"
                ],
                "type": "string"
              }
            },
            "type": "object"
          },
          "openResult": {
            "description": "Open the result in the editing app when done (default true).",
            "type": "boolean"
          },
          "projectName": {
            "description": "Name of the project/job.",
            "type": "string"
          },
          "recursive": {
            "description": "Include subfolders (default true).",
            "type": "boolean"
          },
          "sources": {
            "description": "Absolute paths of B-roll folders and/or video files.",
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "sources"
        ],
        "type": "object"
      },
      "name": "nuthead_select_broll",
      "title": "Select B-roll (Mode 1: local only)"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "openWorldHint": false,
        "readOnlyHint": false,
        "title": "Sync B-roll (Mode 2: Stage 1 prepare stills)"
      },
      "description": "Mode 2 (two-stage AI sync): prepares B-roll passages onto a reference project (target.projectId) or audio/video file (target.audioPath), extracts all still frames into stillsDir + manifest.json, and pauses in waiting_ai (stage waiting_broll_matching) unless useCloud: true. Requires allowUpload: true and hybrid on. Then call nuthead_broll_get_stills and nuthead_broll_apply_matches.",
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "allowUpload": {
            "description": "REQUIRED true: stills of the B-roll and the transcript sentences go to an AI (you, or Nuthead Cloud / Own API). Ask the user first.",
            "type": "boolean"
          },
          "eventName": {
            "description": "Final Cut event name (default \"Nuthead B-Roll\").",
            "type": "string"
          },
          "fallbackLut": {
            "description": "Path of a .cube LUT for sources no rule matches (\"\" = none).",
            "type": "string"
          },
          "filters": {
            "additionalProperties": false,
            "description": "Source filters (each given field replaces the saved one). Names: substring, or a glob over the whole file name with * and ?, case-insensitive.",
            "properties": {
              "excludeNames": {
                "description": "Skip files whose name matches one of these.",
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "excludeOrientations": {
                "items": {
                  "enum": [
                    "landscape",
                    "portrait",
                    "square"
                  ]
                },
                "type": "array"
              },
              "excludeRatios": {
                "description": "e.g. \"9:16\"",
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "excludeResolutions": {
                "description": "e.g. \"1920x1080\"",
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "includeNames": {
                "description": "Only files whose name matches one of these.",
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "includeOrientations": {
                "items": {
                  "enum": [
                    "landscape",
                    "portrait",
                    "square"
                  ]
                },
                "type": "array"
              },
              "includeRatios": {
                "description": "e.g. \"16:9\" (±1 %)",
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "includeResolutions": {
                "description": "e.g. \"3840x2160\"",
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "maxSourceDuration": {
                "description": "Seconds, 0 = no limit.",
                "type": "number"
              },
              "minSourceDuration": {
                "description": "Seconds, 0 = no limit.",
                "type": "number"
              }
            },
            "type": "object"
          },
          "format": {
            "additionalProperties": false,
            "description": "Timeline format (a sync onto an A-roll project always uses the project's format).",
            "properties": {
              "colorSpace": {
                "description": "e.g. 1-1-1 (Rec. 709), 9-18-9 (Rec. 2020 HLG)",
                "type": "string"
              },
              "conform": {
                "description": "",
                "enum": [
                  "fill",
                  "fit",
                  "none"
                ],
                "type": "string"
              },
              "fps": {
                "description": "30000/1001 | 29.97 | 25 | 24 | 24000/1001 | 30 | 50 | 60 | 60000/1001",
                "type": "string"
              },
              "height": {
                "description": "px",
                "type": "integer"
              },
              "scale": {
                "description": "percent",
                "type": "number"
              },
              "width": {
                "description": "px",
                "type": "integer"
              }
            },
            "type": "object"
          },
          "lutRules": {
            "description": "LUT rules, first match wins (replace the saved ones).",
            "items": {
              "additionalProperties": false,
              "properties": {
                "field": {
                  "description": "What the pattern is matched against (default name).",
                  "enum": [
                    "name",
                    "path",
                    "camera",
                    "folder"
                  ],
                  "type": "string"
                },
                "lutFrom": {
                  "description": "Color space the LUT expects, e.g. 1-1-1 (Rec. 709); \"\" = project color space.",
                  "type": "string"
                },
                "lutPath": {
                  "description": "Absolute path of a .cube LUT.",
                  "type": "string"
                },
                "lutTo": {
                  "description": "Color space the LUT delivers; \"\" = project color space.",
                  "type": "string"
                },
                "mode": {
                  "description": "default contains",
                  "enum": [
                    "contains",
                    "starts",
                    "ends",
                    "equals",
                    "glob",
                    "regex"
                  ],
                  "type": "string"
                },
                "pattern": {
                  "description": "",
                  "type": "string"
                },
                "source": {
                  "description": "Only for this source (one of the given sources paths); omitted = all sources.",
                  "type": "string"
                }
              },
              "required": [
                "pattern",
                "lutPath"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "motion": {
            "additionalProperties": false,
            "description": "Passage selection.",
            "properties": {
              "maxDuration": {
                "description": "seconds",
                "type": "number"
              },
              "maxPerSource": {
                "description": "0 = unlimited",
                "type": "integer"
              },
              "minDuration": {
                "description": "seconds",
                "type": "number"
              },
              "minScore": {
                "description": "0..1",
                "type": "number"
              },
              "mode": {
                "description": "smooth = calm shots",
                "enum": [
                  "smooth",
                  "moving"
                ],
                "type": "string"
              }
            },
            "type": "object"
          },
          "openResult": {
            "description": "Open the result in the editing app when done (default true).",
            "type": "boolean"
          },
          "projectName": {
            "description": "Name of the project/job.",
            "type": "string"
          },
          "recursive": {
            "description": "Include subfolders (default true).",
            "type": "boolean"
          },
          "sources": {
            "description": "Absolute paths of B-roll folders and/or video files.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "stillsDir": {
            "description": "Optional target directory where Stage 1 writes the extracted B-roll still images + manifest.json (default: <project output>/mcp_stills).",
            "type": "string"
          },
          "target": {
            "additionalProperties": false,
            "description": "Sync reference: exactly one of projectId (A-roll job: finished, waiting_ai, or queued/running) or audioPath.",
            "properties": {
              "audioPath": {
                "description": "Absolute path of an audio/video file with speech.",
                "type": "string"
              },
              "projectId": {
                "description": "A-roll job id.",
                "type": "string"
              }
            },
            "type": "object"
          },
          "useCloud": {
            "description": "Optional: false (default) pauses after Stage 1 for you via MCP (zero Nuthead tokens); true runs AI steps via Nuthead Cloud / Own API right away.",
            "type": "boolean"
          }
        },
        "required": [
          "sources",
          "target",
          "allowUpload"
        ],
        "type": "object"
      },
      "name": "nuthead_sync_broll",
      "title": "Sync B-roll (Mode 2: Stage 1 prepare stills)"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "openWorldHint": false,
        "readOnlyHint": false,
        "title": "Get B-roll stills folder & sentences (Stage 1 output)"
      },
      "description": "Returns stillsDir, the list of extracted still image paths (clips[]), the numbered reference sentences, and matching instructions for a B-roll sync project waiting in waiting_ai. Inspect the stills in stillsDir, decide where each clip belongs, and call nuthead_broll_apply_matches. Needs hybrid on.",
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "jobId": {
            "description": "Job id (from a start tool or nuthead_list_jobs).",
            "type": "string"
          }
        },
        "required": [
          "jobId"
        ],
        "type": "object"
      },
      "name": "nuthead_broll_get_stills",
      "title": "Get B-roll stills folder & sentences (Stage 1 output)"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "openWorldHint": false,
        "readOnlyHint": false,
        "title": "Apply B-roll clip matches (Stage 2)"
      },
      "description": "Finishes Stage 2 of a waiting B-roll sync project with your clip-to-sentence distribution and writes/opens the synced timeline project.",
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "allowPartial": {
            "description": "Allow omitting unmatched clipIndex entries instead of passing empty matches (default false).",
            "type": "boolean"
          },
          "frames": {
            "description": "Matching scores per clipIndex from nuthead_broll_get_stills.",
            "items": {
              "additionalProperties": false,
              "properties": {
                "clipIndex": {
                  "description": "0-based clipIndex from nuthead_broll_get_stills.",
                  "type": "integer"
                },
                "matches": {
                  "items": {
                    "additionalProperties": false,
                    "properties": {
                      "score": {
                        "description": "Relevance score > 0..1.",
                        "type": "number"
                      },
                      "sentenceId": {
                        "description": "",
                        "type": "integer"
                      }
                    },
                    "required": [
                      "sentenceId",
                      "score"
                    ],
                    "type": "object"
                  },
                  "type": "array"
                }
              },
              "required": [
                "clipIndex",
                "matches"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "jobId": {
            "description": "Job id (from a start tool or nuthead_list_jobs).",
            "type": "string"
          },
          "openResult": {
            "description": "Override whether to open the exported project (default: job setting).",
            "type": "boolean"
          }
        },
        "required": [
          "jobId",
          "frames"
        ],
        "type": "object"
      },
      "name": "nuthead_broll_apply_matches",
      "title": "Apply B-roll clip matches (Stage 2)"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "openWorldHint": false,
        "readOnlyHint": false,
        "title": "Shorten A-roll and sync B-roll (chained)"
      },
      "description": "Queues A-roll Stage 1 + dependent B-roll Sync Stage 1 in one request. Run nuthead_wait_for_job on syncJobId: first do A-roll Stage 2 (nuthead_aroll_get_sentences -> nuthead_aroll_apply_cuts), then B-roll Stage 2 (nuthead_broll_get_stills -> nuthead_broll_apply_matches).",
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "allowUpload": {
            "description": "REQUIRED true: stills and transcript sentences go to an AI. Ask the user first.",
            "type": "boolean"
          },
          "aroll": {
            "additionalProperties": false,
            "description": "Same fields as nuthead_shorten_aroll (pass useCloud at top level).",
            "properties": {
              "colorspace": {
                "description": "auto | 1-1-1 (Rec. 709) | 9-1-9 (Rec. 2020) | 9-16-9 (Rec. 2020 PQ) | 9-18-9 (Rec. 2020 HLG)",
                "type": "string"
              },
              "extraCameras": {
                "description": "Further camera angles / audio recorders synced to a main clip.",
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "offsetSeconds": {
                      "description": "Start relative to that clip (exact when smartOffset is off, a search hint when on).",
                      "type": "number"
                    },
                    "path": {
                      "description": "Absolute path.",
                      "type": "string"
                    },
                    "syncToPath": {
                      "description": "Main clip it belongs to (default: the first).",
                      "type": "string"
                    }
                  },
                  "required": [
                    "path"
                  ],
                  "type": "object"
                },
                "type": "array"
              },
              "extraTracksDisabled": {
                "description": "Extra tracks disabled in the timeline.",
                "type": "boolean"
              },
              "fillerMode": {
                "description": "Filler words (ähm): cut_edges_only | sentence_edges | always.",
                "enum": [
                  "cut_edges_only",
                  "sentence_edges",
                  "always"
                ],
                "type": "string"
              },
              "fps": {
                "description": "auto | 23.98 | 24 | 25 | 29.97 | 30 | 50 | 59.94 | 60",
                "type": "string"
              },
              "laneReservation": {
                "description": "Reserve lanes for extra cameras.",
                "type": "boolean"
              },
              "language": {
                "description": "Speech language for transcription.",
                "enum": [
                  "auto",
                  "de",
                  "en"
                ],
                "type": "string"
              },
              "multicam": {
                "description": "Save as multicam clip.",
                "type": "boolean"
              },
              "openResult": {
                "description": "Open the result in the editing app when done (default true).",
                "type": "boolean"
              },
              "paths": {
                "description": "Absolute paths of the main clip(s), in timeline order.",
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "removeSilence": {
                "description": "Remove pauses (default true).",
                "type": "boolean"
              },
              "resolution": {
                "description": "auto | \"3840x2160\" | …",
                "type": "string"
              },
              "silenceThresholdMs": {
                "description": "Pauses longer than this are removed (750..3000).",
                "type": "integer"
              },
              "smartOffset": {
                "description": "Sync extra cameras by audio.",
                "type": "boolean"
              },
              "title": {
                "description": "Job title (default: clip names).",
                "type": "string"
              }
            },
            "type": "object"
          },
          "broll": {
            "additionalProperties": false,
            "description": "Same fields as nuthead_select_broll (pass stillsDir/useCloud at top level).",
            "properties": {
              "eventName": {
                "description": "Final Cut event name (default \"Nuthead B-Roll\").",
                "type": "string"
              },
              "fallbackLut": {
                "description": "Path of a .cube LUT for sources no rule matches (\"\" = none).",
                "type": "string"
              },
              "filters": {
                "additionalProperties": false,
                "description": "Source filters (each given field replaces the saved one). Names: substring, or a glob over the whole file name with * and ?, case-insensitive.",
                "properties": {
                  "excludeNames": {
                    "description": "Skip files whose name matches one of these.",
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "excludeOrientations": {
                    "items": {
                      "enum": [
                        "landscape",
                        "portrait",
                        "square"
                      ]
                    },
                    "type": "array"
                  },
                  "excludeRatios": {
                    "description": "e.g. \"9:16\"",
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "excludeResolutions": {
                    "description": "e.g. \"1920x1080\"",
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "includeNames": {
                    "description": "Only files whose name matches one of these.",
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "includeOrientations": {
                    "items": {
                      "enum": [
                        "landscape",
                        "portrait",
                        "square"
                      ]
                    },
                    "type": "array"
                  },
                  "includeRatios": {
                    "description": "e.g. \"16:9\" (±1 %)",
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "includeResolutions": {
                    "description": "e.g. \"3840x2160\"",
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "maxSourceDuration": {
                    "description": "Seconds, 0 = no limit.",
                    "type": "number"
                  },
                  "minSourceDuration": {
                    "description": "Seconds, 0 = no limit.",
                    "type": "number"
                  }
                },
                "type": "object"
              },
              "format": {
                "additionalProperties": false,
                "description": "Timeline format (a sync onto an A-roll project always uses the project's format).",
                "properties": {
                  "colorSpace": {
                    "description": "e.g. 1-1-1 (Rec. 709), 9-18-9 (Rec. 2020 HLG)",
                    "type": "string"
                  },
                  "conform": {
                    "description": "",
                    "enum": [
                      "fill",
                      "fit",
                      "none"
                    ],
                    "type": "string"
                  },
                  "fps": {
                    "description": "30000/1001 | 29.97 | 25 | 24 | 24000/1001 | 30 | 50 | 60 | 60000/1001",
                    "type": "string"
                  },
                  "height": {
                    "description": "px",
                    "type": "integer"
                  },
                  "scale": {
                    "description": "percent",
                    "type": "number"
                  },
                  "width": {
                    "description": "px",
                    "type": "integer"
                  }
                },
                "type": "object"
              },
              "lutRules": {
                "description": "LUT rules, first match wins (replace the saved ones).",
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "field": {
                      "description": "What the pattern is matched against (default name).",
                      "enum": [
                        "name",
                        "path",
                        "camera",
                        "folder"
                      ],
                      "type": "string"
                    },
                    "lutFrom": {
                      "description": "Color space the LUT expects, e.g. 1-1-1 (Rec. 709); \"\" = project color space.",
                      "type": "string"
                    },
                    "lutPath": {
                      "description": "Absolute path of a .cube LUT.",
                      "type": "string"
                    },
                    "lutTo": {
                      "description": "Color space the LUT delivers; \"\" = project color space.",
                      "type": "string"
                    },
                    "mode": {
                      "description": "default contains",
                      "enum": [
                        "contains",
                        "starts",
                        "ends",
                        "equals",
                        "glob",
                        "regex"
                      ],
                      "type": "string"
                    },
                    "pattern": {
                      "description": "",
                      "type": "string"
                    },
                    "source": {
                      "description": "Only for this source (one of the given sources paths); omitted = all sources.",
                      "type": "string"
                    }
                  },
                  "required": [
                    "pattern",
                    "lutPath"
                  ],
                  "type": "object"
                },
                "type": "array"
              },
              "motion": {
                "additionalProperties": false,
                "description": "Passage selection.",
                "properties": {
                  "maxDuration": {
                    "description": "seconds",
                    "type": "number"
                  },
                  "maxPerSource": {
                    "description": "0 = unlimited",
                    "type": "integer"
                  },
                  "minDuration": {
                    "description": "seconds",
                    "type": "number"
                  },
                  "minScore": {
                    "description": "0..1",
                    "type": "number"
                  },
                  "mode": {
                    "description": "smooth = calm shots",
                    "enum": [
                      "smooth",
                      "moving"
                    ],
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "openResult": {
                "description": "Open the result in the editing app when done (default true).",
                "type": "boolean"
              },
              "projectName": {
                "description": "Name of the project/job.",
                "type": "string"
              },
              "recursive": {
                "description": "Include subfolders (default true).",
                "type": "boolean"
              },
              "sources": {
                "description": "Absolute paths of B-roll folders and/or video files.",
                "items": {
                  "type": "string"
                },
                "type": "array"
              }
            },
            "type": "object"
          },
          "stillsDir": {
            "description": "Optional target directory where Stage 1 writes the B-roll stills + manifest.json.",
            "type": "string"
          },
          "useCloud": {
            "description": "Optional: false (default) pauses after Stage 1 for you via MCP (zero Nuthead tokens); true runs AI steps via Nuthead Cloud / Own API right away.",
            "type": "boolean"
          }
        },
        "required": [
          "aroll",
          "broll",
          "allowUpload"
        ],
        "type": "object"
      },
      "name": "nuthead_shorten_and_sync",
      "title": "Shorten A-roll and sync B-roll (chained)"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "openWorldHint": false,
        "readOnlyHint": true,
        "title": "Scan for compression"
      },
      "description": "Reads metadata of all videos in the sources (codec, size, log profile hints) before compressing.",
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "recursive": {
            "description": "default true",
            "type": "boolean"
          },
          "sources": {
            "description": "Absolute folders or files.",
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "sources"
        ],
        "type": "object"
      },
      "name": "nuthead_shrink_scan",
      "title": "Scan for compression"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "openWorldHint": false,
        "readOnlyHint": false,
        "title": "Compression preview"
      },
      "description": "Before/after still of a clip with a LUT/grade as image content. Needs hybrid on and allowUpload: true.",
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "allowUpload": {
            "description": "",
            "type": "boolean"
          },
          "auto": {
            "description": "Automatic grade.",
            "type": "boolean"
          },
          "exposure": {
            "description": "",
            "type": "number"
          },
          "highlightRolloff": {
            "description": "default 0.15",
            "type": "number"
          },
          "lutKey": {
            "description": "",
            "enum": [
              "none",
              "sony_slog3_sgamut3cine",
              "dji_dlog_dgamut",
              "custom_cube"
            ],
            "type": "string"
          },
          "lutPath": {
            "description": "For custom_cube.",
            "type": "string"
          },
          "path": {
            "description": "Absolute path.",
            "type": "string"
          },
          "previewFraction": {
            "description": "0..1, default 0.5",
            "type": "number"
          },
          "profile": {
            "description": "",
            "type": "string"
          }
        },
        "required": [
          "path",
          "lutKey",
          "allowUpload"
        ],
        "type": "object"
      },
      "name": "nuthead_shrink_preview",
      "title": "Compression preview"
    },
    {
      "annotations": {
        "destructiveHint": true,
        "openWorldHint": false,
        "readOnlyHint": false,
        "title": "Start compression"
      },
      "description": "Queues compression. REPLACES THE ORIGINAL FILES: each original goes to the Trash when the drive has one, otherwise it stays as Original_<name>. Needs confirmReplaceOriginals: true and the user's approval in a Nuthead dialog. Clips without decision (state auto) are analysed; detected log footage waits for review (nuthead_shrink_review).",
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "clips": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "exposure": {
                  "description": "",
                  "type": "number"
                },
                "highlightRolloff": {
                  "description": "",
                  "type": "number"
                },
                "lutKey": {
                  "description": "",
                  "type": "string"
                },
                "lutPath": {
                  "description": "",
                  "type": "string"
                },
                "path": {
                  "description": "",
                  "type": "string"
                },
                "previewFraction": {
                  "description": "",
                  "type": "number"
                },
                "profile": {
                  "description": "",
                  "type": "string"
                },
                "state": {
                  "description": "",
                  "enum": [
                    "approved",
                    "no_lut",
                    "auto"
                  ],
                  "type": "string"
                }
              },
              "required": [
                "path"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "confirmReplaceOriginals": {
            "description": "",
            "type": "boolean"
          },
          "projectName": {
            "description": "",
            "type": "string"
          },
          "sources": {
            "description": "Folders/files added undecided (state auto).",
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "confirmReplaceOriginals"
        ],
        "type": "object"
      },
      "name": "nuthead_shrink_start",
      "title": "Start compression"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "openWorldHint": false,
        "readOnlyHint": false,
        "title": "Review compression"
      },
      "description": "For a compression job in stage shrink_review: list the clips waiting (action list) or decide: grade (changes), approve, keep_original, not_log, pause, resume.",
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "action": {
            "description": "",
            "enum": [
              "list",
              "grade",
              "approve",
              "keep_original",
              "not_log",
              "pause",
              "resume"
            ],
            "type": "string"
          },
          "changes": {
            "type": "object"
          },
          "ids": {
            "description": "Clip ids from list.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "jobId": {
            "description": "Job id (from a start tool or nuthead_list_jobs).",
            "type": "string"
          }
        },
        "required": [
          "jobId",
          "action"
        ],
        "type": "object"
      },
      "name": "nuthead_shrink_review",
      "title": "Review compression"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "openWorldHint": false,
        "readOnlyHint": false,
        "title": "Resume compression"
      },
      "description": "Queues a paused or failed compression job again.",
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "jobId": {
            "description": "Job id (from a start tool or nuthead_list_jobs).",
            "type": "string"
          }
        },
        "required": [
          "jobId"
        ],
        "type": "object"
      },
      "name": "nuthead_shrink_resume",
      "title": "Resume compression"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "openWorldHint": false,
        "readOnlyHint": true,
        "title": "Kept originals"
      },
      "description": "Number and size of originals kept as Original_<name> by a compression job.",
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "jobId": {
            "description": "Job id (from a start tool or nuthead_list_jobs).",
            "type": "string"
          }
        },
        "required": [
          "jobId"
        ],
        "type": "object"
      },
      "name": "nuthead_shrink_originals",
      "title": "Kept originals"
    },
    {
      "annotations": {
        "destructiveHint": true,
        "openWorldHint": false,
        "readOnlyHint": false,
        "title": "Delete kept originals"
      },
      "description": "Moves the kept originals of a compression job to the Trash (deletes permanently where no Trash exists). Needs confirm: true and the user's approval in a Nuthead dialog.",
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "confirm": {
            "description": "",
            "type": "boolean"
          },
          "jobId": {
            "description": "Job id (from a start tool or nuthead_list_jobs).",
            "type": "string"
          }
        },
        "required": [
          "jobId",
          "confirm"
        ],
        "type": "object"
      },
      "name": "nuthead_shrink_delete_originals",
      "title": "Delete kept originals"
    },
    {
      "annotations": {
        "destructiveHint": true,
        "openWorldHint": false,
        "readOnlyHint": false,
        "title": "Delete video files"
      },
      "description": "PERMANENTLY deletes video files. Two steps: call without confirmToken to get a summary and a token, show the list to the user; the call with the same paths and the token (valid 2 min) asks the user in a Nuthead dialog.",
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "confirmToken": {
            "description": "",
            "type": "string"
          },
          "paths": {
            "description": "Absolute paths of video files.",
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "paths"
        ],
        "type": "object"
      },
      "name": "nuthead_delete_files",
      "title": "Delete video files"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "openWorldHint": false,
        "readOnlyHint": false,
        "title": "Get transcript"
      },
      "description": "Numbered sentences of a finished A-roll project with the kept text (kept) per sentence, and the revision for nuthead_apply_transcript. Needs hybrid on.",
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "jobId": {
            "description": "Job id (from a start tool or nuthead_list_jobs).",
            "type": "string"
          }
        },
        "required": [
          "jobId"
        ],
        "type": "object"
      },
      "name": "nuthead_get_transcript",
      "title": "Get transcript"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "openWorldHint": false,
        "readOnlyHint": false,
        "title": "Propose transcript edit"
      },
      "description": "Uses Nuthead Cloud or Own API to propose which sentences/words to keep for a finished A-roll project (returned via operationId). As MCP AI you can also read sentences directly with nuthead_aroll_get_sentences and apply cuts with nuthead_aroll_apply_cuts.",
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "jobId": {
            "description": "Job id (from a start tool or nuthead_list_jobs).",
            "type": "string"
          }
        },
        "required": [
          "jobId"
        ],
        "type": "object"
      },
      "name": "nuthead_propose_transcript",
      "title": "Propose transcript edit"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "openWorldHint": false,
        "readOnlyHint": false,
        "title": "Apply transcript edit"
      },
      "description": "Re-exports a finished project with the given kept text per sentence (sentence order kept). Writes a new project file.",
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "jobId": {
            "description": "Job id (from a start tool or nuthead_list_jobs).",
            "type": "string"
          },
          "openResult": {
            "description": "default false",
            "type": "boolean"
          },
          "revision": {
            "description": "From nuthead_get_transcript.",
            "type": "integer"
          },
          "selections": {
            "items": {
              "properties": {
                "sentenceId": {
                  "description": "",
                  "type": "integer"
                },
                "text": {
                  "description": "Kept words of that sentence.",
                  "type": "string"
                }
              },
              "required": [
                "sentenceId",
                "text"
              ],
              "type": "object"
            },
            "type": "array"
          }
        },
        "required": [
          "jobId",
          "revision",
          "selections"
        ],
        "type": "object"
      },
      "name": "nuthead_apply_transcript",
      "title": "Apply transcript edit"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "openWorldHint": false,
        "readOnlyHint": false,
        "title": "Export path"
      },
      "description": "Path of a finished project's file for an editing app (made on demand).",
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "jobId": {
            "description": "Job id (from a start tool or nuthead_list_jobs).",
            "type": "string"
          },
          "target": {
            "description": "default: the app's setting",
            "enum": [
              "finalcut",
              "resolve",
              "premiere"
            ],
            "type": "string"
          }
        },
        "required": [
          "jobId"
        ],
        "type": "object"
      },
      "name": "nuthead_get_export_path",
      "title": "Export path"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "openWorldHint": false,
        "readOnlyHint": false,
        "title": "Open project"
      },
      "description": "Opens a finished project in the editing app of the settings.",
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "jobId": {
            "description": "Job id (from a start tool or nuthead_list_jobs).",
            "type": "string"
          }
        },
        "required": [
          "jobId"
        ],
        "type": "object"
      },
      "name": "nuthead_open_project_export",
      "title": "Open project"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "openWorldHint": false,
        "readOnlyHint": false,
        "title": "Show project in Finder"
      },
      "description": "Shows a finished project's file in the Finder.",
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "jobId": {
            "description": "Job id (from a start tool or nuthead_list_jobs).",
            "type": "string"
          }
        },
        "required": [
          "jobId"
        ],
        "type": "object"
      },
      "name": "nuthead_reveal_project_export",
      "title": "Show project in Finder"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "openWorldHint": false,
        "readOnlyHint": false,
        "title": "Copy project file"
      },
      "description": "Copies a finished project's Final Cut file to a destination.",
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "destination": {
            "description": "Absolute file path.",
            "type": "string"
          },
          "jobId": {
            "description": "Job id (from a start tool or nuthead_list_jobs).",
            "type": "string"
          },
          "overwrite": {
            "description": "",
            "type": "boolean"
          }
        },
        "required": [
          "jobId",
          "destination"
        ],
        "type": "object"
      },
      "name": "nuthead_copy_export",
      "title": "Copy project file"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "openWorldHint": false,
        "readOnlyHint": true,
        "title": "Project format"
      },
      "description": "Timeline format of a finished A-roll project (width, height, fps, color space).",
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "jobId": {
            "description": "Job id (from a start tool or nuthead_list_jobs).",
            "type": "string"
          }
        },
        "required": [
          "jobId"
        ],
        "type": "object"
      },
      "name": "nuthead_get_project_format",
      "title": "Project format"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "openWorldHint": false,
        "readOnlyHint": false,
        "title": "Rename project"
      },
      "description": "Renames a project in the list.",
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "jobId": {
            "description": "Job id (from a start tool or nuthead_list_jobs).",
            "type": "string"
          },
          "title": {
            "description": "Up to 120 characters.",
            "type": "string"
          }
        },
        "required": [
          "jobId",
          "title"
        ],
        "type": "object"
      },
      "name": "nuthead_rename_project",
      "title": "Rename project"
    },
    {
      "annotations": {
        "destructiveHint": true,
        "openWorldHint": false,
        "readOnlyHint": false,
        "title": "Remove project"
      },
      "description": "Removes a finished project from the list (files stay on disk); undo within 10 s with nuthead_undo_remove_project. Needs confirm: true.",
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "confirm": {
            "description": "",
            "type": "boolean"
          },
          "jobId": {
            "description": "Job id (from a start tool or nuthead_list_jobs).",
            "type": "string"
          }
        },
        "required": [
          "jobId",
          "confirm"
        ],
        "type": "object"
      },
      "name": "nuthead_remove_project",
      "title": "Remove project"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "openWorldHint": false,
        "readOnlyHint": false,
        "title": "Undo remove"
      },
      "description": "Restores a project removed less than 10 s ago.",
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "jobId": {
            "description": "Job id (from a start tool or nuthead_list_jobs).",
            "type": "string"
          }
        },
        "required": [
          "jobId"
        ],
        "type": "object"
      },
      "name": "nuthead_undo_remove_project",
      "title": "Undo remove"
    },
    {
      "annotations": {
        "destructiveHint": true,
        "openWorldHint": false,
        "readOnlyHint": false,
        "title": "Clear finished"
      },
      "description": "Removes all finished/failed projects from the list (files stay on disk). Needs confirm: true and the user's approval in a Nuthead dialog.",
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "confirm": {
            "description": "",
            "type": "boolean"
          }
        },
        "required": [
          "confirm"
        ],
        "type": "object"
      },
      "name": "nuthead_clear_finished",
      "title": "Clear finished"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "openWorldHint": false,
        "readOnlyHint": false,
        "title": "Continue waiting project with Cloud / Own API"
      },
      "description": "Hands a project waiting in waiting_ai (after A-roll or B-roll Stage 1) over to Nuthead Cloud (tokens) or the user's configured Own API so Nuthead finishes Stage 2 automatically.",
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "jobId": {
            "description": "Job id (from a start tool or nuthead_list_jobs).",
            "type": "string"
          }
        },
        "required": [
          "jobId"
        ],
        "type": "object"
      },
      "name": "nuthead_continue_with_cloud",
      "title": "Continue waiting project with Cloud / Own API"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "openWorldHint": false,
        "readOnlyHint": true,
        "title": "Operation result"
      },
      "description": "Result of a longer operation that returned an operationId (waits up to waitSecs).",
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "operationId": {
            "description": "",
            "type": "string"
          },
          "waitSecs": {
            "description": "0..50, default 25.",
            "type": "integer"
          }
        },
        "required": [
          "operationId"
        ],
        "type": "object"
      },
      "name": "nuthead_operation_result",
      "title": "Operation result"
    }
  ]
}
