form_input
Set the value of browser form fields—including inputs, textareas, selects, checkboxes, radios, and contenteditable elements—by element reference to fill or update page forms.
Instructions
Set the value of an input, textarea, select, checkbox/radio or contenteditable element by ref.
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": {
"ref": "<ref>",
"value": "<value>"
},
"name": "form_input"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | Element reference from read_page/find, e.g. "ref_12". | |
| tabId | No | Tab to act on. Defaults to the active tab of the focused Zen window. | |
| value | Yes |