Https://community.icons8.com/

Hi Lunacy team,

We are building a Lunacy plugin that exports designs to Unity UI.

We need to know whether plugins can officially read and update document-level resources, especially:

  1. colorStyles in document.json
  2. fills that reference image patterns
  3. embedded image resources used by pattern.image
  4. document components / component libraries
  5. adding or updating shared styles and images while the document is open

Currently we can read layer data and layer custom metadata, but we have not found an official HTTP/MCP endpoint for document-level styles or image resources.

Is there an official API for this?
If not, is direct .free document modification supported or discouraged while Lunacy is running?
Are there plans to expose document styles, image assets, and components through the plugin API?

Our goal is to maintain a version-controlled local asset/component library and sync it into the current Lunacy document safely.

We checked the MCP exposed tools, but they appear to focus on layer-level operations. Is there any MCP or HTTP API for document-level resources such as colorStyles, embedded images, and components?