Skip to main content
Glama

get_object_tree

Retrieve the object tree structure and rendered screenshot for a Penpot design file. Specify file and object IDs, customize 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

TableJSON Schema
NameRequiredDescriptionDefault
depthNo
fieldsYes
file_idYes
formatNojson
object_idYes

Other Tools

Related Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/montevive/penpot-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server