set_paragraph_style
Apply a paragraph style such as Heading 1 or Title to a specific paragraph in a LibreOffice document. Optionally specify the paragraph index; defaults to the last paragraph.
Instructions
Apply a paragraph style (e.g. "Heading 1", "Title") to an existing paragraph.
Defaults to the last paragraph if paragraph_index is omitted. Index is 0-based (negative indices count from the end, Python-style) and counts paragraphs only — tables don't count.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| style | Yes | ||
| doc_id | Yes | ||
| paragraph_index | No |