update_table_cell_style
Modify table cell appearance in Google Docs by adjusting background color, padding, or border styles for specific cells.
Instructions
Style a table cell (background, padding, borders).
Cell positions are 0-based. Provide at least one style property.
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": {
"document_id": "<document_id>",
"table_start_index": "<table_start_index>",
"row_index": "<row_index>",
"column_index": "<column_index>"
},
"name": "update_table_cell_style"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document_id | Yes | The ID of the Google Document | |
| table_start_index | Yes | The index where the table starts | |
| row_index | Yes | Row index (0-based) | |
| column_index | Yes | Column index (0-based) | |
| background_color | No | ||
| padding_top | No | ||
| padding_bottom | No | ||
| padding_left | No | ||
| padding_right | No | ||
| border_top_color | No | ||
| border_top_width | No | ||
| border_bottom_color | No | ||
| border_bottom_width | No | ||
| border_left_color | No | ||
| border_left_width | No | ||
| border_right_color | No | ||
| border_right_width | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |