promote_list_item
Promotes a list item by decreasing its indentation level by one. Returns the paragraph ID and new indentation level. Raises an error if the paragraph is not a list item.
Instructions
Decrease the list indentation level (ilvl) of a paragraph by 1, minimum 0.
Returns {para_id, ilvl}. Raises ValueError if paragraph is not a list item.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| para_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |