{"at":"2026-11-23T04:22:00.027Z","dir":"sent","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","method":"server/discover","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/clientInfo":{"name":"didrun-lab","version":"0.1.0"},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-23T04:22:00.452Z","dir":"received","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","result":{"_meta":{"io.modelcontextprotocol/serverInfo":{"name":"gizmos-audacity-mcp","version":"0.1.0"}},"cacheScope":"private","capabilities":{"tools":{"listChanged":true}},"instructions":"Control one local English Audacity 3.7 session. Inspect status and describe effects before editing. Save a new project backup before destructive work; scripted effects have no per-call undo. Preview pipelines with dryRun. After an uncertain reply use dialogs and recover, inspect the project, and never replay an edit automatically.","resultType":"complete","supportedVersions":["2026-07-28"],"ttlMs":0}}}
{"at":"2026-11-23T04:22:00.452Z","dir":"sent","era":"server_discover","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-23T04:22:00.470Z","dir":"received","era":"server_discover","message":{"id":2,"jsonrpc":"2.0","result":{"_meta":{"io.modelcontextprotocol/serverInfo":{"name":"gizmos-audacity-mcp","version":"0.1.0"}},"cacheScope":"private","resultType":"complete","tools":[{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Start or attach to Audacity with a visible or hidden Windows project window. Waits for a real script-pipe response.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"visible":{"default":true,"type":"boolean"}},"type":"object"},"name":"audacity_launch","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":{},"properties":{"processes":{"items":{"additionalProperties":{},"properties":{"executable":{"type":["string","null"]},"fileVersion":{"type":["string","null"]},"pid":{"type":"number"},"productVersion":{"type":["string","null"]}},"required":["pid","executable","fileVersion","productVersion"],"type":"object"},"type":"array"},"started":{"type":"boolean"},"visible":{"type":"boolean"}},"required":["started","visible","processes"],"type":"object"},"title":"Launch"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":false},"description":"Show or hide the Audacity window on Windows. A hidden Audacity keeps working through the pipe.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"show":{"type":"boolean"}},"required":["show"],"type":"object"},"name":"audacity_window","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":{},"properties":{"windows":{"type":"number"}},"required":["windows"],"type":"object"},"title":"Window"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"On Windows, quit Audacity without a save prompt. Without saveTo the project is discarded (saved to a temporary file that is then deleted).","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"saveTo":{"description":"keep the project at this .aup3 path","maxLength":4096,"type":"string"}},"type":"object"},"name":"audacity_quit","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":{},"properties":{"savedTo":{"type":"string"}},"type":"object"},"title":"Quit"},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"On Windows, list Audacity's open windows and dialogs; close=true closes the dialogs (WM_CLOSE, like the window's X; Cancel for questions). Use it when a call times out: a modal dialog blocks the pipe.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"close":{"default":false,"type":"boolean"}},"type":"object"},"name":"audacity_dialogs","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":{},"properties":{"windows":{"items":{"additionalProperties":{},"properties":{"closed":{"type":"boolean"},"dialog":{"type":"boolean"},"title":{"type":"string"},"visible":{"type":"boolean"}},"required":["title","dialog","closed","visible"],"type":"object"},"type":"array"}},"required":["windows"],"type":"object"},"title":"Dialogs"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Get an empty project in a single window. A running session is backed up when it has tracks (backupTo required), then restarted, even when empty. Restart is Windows-only; on other platforms save and quit Audacity first. Never use the New menu: a second project window has crashed Audacity 3.7 under scripting.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"backupTo":{"description":".aup3 path for the current project","maxLength":4096,"type":"string"},"visible":{"default":true,"type":"boolean"}},"type":"object"},"name":"audacity_fresh","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":{},"properties":{"backedUpTo":{"type":["string","null"]},"processes":{"items":{"additionalProperties":{},"properties":{"executable":{"type":["string","null"]},"fileVersion":{"type":["string","null"]},"pid":{"type":"number"},"productVersion":{"type":["string","null"]}},"required":["pid","executable","fileVersion","productVersion"],"type":"object"},"type":"array"},"started":{"type":"boolean"},"visible":{"type":"boolean"}},"required":["started","visible","processes","backedUpTo"],"type":"object"},"title":"Fresh"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Whether Audacity answers, and its tracks with name, kind, start/end, volume, pan, mute and solo.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{},"type":"object"},"name":"audacity_status","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":{},"properties":{"running":{"type":"boolean"},"tracks":{"items":{"additionalProperties":{},"properties":{"channels":{"type":"number"},"end":{"type":"number"},"focused":{"type":"number"},"kind":{"type":"string"},"mute":{"type":"number"},"name":{"type":"string"},"pan":{"type":"number"},"selected":{"type":"number"},"solo":{"type":"number"},"start":{"type":"number"},"volume":{"type":"number"}},"required":["name","kind"],"type":"object"},"type":"array"}},"required":["running"],"type":"object"},"title":"Status"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Read native state: Tracks, Clips, Envelopes (points as t/y), Labels, Boxes, Selection, Preferences, Commands (full catalogue with parameters) or Menus.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"type":{"enum":["Tracks","Clips","Envelopes","Labels","Boxes","Commands","Menus","Selection","Preferences"],"type":"string"}},"required":["type"],"type":"object"},"name":"audacity_info","title":"Info"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Parameters of one scripting command or effect from the bundled English Audacity 3.7.8 catalogue.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"command":{"enum":["Amplify","AutoDuck","BassAndTreble","ChangePitch","ChangeSpeedAndPitch","ChangeTempo","Chirp","ClassicFilters","Compressor","Distortion","Echo","FadeIn","FadeOut","FilterCurve","FindClipping","GraphicEq","Invert","LegacyCompressor","Limiter","LoudnessNormalization","NoiseReduction","Noise","Normalize","Paulstretch","Phaser","Repeat","Reverb","Reverse","Silence","SlidingStretch","StereoToMono","Tone","TruncateSilence","Wahwah","BeatFinder","ClipFix","Pluck","RhythmTrack","High-passFilter","Low-passFilter","Vocoder","NotchFilter","AdjustableFade","CrossfadeClips","CrossfadeTracks","Delay","LegacyLimiter","NoiseGate","SampleDataExport","ShelfFilter","StudioFadeOut","Tremolo","RissetDrum","Comment","CompareAudio","Export2","GetInfo","GetPreference","Import2","SelectFrequencies","SelectTime","SelectTracks","Select","SetClip","SetEnvelope","SetLabel","SetProject","SetTrackAudio","SetTrackStatus","SetTrackVisuals","SetTrack"],"type":"string"}},"required":["command"],"type":"object"},"name":"audacity_describe","outputSchema":{"$defs":{"__schema0":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"items":{"$ref":"#/$defs/__schema0"},"type":"array"},{"additionalProperties":{"$ref":"#/$defs/__schema0"},"propertyNames":{"type":"string"},"type":"object"}]}},"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":{},"properties":{"id":{"type":"string"},"name":{"type":"string"},"params":{"items":{"additionalProperties":{},"properties":{"default":{"$ref":"#/$defs/__schema0"},"enum":{"items":{"type":"string"},"type":"array"},"key":{"type":"string"},"maximum":{"type":"number"},"minimum":{"type":"number"},"type":{"type":"string"}},"required":["key","type"],"type":"object"},"type":"array"},"tip":{"type":"string"},"url":{"type":"string"}},"required":["id","name","params"],"type":"object"},"title":"Describe"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Run a catalogue scripting command or effect on the current selection (Amplify, Compressor, Limiter, LoudnessNormalization, Normalize, High-passFilter, FilterCurve, AutoDuck, FadeIn, …). Parameters follow Audacity's own list; see audacity_describe. Native Set* setters use selected tracks: call audacity_select first. NoiseReduction requires a captured profile.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"command":{"enum":["Amplify","AutoDuck","BassAndTreble","ChangePitch","ChangeSpeedAndPitch","ChangeTempo","Chirp","ClassicFilters","Compressor","Distortion","Echo","FadeIn","FadeOut","FilterCurve","FindClipping","GraphicEq","Invert","LegacyCompressor","Limiter","LoudnessNormalization","NoiseReduction","Noise","Normalize","Paulstretch","Phaser","Repeat","Reverb","Reverse","Silence","SlidingStretch","StereoToMono","Tone","TruncateSilence","Wahwah","BeatFinder","ClipFix","Pluck","RhythmTrack","High-passFilter","Low-passFilter","Vocoder","NotchFilter","AdjustableFade","CrossfadeClips","CrossfadeTracks","Delay","LegacyLimiter","NoiseGate","SampleDataExport","ShelfFilter","StudioFadeOut","Tremolo","RissetDrum","Comment","CompareAudio","Export2","GetInfo","GetPreference","Import2","SelectFrequencies","SelectTime","SelectTracks","Select","SetClip","SetEnvelope","SetLabel","SetProject","SetTrackAudio","SetTrackStatus","SetTrackVisuals","SetTrack"],"type":"string"},"params":{"additionalProperties":{"anyOf":[{"maxLength":4096,"type":"string"},{"type":"number"},{"type":"boolean"}]},"default":{},"propertyNames":{"type":"string"},"type":"object"}},"required":["command"],"type":"object"},"name":"audacity_command","title":"Command"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Run a menu command that needs no dialog (Play, Stop, Undo, Redo, SelectAll, SelectNone, NewMonoTrack, NewStereoTrack, NewLabelTrack, AddLabel, ZoomSel, FitInWindow, CursProjectStart, …). Use audacity_transport for guarded recording.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"command":{"enum":["Undo","Redo","Cut","Delete","Copy","Duplicate","SplitCut","SplitDelete","Silence","Trim","Split","SplitNew","Join","Disjoin","PitchDown","PitchUp","RenderPitchAndSpeed","AddLabel","AddLabelPlaying","PasteNewLabel","TypeToCreateLabel","CutLabels","DeleteLabels","SplitCutLabels","SplitDeleteLabels","SilenceLabels","CopyLabels","SplitLabels","JoinLabels","DisjoinLabels","SelectAll","SelectNone","SelAllTracks","SelSyncLockTracks","SetLeftSelection","SetRightSelection","SelTrackStartToCursor","SelCursorToTrackEnd","SelTrackStartToEnd","SelSave","SelRestore","ToggleSpectralSelection","NextHigherPeakFrequency","NextLowerPeakFrequency","SelPrevClipBoundaryToCursor","SelCursorToNextClipBoundary","SelPrevClip","SelNextClip","SelCursorStoredCursor","StoreCursorPosition","ZoomIn","ZoomNormal","ZoomOut","ZoomSel","ZoomToggle","FitInWindow","FitV","CollapseAllTracks","ExpandAllTracks","SkipSelStart","SkipSelEnd","ResetToolbars","ShowTransportTB","ShowToolsTB","ShowRecordMeterTB","ShowPlayMeterTB","ShowEditTB","ShowCutCopyPasteTB","ShowTranscriptionTB","ShowDeviceTB","ShowSelectionTB","ShowTimeTB","ShowSpectralSelectionTB","ShowAudioSetupTB","ShowSnappingTB","ShowTimeSignatureTB","MinutesAndSeconds","BeatsAndMeasures","ShowExtraMenus","ShowClipping","ShowRMS","DefaultPlayStop","PlayStopSelect","OncePlayStop","Pause","ToggleScrubRuler","CursSelStart","CursSelEnd","CursTrackStart","CursTrackEnd","CursPrevClipBoundary","CursNextClipBoundary","CursProjectStart","CursProjectEnd","TogglePlayRegion","ClearPlayRegion","SetPlayRegionToSelection","SetPlayRegionIn","SetPlayRegionOut","SoundActivation","PinnedHead","Overdub","SWPlaythrough","NewMonoTrack","NewStereoTrack","NewLabelTrack","NewTimeTrack","MixAndRender","MixAndRenderToNewTrack","RemoveTracks","MuteAllTracks","UnmuteAllTracks","MuteTracks","UnmuteTracks","PanLeft","PanRight","PanCenter","Align_EndToEnd","Align_Together","Align_StartToZero","Align_StartToSelStart","Align_StartToSelEnd","Align_EndToSelStart","Align_EndToSelEnd","MoveSelectionWithTracks","SortByTime","SortByName","SyncLock","Play","Stop"],"type":"string"}},"required":["command"],"type":"object"},"name":"audacity_menu","title":"Menu"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":false},"description":"Select a time range on one or more tracks (all tracks when track is omitted; the whole project when start/end are omitted).","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"end":{"maximum":86400,"minimum":0,"type":"number"},"start":{"maximum":86400,"minimum":0,"type":"number"},"track":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"maxLength":4096,"minLength":1,"type":"string"}],"description":"track index (0-based) or unique track name"},"trackCount":{"maximum":256,"minimum":1,"type":"integer"}},"type":"object"},"name":"audacity_select","title":"Select"},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Import an audio (or video, for its sound) file as a new track, name it and place it at start seconds.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"file":{"maxLength":4096,"minLength":1,"type":"string"},"name":{"maxLength":4096,"type":"string"},"start":{"default":0,"maximum":86400,"minimum":0,"type":"number"}},"required":["file"],"type":"object"},"name":"audacity_import","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":{},"properties":{"name":{"type":"string"},"track":{"type":"number"}},"required":["track","name"],"type":"object"},"title":"Import"},{"annotations":{"destructiveHint":true,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":false},"description":"Set track properties: name, gain in dB (the track's volume slider; status reports it back as a linear factor), pan (-1..1), mute, solo.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"gainDb":{"maximum":36,"minimum":-36,"type":"number"},"mute":{"type":"boolean"},"name":{"maxLength":4096,"type":"string"},"pan":{"description":"normalized pan: -1 full left, 0 center, 1 full right","maximum":1,"minimum":-1,"type":"number"},"solo":{"type":"boolean"},"track":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"maxLength":4096,"minLength":1,"type":"string"}],"description":"track index (0-based) or unique track name"}},"required":["track"],"type":"object"},"name":"audacity_track_set","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":{},"properties":{"channels":{"type":"number"},"end":{"type":"number"},"focused":{"type":"number"},"kind":{"type":"string"},"mute":{"type":"number"},"name":{"type":"string"},"pan":{"type":"number"},"selected":{"type":"number"},"solo":{"type":"number"},"start":{"type":"number"},"volume":{"type":"number"}},"required":["name","kind"],"type":"object"},"title":"Track Set"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Move the clip that covers time `at` on a track so it starts at `start` seconds.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"at":{"maximum":86400,"minimum":0,"type":"number"},"start":{"maximum":86400,"minimum":0,"type":"number"},"track":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"maxLength":4096,"minLength":1,"type":"string"}],"description":"track index (0-based) or unique track name"}},"required":["track","at","start"],"type":"object"},"name":"audacity_clip_move","title":"Clip Move"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Write a volume envelope on a track: points of time (s) and linear gain (1 = unchanged, 0.5 = -6 dB, 0.25 = -12 dB). Visible as the volume curve in Audacity. replace=true clears the old points first.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"points":{"items":{"additionalProperties":false,"properties":{"time":{"maximum":86400,"minimum":0,"type":"number"},"value":{"maximum":2,"minimum":0,"type":"number"}},"required":["time","value"],"type":"object"},"maxItems":2000,"minItems":1,"type":"array"},"replace":{"default":true,"type":"boolean"},"track":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"maxLength":4096,"minLength":1,"type":"string"}],"description":"track index (0-based) or unique track name"}},"required":["track","points"],"type":"object"},"name":"audacity_envelope_set","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":{},"properties":{"points":{"type":"number"}},"required":["points"],"type":"object"},"title":"Envelope Set"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Add point or region labels to a named label track, creating it if needed and retaining existing labels. Use them for chapters, picture events or script lines. Disable the label naming dialog in Preferences > Tracks > Track Behaviors before adding labels.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"labels":{"items":{"additionalProperties":false,"properties":{"end":{"maximum":86400,"minimum":0,"type":"number"},"start":{"maximum":86400,"minimum":0,"type":"number"},"text":{"maxLength":4096,"type":"string"}},"required":["start","text"],"type":"object"},"maxItems":500,"minItems":1,"type":"array"},"trackName":{"default":"Labels","maxLength":4096,"minLength":1,"type":"string"}},"required":["labels"],"type":"object"},"name":"audacity_labels_set","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":{},"properties":{"labels":{"type":"number"}},"required":["labels"],"type":"object"},"title":"Labels Set"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Select a track/range and apply an effect using the bundled English Audacity 3.7.8 catalogue parameters. Default time scope is the track extent, avoiding silent gap clips. NoiseReduction requires a captured profile on this same track and params={}; it uses saved UI settings. Scripted effects add no undo entry: save a project backup first.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"effect":{"enum":["Amplify","AutoDuck","BassAndTreble","ChangePitch","ChangeSpeedAndPitch","ChangeTempo","Chirp","ClassicFilters","Compressor","Distortion","Echo","FadeIn","FadeOut","FilterCurve","FindClipping","GraphicEq","Invert","LegacyCompressor","Limiter","LoudnessNormalization","NoiseReduction","Noise","Normalize","Paulstretch","Phaser","Repeat","Reverb","Reverse","Silence","SlidingStretch","StereoToMono","Tone","TruncateSilence","Wahwah","BeatFinder","ClipFix","Pluck","RhythmTrack","High-passFilter","Low-passFilter","Vocoder","NotchFilter","AdjustableFade","CrossfadeClips","CrossfadeTracks","Delay","LegacyLimiter","NoiseGate","SampleDataExport","ShelfFilter","StudioFadeOut","Tremolo","RissetDrum"],"type":"string"},"end":{"maximum":86400,"minimum":0,"type":"number"},"params":{"additionalProperties":{"anyOf":[{"maxLength":4096,"type":"string"},{"type":"number"},{"type":"boolean"}]},"default":{},"propertyNames":{"type":"string"},"type":"object"},"start":{"maximum":86400,"minimum":0,"type":"number"},"track":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"maxLength":4096,"minLength":1,"type":"string"}],"description":"track index (0-based) or unique track name"},"trackCount":{"maximum":256,"minimum":1,"type":"integer"}},"required":["effect"],"type":"object"},"name":"audacity_effect","title":"Effect"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Capture room tone in a fresh Audacity process, then apply NoiseReduction with params={}. Audacity 3.7.8 uses saved UI settings, ignores effect parameters and cannot reset its profile through scripting. Repeating this exact interval reuses its profile; a different interval requires audacity_fresh with backupTo.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"end":{"maximum":86400,"minimum":0,"type":"number"},"start":{"maximum":86400,"minimum":0,"type":"number"},"track":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"maxLength":4096,"minLength":1,"type":"string"}],"description":"track index (0-based) or unique track name"}},"required":["track","start","end"],"type":"object"},"name":"audacity_noise_profile","title":"Noise Profile"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Export the rendered mix or an explicit time range to WAV/FLAC/MP3/OGG by file extension, honoring gain, pan, mute, solo and envelopes. Selects time and tracks explicitly, including after label editing; channels is 1 or 2.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"channels":{"default":2,"maximum":2,"minimum":1,"type":"integer"},"end":{"maximum":86400,"minimum":0,"type":"number"},"file":{"maxLength":4096,"minLength":1,"type":"string"},"start":{"maximum":86400,"minimum":0,"type":"number"}},"required":["file"],"type":"object"},"name":"audacity_export","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":{},"properties":{"file":{"type":"string"}},"required":["file"],"type":"object"},"title":"Export"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Open an existing .aup3 into an empty project or save to a new .aup3 path. Existing save destinations are refused to prevent a blocking modal. Use audacity_fresh with backupTo before opening when tracks are present.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"action":{"enum":["open","save"],"type":"string"},"file":{"maxLength":4096,"minLength":1,"type":"string"}},"required":["action","file"],"type":"object"},"name":"audacity_project","title":"Project"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Preview or run a reviewed cleanup/mastering chain on one track: voice, podcast, interview, audiobook, vocal, live, music, lo-fi or cleanup. dryRun lists exact ordered commands without changing selection. Noise reduction requires supplied room tone; normalization and limiting are explicit. Default range is the track extent, recalculated after edits.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"attackMs":{"maximum":200,"minimum":0,"type":"number"},"bassDb":{"maximum":20,"minimum":-20,"type":"number"},"compress":{"type":"boolean"},"dryRun":{"default":false,"type":"boolean"},"end":{"maximum":86400,"minimum":0,"type":"number"},"highPassHz":{"maximum":20000,"minimum":1,"type":"number"},"limitPeakDb":{"description":"optional limiter after normalization; measure the result","maximum":0,"minimum":-20,"type":"number"},"loudness":{"default":"none","description":"normalization can raise quiet audio; select it explicitly","enum":["none","peak","lufs","rms"],"type":"string"},"lowPassHz":{"maximum":20000,"minimum":1,"type":"number"},"lufs":{"default":-16,"maximum":-5,"minimum":-50,"type":"number"},"noiseProfile":{"additionalProperties":false,"description":"explicit room-tone interval; omitting it skips noise reduction","properties":{"end":{"maximum":86400,"minimum":0,"type":"number"},"start":{"maximum":86400,"minimum":0,"type":"number"}},"required":["start","end"],"type":"object"},"peakDb":{"default":-1,"maximum":0,"minimum":-60,"type":"number"},"preset":{"default":"voice","enum":["cleanup","voice","podcast","interview","audiobook","vocal","live","music","lofi"],"type":"string"},"ratio":{"maximum":20,"minimum":1,"type":"number"},"releaseMs":{"maximum":1000,"minimum":1,"type":"number"},"removeClicks":{"default":false,"description":"must remain false: native Click Removal can open a blocking result dialog","type":"boolean"},"removeDc":{"default":true,"type":"boolean"},"rmsDb":{"default":-20,"maximum":-5,"minimum":-50,"type":"number"},"shortenPauses":{"additionalProperties":false,"description":"optional destructive silence truncation; changes timing and video sync","properties":{"minimum":{"default":0.5,"maximum":60,"minimum":0.01,"type":"number"},"thresholdDb":{"default":-40,"maximum":-20,"minimum":-80,"type":"number"},"truncateTo":{"default":0.3,"maximum":60,"minimum":0,"type":"number"}},"type":"object"},"start":{"maximum":86400,"minimum":0,"type":"number"},"thresholdDb":{"maximum":0,"minimum":-60,"type":"number"},"track":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"maxLength":4096,"minLength":1,"type":"string"}]},"trebleDb":{"maximum":20,"minimum":-20,"type":"number"}},"required":["track"],"type":"object"},"name":"audacity_pipeline","outputSchema":{"$defs":{"__schema0":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"items":{"$ref":"#/$defs/__schema0"},"type":"array"},{"additionalProperties":{"$ref":"#/$defs/__schema0"},"propertyNames":{"type":"string"},"type":"object"}]}},"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":{},"properties":{"applied":{"items":{"type":"string"},"type":"array"},"dryRun":{"type":"boolean"},"notes":{"items":{"type":"string"},"type":"array"},"preset":{"type":"string"},"steps":{"items":{"additionalProperties":{},"properties":{"captureProfile":{"const":true,"type":"boolean"},"command":{"type":"string"},"name":{"type":"string"},"params":{"additionalProperties":{"$ref":"#/$defs/__schema0"},"propertyNames":{"type":"string"},"type":"object"},"scope":{"additionalProperties":{},"properties":{"end":{"type":"number"},"start":{"type":"number"},"track":{"type":["number","string"]},"trackCount":{"type":"number"}},"required":["track"],"type":"object"}},"required":["command","params","scope"],"type":"object"},"type":"array"}},"required":["dryRun","preset","steps","notes"],"type":"object"},"title":"Pipeline"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Split, split-new, trim, duplicate, delete, cut/copy, silence or join/disjoin audio on explicit tracks and time range. split accepts a cursor; delete closes the gap while split_delete retains timing. Paste is not offered: it depends on the system clipboard.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"action":{"enum":["split","split_new","trim","duplicate","delete","split_delete","cut","split_cut","copy","silence","join","disjoin"],"type":"string"},"end":{"maximum":86400,"minimum":0,"type":"number"},"start":{"maximum":86400,"minimum":0,"type":"number"},"track":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"maxLength":4096,"minLength":1,"type":"string"}]},"trackCount":{"default":1,"maximum":256,"minimum":1,"type":"integer"}},"required":["action","track"],"type":"object"},"name":"audacity_edit","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":{},"properties":{"action":{"type":"string"},"end":{"type":"number"},"reply":{"type":"string"},"start":{"type":"number"},"track":{"type":"number"}},"required":["action","track","start","end","reply"],"type":"object"},"title":"Edit"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Generate tone/noise/silence/chirp/rhythm in a new mono/stereo track, or replace a range of an existing track. Uses a time selection for duration and validates kind-specific parameters before adding tracks.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"amplitude":{"maximum":1,"minimum":0,"type":"number"},"beatsPerBar":{"maximum":20,"minimum":1,"type":"integer"},"channels":{"description":"new-track channel count; defaults to mono and must be omitted for an existing track","maximum":2,"minimum":1,"type":"integer"},"clickSound":{"enum":["Metronome","Ping (short)","Ping (long)","Cowbell","ResonantNoise","NoiseClick","Drip (short)","Drip (long)"],"type":"string"},"duration":{"default":1,"exclusiveMinimum":0,"maximum":3600,"type":"number"},"endAmplitude":{"maximum":1,"minimum":0,"type":"number"},"endFrequency":{"maximum":20000,"minimum":1,"type":"number"},"frequency":{"maximum":20000,"minimum":1,"type":"number"},"interpolation":{"enum":["Linear","Logarithmic"],"type":"string"},"kind":{"enum":["tone","noise","silence","chirp","rhythm"],"type":"string"},"name":{"maxLength":4096,"minLength":1,"type":"string"},"noiseType":{"enum":["White","Pink","Brownian"],"type":"string"},"start":{"default":0,"maximum":86400,"minimum":0,"type":"number"},"swing":{"maximum":1,"minimum":-1,"type":"number"},"tempo":{"maximum":300,"minimum":30,"type":"number"},"track":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"maxLength":4096,"minLength":1,"type":"string"}],"description":"omit to create a new track; supplying it replaces audio in the range"},"waveform":{"enum":["Sine","Square","Sawtooth","Square, no alias","Triangle"],"type":"string"}},"required":["kind"],"type":"object"},"name":"audacity_generate","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":{},"properties":{"end":{"type":"number"},"kind":{"type":"string"},"name":{"type":"string"},"start":{"type":"number"},"track":{"type":"number"}},"required":["kind","track","start","end"],"type":"object"},"title":"Generate"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Rename/color a clip or apply a relative gain in dB destructively to its samples. For name/color, at must lie strictly inside exactly one clip, avoiding shared boundaries. Use audacity_track_set gainDb for a reversible track slider, audacity_clip_move for timing.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"at":{"description":"time inside the clip; name/color require a point strictly after its start and before its end","maximum":86400,"minimum":0,"type":"number"},"color":{"enum":["Color0","Color1","Color2","Color3"],"type":"string"},"gainDb":{"description":"relative sample gain applied destructively with Amplify to this clip","maximum":36,"minimum":-50,"type":"number"},"name":{"maxLength":4096,"type":"string"},"track":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"maxLength":4096,"minLength":1,"type":"string"}]}},"required":["track","at"],"type":"object"},"name":"audacity_clip_set","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":{},"properties":{"color":{"type":"string"},"end":{"type":"number"},"gainDbApplied":{"type":"number"},"name":{"type":"string"},"start":{"type":"number"},"track":{"type":"number"}},"required":["track","start","end"],"type":"object"},"title":"Clip Set"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Add mono/stereo/label tracks, remove tracks, mix/render, or align selected tracks by start/end/selection. Track scope is explicit; add actions can name the new track. mix_new keeps the original tracks audible: mute them before exporting the new mix to avoid doubling. Find the new audio track in returned tracks; it can precede label tracks.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"action":{"enum":["add_mono","add_stereo","add_label","remove","mix","mix_new","align_end_to_end","align_together","align_start_zero","align_start_cursor","align_start_end","align_end_cursor","align_end_end"],"type":"string"},"end":{"maximum":86400,"minimum":0,"type":"number"},"name":{"maxLength":4096,"minLength":1,"type":"string"},"start":{"maximum":86400,"minimum":0,"type":"number"},"track":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"maxLength":4096,"minLength":1,"type":"string"}]},"trackCount":{"default":1,"maximum":256,"minimum":1,"type":"integer"}},"required":["action"],"type":"object"},"name":"audacity_track_edit","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":{},"properties":{"action":{"type":"string"},"reply":{"type":"string"},"track":{"type":"number"},"tracks":{"items":{"additionalProperties":{},"properties":{"kind":{"type":"string"},"name":{"type":"string"}},"required":["name","kind"],"type":"object"},"type":"array"}},"required":["tracks"],"type":"object"},"title":"Track Edit"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Apply sample FadeIn or FadeOut on one track and time range. Omitting time applies to the track extent; use envelope_set for editable automation.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"direction":{"enum":["in","out"],"type":"string"},"end":{"maximum":86400,"minimum":0,"type":"number"},"start":{"maximum":86400,"minimum":0,"type":"number"},"track":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"maxLength":4096,"minLength":1,"type":"string"}]}},"required":["track","direction"],"type":"object"},"name":"audacity_fade","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":{},"properties":{"direction":{"enum":["in","out"],"type":"string"},"end":{"type":"number"},"start":{"type":"number"},"track":{"type":"number"}},"required":["track","start","end","direction"],"type":"object"},"title":"Fade"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Destructively duck bed samples under speech using native AutoDuck; save a project backup first. The unselected voice must be the immediately following track below the selected bed; import the bed first, then voice. dryRun lists exact parameters/range. Use audacity_envelope_set for editable ducking or an existing track order.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"bed":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"maxLength":4096,"minLength":1,"type":"string"}],"description":"bed track index (0-based) or unique name; must immediately precede the voice track"},"dryRun":{"default":false,"type":"boolean"},"duckDb":{"default":-12,"description":"attenuation applied to the bed, in dB","maximum":0,"minimum":-24,"type":"number"},"end":{"maximum":86400,"minimum":0,"type":"number"},"fadeDown":{"default":0.5,"description":"outer fade-down duration, in seconds","maximum":3,"minimum":0,"type":"number"},"fadeUp":{"default":0.5,"description":"outer fade-up duration, in seconds","maximum":3,"minimum":0,"type":"number"},"innerFadeDown":{"default":0,"description":"inner fade-down duration, in seconds","maximum":3,"minimum":0,"type":"number"},"innerFadeUp":{"default":0,"description":"inner fade-up duration, in seconds","maximum":3,"minimum":0,"type":"number"},"maximumPause":{"default":1,"description":"maximum pause to bridge while ducking, in seconds","maximum":60,"minimum":0,"type":"number"},"start":{"maximum":86400,"minimum":0,"type":"number"},"thresholdDb":{"default":-30,"description":"voice detection threshold, in dB","maximum":0,"minimum":-100,"type":"number"},"voice":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"maxLength":4096,"minLength":1,"type":"string"}],"description":"voice track index (0-based) or unique name; must immediately follow the bed track"}},"required":["bed","voice"],"type":"object"},"name":"audacity_auto_duck","outputSchema":{"$defs":{"__schema0":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"items":{"$ref":"#/$defs/__schema0"},"type":"array"},{"additionalProperties":{"$ref":"#/$defs/__schema0"},"propertyNames":{"type":"string"},"type":"object"}]}},"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":{},"properties":{"bed":{"type":"number"},"command":{"type":"string"},"dryRun":{"type":"boolean"},"params":{"additionalProperties":{"$ref":"#/$defs/__schema0"},"propertyNames":{"type":"string"},"type":"object"},"scope":{"additionalProperties":{},"properties":{"end":{"type":"number"},"start":{"type":"number"},"track":{"type":["number","string"]},"trackCount":{"type":"number"}},"required":["track"],"type":"object"},"voice":{"type":"number"}},"required":["dryRun","voice","params","scope"],"type":"object"},"title":"Auto Duck"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Measure then apply static gain to approach targetLufs while preserving measured true-peak headroom and respecting maxBoostDb. Requires ffmpeg and a non-silent audio track; default scope is its own extent. dryRun returns the measured input and Amplify plan without applying gain. Reports before/after and whether the target was achievable; it never compresses or guesses absent LUFS/true peak.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"dryRun":{"default":false,"type":"boolean"},"end":{"maximum":86400,"minimum":0,"type":"number"},"maxBoostDb":{"default":18,"description":"maximum positive static gain, in dB; does not cap attenuation","maximum":36,"minimum":0,"type":"number"},"start":{"maximum":86400,"minimum":0,"type":"number"},"targetLufs":{"default":-16,"description":"desired integrated loudness, in LUFS","maximum":-5,"minimum":-50,"type":"number"},"toleranceLu":{"default":0.5,"description":"allowed distance from targetLufs, in LU","maximum":3,"minimum":0.1,"type":"number"},"track":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"maxLength":4096,"minLength":1,"type":"string"}]},"truePeakCeilingDbtp":{"default":-1,"description":"maximum rendered true peak, in dBTP","maximum":0,"minimum":-20,"type":"number"}},"required":["track"],"type":"object"},"name":"audacity_loudness_target","outputSchema":{"$defs":{"__schema0":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"items":{"$ref":"#/$defs/__schema0"},"type":"array"},{"additionalProperties":{"$ref":"#/$defs/__schema0"},"propertyNames":{"type":"string"},"type":"object"}]}},"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":{},"properties":{"after":{"additionalProperties":{},"properties":{"backend":{"type":"string"},"channels":{"type":"number"},"clippedSamples":{"type":"number"},"crestDb":{"type":["number","null"]},"dcOffset":{"type":"number"},"discontinuities":{"type":"number"},"dualMono":{"type":"boolean"},"duration":{"type":"number"},"dynamicRangeDbEstimate":{"type":["number","null"]},"file":{"type":"string"},"frames":{"type":"number"},"integratedLufs":{"type":["number","null"]},"loudnessRangeLu":{"type":["number","null"]},"notes":{"items":{"type":"string"},"type":"array"},"peak":{"type":"number"},"peakDbfs":{"type":["number","null"]},"perChannel":{"items":{"additionalProperties":false,"properties":{"clippedSamples":{"type":"number"},"dcOffset":{"type":"number"},"discontinuities":{"type":"number"},"peak":{"type":"number"},"peakDbfs":{"type":["number","null"]},"rms":{"type":"number"},"rmsDbfs":{"type":["number","null"]}},"required":["peak","peakDbfs","rms","rmsDbfs","dcOffset","clippedSamples","discontinuities"],"type":"object"},"type":"array"},"quietRmsDbfsEstimate":{"type":["number","null"]},"rms":{"type":"number"},"rmsDbfs":{"type":["number","null"]},"sampleRate":{"type":"number"},"scope":{"additionalProperties":false,"properties":{"end":{"type":"number"},"start":{"type":"number"},"tracks":{"items":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"type":"array"}},"required":["tracks","start","end"],"type":"object"},"silenceGapCount":{"type":"number"},"silenceGaps":{"items":{"additionalProperties":false,"properties":{"duration":{"type":"number"},"end":{"type":"number"},"start":{"type":"number"}},"required":["start","end","duration"],"type":"object"},"type":"array"},"truePeakDbtp":{"type":["number","null"]},"unavailable":{"additionalProperties":{"type":"string"},"propertyNames":{"type":"string"},"type":"object"}},"required":["duration","sampleRate","channels","frames","peak","peakDbfs","rms","rmsDbfs","crestDb","dcOffset","clippedSamples","discontinuities","silenceGaps","silenceGapCount","quietRmsDbfsEstimate","dynamicRangeDbEstimate","perChannel","integratedLufs","truePeakDbtp","loudnessRangeLu","unavailable","notes","backend","dualMono"],"type":"object"},"before":{"additionalProperties":{},"properties":{"backend":{"type":"string"},"channels":{"type":"number"},"clippedSamples":{"type":"number"},"crestDb":{"type":["number","null"]},"dcOffset":{"type":"number"},"discontinuities":{"type":"number"},"dualMono":{"type":"boolean"},"duration":{"type":"number"},"dynamicRangeDbEstimate":{"type":["number","null"]},"file":{"type":"string"},"frames":{"type":"number"},"integratedLufs":{"type":["number","null"]},"loudnessRangeLu":{"type":["number","null"]},"notes":{"items":{"type":"string"},"type":"array"},"peak":{"type":"number"},"peakDbfs":{"type":["number","null"]},"perChannel":{"items":{"additionalProperties":false,"properties":{"clippedSamples":{"type":"number"},"dcOffset":{"type":"number"},"discontinuities":{"type":"number"},"peak":{"type":"number"},"peakDbfs":{"type":["number","null"]},"rms":{"type":"number"},"rmsDbfs":{"type":["number","null"]}},"required":["peak","peakDbfs","rms","rmsDbfs","dcOffset","clippedSamples","discontinuities"],"type":"object"},"type":"array"},"quietRmsDbfsEstimate":{"type":["number","null"]},"rms":{"type":"number"},"rmsDbfs":{"type":["number","null"]},"sampleRate":{"type":"number"},"scope":{"additionalProperties":false,"properties":{"end":{"type":"number"},"start":{"type":"number"},"tracks":{"items":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"type":"array"}},"required":["tracks","start","end"],"type":"object"},"silenceGapCount":{"type":"number"},"silenceGaps":{"items":{"additionalProperties":false,"properties":{"duration":{"type":"number"},"end":{"type":"number"},"start":{"type":"number"}},"required":["start","end","duration"],"type":"object"},"type":"array"},"truePeakDbtp":{"type":["number","null"]},"unavailable":{"additionalProperties":{"type":"string"},"propertyNames":{"type":"string"},"type":"object"}},"required":["duration","sampleRate","channels","frames","peak","peakDbfs","rms","rmsDbfs","crestDb","dcOffset","clippedSamples","discontinuities","silenceGaps","silenceGapCount","quietRmsDbfsEstimate","dynamicRangeDbEstimate","perChannel","integratedLufs","truePeakDbtp","loudnessRangeLu","unavailable","notes","backend","dualMono"],"type":"object"},"clippedSamples":{"type":"number"},"dryRun":{"type":"boolean"},"notes":{"items":{"type":"string"},"type":"array"},"plan":{"additionalProperties":{"$ref":"#/$defs/__schema0"},"propertyNames":{"type":"string"},"type":"object"},"samplePeakDbfs":{"type":["number","null"]},"steps":{"items":{"additionalProperties":{"$ref":"#/$defs/__schema0"},"propertyNames":{"type":"string"},"type":"object"},"type":"array"},"targetCheck":{"additionalProperties":{},"properties":{"checks":{"additionalProperties":{"additionalProperties":{},"properties":{"actual":{"type":["number","null"]},"gap":{"type":"number"},"reason":{"type":"string"},"status":{"enum":["met","missed","unknown"],"type":"string"},"target":{"additionalProperties":{},"properties":{"max":{"type":"number"},"min":{"type":"number"}},"type":"object"}},"required":["status","actual","target"],"type":"object"},"propertyNames":{"type":"string"},"type":"object"},"status":{"enum":["met","missed","unknown"],"type":"string"}},"required":["status","checks"],"type":"object"}},"required":["dryRun","before","plan","steps"],"type":"object"},"title":"Loudness Target"},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Find quiet regions without deleting audio: every channel must stay below thresholdDb for minimumSeconds. Scan an optional file, or rendered tracks/currentSelection with selection restored. Times are absolute project seconds for Audacity ranges and file seconds for files. Returns capped regions plus the total count; current mute/gain/envelopes affect rendered silence.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"currentSelection":{"default":false,"type":"boolean"},"end":{"maximum":86400,"minimum":0,"type":"number"},"file":{"maxLength":4096,"minLength":1,"type":"string"},"maxRegions":{"default":100,"maximum":1000,"minimum":1,"type":"integer"},"minimumSeconds":{"default":0.5,"maximum":3600,"minimum":0.001,"type":"number"},"start":{"maximum":86400,"minimum":0,"type":"number"},"thresholdDb":{"default":-60,"maximum":0,"minimum":-120,"type":"number"},"track":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"maxLength":4096,"minLength":1,"type":"string"}]},"trackCount":{"maximum":256,"minimum":1,"type":"integer"}},"type":"object"},"name":"audacity_silence","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":{},"properties":{"count":{"type":"number"},"file":{"type":"string"},"minimumSeconds":{"type":"number"},"notes":{"items":{"type":"string"},"type":"array"},"regions":{"items":{"additionalProperties":false,"properties":{"duration":{"type":"number"},"end":{"type":"number"},"start":{"type":"number"}},"required":["start","end","duration"],"type":"object"},"type":"array"},"scope":{"additionalProperties":false,"properties":{"end":{"type":"number"},"start":{"type":"number"},"tracks":{"items":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"type":"array"}},"required":["tracks","start","end"],"type":"object"},"thresholdDb":{"type":"number"},"truncated":{"type":"boolean"}},"required":["regions","count","truncated","thresholdDb","minimumSeconds","notes"],"type":"object"},"title":"Silence"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Inspect an audio/video file before importing or exporting: container, duration, audio codecs, sample rate, channels and stream metadata. Requires optional ffprobe (installed with ffmpeg); reads the file without changing Audacity.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"file":{"maxLength":4096,"minLength":1,"type":"string"},"timeoutMs":{"default":30000,"maximum":120000,"minimum":1000,"type":"integer"}},"required":["file"],"type":"object"},"name":"audacity_probe_file","outputSchema":{"$defs":{"__schema0":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"items":{"$ref":"#/$defs/__schema0"},"type":"array"},{"additionalProperties":{"$ref":"#/$defs/__schema0"},"propertyNames":{"type":"string"},"type":"object"}]}},"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":{},"properties":{"file":{"type":"string"},"format":{"additionalProperties":{"$ref":"#/$defs/__schema0"},"propertyNames":{"type":"string"},"type":"object"},"streams":{"items":{"additionalProperties":{"$ref":"#/$defs/__schema0"},"propertyNames":{"type":"string"},"type":"object"},"type":"array"}},"required":["file","format","streams"],"type":"object"},"title":"Probe File"},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Measure tracks, a time range, or currentSelection using a temporary export; restores selection and preserves track controls. Reports peak/RMS/DC/crest, advisory defects and silence. Optional ffmpeg adds integrated LUFS/LRA/true peak. Reads rendered gain/mute/solo/envelopes, so use file measurement for unprocessed source levels. With targets, returns {measurement,targetCheck}; otherwise returns the measurement directly.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"backend":{"default":"auto","enum":["auto","wav","ffmpeg"],"type":"string"},"currentSelection":{"default":false,"type":"boolean"},"dualMono":{"default":true,"type":"boolean"},"end":{"maximum":86400,"minimum":0,"type":"number"},"start":{"maximum":86400,"minimum":0,"type":"number"},"targets":{"additionalProperties":false,"properties":{"integratedLufs":{"additionalProperties":false,"properties":{"max":{"type":"number"},"min":{"type":"number"}},"type":"object"},"noiseFloorDbfs":{"additionalProperties":false,"properties":{"max":{"type":"number"},"min":{"type":"number"}},"type":"object"},"peakDbfs":{"additionalProperties":false,"properties":{"max":{"type":"number"},"min":{"type":"number"}},"type":"object"},"rmsDbfs":{"additionalProperties":false,"properties":{"max":{"type":"number"},"min":{"type":"number"}},"type":"object"},"truePeakDbtp":{"additionalProperties":false,"properties":{"max":{"type":"number"},"min":{"type":"number"}},"type":"object"}},"type":"object"},"timeoutMs":{"default":300000,"maximum":600000,"minimum":1000,"type":"integer"},"track":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"maxLength":4096,"minLength":1,"type":"string"}]},"trackCount":{"maximum":256,"minimum":1,"type":"integer"}},"type":"object"},"name":"audacity_measure","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":{},"properties":{"backend":{"type":"string"},"channels":{"type":"number"},"clippedSamples":{"type":"number"},"crestDb":{"type":["number","null"]},"dcOffset":{"type":"number"},"discontinuities":{"type":"number"},"dualMono":{"type":"boolean"},"duration":{"type":"number"},"dynamicRangeDbEstimate":{"type":["number","null"]},"file":{"type":"string"},"frames":{"type":"number"},"integratedLufs":{"type":["number","null"]},"loudnessRangeLu":{"type":["number","null"]},"measurement":{"additionalProperties":{},"properties":{"backend":{"type":"string"},"channels":{"type":"number"},"clippedSamples":{"type":"number"},"crestDb":{"type":["number","null"]},"dcOffset":{"type":"number"},"discontinuities":{"type":"number"},"dualMono":{"type":"boolean"},"duration":{"type":"number"},"dynamicRangeDbEstimate":{"type":["number","null"]},"file":{"type":"string"},"frames":{"type":"number"},"integratedLufs":{"type":["number","null"]},"loudnessRangeLu":{"type":["number","null"]},"notes":{"items":{"type":"string"},"type":"array"},"peak":{"type":"number"},"peakDbfs":{"type":["number","null"]},"perChannel":{"items":{"additionalProperties":false,"properties":{"clippedSamples":{"type":"number"},"dcOffset":{"type":"number"},"discontinuities":{"type":"number"},"peak":{"type":"number"},"peakDbfs":{"type":["number","null"]},"rms":{"type":"number"},"rmsDbfs":{"type":["number","null"]}},"required":["peak","peakDbfs","rms","rmsDbfs","dcOffset","clippedSamples","discontinuities"],"type":"object"},"type":"array"},"quietRmsDbfsEstimate":{"type":["number","null"]},"rms":{"type":"number"},"rmsDbfs":{"type":["number","null"]},"sampleRate":{"type":"number"},"scope":{"additionalProperties":false,"properties":{"end":{"type":"number"},"start":{"type":"number"},"tracks":{"items":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"type":"array"}},"required":["tracks","start","end"],"type":"object"},"silenceGapCount":{"type":"number"},"silenceGaps":{"items":{"additionalProperties":false,"properties":{"duration":{"type":"number"},"end":{"type":"number"},"start":{"type":"number"}},"required":["start","end","duration"],"type":"object"},"type":"array"},"truePeakDbtp":{"type":["number","null"]},"unavailable":{"additionalProperties":{"type":"string"},"propertyNames":{"type":"string"},"type":"object"}},"required":["duration","sampleRate","channels","frames","peak","peakDbfs","rms","rmsDbfs","crestDb","dcOffset","clippedSamples","discontinuities","silenceGaps","silenceGapCount","quietRmsDbfsEstimate","dynamicRangeDbEstimate","perChannel","integratedLufs","truePeakDbtp","loudnessRangeLu","unavailable","notes","backend","dualMono"],"type":"object"},"notes":{"items":{"type":"string"},"type":"array"},"peak":{"type":"number"},"peakDbfs":{"type":["number","null"]},"perChannel":{"items":{"additionalProperties":false,"properties":{"clippedSamples":{"type":"number"},"dcOffset":{"type":"number"},"discontinuities":{"type":"number"},"peak":{"type":"number"},"peakDbfs":{"type":["number","null"]},"rms":{"type":"number"},"rmsDbfs":{"type":["number","null"]}},"required":["peak","peakDbfs","rms","rmsDbfs","dcOffset","clippedSamples","discontinuities"],"type":"object"},"type":"array"},"quietRmsDbfsEstimate":{"type":["number","null"]},"rms":{"type":"number"},"rmsDbfs":{"type":["number","null"]},"sampleRate":{"type":"number"},"scope":{"additionalProperties":false,"properties":{"end":{"type":"number"},"start":{"type":"number"},"tracks":{"items":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"type":"array"}},"required":["tracks","start","end"],"type":"object"},"silenceGapCount":{"type":"number"},"silenceGaps":{"items":{"additionalProperties":false,"properties":{"duration":{"type":"number"},"end":{"type":"number"},"start":{"type":"number"}},"required":["start","end","duration"],"type":"object"},"type":"array"},"targetCheck":{"additionalProperties":{},"properties":{"checks":{"additionalProperties":{"additionalProperties":{},"properties":{"actual":{"type":["number","null"]},"gap":{"type":"number"},"reason":{"type":"string"},"status":{"enum":["met","missed","unknown"],"type":"string"},"target":{"additionalProperties":{},"properties":{"max":{"type":"number"},"min":{"type":"number"}},"type":"object"}},"required":["status","actual","target"],"type":"object"},"propertyNames":{"type":"string"},"type":"object"},"status":{"enum":["met","missed","unknown"],"type":"string"}},"required":["status","checks"],"type":"object"},"truePeakDbtp":{"type":["number","null"]},"unavailable":{"additionalProperties":{"type":"string"},"propertyNames":{"type":"string"},"type":"object"}},"type":"object"},"title":"Measure"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Measure an exported/source audio file without touching Audacity. Native PCM/float WAV peak/RMS/DC/crest and advisory defects need no dependencies; ffmpeg on PATH adds EBU R128 LUFS/LRA/true peak and decodes other containers. Unavailable targets report unknown. With targets, returns {measurement,targetCheck}; otherwise returns the measurement directly.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"backend":{"default":"auto","enum":["auto","wav","ffmpeg"],"type":"string"},"dualMono":{"default":true,"type":"boolean"},"file":{"maxLength":4096,"minLength":1,"type":"string"},"targets":{"additionalProperties":false,"properties":{"integratedLufs":{"additionalProperties":false,"properties":{"max":{"type":"number"},"min":{"type":"number"}},"type":"object"},"noiseFloorDbfs":{"additionalProperties":false,"properties":{"max":{"type":"number"},"min":{"type":"number"}},"type":"object"},"peakDbfs":{"additionalProperties":false,"properties":{"max":{"type":"number"},"min":{"type":"number"}},"type":"object"},"rmsDbfs":{"additionalProperties":false,"properties":{"max":{"type":"number"},"min":{"type":"number"}},"type":"object"},"truePeakDbtp":{"additionalProperties":false,"properties":{"max":{"type":"number"},"min":{"type":"number"}},"type":"object"}},"type":"object"},"timeoutMs":{"default":300000,"maximum":600000,"minimum":1000,"type":"integer"}},"required":["file"],"type":"object"},"name":"audacity_measure_file","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":{},"properties":{"backend":{"type":"string"},"channels":{"type":"number"},"clippedSamples":{"type":"number"},"crestDb":{"type":["number","null"]},"dcOffset":{"type":"number"},"discontinuities":{"type":"number"},"dualMono":{"type":"boolean"},"duration":{"type":"number"},"dynamicRangeDbEstimate":{"type":["number","null"]},"file":{"type":"string"},"frames":{"type":"number"},"integratedLufs":{"type":["number","null"]},"loudnessRangeLu":{"type":["number","null"]},"measurement":{"additionalProperties":{},"properties":{"backend":{"type":"string"},"channels":{"type":"number"},"clippedSamples":{"type":"number"},"crestDb":{"type":["number","null"]},"dcOffset":{"type":"number"},"discontinuities":{"type":"number"},"dualMono":{"type":"boolean"},"duration":{"type":"number"},"dynamicRangeDbEstimate":{"type":["number","null"]},"file":{"type":"string"},"frames":{"type":"number"},"integratedLufs":{"type":["number","null"]},"loudnessRangeLu":{"type":["number","null"]},"notes":{"items":{"type":"string"},"type":"array"},"peak":{"type":"number"},"peakDbfs":{"type":["number","null"]},"perChannel":{"items":{"additionalProperties":false,"properties":{"clippedSamples":{"type":"number"},"dcOffset":{"type":"number"},"discontinuities":{"type":"number"},"peak":{"type":"number"},"peakDbfs":{"type":["number","null"]},"rms":{"type":"number"},"rmsDbfs":{"type":["number","null"]}},"required":["peak","peakDbfs","rms","rmsDbfs","dcOffset","clippedSamples","discontinuities"],"type":"object"},"type":"array"},"quietRmsDbfsEstimate":{"type":["number","null"]},"rms":{"type":"number"},"rmsDbfs":{"type":["number","null"]},"sampleRate":{"type":"number"},"scope":{"additionalProperties":false,"properties":{"end":{"type":"number"},"start":{"type":"number"},"tracks":{"items":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"type":"array"}},"required":["tracks","start","end"],"type":"object"},"silenceGapCount":{"type":"number"},"silenceGaps":{"items":{"additionalProperties":false,"properties":{"duration":{"type":"number"},"end":{"type":"number"},"start":{"type":"number"}},"required":["start","end","duration"],"type":"object"},"type":"array"},"truePeakDbtp":{"type":["number","null"]},"unavailable":{"additionalProperties":{"type":"string"},"propertyNames":{"type":"string"},"type":"object"}},"required":["duration","sampleRate","channels","frames","peak","peakDbfs","rms","rmsDbfs","crestDb","dcOffset","clippedSamples","discontinuities","silenceGaps","silenceGapCount","quietRmsDbfsEstimate","dynamicRangeDbEstimate","perChannel","integratedLufs","truePeakDbtp","loudnessRangeLu","unavailable","notes","backend","dualMono"],"type":"object"},"notes":{"items":{"type":"string"},"type":"array"},"peak":{"type":"number"},"peakDbfs":{"type":["number","null"]},"perChannel":{"items":{"additionalProperties":false,"properties":{"clippedSamples":{"type":"number"},"dcOffset":{"type":"number"},"discontinuities":{"type":"number"},"peak":{"type":"number"},"peakDbfs":{"type":["number","null"]},"rms":{"type":"number"},"rmsDbfs":{"type":["number","null"]}},"required":["peak","peakDbfs","rms","rmsDbfs","dcOffset","clippedSamples","discontinuities"],"type":"object"},"type":"array"},"quietRmsDbfsEstimate":{"type":["number","null"]},"rms":{"type":"number"},"rmsDbfs":{"type":["number","null"]},"sampleRate":{"type":"number"},"scope":{"additionalProperties":false,"properties":{"end":{"type":"number"},"start":{"type":"number"},"tracks":{"items":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"type":"array"}},"required":["tracks","start","end"],"type":"object"},"silenceGapCount":{"type":"number"},"silenceGaps":{"items":{"additionalProperties":false,"properties":{"duration":{"type":"number"},"end":{"type":"number"},"start":{"type":"number"}},"required":["start","end","duration"],"type":"object"},"type":"array"},"targetCheck":{"additionalProperties":{},"properties":{"checks":{"additionalProperties":{"additionalProperties":{},"properties":{"actual":{"type":["number","null"]},"gap":{"type":"number"},"reason":{"type":"string"},"status":{"enum":["met","missed","unknown"],"type":"string"},"target":{"additionalProperties":{},"properties":{"max":{"type":"number"},"min":{"type":"number"}},"type":"object"}},"required":["status","actual","target"],"type":"object"},"propertyNames":{"type":"string"},"type":"object"},"status":{"enum":["met","missed","unknown"],"type":"string"}},"required":["status","checks"],"type":"object"},"truePeakDbtp":{"type":["number","null"]},"unavailable":{"additionalProperties":{"type":"string"},"propertyNames":{"type":"string"},"type":"object"}},"type":"object"},"title":"Measure File"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Compare before/after audio files with the same measurement settings. Returns both reports and numeric changes only for metrics established on both sides; missing LUFS or true peak never becomes a zero change.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"after":{"maxLength":4096,"minLength":1,"type":"string"},"backend":{"default":"auto","enum":["auto","wav","ffmpeg"],"type":"string"},"before":{"maxLength":4096,"minLength":1,"type":"string"},"dualMono":{"default":true,"type":"boolean"},"targets":{"additionalProperties":false,"properties":{"integratedLufs":{"additionalProperties":false,"properties":{"max":{"type":"number"},"min":{"type":"number"}},"type":"object"},"noiseFloorDbfs":{"additionalProperties":false,"properties":{"max":{"type":"number"},"min":{"type":"number"}},"type":"object"},"peakDbfs":{"additionalProperties":false,"properties":{"max":{"type":"number"},"min":{"type":"number"}},"type":"object"},"rmsDbfs":{"additionalProperties":false,"properties":{"max":{"type":"number"},"min":{"type":"number"}},"type":"object"},"truePeakDbtp":{"additionalProperties":false,"properties":{"max":{"type":"number"},"min":{"type":"number"}},"type":"object"}},"type":"object"},"timeoutMs":{"default":300000,"maximum":600000,"minimum":1000,"type":"integer"}},"required":["before","after"],"type":"object"},"name":"audacity_compare_files","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":{},"properties":{"after":{"additionalProperties":{},"properties":{"backend":{"type":"string"},"channels":{"type":"number"},"clippedSamples":{"type":"number"},"crestDb":{"type":["number","null"]},"dcOffset":{"type":"number"},"discontinuities":{"type":"number"},"dualMono":{"type":"boolean"},"duration":{"type":"number"},"dynamicRangeDbEstimate":{"type":["number","null"]},"file":{"type":"string"},"frames":{"type":"number"},"integratedLufs":{"type":["number","null"]},"loudnessRangeLu":{"type":["number","null"]},"notes":{"items":{"type":"string"},"type":"array"},"peak":{"type":"number"},"peakDbfs":{"type":["number","null"]},"perChannel":{"items":{"additionalProperties":false,"properties":{"clippedSamples":{"type":"number"},"dcOffset":{"type":"number"},"discontinuities":{"type":"number"},"peak":{"type":"number"},"peakDbfs":{"type":["number","null"]},"rms":{"type":"number"},"rmsDbfs":{"type":["number","null"]}},"required":["peak","peakDbfs","rms","rmsDbfs","dcOffset","clippedSamples","discontinuities"],"type":"object"},"type":"array"},"quietRmsDbfsEstimate":{"type":["number","null"]},"rms":{"type":"number"},"rmsDbfs":{"type":["number","null"]},"sampleRate":{"type":"number"},"scope":{"additionalProperties":false,"properties":{"end":{"type":"number"},"start":{"type":"number"},"tracks":{"items":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"type":"array"}},"required":["tracks","start","end"],"type":"object"},"silenceGapCount":{"type":"number"},"silenceGaps":{"items":{"additionalProperties":false,"properties":{"duration":{"type":"number"},"end":{"type":"number"},"start":{"type":"number"}},"required":["start","end","duration"],"type":"object"},"type":"array"},"truePeakDbtp":{"type":["number","null"]},"unavailable":{"additionalProperties":{"type":"string"},"propertyNames":{"type":"string"},"type":"object"}},"required":["duration","sampleRate","channels","frames","peak","peakDbfs","rms","rmsDbfs","crestDb","dcOffset","clippedSamples","discontinuities","silenceGaps","silenceGapCount","quietRmsDbfsEstimate","dynamicRangeDbEstimate","perChannel","integratedLufs","truePeakDbtp","loudnessRangeLu","unavailable","notes","backend","dualMono"],"type":"object"},"before":{"additionalProperties":{},"properties":{"backend":{"type":"string"},"channels":{"type":"number"},"clippedSamples":{"type":"number"},"crestDb":{"type":["number","null"]},"dcOffset":{"type":"number"},"discontinuities":{"type":"number"},"dualMono":{"type":"boolean"},"duration":{"type":"number"},"dynamicRangeDbEstimate":{"type":["number","null"]},"file":{"type":"string"},"frames":{"type":"number"},"integratedLufs":{"type":["number","null"]},"loudnessRangeLu":{"type":["number","null"]},"notes":{"items":{"type":"string"},"type":"array"},"peak":{"type":"number"},"peakDbfs":{"type":["number","null"]},"perChannel":{"items":{"additionalProperties":false,"properties":{"clippedSamples":{"type":"number"},"dcOffset":{"type":"number"},"discontinuities":{"type":"number"},"peak":{"type":"number"},"peakDbfs":{"type":["number","null"]},"rms":{"type":"number"},"rmsDbfs":{"type":["number","null"]}},"required":["peak","peakDbfs","rms","rmsDbfs","dcOffset","clippedSamples","discontinuities"],"type":"object"},"type":"array"},"quietRmsDbfsEstimate":{"type":["number","null"]},"rms":{"type":"number"},"rmsDbfs":{"type":["number","null"]},"sampleRate":{"type":"number"},"scope":{"additionalProperties":false,"properties":{"end":{"type":"number"},"start":{"type":"number"},"tracks":{"items":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"type":"array"}},"required":["tracks","start","end"],"type":"object"},"silenceGapCount":{"type":"number"},"silenceGaps":{"items":{"additionalProperties":false,"properties":{"duration":{"type":"number"},"end":{"type":"number"},"start":{"type":"number"}},"required":["start","end","duration"],"type":"object"},"type":"array"},"truePeakDbtp":{"type":["number","null"]},"unavailable":{"additionalProperties":{"type":"string"},"propertyNames":{"type":"string"},"type":"object"}},"required":["duration","sampleRate","channels","frames","peak","peakDbfs","rms","rmsDbfs","crestDb","dcOffset","clippedSamples","discontinuities","silenceGaps","silenceGapCount","quietRmsDbfsEstimate","dynamicRangeDbEstimate","perChannel","integratedLufs","truePeakDbtp","loudnessRangeLu","unavailable","notes","backend","dualMono"],"type":"object"},"delta":{"additionalProperties":{"additionalProperties":false,"properties":{"after":{"type":"number"},"before":{"type":"number"},"change":{"type":"number"}},"required":["before","after","change"],"type":"object"},"propertyNames":{"type":"string"},"type":"object"},"targetCheck":{"additionalProperties":{},"properties":{"checks":{"additionalProperties":{"additionalProperties":{},"properties":{"actual":{"type":["number","null"]},"gap":{"type":"number"},"reason":{"type":"string"},"status":{"enum":["met","missed","unknown"],"type":"string"},"target":{"additionalProperties":{},"properties":{"max":{"type":"number"},"min":{"type":"number"}},"type":"object"}},"required":["status","actual","target"],"type":"object"},"propertyNames":{"type":"string"},"type":"object"},"status":{"enum":["met","missed","unknown"],"type":"string"}},"required":["status","checks"],"type":"object"}},"required":["before","after","delta"],"type":"object"},"title":"Compare Files"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"List numeric house reference targets for podcast, video, broadcast, audiobook and premaster; use these with measurement targets. These references are not publishing certification. Recording noise floor requires isolated room tone.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{},"type":"object"},"name":"audacity_targets","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":{},"properties":{"note":{"type":"string"},"presets":{"additionalProperties":{"additionalProperties":{"additionalProperties":{},"properties":{"max":{"type":"number"},"min":{"type":"number"}},"type":"object"},"propertyNames":{"type":"string"},"type":"object"},"propertyNames":{"type":"string"},"type":"object"}},"required":["presets","note"],"type":"object"},"title":"Targets"},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Measure the RMS level difference between foreground speech and background room tone without opening Audacity Contrast. Each range is exported with current track controls and selection restored. This is a numeric contrast check, not full accessibility certification.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"background":{"additionalProperties":false,"properties":{"end":{"maximum":86400,"minimum":0,"type":"number"},"start":{"maximum":86400,"minimum":0,"type":"number"},"track":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"maxLength":4096,"minLength":1,"type":"string"}]}},"required":["track","start","end"],"type":"object"},"foreground":{"additionalProperties":false,"properties":{"end":{"maximum":86400,"minimum":0,"type":"number"},"start":{"maximum":86400,"minimum":0,"type":"number"},"track":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"maxLength":4096,"minLength":1,"type":"string"}]}},"required":["track","start","end"],"type":"object"},"minimumDb":{"default":20,"maximum":100,"minimum":0,"type":"number"}},"required":["foreground","background"],"type":"object"},"name":"audacity_contrast","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":{},"properties":{"backgroundRmsDbfs":{"type":["number","null"]},"differenceDb":{"type":["number","null"]},"foregroundRmsDbfs":{"type":["number","null"]},"minimumDb":{"type":"number"},"reason":{"type":"string"},"status":{"enum":["met","missed","unknown"],"type":"string"}},"required":["foregroundRmsDbfs","backgroundRmsDbfs","differenceDb","minimumDb","status"],"type":"object"},"title":"Contrast"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Play a selected region, pause/resume, stop, or record using Audacity’s configured input. Appending requires an explicit audio track matching the configured recording channels (1 or 2). Record mode respects Audacity’s new-track preference, and recording always starts from a cursor point to avoid batch progress waits. status reports selection and a monotonic estimated position; manual transport changes are not tracked. record returns immediately unless duration is supplied.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"action":{"enum":["play","pause","resume","stop","record","status"],"type":"string"},"duration":{"exclusiveMinimum":0,"maximum":60,"type":"number"},"end":{"maximum":86400,"minimum":0,"type":"number"},"newTrack":{"default":true,"type":"boolean"},"start":{"maximum":86400,"minimum":0,"type":"number"},"track":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"maxLength":4096,"minLength":1,"type":"string"}]}},"required":["action"],"type":"object"},"name":"audacity_transport","outputSchema":{"$defs":{"__schema0":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"items":{"$ref":"#/$defs/__schema0"},"type":"array"},{"additionalProperties":{"$ref":"#/$defs/__schema0"},"propertyNames":{"type":"string"},"type":"object"}]}},"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":{},"properties":{"positionSeconds":{"type":"number"},"positionSource":{"type":"string"},"selection":{"$ref":"#/$defs/__schema0"},"state":{"enum":["playing","paused","recording","stopped"],"type":"string"}},"required":["state","positionSeconds","positionSource","selection"],"type":"object"},"title":"Transport"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Undo or redo existing native menu/import history entries. Individual scripted effects and pipelines add no undo entry; save a project backup before destructive processing. Stops before a step the native history does not have, or at Audacity’s own first error, and does not claim checkpoint rollback.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"action":{"enum":["undo","redo"],"type":"string"},"steps":{"default":1,"maximum":100,"minimum":1,"type":"integer"}},"required":["action"],"type":"object"},"name":"audacity_history","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":{},"properties":{"action":{"enum":["undo","redo"],"type":"string"},"completed":{"type":"number"}},"required":["action","completed"],"type":"object"},"title":"History"},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Read project tracks, clips, selection, length, active project paths and actual render sample rate. Rate is measured by a tiny temporary WAV export with selection restored; an empty project returns rate=null and its default preference separately.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{},"type":"object"},"name":"audacity_project_info","outputSchema":{"$defs":{"__schema0":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"items":{"$ref":"#/$defs/__schema0"},"type":"array"},{"additionalProperties":{"$ref":"#/$defs/__schema0"},"propertyNames":{"type":"string"},"type":"object"}]},"__schema1":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"items":{"$ref":"#/$defs/__schema1"},"type":"array"},{"additionalProperties":{"$ref":"#/$defs/__schema1"},"propertyNames":{"type":"string"},"type":"object"}]}},"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":{},"properties":{"activeProjectFiles":{"items":{"type":"string"},"type":"array"},"clips":{"$ref":"#/$defs/__schema0"},"defaultRate":{"type":"number"},"fileSource":{"type":"string"},"lengthSeconds":{"type":"number"},"rate":{"type":["number","null"]},"selection":{"$ref":"#/$defs/__schema1"},"tracks":{"items":{"additionalProperties":{},"properties":{"channels":{"type":"number"},"end":{"type":"number"},"focused":{"type":"number"},"kind":{"type":"string"},"mute":{"type":"number"},"name":{"type":"string"},"pan":{"type":"number"},"selected":{"type":"number"},"solo":{"type":"number"},"start":{"type":"number"},"volume":{"type":"number"}},"required":["name","kind"],"type":"object"},"type":"array"}},"required":["tracks","clips","selection","lengthSeconds","rate","defaultRate","activeProjectFiles","fileSource"],"type":"object"},"title":"Project Info"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Get a preference or list available preferences. Set is restricted to default project sample rate and recording channel count; never changes modules, UI language, devices or pipe settings. Original value and readback are returned.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"action":{"enum":["get","list","set"],"type":"string"},"name":{"maxLength":4096,"minLength":1,"type":"string"},"value":{"type":["string","number","boolean"]}},"required":["action"],"type":"object"},"name":"audacity_preferences","title":"Preferences"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"List or apply saved local Audacity macros without opening the Macro Manager. Every step is parsed and checked first; dryRun lists steps. Modal/lifecycle commands and implicit effect presets are refused. Export macros need explicit outputTo.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"action":{"enum":["list","apply"],"type":"string"},"dryRun":{"default":false,"type":"boolean"},"name":{"maxLength":4096,"minLength":1,"type":"string"},"outputTo":{"maxLength":4096,"minLength":1,"type":"string"}},"required":["action"],"type":"object"},"name":"audacity_macros","outputSchema":{"$defs":{"__schema0":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"items":{"$ref":"#/$defs/__schema0"},"type":"array"},{"additionalProperties":{"$ref":"#/$defs/__schema0"},"propertyNames":{"type":"string"},"type":"object"}]}},"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":{},"properties":{"completed":{"type":"number"},"directory":{"type":"string"},"dryRun":{"type":"boolean"},"macros":{"items":{"additionalProperties":{"$ref":"#/$defs/__schema0"},"propertyNames":{"type":"string"},"type":"object"},"type":"array"},"name":{"type":"string"},"steps":{"items":{"additionalProperties":{"$ref":"#/$defs/__schema0"},"propertyNames":{"type":"string"},"type":"object"},"type":"array"}},"type":"object"},"title":"Macros"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Inspect process, pipe and crash-recovery entries; optionally close blocking dialogs and reconnect after a timeout. Never kills Audacity or replays edits. discardRecovery clears stale config entries only while Audacity is stopped, saving the config first and retaining all project files.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"closeDialogs":{"default":false,"type":"boolean"},"discardRecovery":{"default":false,"type":"boolean"},"reconnect":{"default":true,"type":"boolean"},"visible":{"default":false,"type":"boolean"}},"type":"object"},"name":"audacity_recover","outputSchema":{"$defs":{"__schema0":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"items":{"$ref":"#/$defs/__schema0"},"type":"array"},{"additionalProperties":{"$ref":"#/$defs/__schema0"},"propertyNames":{"type":"string"},"type":"object"}]}},"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":{},"properties":{"discarded":{"$ref":"#/$defs/__schema0"},"entries":{"items":{"type":"string"},"type":"array"},"needsRecovery":{"type":"boolean"},"note":{"type":"string"},"previousOutcome":{"type":"string"},"running":{"type":"boolean"},"synchronized":{"type":"boolean"},"tracks":{"items":{"additionalProperties":{},"properties":{"kind":{"type":"string"},"name":{"type":"string"}},"required":["name","kind"],"type":"object"},"type":"array"},"windows":{"items":{"additionalProperties":{},"properties":{"closed":{"type":"boolean"},"dialog":{"type":"boolean"},"title":{"type":"string"},"visible":{"type":"boolean"}},"required":["title","dialog","closed","visible"],"type":"object"},"type":"array"}},"required":["running","entries","windows","discarded"],"type":"object"},"title":"Recover"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"List/find labels by text, edit one flat zero-based label index, delete one label, or create regular markers. Delete safely reconstructs only its label track at the bottom of the project, preserving every other label including overlaps; returned indices reflect the new order.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"action":{"enum":["list","find","edit","delete","regular"],"type":"string"},"end":{"maximum":86400,"minimum":0,"type":"number"},"index":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"interval":{"exclusiveMinimum":0,"maximum":86400,"type":"number"},"query":{"maxLength":4096,"type":"string"},"start":{"maximum":86400,"minimum":0,"type":"number"},"text":{"maxLength":4096,"type":"string"},"trackName":{"maxLength":4096,"minLength":1,"type":"string"}},"required":["action"],"type":"object"},"name":"audacity_labels","title":"Labels"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Import Audacity TSV or JSON labels into a named track; export labels as TSV/JSON, SRT/VTT subtitles, timestamp chapters, CUE, Podlove or ffmetadata. Point-label subtitle ends come from the next marker or project end. Existing output files are refused.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"action":{"enum":["import","export"],"type":"string"},"file":{"maxLength":4096,"minLength":1,"type":"string"},"format":{"default":"tsv","enum":["tsv","json","srt","vtt","chapters","cue","podlove","ffmetadata"],"type":"string"},"trackName":{"default":"Labels","maxLength":4096,"minLength":1,"type":"string"}},"required":["action","file"],"type":"object"},"name":"audacity_labels_file","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":{},"properties":{"count":{"type":"number"},"file":{"type":"string"},"format":{"type":"string"},"imported":{"type":"number"},"trackName":{"type":"string"}},"type":"object"},"title":"Labels File"},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Export every positive-duration region in one label track as numbered audio files, using the current mix and explicit time/track selections. Point labels are skipped. Existing outputs are refused and all destinations are checked before export.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"channels":{"default":2,"maximum":2,"minimum":1,"type":"integer"},"directory":{"maxLength":4096,"minLength":1,"type":"string"},"format":{"default":"wav","enum":["wav","flac","mp3"],"type":"string"},"trackName":{"default":"Labels","maxLength":4096,"minLength":1,"type":"string"}},"required":["directory"],"type":"object"},"name":"audacity_label_regions_export","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":{},"properties":{"count":{"type":"number"},"files":{"items":{"type":"string"},"type":"array"}},"required":["files","count"],"type":"object"},"title":"Label Regions Export"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Clean/master audio files in Audacity using isolated temporary tracks and the reviewed pipeline. Preflights all paths/steps, dryRun lists jobs, and original tracks stay intact. Pause shortening requires an empty project because sync-lock may shift other tracks. Stops at the first failure; completed outputs are retained. Optional before/after reports measure the rendered result. Current solo tracks are refused because they could silence temporary-track exports.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"channels":{"default":2,"maximum":2,"minimum":1,"type":"integer"},"dryRun":{"default":false,"type":"boolean"},"jobs":{"items":{"additionalProperties":false,"properties":{"file":{"maxLength":4096,"minLength":1,"type":"string"},"options":{"additionalProperties":false,"default":{},"properties":{"attackMs":{"maximum":200,"minimum":0,"type":"number"},"bassDb":{"maximum":20,"minimum":-20,"type":"number"},"compress":{"type":"boolean"},"highPassHz":{"maximum":20000,"minimum":1,"type":"number"},"limitPeakDb":{"description":"optional limiter after normalization; measure the result","maximum":0,"minimum":-20,"type":"number"},"loudness":{"default":"none","description":"normalization can raise quiet audio; select it explicitly","enum":["none","peak","lufs","rms"],"type":"string"},"lowPassHz":{"maximum":20000,"minimum":1,"type":"number"},"lufs":{"default":-16,"maximum":-5,"minimum":-50,"type":"number"},"peakDb":{"default":-1,"maximum":0,"minimum":-60,"type":"number"},"preset":{"default":"voice","enum":["cleanup","voice","podcast","interview","audiobook","vocal","live","music","lofi"],"type":"string"},"ratio":{"maximum":20,"minimum":1,"type":"number"},"releaseMs":{"maximum":1000,"minimum":1,"type":"number"},"removeClicks":{"default":false,"description":"must remain false: native Click Removal can open a blocking result dialog","type":"boolean"},"removeDc":{"default":true,"type":"boolean"},"rmsDb":{"default":-20,"maximum":-5,"minimum":-50,"type":"number"},"shortenPauses":{"additionalProperties":false,"description":"optional destructive silence truncation; changes timing and video sync","properties":{"minimum":{"default":0.5,"maximum":60,"minimum":0.01,"type":"number"},"thresholdDb":{"default":-40,"maximum":-20,"minimum":-80,"type":"number"},"truncateTo":{"default":0.3,"maximum":60,"minimum":0,"type":"number"}},"type":"object"},"thresholdDb":{"maximum":0,"minimum":-60,"type":"number"},"trebleDb":{"maximum":20,"minimum":-20,"type":"number"}},"type":"object"},"output":{"maxLength":4096,"minLength":1,"type":"string"}},"required":["file","output"],"type":"object"},"maxItems":50,"minItems":1,"type":"array"},"measure":{"default":true,"type":"boolean"}},"required":["jobs"],"type":"object"},"name":"audacity_batch","outputSchema":{"$defs":{"__schema0":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"items":{"$ref":"#/$defs/__schema0"},"type":"array"},{"additionalProperties":{"$ref":"#/$defs/__schema0"},"propertyNames":{"type":"string"},"type":"object"}]}},"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":{},"properties":{"completed":{"type":"number"},"dryRun":{"type":"boolean"},"jobs":{"items":{"additionalProperties":{"$ref":"#/$defs/__schema0"},"propertyNames":{"type":"string"},"type":"object"},"type":"array"},"notes":{"items":{"type":"string"},"type":"array"},"requiresEmptyProject":{"type":"boolean"},"results":{"items":{"additionalProperties":{"$ref":"#/$defs/__schema0"},"propertyNames":{"type":"string"},"type":"object"},"type":"array"}},"required":["dryRun"],"type":"object"},"title":"Batch"}],"ttlMs":0}}}
{"at":"2026-11-23T04:22:00.621Z","dir":"sent","era":"initialize","message":{"id":1,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{},"clientInfo":{"name":"didrun-lab","version":"0.1.0"},"protocolVersion":"2025-11-25"}}}
{"at":"2026-11-23T04:22:01.030Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"tools":{"listChanged":true}},"instructions":"Control one local English Audacity 3.7 session. Inspect status and describe effects before editing. Save a new project backup before destructive work; scripted effects have no per-call undo. Preview pipelines with dryRun. After an uncertain reply use dialogs and recover, inspect the project, and never replay an edit automatically.","protocolVersion":"2025-11-25","serverInfo":{"name":"gizmos-audacity-mcp","version":"0.1.0"}}}}
{"at":"2026-11-23T04:22:01.030Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-23T04:22:01.030Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-23T04:22:01.044Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Start or attach to Audacity with a visible or hidden Windows project window. Waits for a real script-pipe response.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"visible":{"default":true,"type":"boolean"}},"type":"object"},"name":"audacity_launch","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":{},"properties":{"processes":{"items":{"additionalProperties":{},"properties":{"executable":{"type":["string","null"]},"fileVersion":{"type":["string","null"]},"pid":{"type":"number"},"productVersion":{"type":["string","null"]}},"required":["pid","executable","fileVersion","productVersion"],"type":"object"},"type":"array"},"started":{"type":"boolean"},"visible":{"type":"boolean"}},"required":["started","visible","processes"],"type":"object"},"title":"Launch"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":false},"description":"Show or hide the Audacity window on Windows. A hidden Audacity keeps working through the pipe.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"show":{"type":"boolean"}},"required":["show"],"type":"object"},"name":"audacity_window","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":{},"properties":{"windows":{"type":"number"}},"required":["windows"],"type":"object"},"title":"Window"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"On Windows, quit Audacity without a save prompt. Without saveTo the project is discarded (saved to a temporary file that is then deleted).","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"saveTo":{"description":"keep the project at this .aup3 path","maxLength":4096,"type":"string"}},"type":"object"},"name":"audacity_quit","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":{},"properties":{"savedTo":{"type":"string"}},"type":"object"},"title":"Quit"},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"On Windows, list Audacity's open windows and dialogs; close=true closes the dialogs (WM_CLOSE, like the window's X; Cancel for questions). Use it when a call times out: a modal dialog blocks the pipe.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"close":{"default":false,"type":"boolean"}},"type":"object"},"name":"audacity_dialogs","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":{},"properties":{"windows":{"items":{"additionalProperties":{},"properties":{"closed":{"type":"boolean"},"dialog":{"type":"boolean"},"title":{"type":"string"},"visible":{"type":"boolean"}},"required":["title","dialog","closed","visible"],"type":"object"},"type":"array"}},"required":["windows"],"type":"object"},"title":"Dialogs"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Get an empty project in a single window. A running session is backed up when it has tracks (backupTo required), then restarted, even when empty. Restart is Windows-only; on other platforms save and quit Audacity first. Never use the New menu: a second project window has crashed Audacity 3.7 under scripting.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"backupTo":{"description":".aup3 path for the current project","maxLength":4096,"type":"string"},"visible":{"default":true,"type":"boolean"}},"type":"object"},"name":"audacity_fresh","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":{},"properties":{"backedUpTo":{"type":["string","null"]},"processes":{"items":{"additionalProperties":{},"properties":{"executable":{"type":["string","null"]},"fileVersion":{"type":["string","null"]},"pid":{"type":"number"},"productVersion":{"type":["string","null"]}},"required":["pid","executable","fileVersion","productVersion"],"type":"object"},"type":"array"},"started":{"type":"boolean"},"visible":{"type":"boolean"}},"required":["started","visible","processes","backedUpTo"],"type":"object"},"title":"Fresh"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Whether Audacity answers, and its tracks with name, kind, start/end, volume, pan, mute and solo.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{},"type":"object"},"name":"audacity_status","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":{},"properties":{"running":{"type":"boolean"},"tracks":{"items":{"additionalProperties":{},"properties":{"channels":{"type":"number"},"end":{"type":"number"},"focused":{"type":"number"},"kind":{"type":"string"},"mute":{"type":"number"},"name":{"type":"string"},"pan":{"type":"number"},"selected":{"type":"number"},"solo":{"type":"number"},"start":{"type":"number"},"volume":{"type":"number"}},"required":["name","kind"],"type":"object"},"type":"array"}},"required":["running"],"type":"object"},"title":"Status"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Read native state: Tracks, Clips, Envelopes (points as t/y), Labels, Boxes, Selection, Preferences, Commands (full catalogue with parameters) or Menus.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"type":{"enum":["Tracks","Clips","Envelopes","Labels","Boxes","Commands","Menus","Selection","Preferences"],"type":"string"}},"required":["type"],"type":"object"},"name":"audacity_info","title":"Info"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Parameters of one scripting command or effect from the bundled English Audacity 3.7.8 catalogue.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"command":{"enum":["Amplify","AutoDuck","BassAndTreble","ChangePitch","ChangeSpeedAndPitch","ChangeTempo","Chirp","ClassicFilters","Compressor","Distortion","Echo","FadeIn","FadeOut","FilterCurve","FindClipping","GraphicEq","Invert","LegacyCompressor","Limiter","LoudnessNormalization","NoiseReduction","Noise","Normalize","Paulstretch","Phaser","Repeat","Reverb","Reverse","Silence","SlidingStretch","StereoToMono","Tone","TruncateSilence","Wahwah","BeatFinder","ClipFix","Pluck","RhythmTrack","High-passFilter","Low-passFilter","Vocoder","NotchFilter","AdjustableFade","CrossfadeClips","CrossfadeTracks","Delay","LegacyLimiter","NoiseGate","SampleDataExport","ShelfFilter","StudioFadeOut","Tremolo","RissetDrum","Comment","CompareAudio","Export2","GetInfo","GetPreference","Import2","SelectFrequencies","SelectTime","SelectTracks","Select","SetClip","SetEnvelope","SetLabel","SetProject","SetTrackAudio","SetTrackStatus","SetTrackVisuals","SetTrack"],"type":"string"}},"required":["command"],"type":"object"},"name":"audacity_describe","outputSchema":{"$defs":{"__schema0":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"items":{"$ref":"#/$defs/__schema0"},"type":"array"},{"additionalProperties":{"$ref":"#/$defs/__schema0"},"propertyNames":{"type":"string"},"type":"object"}]}},"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":{},"properties":{"id":{"type":"string"},"name":{"type":"string"},"params":{"items":{"additionalProperties":{},"properties":{"default":{"$ref":"#/$defs/__schema0"},"enum":{"items":{"type":"string"},"type":"array"},"key":{"type":"string"},"maximum":{"type":"number"},"minimum":{"type":"number"},"type":{"type":"string"}},"required":["key","type"],"type":"object"},"type":"array"},"tip":{"type":"string"},"url":{"type":"string"}},"required":["id","name","params"],"type":"object"},"title":"Describe"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Run a catalogue scripting command or effect on the current selection (Amplify, Compressor, Limiter, LoudnessNormalization, Normalize, High-passFilter, FilterCurve, AutoDuck, FadeIn, …). Parameters follow Audacity's own list; see audacity_describe. Native Set* setters use selected tracks: call audacity_select first. NoiseReduction requires a captured profile.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"command":{"enum":["Amplify","AutoDuck","BassAndTreble","ChangePitch","ChangeSpeedAndPitch","ChangeTempo","Chirp","ClassicFilters","Compressor","Distortion","Echo","FadeIn","FadeOut","FilterCurve","FindClipping","GraphicEq","Invert","LegacyCompressor","Limiter","LoudnessNormalization","NoiseReduction","Noise","Normalize","Paulstretch","Phaser","Repeat","Reverb","Reverse","Silence","SlidingStretch","StereoToMono","Tone","TruncateSilence","Wahwah","BeatFinder","ClipFix","Pluck","RhythmTrack","High-passFilter","Low-passFilter","Vocoder","NotchFilter","AdjustableFade","CrossfadeClips","CrossfadeTracks","Delay","LegacyLimiter","NoiseGate","SampleDataExport","ShelfFilter","StudioFadeOut","Tremolo","RissetDrum","Comment","CompareAudio","Export2","GetInfo","GetPreference","Import2","SelectFrequencies","SelectTime","SelectTracks","Select","SetClip","SetEnvelope","SetLabel","SetProject","SetTrackAudio","SetTrackStatus","SetTrackVisuals","SetTrack"],"type":"string"},"params":{"additionalProperties":{"anyOf":[{"maxLength":4096,"type":"string"},{"type":"number"},{"type":"boolean"}]},"default":{},"propertyNames":{"type":"string"},"type":"object"}},"required":["command"],"type":"object"},"name":"audacity_command","title":"Command"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Run a menu command that needs no dialog (Play, Stop, Undo, Redo, SelectAll, SelectNone, NewMonoTrack, NewStereoTrack, NewLabelTrack, AddLabel, ZoomSel, FitInWindow, CursProjectStart, …). Use audacity_transport for guarded recording.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"command":{"enum":["Undo","Redo","Cut","Delete","Copy","Duplicate","SplitCut","SplitDelete","Silence","Trim","Split","SplitNew","Join","Disjoin","PitchDown","PitchUp","RenderPitchAndSpeed","AddLabel","AddLabelPlaying","PasteNewLabel","TypeToCreateLabel","CutLabels","DeleteLabels","SplitCutLabels","SplitDeleteLabels","SilenceLabels","CopyLabels","SplitLabels","JoinLabels","DisjoinLabels","SelectAll","SelectNone","SelAllTracks","SelSyncLockTracks","SetLeftSelection","SetRightSelection","SelTrackStartToCursor","SelCursorToTrackEnd","SelTrackStartToEnd","SelSave","SelRestore","ToggleSpectralSelection","NextHigherPeakFrequency","NextLowerPeakFrequency","SelPrevClipBoundaryToCursor","SelCursorToNextClipBoundary","SelPrevClip","SelNextClip","SelCursorStoredCursor","StoreCursorPosition","ZoomIn","ZoomNormal","ZoomOut","ZoomSel","ZoomToggle","FitInWindow","FitV","CollapseAllTracks","ExpandAllTracks","SkipSelStart","SkipSelEnd","ResetToolbars","ShowTransportTB","ShowToolsTB","ShowRecordMeterTB","ShowPlayMeterTB","ShowEditTB","ShowCutCopyPasteTB","ShowTranscriptionTB","ShowDeviceTB","ShowSelectionTB","ShowTimeTB","ShowSpectralSelectionTB","ShowAudioSetupTB","ShowSnappingTB","ShowTimeSignatureTB","MinutesAndSeconds","BeatsAndMeasures","ShowExtraMenus","ShowClipping","ShowRMS","DefaultPlayStop","PlayStopSelect","OncePlayStop","Pause","ToggleScrubRuler","CursSelStart","CursSelEnd","CursTrackStart","CursTrackEnd","CursPrevClipBoundary","CursNextClipBoundary","CursProjectStart","CursProjectEnd","TogglePlayRegion","ClearPlayRegion","SetPlayRegionToSelection","SetPlayRegionIn","SetPlayRegionOut","SoundActivation","PinnedHead","Overdub","SWPlaythrough","NewMonoTrack","NewStereoTrack","NewLabelTrack","NewTimeTrack","MixAndRender","MixAndRenderToNewTrack","RemoveTracks","MuteAllTracks","UnmuteAllTracks","MuteTracks","UnmuteTracks","PanLeft","PanRight","PanCenter","Align_EndToEnd","Align_Together","Align_StartToZero","Align_StartToSelStart","Align_StartToSelEnd","Align_EndToSelStart","Align_EndToSelEnd","MoveSelectionWithTracks","SortByTime","SortByName","SyncLock","Play","Stop"],"type":"string"}},"required":["command"],"type":"object"},"name":"audacity_menu","title":"Menu"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":false},"description":"Select a time range on one or more tracks (all tracks when track is omitted; the whole project when start/end are omitted).","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"end":{"maximum":86400,"minimum":0,"type":"number"},"start":{"maximum":86400,"minimum":0,"type":"number"},"track":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"maxLength":4096,"minLength":1,"type":"string"}],"description":"track index (0-based) or unique track name"},"trackCount":{"maximum":256,"minimum":1,"type":"integer"}},"type":"object"},"name":"audacity_select","title":"Select"},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Import an audio (or video, for its sound) file as a new track, name it and place it at start seconds.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"file":{"maxLength":4096,"minLength":1,"type":"string"},"name":{"maxLength":4096,"type":"string"},"start":{"default":0,"maximum":86400,"minimum":0,"type":"number"}},"required":["file"],"type":"object"},"name":"audacity_import","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":{},"properties":{"name":{"type":"string"},"track":{"type":"number"}},"required":["track","name"],"type":"object"},"title":"Import"},{"annotations":{"destructiveHint":true,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":false},"description":"Set track properties: name, gain in dB (the track's volume slider; status reports it back as a linear factor), pan (-1..1), mute, solo.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"gainDb":{"maximum":36,"minimum":-36,"type":"number"},"mute":{"type":"boolean"},"name":{"maxLength":4096,"type":"string"},"pan":{"description":"normalized pan: -1 full left, 0 center, 1 full right","maximum":1,"minimum":-1,"type":"number"},"solo":{"type":"boolean"},"track":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"maxLength":4096,"minLength":1,"type":"string"}],"description":"track index (0-based) or unique track name"}},"required":["track"],"type":"object"},"name":"audacity_track_set","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":{},"properties":{"channels":{"type":"number"},"end":{"type":"number"},"focused":{"type":"number"},"kind":{"type":"string"},"mute":{"type":"number"},"name":{"type":"string"},"pan":{"type":"number"},"selected":{"type":"number"},"solo":{"type":"number"},"start":{"type":"number"},"volume":{"type":"number"}},"required":["name","kind"],"type":"object"},"title":"Track Set"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Move the clip that covers time `at` on a track so it starts at `start` seconds.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"at":{"maximum":86400,"minimum":0,"type":"number"},"start":{"maximum":86400,"minimum":0,"type":"number"},"track":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"maxLength":4096,"minLength":1,"type":"string"}],"description":"track index (0-based) or unique track name"}},"required":["track","at","start"],"type":"object"},"name":"audacity_clip_move","title":"Clip Move"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Write a volume envelope on a track: points of time (s) and linear gain (1 = unchanged, 0.5 = -6 dB, 0.25 = -12 dB). Visible as the volume curve in Audacity. replace=true clears the old points first.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"points":{"items":{"additionalProperties":false,"properties":{"time":{"maximum":86400,"minimum":0,"type":"number"},"value":{"maximum":2,"minimum":0,"type":"number"}},"required":["time","value"],"type":"object"},"maxItems":2000,"minItems":1,"type":"array"},"replace":{"default":true,"type":"boolean"},"track":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"maxLength":4096,"minLength":1,"type":"string"}],"description":"track index (0-based) or unique track name"}},"required":["track","points"],"type":"object"},"name":"audacity_envelope_set","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":{},"properties":{"points":{"type":"number"}},"required":["points"],"type":"object"},"title":"Envelope Set"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Add point or region labels to a named label track, creating it if needed and retaining existing labels. Use them for chapters, picture events or script lines. Disable the label naming dialog in Preferences > Tracks > Track Behaviors before adding labels.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"labels":{"items":{"additionalProperties":false,"properties":{"end":{"maximum":86400,"minimum":0,"type":"number"},"start":{"maximum":86400,"minimum":0,"type":"number"},"text":{"maxLength":4096,"type":"string"}},"required":["start","text"],"type":"object"},"maxItems":500,"minItems":1,"type":"array"},"trackName":{"default":"Labels","maxLength":4096,"minLength":1,"type":"string"}},"required":["labels"],"type":"object"},"name":"audacity_labels_set","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":{},"properties":{"labels":{"type":"number"}},"required":["labels"],"type":"object"},"title":"Labels Set"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Select a track/range and apply an effect using the bundled English Audacity 3.7.8 catalogue parameters. Default time scope is the track extent, avoiding silent gap clips. NoiseReduction requires a captured profile on this same track and params={}; it uses saved UI settings. Scripted effects add no undo entry: save a project backup first.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"effect":{"enum":["Amplify","AutoDuck","BassAndTreble","ChangePitch","ChangeSpeedAndPitch","ChangeTempo","Chirp","ClassicFilters","Compressor","Distortion","Echo","FadeIn","FadeOut","FilterCurve","FindClipping","GraphicEq","Invert","LegacyCompressor","Limiter","LoudnessNormalization","NoiseReduction","Noise","Normalize","Paulstretch","Phaser","Repeat","Reverb","Reverse","Silence","SlidingStretch","StereoToMono","Tone","TruncateSilence","Wahwah","BeatFinder","ClipFix","Pluck","RhythmTrack","High-passFilter","Low-passFilter","Vocoder","NotchFilter","AdjustableFade","CrossfadeClips","CrossfadeTracks","Delay","LegacyLimiter","NoiseGate","SampleDataExport","ShelfFilter","StudioFadeOut","Tremolo","RissetDrum"],"type":"string"},"end":{"maximum":86400,"minimum":0,"type":"number"},"params":{"additionalProperties":{"anyOf":[{"maxLength":4096,"type":"string"},{"type":"number"},{"type":"boolean"}]},"default":{},"propertyNames":{"type":"string"},"type":"object"},"start":{"maximum":86400,"minimum":0,"type":"number"},"track":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"maxLength":4096,"minLength":1,"type":"string"}],"description":"track index (0-based) or unique track name"},"trackCount":{"maximum":256,"minimum":1,"type":"integer"}},"required":["effect"],"type":"object"},"name":"audacity_effect","title":"Effect"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Capture room tone in a fresh Audacity process, then apply NoiseReduction with params={}. Audacity 3.7.8 uses saved UI settings, ignores effect parameters and cannot reset its profile through scripting. Repeating this exact interval reuses its profile; a different interval requires audacity_fresh with backupTo.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"end":{"maximum":86400,"minimum":0,"type":"number"},"start":{"maximum":86400,"minimum":0,"type":"number"},"track":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"maxLength":4096,"minLength":1,"type":"string"}],"description":"track index (0-based) or unique track name"}},"required":["track","start","end"],"type":"object"},"name":"audacity_noise_profile","title":"Noise Profile"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Export the rendered mix or an explicit time range to WAV/FLAC/MP3/OGG by file extension, honoring gain, pan, mute, solo and envelopes. Selects time and tracks explicitly, including after label editing; channels is 1 or 2.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"channels":{"default":2,"maximum":2,"minimum":1,"type":"integer"},"end":{"maximum":86400,"minimum":0,"type":"number"},"file":{"maxLength":4096,"minLength":1,"type":"string"},"start":{"maximum":86400,"minimum":0,"type":"number"}},"required":["file"],"type":"object"},"name":"audacity_export","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":{},"properties":{"file":{"type":"string"}},"required":["file"],"type":"object"},"title":"Export"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Open an existing .aup3 into an empty project or save to a new .aup3 path. Existing save destinations are refused to prevent a blocking modal. Use audacity_fresh with backupTo before opening when tracks are present.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"action":{"enum":["open","save"],"type":"string"},"file":{"maxLength":4096,"minLength":1,"type":"string"}},"required":["action","file"],"type":"object"},"name":"audacity_project","title":"Project"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Preview or run a reviewed cleanup/mastering chain on one track: voice, podcast, interview, audiobook, vocal, live, music, lo-fi or cleanup. dryRun lists exact ordered commands without changing selection. Noise reduction requires supplied room tone; normalization and limiting are explicit. Default range is the track extent, recalculated after edits.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"attackMs":{"maximum":200,"minimum":0,"type":"number"},"bassDb":{"maximum":20,"minimum":-20,"type":"number"},"compress":{"type":"boolean"},"dryRun":{"default":false,"type":"boolean"},"end":{"maximum":86400,"minimum":0,"type":"number"},"highPassHz":{"maximum":20000,"minimum":1,"type":"number"},"limitPeakDb":{"description":"optional limiter after normalization; measure the result","maximum":0,"minimum":-20,"type":"number"},"loudness":{"default":"none","description":"normalization can raise quiet audio; select it explicitly","enum":["none","peak","lufs","rms"],"type":"string"},"lowPassHz":{"maximum":20000,"minimum":1,"type":"number"},"lufs":{"default":-16,"maximum":-5,"minimum":-50,"type":"number"},"noiseProfile":{"additionalProperties":false,"description":"explicit room-tone interval; omitting it skips noise reduction","properties":{"end":{"maximum":86400,"minimum":0,"type":"number"},"start":{"maximum":86400,"minimum":0,"type":"number"}},"required":["start","end"],"type":"object"},"peakDb":{"default":-1,"maximum":0,"minimum":-60,"type":"number"},"preset":{"default":"voice","enum":["cleanup","voice","podcast","interview","audiobook","vocal","live","music","lofi"],"type":"string"},"ratio":{"maximum":20,"minimum":1,"type":"number"},"releaseMs":{"maximum":1000,"minimum":1,"type":"number"},"removeClicks":{"default":false,"description":"must remain false: native Click Removal can open a blocking result dialog","type":"boolean"},"removeDc":{"default":true,"type":"boolean"},"rmsDb":{"default":-20,"maximum":-5,"minimum":-50,"type":"number"},"shortenPauses":{"additionalProperties":false,"description":"optional destructive silence truncation; changes timing and video sync","properties":{"minimum":{"default":0.5,"maximum":60,"minimum":0.01,"type":"number"},"thresholdDb":{"default":-40,"maximum":-20,"minimum":-80,"type":"number"},"truncateTo":{"default":0.3,"maximum":60,"minimum":0,"type":"number"}},"type":"object"},"start":{"maximum":86400,"minimum":0,"type":"number"},"thresholdDb":{"maximum":0,"minimum":-60,"type":"number"},"track":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"maxLength":4096,"minLength":1,"type":"string"}]},"trebleDb":{"maximum":20,"minimum":-20,"type":"number"}},"required":["track"],"type":"object"},"name":"audacity_pipeline","outputSchema":{"$defs":{"__schema0":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"items":{"$ref":"#/$defs/__schema0"},"type":"array"},{"additionalProperties":{"$ref":"#/$defs/__schema0"},"propertyNames":{"type":"string"},"type":"object"}]}},"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":{},"properties":{"applied":{"items":{"type":"string"},"type":"array"},"dryRun":{"type":"boolean"},"notes":{"items":{"type":"string"},"type":"array"},"preset":{"type":"string"},"steps":{"items":{"additionalProperties":{},"properties":{"captureProfile":{"const":true,"type":"boolean"},"command":{"type":"string"},"name":{"type":"string"},"params":{"additionalProperties":{"$ref":"#/$defs/__schema0"},"propertyNames":{"type":"string"},"type":"object"},"scope":{"additionalProperties":{},"properties":{"end":{"type":"number"},"start":{"type":"number"},"track":{"type":["number","string"]},"trackCount":{"type":"number"}},"required":["track"],"type":"object"}},"required":["command","params","scope"],"type":"object"},"type":"array"}},"required":["dryRun","preset","steps","notes"],"type":"object"},"title":"Pipeline"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Split, split-new, trim, duplicate, delete, cut/copy, silence or join/disjoin audio on explicit tracks and time range. split accepts a cursor; delete closes the gap while split_delete retains timing. Paste is not offered: it depends on the system clipboard.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"action":{"enum":["split","split_new","trim","duplicate","delete","split_delete","cut","split_cut","copy","silence","join","disjoin"],"type":"string"},"end":{"maximum":86400,"minimum":0,"type":"number"},"start":{"maximum":86400,"minimum":0,"type":"number"},"track":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"maxLength":4096,"minLength":1,"type":"string"}]},"trackCount":{"default":1,"maximum":256,"minimum":1,"type":"integer"}},"required":["action","track"],"type":"object"},"name":"audacity_edit","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":{},"properties":{"action":{"type":"string"},"end":{"type":"number"},"reply":{"type":"string"},"start":{"type":"number"},"track":{"type":"number"}},"required":["action","track","start","end","reply"],"type":"object"},"title":"Edit"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Generate tone/noise/silence/chirp/rhythm in a new mono/stereo track, or replace a range of an existing track. Uses a time selection for duration and validates kind-specific parameters before adding tracks.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"amplitude":{"maximum":1,"minimum":0,"type":"number"},"beatsPerBar":{"maximum":20,"minimum":1,"type":"integer"},"channels":{"description":"new-track channel count; defaults to mono and must be omitted for an existing track","maximum":2,"minimum":1,"type":"integer"},"clickSound":{"enum":["Metronome","Ping (short)","Ping (long)","Cowbell","ResonantNoise","NoiseClick","Drip (short)","Drip (long)"],"type":"string"},"duration":{"default":1,"exclusiveMinimum":0,"maximum":3600,"type":"number"},"endAmplitude":{"maximum":1,"minimum":0,"type":"number"},"endFrequency":{"maximum":20000,"minimum":1,"type":"number"},"frequency":{"maximum":20000,"minimum":1,"type":"number"},"interpolation":{"enum":["Linear","Logarithmic"],"type":"string"},"kind":{"enum":["tone","noise","silence","chirp","rhythm"],"type":"string"},"name":{"maxLength":4096,"minLength":1,"type":"string"},"noiseType":{"enum":["White","Pink","Brownian"],"type":"string"},"start":{"default":0,"maximum":86400,"minimum":0,"type":"number"},"swing":{"maximum":1,"minimum":-1,"type":"number"},"tempo":{"maximum":300,"minimum":30,"type":"number"},"track":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"maxLength":4096,"minLength":1,"type":"string"}],"description":"omit to create a new track; supplying it replaces audio in the range"},"waveform":{"enum":["Sine","Square","Sawtooth","Square, no alias","Triangle"],"type":"string"}},"required":["kind"],"type":"object"},"name":"audacity_generate","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":{},"properties":{"end":{"type":"number"},"kind":{"type":"string"},"name":{"type":"string"},"start":{"type":"number"},"track":{"type":"number"}},"required":["kind","track","start","end"],"type":"object"},"title":"Generate"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Rename/color a clip or apply a relative gain in dB destructively to its samples. For name/color, at must lie strictly inside exactly one clip, avoiding shared boundaries. Use audacity_track_set gainDb for a reversible track slider, audacity_clip_move for timing.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"at":{"description":"time inside the clip; name/color require a point strictly after its start and before its end","maximum":86400,"minimum":0,"type":"number"},"color":{"enum":["Color0","Color1","Color2","Color3"],"type":"string"},"gainDb":{"description":"relative sample gain applied destructively with Amplify to this clip","maximum":36,"minimum":-50,"type":"number"},"name":{"maxLength":4096,"type":"string"},"track":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"maxLength":4096,"minLength":1,"type":"string"}]}},"required":["track","at"],"type":"object"},"name":"audacity_clip_set","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":{},"properties":{"color":{"type":"string"},"end":{"type":"number"},"gainDbApplied":{"type":"number"},"name":{"type":"string"},"start":{"type":"number"},"track":{"type":"number"}},"required":["track","start","end"],"type":"object"},"title":"Clip Set"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Add mono/stereo/label tracks, remove tracks, mix/render, or align selected tracks by start/end/selection. Track scope is explicit; add actions can name the new track. mix_new keeps the original tracks audible: mute them before exporting the new mix to avoid doubling. Find the new audio track in returned tracks; it can precede label tracks.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"action":{"enum":["add_mono","add_stereo","add_label","remove","mix","mix_new","align_end_to_end","align_together","align_start_zero","align_start_cursor","align_start_end","align_end_cursor","align_end_end"],"type":"string"},"end":{"maximum":86400,"minimum":0,"type":"number"},"name":{"maxLength":4096,"minLength":1,"type":"string"},"start":{"maximum":86400,"minimum":0,"type":"number"},"track":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"maxLength":4096,"minLength":1,"type":"string"}]},"trackCount":{"default":1,"maximum":256,"minimum":1,"type":"integer"}},"required":["action"],"type":"object"},"name":"audacity_track_edit","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":{},"properties":{"action":{"type":"string"},"reply":{"type":"string"},"track":{"type":"number"},"tracks":{"items":{"additionalProperties":{},"properties":{"kind":{"type":"string"},"name":{"type":"string"}},"required":["name","kind"],"type":"object"},"type":"array"}},"required":["tracks"],"type":"object"},"title":"Track Edit"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Apply sample FadeIn or FadeOut on one track and time range. Omitting time applies to the track extent; use envelope_set for editable automation.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"direction":{"enum":["in","out"],"type":"string"},"end":{"maximum":86400,"minimum":0,"type":"number"},"start":{"maximum":86400,"minimum":0,"type":"number"},"track":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"maxLength":4096,"minLength":1,"type":"string"}]}},"required":["track","direction"],"type":"object"},"name":"audacity_fade","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":{},"properties":{"direction":{"enum":["in","out"],"type":"string"},"end":{"type":"number"},"start":{"type":"number"},"track":{"type":"number"}},"required":["track","start","end","direction"],"type":"object"},"title":"Fade"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Destructively duck bed samples under speech using native AutoDuck; save a project backup first. The unselected voice must be the immediately following track below the selected bed; import the bed first, then voice. dryRun lists exact parameters/range. Use audacity_envelope_set for editable ducking or an existing track order.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"bed":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"maxLength":4096,"minLength":1,"type":"string"}],"description":"bed track index (0-based) or unique name; must immediately precede the voice track"},"dryRun":{"default":false,"type":"boolean"},"duckDb":{"default":-12,"description":"attenuation applied to the bed, in dB","maximum":0,"minimum":-24,"type":"number"},"end":{"maximum":86400,"minimum":0,"type":"number"},"fadeDown":{"default":0.5,"description":"outer fade-down duration, in seconds","maximum":3,"minimum":0,"type":"number"},"fadeUp":{"default":0.5,"description":"outer fade-up duration, in seconds","maximum":3,"minimum":0,"type":"number"},"innerFadeDown":{"default":0,"description":"inner fade-down duration, in seconds","maximum":3,"minimum":0,"type":"number"},"innerFadeUp":{"default":0,"description":"inner fade-up duration, in seconds","maximum":3,"minimum":0,"type":"number"},"maximumPause":{"default":1,"description":"maximum pause to bridge while ducking, in seconds","maximum":60,"minimum":0,"type":"number"},"start":{"maximum":86400,"minimum":0,"type":"number"},"thresholdDb":{"default":-30,"description":"voice detection threshold, in dB","maximum":0,"minimum":-100,"type":"number"},"voice":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"maxLength":4096,"minLength":1,"type":"string"}],"description":"voice track index (0-based) or unique name; must immediately follow the bed track"}},"required":["bed","voice"],"type":"object"},"name":"audacity_auto_duck","outputSchema":{"$defs":{"__schema0":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"items":{"$ref":"#/$defs/__schema0"},"type":"array"},{"additionalProperties":{"$ref":"#/$defs/__schema0"},"propertyNames":{"type":"string"},"type":"object"}]}},"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":{},"properties":{"bed":{"type":"number"},"command":{"type":"string"},"dryRun":{"type":"boolean"},"params":{"additionalProperties":{"$ref":"#/$defs/__schema0"},"propertyNames":{"type":"string"},"type":"object"},"scope":{"additionalProperties":{},"properties":{"end":{"type":"number"},"start":{"type":"number"},"track":{"type":["number","string"]},"trackCount":{"type":"number"}},"required":["track"],"type":"object"},"voice":{"type":"number"}},"required":["dryRun","voice","params","scope"],"type":"object"},"title":"Auto Duck"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Measure then apply static gain to approach targetLufs while preserving measured true-peak headroom and respecting maxBoostDb. Requires ffmpeg and a non-silent audio track; default scope is its own extent. dryRun returns the measured input and Amplify plan without applying gain. Reports before/after and whether the target was achievable; it never compresses or guesses absent LUFS/true peak.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"dryRun":{"default":false,"type":"boolean"},"end":{"maximum":86400,"minimum":0,"type":"number"},"maxBoostDb":{"default":18,"description":"maximum positive static gain, in dB; does not cap attenuation","maximum":36,"minimum":0,"type":"number"},"start":{"maximum":86400,"minimum":0,"type":"number"},"targetLufs":{"default":-16,"description":"desired integrated loudness, in LUFS","maximum":-5,"minimum":-50,"type":"number"},"toleranceLu":{"default":0.5,"description":"allowed distance from targetLufs, in LU","maximum":3,"minimum":0.1,"type":"number"},"track":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"maxLength":4096,"minLength":1,"type":"string"}]},"truePeakCeilingDbtp":{"default":-1,"description":"maximum rendered true peak, in dBTP","maximum":0,"minimum":-20,"type":"number"}},"required":["track"],"type":"object"},"name":"audacity_loudness_target","outputSchema":{"$defs":{"__schema0":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"items":{"$ref":"#/$defs/__schema0"},"type":"array"},{"additionalProperties":{"$ref":"#/$defs/__schema0"},"propertyNames":{"type":"string"},"type":"object"}]}},"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":{},"properties":{"after":{"additionalProperties":{},"properties":{"backend":{"type":"string"},"channels":{"type":"number"},"clippedSamples":{"type":"number"},"crestDb":{"type":["number","null"]},"dcOffset":{"type":"number"},"discontinuities":{"type":"number"},"dualMono":{"type":"boolean"},"duration":{"type":"number"},"dynamicRangeDbEstimate":{"type":["number","null"]},"file":{"type":"string"},"frames":{"type":"number"},"integratedLufs":{"type":["number","null"]},"loudnessRangeLu":{"type":["number","null"]},"notes":{"items":{"type":"string"},"type":"array"},"peak":{"type":"number"},"peakDbfs":{"type":["number","null"]},"perChannel":{"items":{"additionalProperties":false,"properties":{"clippedSamples":{"type":"number"},"dcOffset":{"type":"number"},"discontinuities":{"type":"number"},"peak":{"type":"number"},"peakDbfs":{"type":["number","null"]},"rms":{"type":"number"},"rmsDbfs":{"type":["number","null"]}},"required":["peak","peakDbfs","rms","rmsDbfs","dcOffset","clippedSamples","discontinuities"],"type":"object"},"type":"array"},"quietRmsDbfsEstimate":{"type":["number","null"]},"rms":{"type":"number"},"rmsDbfs":{"type":["number","null"]},"sampleRate":{"type":"number"},"scope":{"additionalProperties":false,"properties":{"end":{"type":"number"},"start":{"type":"number"},"tracks":{"items":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"type":"array"}},"required":["tracks","start","end"],"type":"object"},"silenceGapCount":{"type":"number"},"silenceGaps":{"items":{"additionalProperties":false,"properties":{"duration":{"type":"number"},"end":{"type":"number"},"start":{"type":"number"}},"required":["start","end","duration"],"type":"object"},"type":"array"},"truePeakDbtp":{"type":["number","null"]},"unavailable":{"additionalProperties":{"type":"string"},"propertyNames":{"type":"string"},"type":"object"}},"required":["duration","sampleRate","channels","frames","peak","peakDbfs","rms","rmsDbfs","crestDb","dcOffset","clippedSamples","discontinuities","silenceGaps","silenceGapCount","quietRmsDbfsEstimate","dynamicRangeDbEstimate","perChannel","integratedLufs","truePeakDbtp","loudnessRangeLu","unavailable","notes","backend","dualMono"],"type":"object"},"before":{"additionalProperties":{},"properties":{"backend":{"type":"string"},"channels":{"type":"number"},"clippedSamples":{"type":"number"},"crestDb":{"type":["number","null"]},"dcOffset":{"type":"number"},"discontinuities":{"type":"number"},"dualMono":{"type":"boolean"},"duration":{"type":"number"},"dynamicRangeDbEstimate":{"type":["number","null"]},"file":{"type":"string"},"frames":{"type":"number"},"integratedLufs":{"type":["number","null"]},"loudnessRangeLu":{"type":["number","null"]},"notes":{"items":{"type":"string"},"type":"array"},"peak":{"type":"number"},"peakDbfs":{"type":["number","null"]},"perChannel":{"items":{"additionalProperties":false,"properties":{"clippedSamples":{"type":"number"},"dcOffset":{"type":"number"},"discontinuities":{"type":"number"},"peak":{"type":"number"},"peakDbfs":{"type":["number","null"]},"rms":{"type":"number"},"rmsDbfs":{"type":["number","null"]}},"required":["peak","peakDbfs","rms","rmsDbfs","dcOffset","clippedSamples","discontinuities"],"type":"object"},"type":"array"},"quietRmsDbfsEstimate":{"type":["number","null"]},"rms":{"type":"number"},"rmsDbfs":{"type":["number","null"]},"sampleRate":{"type":"number"},"scope":{"additionalProperties":false,"properties":{"end":{"type":"number"},"start":{"type":"number"},"tracks":{"items":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"type":"array"}},"required":["tracks","start","end"],"type":"object"},"silenceGapCount":{"type":"number"},"silenceGaps":{"items":{"additionalProperties":false,"properties":{"duration":{"type":"number"},"end":{"type":"number"},"start":{"type":"number"}},"required":["start","end","duration"],"type":"object"},"type":"array"},"truePeakDbtp":{"type":["number","null"]},"unavailable":{"additionalProperties":{"type":"string"},"propertyNames":{"type":"string"},"type":"object"}},"required":["duration","sampleRate","channels","frames","peak","peakDbfs","rms","rmsDbfs","crestDb","dcOffset","clippedSamples","discontinuities","silenceGaps","silenceGapCount","quietRmsDbfsEstimate","dynamicRangeDbEstimate","perChannel","integratedLufs","truePeakDbtp","loudnessRangeLu","unavailable","notes","backend","dualMono"],"type":"object"},"clippedSamples":{"type":"number"},"dryRun":{"type":"boolean"},"notes":{"items":{"type":"string"},"type":"array"},"plan":{"additionalProperties":{"$ref":"#/$defs/__schema0"},"propertyNames":{"type":"string"},"type":"object"},"samplePeakDbfs":{"type":["number","null"]},"steps":{"items":{"additionalProperties":{"$ref":"#/$defs/__schema0"},"propertyNames":{"type":"string"},"type":"object"},"type":"array"},"targetCheck":{"additionalProperties":{},"properties":{"checks":{"additionalProperties":{"additionalProperties":{},"properties":{"actual":{"type":["number","null"]},"gap":{"type":"number"},"reason":{"type":"string"},"status":{"enum":["met","missed","unknown"],"type":"string"},"target":{"additionalProperties":{},"properties":{"max":{"type":"number"},"min":{"type":"number"}},"type":"object"}},"required":["status","actual","target"],"type":"object"},"propertyNames":{"type":"string"},"type":"object"},"status":{"enum":["met","missed","unknown"],"type":"string"}},"required":["status","checks"],"type":"object"}},"required":["dryRun","before","plan","steps"],"type":"object"},"title":"Loudness Target"},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Find quiet regions without deleting audio: every channel must stay below thresholdDb for minimumSeconds. Scan an optional file, or rendered tracks/currentSelection with selection restored. Times are absolute project seconds for Audacity ranges and file seconds for files. Returns capped regions plus the total count; current mute/gain/envelopes affect rendered silence.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"currentSelection":{"default":false,"type":"boolean"},"end":{"maximum":86400,"minimum":0,"type":"number"},"file":{"maxLength":4096,"minLength":1,"type":"string"},"maxRegions":{"default":100,"maximum":1000,"minimum":1,"type":"integer"},"minimumSeconds":{"default":0.5,"maximum":3600,"minimum":0.001,"type":"number"},"start":{"maximum":86400,"minimum":0,"type":"number"},"thresholdDb":{"default":-60,"maximum":0,"minimum":-120,"type":"number"},"track":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"maxLength":4096,"minLength":1,"type":"string"}]},"trackCount":{"maximum":256,"minimum":1,"type":"integer"}},"type":"object"},"name":"audacity_silence","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":{},"properties":{"count":{"type":"number"},"file":{"type":"string"},"minimumSeconds":{"type":"number"},"notes":{"items":{"type":"string"},"type":"array"},"regions":{"items":{"additionalProperties":false,"properties":{"duration":{"type":"number"},"end":{"type":"number"},"start":{"type":"number"}},"required":["start","end","duration"],"type":"object"},"type":"array"},"scope":{"additionalProperties":false,"properties":{"end":{"type":"number"},"start":{"type":"number"},"tracks":{"items":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"type":"array"}},"required":["tracks","start","end"],"type":"object"},"thresholdDb":{"type":"number"},"truncated":{"type":"boolean"}},"required":["regions","count","truncated","thresholdDb","minimumSeconds","notes"],"type":"object"},"title":"Silence"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Inspect an audio/video file before importing or exporting: container, duration, audio codecs, sample rate, channels and stream metadata. Requires optional ffprobe (installed with ffmpeg); reads the file without changing Audacity.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"file":{"maxLength":4096,"minLength":1,"type":"string"},"timeoutMs":{"default":30000,"maximum":120000,"minimum":1000,"type":"integer"}},"required":["file"],"type":"object"},"name":"audacity_probe_file","outputSchema":{"$defs":{"__schema0":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"items":{"$ref":"#/$defs/__schema0"},"type":"array"},{"additionalProperties":{"$ref":"#/$defs/__schema0"},"propertyNames":{"type":"string"},"type":"object"}]}},"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":{},"properties":{"file":{"type":"string"},"format":{"additionalProperties":{"$ref":"#/$defs/__schema0"},"propertyNames":{"type":"string"},"type":"object"},"streams":{"items":{"additionalProperties":{"$ref":"#/$defs/__schema0"},"propertyNames":{"type":"string"},"type":"object"},"type":"array"}},"required":["file","format","streams"],"type":"object"},"title":"Probe File"},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Measure tracks, a time range, or currentSelection using a temporary export; restores selection and preserves track controls. Reports peak/RMS/DC/crest, advisory defects and silence. Optional ffmpeg adds integrated LUFS/LRA/true peak. Reads rendered gain/mute/solo/envelopes, so use file measurement for unprocessed source levels. With targets, returns {measurement,targetCheck}; otherwise returns the measurement directly.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"backend":{"default":"auto","enum":["auto","wav","ffmpeg"],"type":"string"},"currentSelection":{"default":false,"type":"boolean"},"dualMono":{"default":true,"type":"boolean"},"end":{"maximum":86400,"minimum":0,"type":"number"},"start":{"maximum":86400,"minimum":0,"type":"number"},"targets":{"additionalProperties":false,"properties":{"integratedLufs":{"additionalProperties":false,"properties":{"max":{"type":"number"},"min":{"type":"number"}},"type":"object"},"noiseFloorDbfs":{"additionalProperties":false,"properties":{"max":{"type":"number"},"min":{"type":"number"}},"type":"object"},"peakDbfs":{"additionalProperties":false,"properties":{"max":{"type":"number"},"min":{"type":"number"}},"type":"object"},"rmsDbfs":{"additionalProperties":false,"properties":{"max":{"type":"number"},"min":{"type":"number"}},"type":"object"},"truePeakDbtp":{"additionalProperties":false,"properties":{"max":{"type":"number"},"min":{"type":"number"}},"type":"object"}},"type":"object"},"timeoutMs":{"default":300000,"maximum":600000,"minimum":1000,"type":"integer"},"track":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"maxLength":4096,"minLength":1,"type":"string"}]},"trackCount":{"maximum":256,"minimum":1,"type":"integer"}},"type":"object"},"name":"audacity_measure","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":{},"properties":{"backend":{"type":"string"},"channels":{"type":"number"},"clippedSamples":{"type":"number"},"crestDb":{"type":["number","null"]},"dcOffset":{"type":"number"},"discontinuities":{"type":"number"},"dualMono":{"type":"boolean"},"duration":{"type":"number"},"dynamicRangeDbEstimate":{"type":["number","null"]},"file":{"type":"string"},"frames":{"type":"number"},"integratedLufs":{"type":["number","null"]},"loudnessRangeLu":{"type":["number","null"]},"measurement":{"additionalProperties":{},"properties":{"backend":{"type":"string"},"channels":{"type":"number"},"clippedSamples":{"type":"number"},"crestDb":{"type":["number","null"]},"dcOffset":{"type":"number"},"discontinuities":{"type":"number"},"dualMono":{"type":"boolean"},"duration":{"type":"number"},"dynamicRangeDbEstimate":{"type":["number","null"]},"file":{"type":"string"},"frames":{"type":"number"},"integratedLufs":{"type":["number","null"]},"loudnessRangeLu":{"type":["number","null"]},"notes":{"items":{"type":"string"},"type":"array"},"peak":{"type":"number"},"peakDbfs":{"type":["number","null"]},"perChannel":{"items":{"additionalProperties":false,"properties":{"clippedSamples":{"type":"number"},"dcOffset":{"type":"number"},"discontinuities":{"type":"number"},"peak":{"type":"number"},"peakDbfs":{"type":["number","null"]},"rms":{"type":"number"},"rmsDbfs":{"type":["number","null"]}},"required":["peak","peakDbfs","rms","rmsDbfs","dcOffset","clippedSamples","discontinuities"],"type":"object"},"type":"array"},"quietRmsDbfsEstimate":{"type":["number","null"]},"rms":{"type":"number"},"rmsDbfs":{"type":["number","null"]},"sampleRate":{"type":"number"},"scope":{"additionalProperties":false,"properties":{"end":{"type":"number"},"start":{"type":"number"},"tracks":{"items":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"type":"array"}},"required":["tracks","start","end"],"type":"object"},"silenceGapCount":{"type":"number"},"silenceGaps":{"items":{"additionalProperties":false,"properties":{"duration":{"type":"number"},"end":{"type":"number"},"start":{"type":"number"}},"required":["start","end","duration"],"type":"object"},"type":"array"},"truePeakDbtp":{"type":["number","null"]},"unavailable":{"additionalProperties":{"type":"string"},"propertyNames":{"type":"string"},"type":"object"}},"required":["duration","sampleRate","channels","frames","peak","peakDbfs","rms","rmsDbfs","crestDb","dcOffset","clippedSamples","discontinuities","silenceGaps","silenceGapCount","quietRmsDbfsEstimate","dynamicRangeDbEstimate","perChannel","integratedLufs","truePeakDbtp","loudnessRangeLu","unavailable","notes","backend","dualMono"],"type":"object"},"notes":{"items":{"type":"string"},"type":"array"},"peak":{"type":"number"},"peakDbfs":{"type":["number","null"]},"perChannel":{"items":{"additionalProperties":false,"properties":{"clippedSamples":{"type":"number"},"dcOffset":{"type":"number"},"discontinuities":{"type":"number"},"peak":{"type":"number"},"peakDbfs":{"type":["number","null"]},"rms":{"type":"number"},"rmsDbfs":{"type":["number","null"]}},"required":["peak","peakDbfs","rms","rmsDbfs","dcOffset","clippedSamples","discontinuities"],"type":"object"},"type":"array"},"quietRmsDbfsEstimate":{"type":["number","null"]},"rms":{"type":"number"},"rmsDbfs":{"type":["number","null"]},"sampleRate":{"type":"number"},"scope":{"additionalProperties":false,"properties":{"end":{"type":"number"},"start":{"type":"number"},"tracks":{"items":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"type":"array"}},"required":["tracks","start","end"],"type":"object"},"silenceGapCount":{"type":"number"},"silenceGaps":{"items":{"additionalProperties":false,"properties":{"duration":{"type":"number"},"end":{"type":"number"},"start":{"type":"number"}},"required":["start","end","duration"],"type":"object"},"type":"array"},"targetCheck":{"additionalProperties":{},"properties":{"checks":{"additionalProperties":{"additionalProperties":{},"properties":{"actual":{"type":["number","null"]},"gap":{"type":"number"},"reason":{"type":"string"},"status":{"enum":["met","missed","unknown"],"type":"string"},"target":{"additionalProperties":{},"properties":{"max":{"type":"number"},"min":{"type":"number"}},"type":"object"}},"required":["status","actual","target"],"type":"object"},"propertyNames":{"type":"string"},"type":"object"},"status":{"enum":["met","missed","unknown"],"type":"string"}},"required":["status","checks"],"type":"object"},"truePeakDbtp":{"type":["number","null"]},"unavailable":{"additionalProperties":{"type":"string"},"propertyNames":{"type":"string"},"type":"object"}},"type":"object"},"title":"Measure"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Measure an exported/source audio file without touching Audacity. Native PCM/float WAV peak/RMS/DC/crest and advisory defects need no dependencies; ffmpeg on PATH adds EBU R128 LUFS/LRA/true peak and decodes other containers. Unavailable targets report unknown. With targets, returns {measurement,targetCheck}; otherwise returns the measurement directly.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"backend":{"default":"auto","enum":["auto","wav","ffmpeg"],"type":"string"},"dualMono":{"default":true,"type":"boolean"},"file":{"maxLength":4096,"minLength":1,"type":"string"},"targets":{"additionalProperties":false,"properties":{"integratedLufs":{"additionalProperties":false,"properties":{"max":{"type":"number"},"min":{"type":"number"}},"type":"object"},"noiseFloorDbfs":{"additionalProperties":false,"properties":{"max":{"type":"number"},"min":{"type":"number"}},"type":"object"},"peakDbfs":{"additionalProperties":false,"properties":{"max":{"type":"number"},"min":{"type":"number"}},"type":"object"},"rmsDbfs":{"additionalProperties":false,"properties":{"max":{"type":"number"},"min":{"type":"number"}},"type":"object"},"truePeakDbtp":{"additionalProperties":false,"properties":{"max":{"type":"number"},"min":{"type":"number"}},"type":"object"}},"type":"object"},"timeoutMs":{"default":300000,"maximum":600000,"minimum":1000,"type":"integer"}},"required":["file"],"type":"object"},"name":"audacity_measure_file","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":{},"properties":{"backend":{"type":"string"},"channels":{"type":"number"},"clippedSamples":{"type":"number"},"crestDb":{"type":["number","null"]},"dcOffset":{"type":"number"},"discontinuities":{"type":"number"},"dualMono":{"type":"boolean"},"duration":{"type":"number"},"dynamicRangeDbEstimate":{"type":["number","null"]},"file":{"type":"string"},"frames":{"type":"number"},"integratedLufs":{"type":["number","null"]},"loudnessRangeLu":{"type":["number","null"]},"measurement":{"additionalProperties":{},"properties":{"backend":{"type":"string"},"channels":{"type":"number"},"clippedSamples":{"type":"number"},"crestDb":{"type":["number","null"]},"dcOffset":{"type":"number"},"discontinuities":{"type":"number"},"dualMono":{"type":"boolean"},"duration":{"type":"number"},"dynamicRangeDbEstimate":{"type":["number","null"]},"file":{"type":"string"},"frames":{"type":"number"},"integratedLufs":{"type":["number","null"]},"loudnessRangeLu":{"type":["number","null"]},"notes":{"items":{"type":"string"},"type":"array"},"peak":{"type":"number"},"peakDbfs":{"type":["number","null"]},"perChannel":{"items":{"additionalProperties":false,"properties":{"clippedSamples":{"type":"number"},"dcOffset":{"type":"number"},"discontinuities":{"type":"number"},"peak":{"type":"number"},"peakDbfs":{"type":["number","null"]},"rms":{"type":"number"},"rmsDbfs":{"type":["number","null"]}},"required":["peak","peakDbfs","rms","rmsDbfs","dcOffset","clippedSamples","discontinuities"],"type":"object"},"type":"array"},"quietRmsDbfsEstimate":{"type":["number","null"]},"rms":{"type":"number"},"rmsDbfs":{"type":["number","null"]},"sampleRate":{"type":"number"},"scope":{"additionalProperties":false,"properties":{"end":{"type":"number"},"start":{"type":"number"},"tracks":{"items":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"type":"array"}},"required":["tracks","start","end"],"type":"object"},"silenceGapCount":{"type":"number"},"silenceGaps":{"items":{"additionalProperties":false,"properties":{"duration":{"type":"number"},"end":{"type":"number"},"start":{"type":"number"}},"required":["start","end","duration"],"type":"object"},"type":"array"},"truePeakDbtp":{"type":["number","null"]},"unavailable":{"additionalProperties":{"type":"string"},"propertyNames":{"type":"string"},"type":"object"}},"required":["duration","sampleRate","channels","frames","peak","peakDbfs","rms","rmsDbfs","crestDb","dcOffset","clippedSamples","discontinuities","silenceGaps","silenceGapCount","quietRmsDbfsEstimate","dynamicRangeDbEstimate","perChannel","integratedLufs","truePeakDbtp","loudnessRangeLu","unavailable","notes","backend","dualMono"],"type":"object"},"notes":{"items":{"type":"string"},"type":"array"},"peak":{"type":"number"},"peakDbfs":{"type":["number","null"]},"perChannel":{"items":{"additionalProperties":false,"properties":{"clippedSamples":{"type":"number"},"dcOffset":{"type":"number"},"discontinuities":{"type":"number"},"peak":{"type":"number"},"peakDbfs":{"type":["number","null"]},"rms":{"type":"number"},"rmsDbfs":{"type":["number","null"]}},"required":["peak","peakDbfs","rms","rmsDbfs","dcOffset","clippedSamples","discontinuities"],"type":"object"},"type":"array"},"quietRmsDbfsEstimate":{"type":["number","null"]},"rms":{"type":"number"},"rmsDbfs":{"type":["number","null"]},"sampleRate":{"type":"number"},"scope":{"additionalProperties":false,"properties":{"end":{"type":"number"},"start":{"type":"number"},"tracks":{"items":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"type":"array"}},"required":["tracks","start","end"],"type":"object"},"silenceGapCount":{"type":"number"},"silenceGaps":{"items":{"additionalProperties":false,"properties":{"duration":{"type":"number"},"end":{"type":"number"},"start":{"type":"number"}},"required":["start","end","duration"],"type":"object"},"type":"array"},"targetCheck":{"additionalProperties":{},"properties":{"checks":{"additionalProperties":{"additionalProperties":{},"properties":{"actual":{"type":["number","null"]},"gap":{"type":"number"},"reason":{"type":"string"},"status":{"enum":["met","missed","unknown"],"type":"string"},"target":{"additionalProperties":{},"properties":{"max":{"type":"number"},"min":{"type":"number"}},"type":"object"}},"required":["status","actual","target"],"type":"object"},"propertyNames":{"type":"string"},"type":"object"},"status":{"enum":["met","missed","unknown"],"type":"string"}},"required":["status","checks"],"type":"object"},"truePeakDbtp":{"type":["number","null"]},"unavailable":{"additionalProperties":{"type":"string"},"propertyNames":{"type":"string"},"type":"object"}},"type":"object"},"title":"Measure File"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Compare before/after audio files with the same measurement settings. Returns both reports and numeric changes only for metrics established on both sides; missing LUFS or true peak never becomes a zero change.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"after":{"maxLength":4096,"minLength":1,"type":"string"},"backend":{"default":"auto","enum":["auto","wav","ffmpeg"],"type":"string"},"before":{"maxLength":4096,"minLength":1,"type":"string"},"dualMono":{"default":true,"type":"boolean"},"targets":{"additionalProperties":false,"properties":{"integratedLufs":{"additionalProperties":false,"properties":{"max":{"type":"number"},"min":{"type":"number"}},"type":"object"},"noiseFloorDbfs":{"additionalProperties":false,"properties":{"max":{"type":"number"},"min":{"type":"number"}},"type":"object"},"peakDbfs":{"additionalProperties":false,"properties":{"max":{"type":"number"},"min":{"type":"number"}},"type":"object"},"rmsDbfs":{"additionalProperties":false,"properties":{"max":{"type":"number"},"min":{"type":"number"}},"type":"object"},"truePeakDbtp":{"additionalProperties":false,"properties":{"max":{"type":"number"},"min":{"type":"number"}},"type":"object"}},"type":"object"},"timeoutMs":{"default":300000,"maximum":600000,"minimum":1000,"type":"integer"}},"required":["before","after"],"type":"object"},"name":"audacity_compare_files","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":{},"properties":{"after":{"additionalProperties":{},"properties":{"backend":{"type":"string"},"channels":{"type":"number"},"clippedSamples":{"type":"number"},"crestDb":{"type":["number","null"]},"dcOffset":{"type":"number"},"discontinuities":{"type":"number"},"dualMono":{"type":"boolean"},"duration":{"type":"number"},"dynamicRangeDbEstimate":{"type":["number","null"]},"file":{"type":"string"},"frames":{"type":"number"},"integratedLufs":{"type":["number","null"]},"loudnessRangeLu":{"type":["number","null"]},"notes":{"items":{"type":"string"},"type":"array"},"peak":{"type":"number"},"peakDbfs":{"type":["number","null"]},"perChannel":{"items":{"additionalProperties":false,"properties":{"clippedSamples":{"type":"number"},"dcOffset":{"type":"number"},"discontinuities":{"type":"number"},"peak":{"type":"number"},"peakDbfs":{"type":["number","null"]},"rms":{"type":"number"},"rmsDbfs":{"type":["number","null"]}},"required":["peak","peakDbfs","rms","rmsDbfs","dcOffset","clippedSamples","discontinuities"],"type":"object"},"type":"array"},"quietRmsDbfsEstimate":{"type":["number","null"]},"rms":{"type":"number"},"rmsDbfs":{"type":["number","null"]},"sampleRate":{"type":"number"},"scope":{"additionalProperties":false,"properties":{"end":{"type":"number"},"start":{"type":"number"},"tracks":{"items":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"type":"array"}},"required":["tracks","start","end"],"type":"object"},"silenceGapCount":{"type":"number"},"silenceGaps":{"items":{"additionalProperties":false,"properties":{"duration":{"type":"number"},"end":{"type":"number"},"start":{"type":"number"}},"required":["start","end","duration"],"type":"object"},"type":"array"},"truePeakDbtp":{"type":["number","null"]},"unavailable":{"additionalProperties":{"type":"string"},"propertyNames":{"type":"string"},"type":"object"}},"required":["duration","sampleRate","channels","frames","peak","peakDbfs","rms","rmsDbfs","crestDb","dcOffset","clippedSamples","discontinuities","silenceGaps","silenceGapCount","quietRmsDbfsEstimate","dynamicRangeDbEstimate","perChannel","integratedLufs","truePeakDbtp","loudnessRangeLu","unavailable","notes","backend","dualMono"],"type":"object"},"before":{"additionalProperties":{},"properties":{"backend":{"type":"string"},"channels":{"type":"number"},"clippedSamples":{"type":"number"},"crestDb":{"type":["number","null"]},"dcOffset":{"type":"number"},"discontinuities":{"type":"number"},"dualMono":{"type":"boolean"},"duration":{"type":"number"},"dynamicRangeDbEstimate":{"type":["number","null"]},"file":{"type":"string"},"frames":{"type":"number"},"integratedLufs":{"type":["number","null"]},"loudnessRangeLu":{"type":["number","null"]},"notes":{"items":{"type":"string"},"type":"array"},"peak":{"type":"number"},"peakDbfs":{"type":["number","null"]},"perChannel":{"items":{"additionalProperties":false,"properties":{"clippedSamples":{"type":"number"},"dcOffset":{"type":"number"},"discontinuities":{"type":"number"},"peak":{"type":"number"},"peakDbfs":{"type":["number","null"]},"rms":{"type":"number"},"rmsDbfs":{"type":["number","null"]}},"required":["peak","peakDbfs","rms","rmsDbfs","dcOffset","clippedSamples","discontinuities"],"type":"object"},"type":"array"},"quietRmsDbfsEstimate":{"type":["number","null"]},"rms":{"type":"number"},"rmsDbfs":{"type":["number","null"]},"sampleRate":{"type":"number"},"scope":{"additionalProperties":false,"properties":{"end":{"type":"number"},"start":{"type":"number"},"tracks":{"items":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"type":"array"}},"required":["tracks","start","end"],"type":"object"},"silenceGapCount":{"type":"number"},"silenceGaps":{"items":{"additionalProperties":false,"properties":{"duration":{"type":"number"},"end":{"type":"number"},"start":{"type":"number"}},"required":["start","end","duration"],"type":"object"},"type":"array"},"truePeakDbtp":{"type":["number","null"]},"unavailable":{"additionalProperties":{"type":"string"},"propertyNames":{"type":"string"},"type":"object"}},"required":["duration","sampleRate","channels","frames","peak","peakDbfs","rms","rmsDbfs","crestDb","dcOffset","clippedSamples","discontinuities","silenceGaps","silenceGapCount","quietRmsDbfsEstimate","dynamicRangeDbEstimate","perChannel","integratedLufs","truePeakDbtp","loudnessRangeLu","unavailable","notes","backend","dualMono"],"type":"object"},"delta":{"additionalProperties":{"additionalProperties":false,"properties":{"after":{"type":"number"},"before":{"type":"number"},"change":{"type":"number"}},"required":["before","after","change"],"type":"object"},"propertyNames":{"type":"string"},"type":"object"},"targetCheck":{"additionalProperties":{},"properties":{"checks":{"additionalProperties":{"additionalProperties":{},"properties":{"actual":{"type":["number","null"]},"gap":{"type":"number"},"reason":{"type":"string"},"status":{"enum":["met","missed","unknown"],"type":"string"},"target":{"additionalProperties":{},"properties":{"max":{"type":"number"},"min":{"type":"number"}},"type":"object"}},"required":["status","actual","target"],"type":"object"},"propertyNames":{"type":"string"},"type":"object"},"status":{"enum":["met","missed","unknown"],"type":"string"}},"required":["status","checks"],"type":"object"}},"required":["before","after","delta"],"type":"object"},"title":"Compare Files"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"List numeric house reference targets for podcast, video, broadcast, audiobook and premaster; use these with measurement targets. These references are not publishing certification. Recording noise floor requires isolated room tone.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{},"type":"object"},"name":"audacity_targets","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":{},"properties":{"note":{"type":"string"},"presets":{"additionalProperties":{"additionalProperties":{"additionalProperties":{},"properties":{"max":{"type":"number"},"min":{"type":"number"}},"type":"object"},"propertyNames":{"type":"string"},"type":"object"},"propertyNames":{"type":"string"},"type":"object"}},"required":["presets","note"],"type":"object"},"title":"Targets"},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Measure the RMS level difference between foreground speech and background room tone without opening Audacity Contrast. Each range is exported with current track controls and selection restored. This is a numeric contrast check, not full accessibility certification.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"background":{"additionalProperties":false,"properties":{"end":{"maximum":86400,"minimum":0,"type":"number"},"start":{"maximum":86400,"minimum":0,"type":"number"},"track":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"maxLength":4096,"minLength":1,"type":"string"}]}},"required":["track","start","end"],"type":"object"},"foreground":{"additionalProperties":false,"properties":{"end":{"maximum":86400,"minimum":0,"type":"number"},"start":{"maximum":86400,"minimum":0,"type":"number"},"track":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"maxLength":4096,"minLength":1,"type":"string"}]}},"required":["track","start","end"],"type":"object"},"minimumDb":{"default":20,"maximum":100,"minimum":0,"type":"number"}},"required":["foreground","background"],"type":"object"},"name":"audacity_contrast","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":{},"properties":{"backgroundRmsDbfs":{"type":["number","null"]},"differenceDb":{"type":["number","null"]},"foregroundRmsDbfs":{"type":["number","null"]},"minimumDb":{"type":"number"},"reason":{"type":"string"},"status":{"enum":["met","missed","unknown"],"type":"string"}},"required":["foregroundRmsDbfs","backgroundRmsDbfs","differenceDb","minimumDb","status"],"type":"object"},"title":"Contrast"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Play a selected region, pause/resume, stop, or record using Audacity’s configured input. Appending requires an explicit audio track matching the configured recording channels (1 or 2). Record mode respects Audacity’s new-track preference, and recording always starts from a cursor point to avoid batch progress waits. status reports selection and a monotonic estimated position; manual transport changes are not tracked. record returns immediately unless duration is supplied.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"action":{"enum":["play","pause","resume","stop","record","status"],"type":"string"},"duration":{"exclusiveMinimum":0,"maximum":60,"type":"number"},"end":{"maximum":86400,"minimum":0,"type":"number"},"newTrack":{"default":true,"type":"boolean"},"start":{"maximum":86400,"minimum":0,"type":"number"},"track":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"maxLength":4096,"minLength":1,"type":"string"}]}},"required":["action"],"type":"object"},"name":"audacity_transport","outputSchema":{"$defs":{"__schema0":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"items":{"$ref":"#/$defs/__schema0"},"type":"array"},{"additionalProperties":{"$ref":"#/$defs/__schema0"},"propertyNames":{"type":"string"},"type":"object"}]}},"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":{},"properties":{"positionSeconds":{"type":"number"},"positionSource":{"type":"string"},"selection":{"$ref":"#/$defs/__schema0"},"state":{"enum":["playing","paused","recording","stopped"],"type":"string"}},"required":["state","positionSeconds","positionSource","selection"],"type":"object"},"title":"Transport"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Undo or redo existing native menu/import history entries. Individual scripted effects and pipelines add no undo entry; save a project backup before destructive processing. Stops before a step the native history does not have, or at Audacity’s own first error, and does not claim checkpoint rollback.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"action":{"enum":["undo","redo"],"type":"string"},"steps":{"default":1,"maximum":100,"minimum":1,"type":"integer"}},"required":["action"],"type":"object"},"name":"audacity_history","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":{},"properties":{"action":{"enum":["undo","redo"],"type":"string"},"completed":{"type":"number"}},"required":["action","completed"],"type":"object"},"title":"History"},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Read project tracks, clips, selection, length, active project paths and actual render sample rate. Rate is measured by a tiny temporary WAV export with selection restored; an empty project returns rate=null and its default preference separately.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{},"type":"object"},"name":"audacity_project_info","outputSchema":{"$defs":{"__schema0":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"items":{"$ref":"#/$defs/__schema0"},"type":"array"},{"additionalProperties":{"$ref":"#/$defs/__schema0"},"propertyNames":{"type":"string"},"type":"object"}]},"__schema1":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"items":{"$ref":"#/$defs/__schema1"},"type":"array"},{"additionalProperties":{"$ref":"#/$defs/__schema1"},"propertyNames":{"type":"string"},"type":"object"}]}},"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":{},"properties":{"activeProjectFiles":{"items":{"type":"string"},"type":"array"},"clips":{"$ref":"#/$defs/__schema0"},"defaultRate":{"type":"number"},"fileSource":{"type":"string"},"lengthSeconds":{"type":"number"},"rate":{"type":["number","null"]},"selection":{"$ref":"#/$defs/__schema1"},"tracks":{"items":{"additionalProperties":{},"properties":{"channels":{"type":"number"},"end":{"type":"number"},"focused":{"type":"number"},"kind":{"type":"string"},"mute":{"type":"number"},"name":{"type":"string"},"pan":{"type":"number"},"selected":{"type":"number"},"solo":{"type":"number"},"start":{"type":"number"},"volume":{"type":"number"}},"required":["name","kind"],"type":"object"},"type":"array"}},"required":["tracks","clips","selection","lengthSeconds","rate","defaultRate","activeProjectFiles","fileSource"],"type":"object"},"title":"Project Info"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Get a preference or list available preferences. Set is restricted to default project sample rate and recording channel count; never changes modules, UI language, devices or pipe settings. Original value and readback are returned.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"action":{"enum":["get","list","set"],"type":"string"},"name":{"maxLength":4096,"minLength":1,"type":"string"},"value":{"type":["string","number","boolean"]}},"required":["action"],"type":"object"},"name":"audacity_preferences","title":"Preferences"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"List or apply saved local Audacity macros without opening the Macro Manager. Every step is parsed and checked first; dryRun lists steps. Modal/lifecycle commands and implicit effect presets are refused. Export macros need explicit outputTo.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"action":{"enum":["list","apply"],"type":"string"},"dryRun":{"default":false,"type":"boolean"},"name":{"maxLength":4096,"minLength":1,"type":"string"},"outputTo":{"maxLength":4096,"minLength":1,"type":"string"}},"required":["action"],"type":"object"},"name":"audacity_macros","outputSchema":{"$defs":{"__schema0":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"items":{"$ref":"#/$defs/__schema0"},"type":"array"},{"additionalProperties":{"$ref":"#/$defs/__schema0"},"propertyNames":{"type":"string"},"type":"object"}]}},"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":{},"properties":{"completed":{"type":"number"},"directory":{"type":"string"},"dryRun":{"type":"boolean"},"macros":{"items":{"additionalProperties":{"$ref":"#/$defs/__schema0"},"propertyNames":{"type":"string"},"type":"object"},"type":"array"},"name":{"type":"string"},"steps":{"items":{"additionalProperties":{"$ref":"#/$defs/__schema0"},"propertyNames":{"type":"string"},"type":"object"},"type":"array"}},"type":"object"},"title":"Macros"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Inspect process, pipe and crash-recovery entries; optionally close blocking dialogs and reconnect after a timeout. Never kills Audacity or replays edits. discardRecovery clears stale config entries only while Audacity is stopped, saving the config first and retaining all project files.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"closeDialogs":{"default":false,"type":"boolean"},"discardRecovery":{"default":false,"type":"boolean"},"reconnect":{"default":true,"type":"boolean"},"visible":{"default":false,"type":"boolean"}},"type":"object"},"name":"audacity_recover","outputSchema":{"$defs":{"__schema0":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"items":{"$ref":"#/$defs/__schema0"},"type":"array"},{"additionalProperties":{"$ref":"#/$defs/__schema0"},"propertyNames":{"type":"string"},"type":"object"}]}},"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":{},"properties":{"discarded":{"$ref":"#/$defs/__schema0"},"entries":{"items":{"type":"string"},"type":"array"},"needsRecovery":{"type":"boolean"},"note":{"type":"string"},"previousOutcome":{"type":"string"},"running":{"type":"boolean"},"synchronized":{"type":"boolean"},"tracks":{"items":{"additionalProperties":{},"properties":{"kind":{"type":"string"},"name":{"type":"string"}},"required":["name","kind"],"type":"object"},"type":"array"},"windows":{"items":{"additionalProperties":{},"properties":{"closed":{"type":"boolean"},"dialog":{"type":"boolean"},"title":{"type":"string"},"visible":{"type":"boolean"}},"required":["title","dialog","closed","visible"],"type":"object"},"type":"array"}},"required":["running","entries","windows","discarded"],"type":"object"},"title":"Recover"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"List/find labels by text, edit one flat zero-based label index, delete one label, or create regular markers. Delete safely reconstructs only its label track at the bottom of the project, preserving every other label including overlaps; returned indices reflect the new order.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"action":{"enum":["list","find","edit","delete","regular"],"type":"string"},"end":{"maximum":86400,"minimum":0,"type":"number"},"index":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"interval":{"exclusiveMinimum":0,"maximum":86400,"type":"number"},"query":{"maxLength":4096,"type":"string"},"start":{"maximum":86400,"minimum":0,"type":"number"},"text":{"maxLength":4096,"type":"string"},"trackName":{"maxLength":4096,"minLength":1,"type":"string"}},"required":["action"],"type":"object"},"name":"audacity_labels","title":"Labels"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Import Audacity TSV or JSON labels into a named track; export labels as TSV/JSON, SRT/VTT subtitles, timestamp chapters, CUE, Podlove or ffmetadata. Point-label subtitle ends come from the next marker or project end. Existing output files are refused.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"action":{"enum":["import","export"],"type":"string"},"file":{"maxLength":4096,"minLength":1,"type":"string"},"format":{"default":"tsv","enum":["tsv","json","srt","vtt","chapters","cue","podlove","ffmetadata"],"type":"string"},"trackName":{"default":"Labels","maxLength":4096,"minLength":1,"type":"string"}},"required":["action","file"],"type":"object"},"name":"audacity_labels_file","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":{},"properties":{"count":{"type":"number"},"file":{"type":"string"},"format":{"type":"string"},"imported":{"type":"number"},"trackName":{"type":"string"}},"type":"object"},"title":"Labels File"},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Export every positive-duration region in one label track as numbered audio files, using the current mix and explicit time/track selections. Point labels are skipped. Existing outputs are refused and all destinations are checked before export.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"channels":{"default":2,"maximum":2,"minimum":1,"type":"integer"},"directory":{"maxLength":4096,"minLength":1,"type":"string"},"format":{"default":"wav","enum":["wav","flac","mp3"],"type":"string"},"trackName":{"default":"Labels","maxLength":4096,"minLength":1,"type":"string"}},"required":["directory"],"type":"object"},"name":"audacity_label_regions_export","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":{},"properties":{"count":{"type":"number"},"files":{"items":{"type":"string"},"type":"array"}},"required":["files","count"],"type":"object"},"title":"Label Regions Export"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Clean/master audio files in Audacity using isolated temporary tracks and the reviewed pipeline. Preflights all paths/steps, dryRun lists jobs, and original tracks stay intact. Pause shortening requires an empty project because sync-lock may shift other tracks. Stops at the first failure; completed outputs are retained. Optional before/after reports measure the rendered result. Current solo tracks are refused because they could silence temporary-track exports.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"channels":{"default":2,"maximum":2,"minimum":1,"type":"integer"},"dryRun":{"default":false,"type":"boolean"},"jobs":{"items":{"additionalProperties":false,"properties":{"file":{"maxLength":4096,"minLength":1,"type":"string"},"options":{"additionalProperties":false,"default":{},"properties":{"attackMs":{"maximum":200,"minimum":0,"type":"number"},"bassDb":{"maximum":20,"minimum":-20,"type":"number"},"compress":{"type":"boolean"},"highPassHz":{"maximum":20000,"minimum":1,"type":"number"},"limitPeakDb":{"description":"optional limiter after normalization; measure the result","maximum":0,"minimum":-20,"type":"number"},"loudness":{"default":"none","description":"normalization can raise quiet audio; select it explicitly","enum":["none","peak","lufs","rms"],"type":"string"},"lowPassHz":{"maximum":20000,"minimum":1,"type":"number"},"lufs":{"default":-16,"maximum":-5,"minimum":-50,"type":"number"},"peakDb":{"default":-1,"maximum":0,"minimum":-60,"type":"number"},"preset":{"default":"voice","enum":["cleanup","voice","podcast","interview","audiobook","vocal","live","music","lofi"],"type":"string"},"ratio":{"maximum":20,"minimum":1,"type":"number"},"releaseMs":{"maximum":1000,"minimum":1,"type":"number"},"removeClicks":{"default":false,"description":"must remain false: native Click Removal can open a blocking result dialog","type":"boolean"},"removeDc":{"default":true,"type":"boolean"},"rmsDb":{"default":-20,"maximum":-5,"minimum":-50,"type":"number"},"shortenPauses":{"additionalProperties":false,"description":"optional destructive silence truncation; changes timing and video sync","properties":{"minimum":{"default":0.5,"maximum":60,"minimum":0.01,"type":"number"},"thresholdDb":{"default":-40,"maximum":-20,"minimum":-80,"type":"number"},"truncateTo":{"default":0.3,"maximum":60,"minimum":0,"type":"number"}},"type":"object"},"thresholdDb":{"maximum":0,"minimum":-60,"type":"number"},"trebleDb":{"maximum":20,"minimum":-20,"type":"number"}},"type":"object"},"output":{"maxLength":4096,"minLength":1,"type":"string"}},"required":["file","output"],"type":"object"},"maxItems":50,"minItems":1,"type":"array"},"measure":{"default":true,"type":"boolean"}},"required":["jobs"],"type":"object"},"name":"audacity_batch","outputSchema":{"$defs":{"__schema0":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"items":{"$ref":"#/$defs/__schema0"},"type":"array"},{"additionalProperties":{"$ref":"#/$defs/__schema0"},"propertyNames":{"type":"string"},"type":"object"}]}},"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":{},"properties":{"completed":{"type":"number"},"dryRun":{"type":"boolean"},"jobs":{"items":{"additionalProperties":{"$ref":"#/$defs/__schema0"},"propertyNames":{"type":"string"},"type":"object"},"type":"array"},"notes":{"items":{"type":"string"},"type":"array"},"requiresEmptyProject":{"type":"boolean"},"results":{"items":{"additionalProperties":{"$ref":"#/$defs/__schema0"},"propertyNames":{"type":"string"},"type":"object"},"type":"array"}},"required":["dryRun"],"type":"object"},"title":"Batch"}]}}}
