add_content_control
Add structured content controls such as text fields, checkboxes, dropdowns, or date pickers to paragraphs in Word documents.
Instructions
Wrap a paragraph in an SDT content control.
Args: para_id: paraId of the paragraph to wrap. tag: Unique tag name for the control. control_type: One of text|checkbox|dropdown|date. label: Optional display label (w:alias). options: List of option strings for dropdown controls. default: Default display text (or date string for date controls).
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": {
"para_id": "<para_id>",
"tag": "<tag>",
"control_type": "<control_type>"
},
"name": "add_content_control"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | Yes | ||
| label | No | ||
| default | No | ||
| options | No | ||
| para_id | Yes | ||
| control_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |