session_switch_tab
Bring an open tab in a running browser session to the front and make it active. Provide the identity name and the tab index from session_tabs to switch focus.
Instructions
Bring one of the session's open tabs to the front and make it the active one.
Requires a session opened with profile_start first. Get index from
session_tabs — indices are only valid as of that snapshot, a tab opened or
closed since shifts them.
Args: name: identity name, exactly as profiles_list reports it. index: the tab's index, from session_tabs.
Returns {index, url} for the now-active tab. Fails with a readable message if the session is not open (409 — call profile_start first), the identity does not exist (404), or the index is out of range (422).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| index | Yes |