browser_fill
Set or replace the value of an input or textarea in browser automation, using an element ref, CSS selector, or visible label.
Instructions
Set the value of an input or textarea (replaces its text).
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": {
"value": "<value>"
},
"name": "browser_fill"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | ref from browser_snapshot | |
| text | No | Visible text/label, instead of ref | |
| state | No | true: full page state | |
| value | Yes | The new value | |
| selector | No | CSS selector, instead of ref | |
| snapshot | No | Snapshot after the action |