pixelart_get_canvas_info
Check canvas dimensions and non-transparent pixel count without rendering a preview. Quickly determine if any artwork has been drawn.
Instructions
Get lightweight metadata about a canvas without rendering a preview image.
Cheaper than pixelart_get_canvas_preview when the agent only needs to check dimensions or whether anything has been drawn yet.
Args: params: canvas_id. Returns: JSON string: {"width", "height", "non_transparent_pixels", "total_pixels"}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |