section_delete
Delete a section from an open Adobe InDesign document by its index. Specify an optional document ID or default to the front document.
Instructions
Delete a section by its index
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": {
"sectionIndex": "<sectionIndex>"
},
"name": "section_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document_id | No | Which open document to act on: a name (see document_listOpen) or a 0-based index. Defaults to the front document. | |
| sectionIndex | Yes |