fill
Sets a form field to a specified value and clears existing input; use submitEvents for React/Vue/Angular apps so framework state updates are triggered correctly.
Instructions
Instantly fill a form field (clears existing value). For React/Vue/Angular apps, set submitEvents=true or use click + type_text instead, as direct fill may not trigger framework state updates.
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": {
"ref": "<ref>",
"value": "<value>"
},
"name": "fill"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | Element ref (e.g. 'e5') | |
| value | Yes | Value to fill | |
| submitEvents | No | Use click+selectAll+type sequence instead of direct fill. Required for React/Vue/Angular inputs. |