find_stray_pixels
Detect accidental-looking stray, orphan, rare-color, and near-duplicate pixels in pixel art and return a color-coded preview for review.
Instructions
Find pixels and colors that look like accidents, and return a picture of
them: the art in gray, with floating isolated pixels in red, orphan
pixels (touching art but matching none of it) in yellow, and pixels of colors
used rare times or fewer in magenta. Also lists near_duplicates: colors
within near of a much commoner one. Dithering and highlights can be
deliberate orphans, so treat this as a list to look over, not to erase. Defaults
to the active frame, all visible layers. Read-only. Headless: pass file.
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": "find_stray_pixels"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | ||
| near | No | ||
| rare | No | ||
| frame | No | ||
| layer | No | ||
| max_size | No |