get_current_tab
Retrieve the currently active browser tab in a Selenium session. Returns tab index, name, and current status.
Instructions
Retrieve the currently active browser tab.
Purpose
Allows the agent to confirm which tab is currently active without listing all tabs.
Parameters
session_id : str Active browser session identifier.
Returns
dict { "session_id": str, "status": str, "message": str, "tab": { "index": int, "name": str, "current": bool } }
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": "get_current_tab"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes |