reload_tab
Reload the connected Chrome tab, wait up to 30s for load or pause, and return the outcome; breakpoints persist and reload works while paused.
Instructions
Reload the connected tab and wait up to 30s for the new page's load event — or for execution to pause first, e.g. on a breakpoint hit during startup, in which case the call stack is returned. outcome is "loaded", "paused" or "still-loading" (the new page is in place but its load event had not fired by the deadline). Breakpoints carry over to the reloaded page. Also works while paused, no need to resume first: the pause ends with the old page.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ignoreCache | No | Bypass the HTTP cache, as Shift+F5 does. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| note | No | ||
| title | No | ||
| reason | No | Pause reason. Present only when paused. | |
| outcome | Yes | "loaded": the load event fired. "paused": execution paused before it did — see callStack. "same-document": only the #hash changed, so there is no load to wait for. "still-loading": the page committed but its load event did not fire in time. "download": the URL was handed to the download manager and the page did not change. | |
| callStack | No | Same shape as get_debugger_state. Present only when paused. | |
| droppedBreakpoints | No | Breakpoints set by `source` whose file has changed since: removed, and reported here once. |