列出 iframe
frame_listList iframes in a tab's top-level DOM with visibility status. Use returned frame_index/iframe_id to target specific frames in subsequent operations.
Instructions
列出标签页顶级 DOM 中的所有 iframe 及其可见状态(可见即激活态功能模块)。
返回的 frame_index / iframe_id 可作为其他工具 frame 参数的取值。
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": "frame_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tab_id | No | ||
| browser_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |