set_table_cell_style_adv
Apply background color and vertical alignment to a specific table cell in an HWP document, enabling precise cell styling for tables.
Instructions
Set advanced style for a table cell (background, alignment).
Args: doc_id: Document ID from open_document table_index: Index of the table row: Row index col: Column index background_color: Background color in hex (e.g., "#FFFF00") vertical_align: Vertical alignment ("top", "middle", "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": {
"doc_id": "<doc_id>",
"table_index": "<table_index>",
"row": "<row>",
"col": "<col>"
},
"name": "set_table_cell_style_adv"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| col | Yes | ||
| row | Yes | ||
| doc_id | Yes | ||
| table_index | Yes | ||
| vertical_align | No | ||
| background_color | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||