get_components
List Penpot file components and their variants to identify available building blocks before UI generation.
Instructions
List components in a Penpot file with their variants. Use to understand available building blocks before generating UI.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"fileId": "<fileId>"
},
"name": "get_components"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | Yes | Penpot file ID | |
| filter | No | Filter components by name/path (case-insensitive substring match) |