table_setCell
Set or replace the content of a specific cell in an InDesign table using document, page, table, row, and column indexes.
Instructions
Set content of a specific cell
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>",
"row": "<row>",
"column": "<column>",
"content": "<content>"
},
"name": "table_setCell"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| row | Yes | ||
| column | Yes | ||
| content | Yes | ||
| pageIndex | Yes | ||
| tableIndex | 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. |