form_input
Set form control values directly: text, textarea, select, checkbox/radio, contenteditable, firing input/change events.
Instructions
Set a form control's value directly (fires input/change): text/textarea, select (option text or value), checkbox/radio (true/false), contenteditable. Prefer type for fields that validate on keystrokes (card numbers).
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 from read_page or find, e.g. ref_12 or f1:ref_3 (f1 = inside frame 1) | |
| tabId | Yes | Tab id from tabs_context | |
| value | Yes |