watch_file
Monitor files and directories for changes, with options for recursive watching, ignoring patterns, and skipping initial events to trigger workflows on updates.
Instructions
Watch file or directory for changes
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": {
"path": "<path>"
},
"name": "watch_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to watch | |
| ignored | No | Patterns to ignore | |
| recursive | No | Watch recursively | |
| ignoreInitial | No | Ignore initial events |