focus_tab
Switch browser focus to a specific tab using its index. Provide a 1-based index, negative to count from end, or 'last' for the previous tab.
Instructions
Switch to a specific tab by index (IPC only — this intentionally changes focus)
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": {
"index": "<index>"
},
"name": "focus_tab"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | Tab index (1-based, negative from end) or 'last' for previous tab |