get_pixel
Retrieve the color value of a specific pixel from a pixel art project by specifying coordinates, project ID, and optional layer and frame indices.
Instructions
Get the color of a pixel
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": {
"projectId": "<projectId>",
"x": "<x>",
"y": "<y>"
},
"name": "get_pixel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes | Project identifier | |
| layerIndex | No | Layer index (default: 0) | |
| frameIndex | No | Frame index (default: 0) | |
| x | Yes | X coordinate | |
| y | Yes | Y coordinate |