get_object_tree
Retrieve the hierarchical object tree structure and rendered screenshot of a Penpot object, specifying file ID, object ID, fields, depth, and output format for streamlined design analysis.
Instructions
Get the object tree structure for a Penpot object ("tree" field) with rendered screenshot image of the object ("image.mcp_uri" field). Args: file_id: The ID of the Penpot file object_id: The ID of the object to retrieve fields: Specific fields to include in the tree (call "penpot_tree_schema" resource/tool for available fields) depth: How deep to traverse the object tree (-1 for full depth) format: Output format ('json' or 'yaml')
Input Schema
Name | Required | Description | Default |
---|---|---|---|
depth | No | ||
fields | Yes | ||
file_id | Yes | ||
format | No | json | |
object_id | Yes |