fill
Set the value of an input or textarea on a web page, replacing any existing content. Use CSS or XPath selectors to target the element.
Instructions
Set the value of an input or textarea, replacing any existing content.
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 | New value to fill in. | |
| selector | Yes | CSS or XPath selector. |