session_tabs
Lists a session's open tabs and marks the active one, giving the tab index needed to switch tabs. Call after opening the session with profile_start.
Instructions
List the session's open tabs, with the currently active one marked.
Requires a session opened with profile_start first. Use this to find the index to pass to session_switch_tab.
Args: name: identity name, exactly as profiles_list reports it.
Returns {tabs, active}: tabs is a list of {index, url}, active is the
index of the tab currently in front. Fails with a readable message if the
session is not open (409 — call profile_start first) or the identity does
not exist (404).
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": {
"name": "<name>"
},
"name": "session_tabs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes |