switch_tab
Select a browser tab as the target for subsequent operations using session ID, URL substring, or browser name. Avoids focusing the browser unless activation is enabled.
Instructions
Set the target tab for later calls by session id, URL substring, or browser name ('chrome'/'edge'/'opera') without focusing the browser. A URL substring must match exactly one tab; pass its full session_id when several tabs match. Use activate=true or activate_tab when foreground work is required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| browser | No | ||
| activate | No | ||
| session_id | No | ||
| url_pattern | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||