Plumb · selection
plumb_selectionExtracts the user's current Figma selection through the paired Plumb plugin, returning a compact design graph for coding agents to build from—no file key, token, or rate limit.
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.
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": "plumb_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. |