tableStyle_create
Create a table style in the active InDesign document with options for fills, strokes, spacing, and alternating rows or columns.
Instructions
Create a table style in the active document
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": {
"name": "<name>"
},
"name": "tableStyle_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| basedOn | No | ||
| fillColor | No | ||
| spaceAfter | No | ||
| document_id | No | Which open document to act on: a name (see document_listOpen) or a 0-based index. Defaults to the front document. | |
| spaceBefore | No | ||
| strokeColor | No | ||
| strokeWeight | No | ||
| alternatingFills | No | none | |
| alternatingFillColors | No |