Insert List Near Text
insert_numbered_list_near_textInsert a numbered list before or after a specific paragraph in a Word document by providing the target text or paragraph index.
Instructions
Insert a bulleted or numbered list before or after the target paragraph. Specify by text or paragraph index. Args: filename (str), target_text (str, optional), list_items (list of str), position ('before' or 'after'), target_paragraph_index (int, optional), bullet_type ('bullet' for bullets or 'number' for numbered lists, default: 'bullet').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | ||
| target_text | No | ||
| list_items | No | ||
| position | No | after | |
| target_paragraph_index | No | ||
| bullet_type | No | bullet |