add_field
Insert a Word field like PAGE or DATE at the end of a specified paragraph. Provide the paragraph ID and field code to add dynamic content.
Instructions
Insert a Word field at end of paragraph.
Common field codes: PAGE, NUMPAGES, DATE, SEQ Figure, REF MyBookmark, STYLEREF Heading.
Args: para_id: w14:paraId of the target paragraph. field_code: The field instruction text (e.g. "PAGE"). cached_value: Optional display text cached in the document.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| para_id | Yes | ||
| field_code | Yes | ||
| cached_value | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |