list_styles
List paragraph, character, or object styles from InDesign, optionally refreshing from the document, to get style names and IDs for applying via apply_style.
Instructions
List paragraph / character / object styles from the Document Model cache (or refresh from InDesign). Prefer after scan_document; use apply_style / execute_batch applyStyle to apply.
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": "list_styles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| refresh | No | If true, re-read styles from InDesign (default: cache) | |
| styleKind | No | If set, return only that kind; otherwise all three | |
| timeoutSec | No |