List frames
list_framesList all frames on a page to access iframe content that standard selectors and snapshots cannot reach.
Instructions
List the page's frames, so their content can be reached at all.
Chrome's accessibility tree stops at a frame boundary, and document.querySelector never crosses one, so anything inside an iframe — payment fields, consent walls, embedded editors, CAPTCHA widgets — is invisible to take_snapshot and query_selector by default.
Index 0 is always the main frame. Pass an index or frame id as the frame
argument of get_page_content, query_selector, evaluate_script,
wait_for_selector or take_snapshot to work inside one.
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": "list_frames"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| browser | No | Which browser to act on. Each name is an independent Chrome, created on first use. Omit for the shared default; parallel agents each need their own name. | default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |