set_widow_control
Enable or disable widow control on a paragraph to prevent isolated lines at page breaks. Specify the paragraph ID and set enabled to true or false.
Instructions
Enable widow/orphan control for this paragraph.
Args: para_id: paraId of the target paragraph. enabled: True to enable widow control, 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_widow_control"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| para_id | Yes | ||
| enabled | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |