insert_sequence_field
Insert a sequence field (SEQ) to automate figure or table numbering in a Word document, with an option to reset the counter.
Instructions
Insert a SEQ (sequence) field for figure/table numbering.
Args: para_id: w14:paraId of the target paragraph. seq_name: The sequence identifier (e.g. "Figure", "Table"). reset: If True, restarts the sequence counter at 1.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| para_id | Yes | ||
| seq_name | Yes | ||
| reset | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |