Set Cell Alignment
set_table_cell_alignmentSet horizontal and vertical alignment of text in a specific table cell of a Word document. Use row and column indices to target the cell.
Instructions
Set text alignment for a specific table cell.
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": {
"filename": "<filename>",
"table_index": "<table_index>",
"row_index": "<row_index>",
"col_index": "<col_index>"
},
"name": "set_table_cell_alignment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | ||
| table_index | Yes | ||
| row_index | Yes | ||
| col_index | Yes | ||
| horizontal | No | left | |
| vertical | No | top |