switch_tab
Set the target tab for later calls by session ID, URL substring, or browser name, without focusing the browser. When foreground work is needed, activate the tab.
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 | |||