browser_fill
Fill form inputs using CSS selectors or aria references from browser snapshots, including inside iframes.
Instructions
Fill an input by CSS selector or aria ref from browser_snapshot.
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": {
"text": "<text>"
},
"name": "browser_fill"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | aria-ref from browser_snapshot, for example e12. Provide exactly one of selector or ref. | |
| text | Yes | ||
| timeout | No | ||
| selector | No | CSS selector. Provide exactly one of selector or ref. | |
| frameSelector | No | Optional CSS selector for an iframe. When set, selector/ref resolve inside that frame. |