set_cell_width
Specify the exact width of a table cell in millimeters to control table layout in Word documents.
Instructions
Set the width of a table cell in millimetres (stored as DXA).
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": {
"table_idx": "<table_idx>",
"row_idx": "<row_idx>",
"col_idx": "<col_idx>",
"width_mm": "<width_mm>"
},
"name": "set_cell_width"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| col_idx | Yes | ||
| row_idx | Yes | ||
| width_mm | Yes | ||
| table_idx | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |