set_value
Set the text of an input element by clearing existing content and typing a new value, without requiring the window to be focused.
Instructions
Set the text value of an input element (clears first then types). Sets the value directly on the element — does not require the window to be focused or in the foreground.
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": {
"elementId": "<elementId>",
"value": "<value>"
},
"name": "set_value"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | The text value to set | |
| elementId | Yes | Element ID returned by find_element |