fill
Type text into input fields, textareas, or contenteditable elements to automate form entry in web testing.
Instructions
Type text into an input field, textarea, or contenteditable element.
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 | Text to type into the field | |
| selector | Yes | CSS selector for the input field | |
| clearFirst | No | Clear the field before typing (default: true) |