docx.fix_paragraph_rtl
Fix paragraph text direction in DOCX documents by setting RTL or LTR for a specific paragraph after manual verification.
Instructions
Fix RTL direction of paragraph - USE ONLY after manual check
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": {
"docId": "<docId>",
"paragraphIndex": "<paragraphIndex>",
"setLTR": "<setLTR>"
},
"name": "docx.fix_paragraph_rtl"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| docId | Yes | Document ID | |
| setLTR | Yes | true = set LTR (remove RTL), false = set RTL | |
| paragraphIndex | Yes | Paragraph index (0-based) |