safari_list_frames
List every document in a tab, including cross-origin iframes, with frameId, URL, and text length. Use to locate embedded content that standard page reads miss, then target it via frameId.
Instructions
List every document in the tab — the main page plus each iframe — with its frameId, URL and text length. Use when a page's content lives in a cross-origin iframe (an embedded app, a micro-frontend shell, a payment field): safari_read_page and safari_evaluate see only the main document there and come back empty or with a loader. Pass the frameId or a URL substring as safari_evaluate's frame to run inside it.
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": "safari_list_frames"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| receipt | No | Opaque extension-issued tab receipt |