mirror of
https://github.com/storytold/figcraft.git
synced 2026-12-03 15:31:21 -05:00
2fd90b1d49
New command image.data {image} or {ids?, target?, index?} returns {image, format, width, height, bytes, data}: an image the file holds, by its key (a paint's `image`) or a layer's image paint, with data as base64 of the original file, never re-encoded. It changes nothing, so plugins with read access may call it; a result is bounded by the 16 MB message limit like any other. MCP reaches it through run_command.