watch_folder
Automatically convert new .mscz files in a monitored folder to specified output formats like PDF or MusicXML, with a configurable monitoring duration.
Instructions
Watch a folder for new .mscz files and auto-convert them.
Monitors the folder for up to duration_seconds, converting any
new .mscz files that appear into the requested output formats.
Args: folder_path: Absolute path to the folder to watch. output_formats: List of output formats, e.g. ["pdf", "musicxml"]. output_folder: Where to write converted files. Defaults to folder_path. duration_seconds: How long to watch (max 300s).
Returns: {"converted": [{"source": str, "outputs": [str, ...]}, ...], "errors": [{"source": str, "error": str}, ...]}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder_path | Yes | ||
| output_formats | Yes | ||
| output_folder | No | ||
| duration_seconds | No |