art.provider.analyze
Analyze PNG art files locally without external APIs to compute signatures, extract palettes, detect clusters, and compare canvases for style consistency.
Instructions
Analyze a PNG file using the canvas-analysis provider. Runs local analysis (signature, clusters, palette) without external APIs.
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": {
"source_path": "<source_path>",
"operation": "<operation>"
},
"name": "art.provider.analyze"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| style | No | Style context (uses default if omitted) | |
| asset_id | No | Asset ID for signature tagging | |
| operation | Yes | Analysis operation to perform | |
| source_path | Yes | Absolute path to the PNG file to analyze | |
| compare_path | No | Second PNG path (required for compare_canvases) | |
| connectivity | No | Cluster connectivity: 4 or 8 (default 8, for detect_clusters) |