export_getSwatches
Retrieve all colors, gradients, and tints from the active InDesign document so you can inspect or reuse its full swatch set.
Instructions
Get all swatches (colors, gradients, tints) from 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": "export_getSwatches"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document_id | No | Which open document to act on: a name (see document_listOpen) or a 0-based index. Defaults to the front document. |