Watch a directory for new files
tmux_watch_dir_taskPoll a directory locally or over SSH and complete as soon as new files appear, or stop after a configurable iteration limit.
Instructions
Poll a directory (local or via SSH) and complete when new files appear or after max iterations.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "tmux_watch_dir_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | SSH host alias (optional). | |
| path | No | Directory to watch. | . |
| intervalMs | No | Polling interval ms. | |
| iterations | No | Max polling iterations. |