get_pixel
Get the RGBA color value of a single pixel at given x,y coordinates from a specified layer/frame in a LibreSprite file.
Instructions
Read one pixel as RGBA from a layer/frame.
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": {
"path": "<path>",
"x": "<x>",
"y": "<y>"
},
"name": "get_pixel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| path | Yes | ||
| frame | No | ||
| layer | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||