fill
Set a form field to a specified value by clearing existing content first. Enables accurate input for automated React form testing and debugging.
Instructions
Fill a form field with the given value. Clears existing content first.
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 fill in | |
| timeout | No | Timeout in ms (default: 30000) | |
| selector | Yes | CSS selector for the input field |