list_colors
Retrieve all colors, tints, gradients, or swatches from the active InDesign document. Filter by swatch type to inspect available color resources.
Instructions
Lists all colors and tints (swatches) in the active document.
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_colors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| swatchType | No | Swatch type | color |