browser_iframe
Switch browser context to an iframe using its CSS selector, or return to the main page.
Instructions
切换到 iframe 上下文(之后的操作在 iframe 内执行),或切回主页面。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"selector": "<selector>"
},
"name": "browser_iframe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | Yes | iframe 的 CSS 选择器,传 'main' 切回主页面 |