Switch frame
browser_frame_switchScope semantic locators to a specific frame by index, name, or URL substring, or return to the main frame. Refs keep working across frames without extra switching.
Instructions
Scope semantic locators to a frame (by index, name or URL substring), or back to main=true. Refs work across frames without switching.
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_frame_switch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| main | No | ||
| name | No | ||
| index | No | ||
| pageId | No | ||
| session | No |