table_setCellInset
Adjust cell inset spacing for a specific table cell in an open InDesign document by setting its top, bottom, left, and right padding values.
Instructions
Set cell inset spacing
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>",
"top": "<top>",
"bottom": "<bottom>",
"left": "<left>",
"right": "<right>"
},
"name": "table_setCellInset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | Yes | ||
| left | Yes | ||
| right | Yes | ||
| bottom | Yes | ||
| rowIndex | Yes | ||
| pageIndex | Yes | ||
| 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. |