browser_fill
Clears and fills input fields or textareas by CSS selector. Sets value directly without change events, suitable for browser automation.
Instructions
Clear and fill an input field or textarea. Does not trigger change events; use browser_type for character-by-character input.
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": {
"selector": "<selector>",
"value": "<value>"
},
"name": "browser_fill"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | Yes | CSS selector of the input field | |
| value | Yes | The value to fill in |