set_cell_alignment_docx
Set horizontal or vertical text alignment for selected table cells in a DOCX file by table, row, and column indices. Choose left, center, right, justify, top, or bottom.
Instructions
Mengatur perataan teks sel: horizontal ('left', 'center', 'right', 'justify') dan/atau vertikal ('top', 'center', 'bottom')
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": {
"file_path": "<file_path>",
"table_index": "<table_index>"
},
"name": "set_cell_alignment_docx"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| col | No | ||
| row | No | ||
| vertical | No | ||
| file_path | Yes | ||
| horizontal | No | ||
| table_index | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |