wait_for
Waits for file existence, absence, or stability, port open/closed, URL success, or process exit; fails when the timeout expires.
Instructions
Wait until file_exists/file_gone/file_stable, port_open/port_closed, url_ok, process_exit; fails on timeout.
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": {
"condition": "<condition>",
"target": "<target>"
},
"name": "wait_for"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | ||
| target | Yes | path, host:port, URL or PID | |
| contains | No | ||
| stable_s | No | ||
| condition | Yes | ||
| timeout_s | No | default 60 | |
| interval_ms | No |