fill
Replaces text in input, textarea, or editable elements and clears fields when given an empty string.
Instructions
Replace the value of an input, textarea, or editable element. Use an empty string to clear it.
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": {
"pageId": "<pageId>",
"selector": "<selector>",
"value": "<value>"
},
"name": "fill"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | Text to enter. An empty string clears the field. | |
| pageId | Yes | ||
| options | No | ||
| selector | Yes | ||
| sessionId | No | Browser session ID. Defaults to 'default'. |