art.detail.clean_clusters
Merge isolated or orphan pixels into the nearest larger cluster to clean up pixel art and maintain style consistency.
Instructions
Cleanup pass: merge orphan/isolated pixels into nearest larger cluster.
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": {
"session_id": "<session_id>"
},
"name": "art.detail.clean_clusters"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | Canvas session ID | |
| min_cluster_size | No | Minimum cluster size to keep (default 2) |