art.canvas.get_state
Retrieve the current canvas state as a color map or base64 PNG to inspect or save the artwork.
Instructions
Get the current canvas state as a color map (2D hex array) or base64 PNG.
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": {
"session_id": "<session_id>"
},
"name": "art.canvas.get_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Output format (default color_map) | color_map |
| session_id | Yes | Canvas session ID |