Close page
close_pageCloses a single browser tab, returning the updated list of remaining open pages so indices can be re-read.
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 |
|---|---|---|---|
| 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 |