set_cell_shading
Define a fill color for a specific table cell and save the modified HWP/HWPX document as a new file.
Instructions
Set a table cell fill color and write a NEW file (delegate).
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": {
"path": "<path>",
"table_index": "<table_index>",
"row": "<row>",
"col": "<col>",
"fill_color": "<fill_color>",
"out_path": "<out_path>"
},
"name": "set_cell_shading"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| col | Yes | ||
| row | Yes | ||
| path | Yes | ||
| out_path | Yes | ||
| fill_color | Yes | ||
| table_index | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |