Set a form value
form_inputSet values for form elements by ref, including text inputs, selects, checkboxes, radios, switches, and contenteditable editors, and fire input/change events that React and Vue detect.
Instructions
Set the value of a form element by ref (from read_page/find): text inputs and textareas (string), selects (option value or visible text), checkboxes/radios/switches (boolean), contenteditable editors (string). Fires the input/change events frameworks like React and Vue listen to.
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": {
"tabId": "<tabId>",
"ref": "<ref>",
"value": "<value>"
},
"name": "form_input"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | Element ref, e.g. "ref_7". | |
| tabId | Yes | Tab ID from tabs_context / tabs_create. | |
| value | Yes | Value to set. | |
| action_summary | No |