close_tab
Close a browser tab by its index and automatically shift focus to an active remaining tab.
Instructions
Close a specific browser tab using its index.
Purpose
Allows the agent to close tabs that are no longer needed. After closing, focus automatically shifts to a valid remaining tab.
Parameters
session_id : str Active browser session identifier. index : int Index of the tab to close.
Returns
dict { "session_id": str, "status": str, "message": str }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | ||
| session_id | Yes |