document_getStoryPages
Return all pages covered by a specific story using its story index, so you can identify where that story appears in an InDesign document.
Instructions
Get all pages covered by a specific story (for finding which pages a story lives on)
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>"
},
"name": "document_getStoryPages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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. |