get_document_colors
Retrieve all colors, swatches, gradients, and tints from an InDesign document. Configure which color types to include for targeted extraction.
Instructions
Get all colors and swatches in the 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": "get_document_colors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| includeSwatches | No | Include swatches | |
| includeGradients | No | Include gradients | |
| includeTints | No | Include tints |