add_content_control
Wraps a specified paragraph in a structured document tag (SDT) content control, supporting text, checkbox, dropdown, and date types with customizable tag, label, and options.
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).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| para_id | Yes | ||
| tag | Yes | ||
| control_type | Yes | ||
| label | No | ||
| options | No | ||
| default | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |