set_pixel
Write a single RGBA pixel to a specific layer and frame in a LibreSprite file, enabling precise color placement during pixel art creation.
Instructions
Write one RGBA pixel to 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>",
"r": "<r>",
"g": "<g>",
"b": "<b>"
},
"name": "set_pixel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | No | ||
| b | Yes | ||
| g | Yes | ||
| r | Yes | ||
| x | Yes | ||
| y | Yes | ||
| path | Yes | ||
| frame | No | ||
| layer | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |