Close page
close_pageClose an open browser tab and get the updated list of remaining pages. Use close_browser to shut down the last tab.
Instructions
Close a single browser tab.
The last remaining tab cannot be closed — use close_browser to shut Chrome down entirely. Closing the selected page clears the selection, so subsequent tools fall back to the most recently opened tab.
Returns the remaining open pages, because indices shift when a tab closes: re-read them from this response rather than reusing older ones.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| browser | No | Which browser to act on. Each name is an independent Chrome, created on first use. Omit for the shared default; parallel agents each need their own name. | default |
| page_id | No | Index of the page to close, as listed by list_pages. -1 (the default) closes the currently selected page. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |