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}, ...]}
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"folder_path": "<folder_path>",
"output_formats": "<output_formats>"
},
"name": "watch_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder_path | Yes | ||
| output_formats | Yes | ||
| output_folder | No | ||
| duration_seconds | No |