Local components
get_componentsRetrieve components and component sets, including variants and property definitions, from a Figma file; use returned IDs to create instance nodes.
Instructions
Components and component sets (with variants and property definitions) defined in this file. Use their id with create_nodes type INSTANCE.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_components"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Case-insensitive substring of the name | |
| limit | No | ||
| allPages | No | Search all pages (slower) instead of the current page |