get_local_components
Retrieve components and component sets within a node subtree or current selection. Access variant properties and available values for each component set.
Instructions
Return the components and component sets within a node subtree (or the current selection) as { components, componentSets }. Scans a subtree, not the whole document — pass nodeId, or select the frames to scan. Components carry their variantProperties (when part of a set); component sets carry their variantGroupProperties (available values per axis) and the ids of their variant components.
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_local_components"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | No | Root node id to scan within; omit to use the current selection |