iframe_target
Locate the frame ID of the first iframe whose URL contains a specified substring, enabling targeted actions within embedded content.
Instructions
iframe_target("player") → 第一个 URL 含 url_substr 的 iframe 的 frameId。
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": {
"url_substr": "<url_substr>"
},
"name": "iframe_target"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url_substr | Yes |