set_keep_with_next
Prevent paragraph breaks across pages by linking a paragraph to stay with the following one. Control paragraph pagination in Word documents.
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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"para_id": "<para_id>",
"enabled": "<enabled>"
},
"name": "set_keep_with_next"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| para_id | Yes | ||
| enabled | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |