spa_iframe_fill
Fill input fields inside iframes using CSS selectors. Optionally navigate to a URL first and capture a screenshot after filling.
Instructions
Fill an input field inside an iframe.
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": {
"frame": "<frame>",
"selector": "<selector>",
"value": "<value>"
},
"name": "spa_iframe_fill"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | URL to navigate to first (optional) | |
| frame | Yes | CSS selector for the iframe | |
| value | Yes | Value to fill | |
| session | No | Session ID | default |
| selector | Yes | CSS selector for input inside iframe | |
| screenshot | No | Take screenshot after action |