wait_for_network_idle
Wait for all network requests to finish and the page to reach a quiet state, ensuring SPA dynamic content is fully loaded before proceeding.
Instructions
Wait until there are no active XHR/fetch requests for a quiet period. Essential for SPAs and pages that load data asynchronously. Also waits for document.readyState to be 'complete'.
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": "wait_for_network_idle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout | No | Max seconds to wait before giving up | |
| idle_time_ms | No | Milliseconds of network silence required | |
| max_inflight | No | Tolerate up to N in-flight requests (0 = fully idle) |