note_addEndnote
Add an endnote to an InDesign story by passing storyIndex and text; optionally target a document and choose numbering type.
Instructions
Add an endnote to a story
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": {
"storyIndex": "<storyIndex>",
"text": "<text>"
},
"name": "note_addEndnote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| storyIndex | 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. | |
| numberingType | No | decimal |