browser_frames
List the page's frames (the main frame and every ): index, name, url, whether it is the main frame, and a CSS selector matching its element only (inside its parent document: for a nested frame join the ancestors' selectors with ' >>> ', outermost first). Use the selector as frame on click / fill / type / hover / get / save_page. aria-refs from browser.snapshot work in iframes without it.
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": {
"page_id": "<page_id>"
},
"name": "browser_frames"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_id | Yes | ||
| in_workspace | No | Run this one call in this workspace id instead of the session's. Nothing is stored; other sessions are not affected. |