insert_form_control
Insert interactive form controls—button, checkbox, combobox, edit, or listbox—into an HWP document, with optional size, tooltip, and name settings.
Instructions
Insert a form control (button, checkbox, combobox, edit, listbox).
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": {
"doc_id": "<doc_id>",
"control_type": "<control_type>"
},
"name": "insert_form_control"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| width | No | ||
| doc_id | Yes | ||
| height | No | ||
| tooltip | No | ||
| control_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||