set_keep_with_next
Prevent page breaks between a paragraph and the next paragraph by enabling or disabling the keep-with-next property. Useful for maintaining cohesion in document layout.
Instructions
Keep this paragraph on the same page as the next paragraph.
Args: para_id: paraId of the target paragraph. enabled: True to enable keep-with-next, False to remove it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | Yes | ||
| para_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |