page.list_frames
Lists the page's frame tree with origins and execution-context IDs, so an agent can run JavaScript in a specific iframe.
Instructions
Frame tree with origins and execution-context ids, so JS can be run inside a specific iframe.
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": "page.list_frames"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target_id | No | Target handle (tgt_*). Omit for the active page. | |
| browser_id | No | Browser handle (br_*). Omit to use the only running browser, or auto-launch one. |