monorail_component
Retrieves Figma component information for a node, including main component, variant properties, component set, and sibling variants; works with instances, components, and component sets.
Instructions
Get component info for a Figma node. Returns main component, variant properties, component set, and sibling variants. Works on instances (returns source component), components, and component sets.
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": "monorail_component"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_id | No | Figma node ID. Can be an instance, component, or component set. If omitted, uses selected node. |