clear_input
Clear text from input fields or textareas by selecting all content and deleting it using CSS selectors.
Instructions
Clear the value of an input or textarea matching a selector. Equivalent to selecting all and deleting.
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>"
},
"name": "clear_input"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | Yes | ||
| timeoutMs | No | Default 5000. |