text_getStories
List all stories in an InDesign document, with optional timeout and result limits for large files.
Instructions
List all stories in the active document with optional timeout and max results
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "text_getStories"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout | No | Custom timeout in ms for large documents | |
| maxResults | No | Maximum number of stories to return | |
| document_id | No | Which open document to act on: a name (see document_listOpen) or a 0-based index. Defaults to the front document. | |
| includeControlChars | No | Include BOM and control characters in content preview |