fill
Sets the value of a form field identified by a CSS selector and triggers input and change events.
Instructions
Set the value of an input, textarea, select, or contenteditable element matching a CSS selector and fire input/change events. Requires the 'interact' capability.
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": "fill"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | Value to set | |
| selector | Yes | CSS selector of the field |