browser_close_tab
Closes a browser tab in a session by tab index or the current tab if none specified.
Instructions
Close a browser tab.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"session_id": "<session_id>"
},
"name": "browser_close_tab"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | The session ID | |
| tab_index | No | Tab index to close (-1 for current tab) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |