tabs
List each open browser tab, switch the active one, or close a tab by index so agents can manage which page they read or act on.
Instructions
List the browser's tabs, switch to one, or close one.
action="list"— every open tab with itsindex, URL, title and whether it is theactiveone (the one you read and act on).action="switch"— make tabindexthe active one, and bring it to the front so the user sees what you see.action="close"— close tabindex. Closing the active tab returns you to the tab that opened it, else the newest one; closing the last tab leaves a blank one.
Indexes shift whenever a tab opens or closes, so list again before using
one. Tabs a page opens are followed automatically, and a popup that
closes itself (a sign-in window) returns you to where you were — this is
for when you have to choose. Switching to or closing a tab asks for
permission to use that tab's site, like any other action there;
reason is shown to the user when they are asked.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | No | ||
| action | No | list | |
| reason | No | ||
| confirm | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||