list_applyToSelection
Apply a named list to the current text selection in Adobe InDesign, with optional list level and target document.
Instructions
Apply a list to the current text selection
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": {
"listName": "<listName>"
},
"name": "list_applyToSelection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | ||
| listName | 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. |