mirror of
https://github.com/penpot/penpot-mcp.git
synced 2026-04-25 11:18:37 +00:00
Encourage use of the storage object
This commit is contained in:
parent
07300fea2d
commit
892098d63e
@ -15,12 +15,15 @@ initial_instructions: |
|
|||||||
directly in the connected project.
|
directly in the connected project.
|
||||||
|
|
||||||
VERY IMPORTANT: When writing code, NEVER LOG INFORMATION YOU ARE ALSO RETURNING. It would duplicate the information you receive!
|
VERY IMPORTANT: When writing code, NEVER LOG INFORMATION YOU ARE ALSO RETURNING. It would duplicate the information you receive!
|
||||||
|
|
||||||
To execute code correctly, you need to understand the Penpot Plugin API. You can retrieve API documentation via
|
To execute code correctly, you need to understand the Penpot Plugin API. You can retrieve API documentation via
|
||||||
the `penpot_api_info` tool.
|
the `penpot_api_info` tool.
|
||||||
|
|
||||||
This is the full list of types/interfaces in the Penpot API: $api_types
|
This is the full list of types/interfaces in the Penpot API: $api_types
|
||||||
|
|
||||||
|
You use the `storage` object extensively to store data and utility functions you define across tool calls.
|
||||||
|
This allows you to inspect intermediate results while still being able to build on them in subsequent code executions.
|
||||||
|
|
||||||
# The Structure of Penpot Designs
|
# The Structure of Penpot Designs
|
||||||
|
|
||||||
A Penpot design ultimately consists of shapes.
|
A Penpot design ultimately consists of shapes.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user