add_content_control
Wrap a paragraph in a content control to create form fields like text, checkbox, dropdown, or date. Use tags and labels to manage structured input.
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 |