browser_switch_frame
Switch focus to an using its CSS selector, or return to the main document.
Instructions
Switch into an or back to the main document.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "browser_switch_frame"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | No | CSS selector of <iframe>, or '' for main document |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |