Plumb · selection
plumb_selectionExtract current Figma selection data for code generation. Returns a compact semantic design graph without needing file keys or tokens.
Instructions
Extract whatever the user currently has selected in Figma, via the paired Plumb plugin — no file key, no token, no rate limit. Returns the same compact PDS as plumb_node. Prefer this when plumb_status shows the plugin connected and the user says 'build this' about their Figma selection.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | Levels to disclose. Default 3. | |
| notes | No | Include human-readable notes per node. | |
| maxTokens | No | Soft token budget; fit-to-budget reduces depth to fit. |