webpage_tabs
List, open, switch and close browser tabs on the device — one tool for what would otherwise be several. list works on BOTH iOS Safari and Android Chrome and returns a pageId per tab; pass that pageId to any other webpage_* tool to act on that specific tab, on either platform. new, select and close are ANDROID ONLY and error on iOS rather than pretending — Safari can list and drive tabs remotely but cannot open or close them, and needs no switching since pageId already targets one directly. Stale tabs accumulate across sessions and clutter the list: close what you are done with.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | URL to open — for action "new" (default: about:blank) | |
| udid | Yes | Device UDID / serial (iOS or Android) | |
| action | No | What to do (default "list"). "new"/"select"/"close" are Android only. | |
| pageId | No | Tab to act on, from action "list" — required for "select" and "close" | |
| socket | No | Android only: abstract unix socket name (default: chrome_devtools_remote) | |
| platformVersion | No | Ignored (kept for compatibility) |