table_setCellStroke
Set the stroke weight, color, and type for a specific edge of an InDesign table cell, including top, bottom, left, right, or all borders.
Instructions
Set cell edge stroke properties
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": {
"pageIndex": "<pageIndex>",
"tableIndex": "<tableIndex>",
"rowIndex": "<rowIndex>",
"columnIndex": "<columnIndex>",
"edge": "<edge>",
"strokeWeight": "<strokeWeight>"
},
"name": "table_setCellStroke"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| edge | Yes | ||
| rowIndex | Yes | ||
| pageIndex | Yes | ||
| strokeType | No | ||
| tableIndex | Yes | ||
| columnIndex | Yes | ||
| document_id | No | Which open document to act on: a name (see document_listOpen) or a 0-based index. Defaults to the front document. | |
| strokeColor | No | ||
| strokeWeight | Yes |