Plumb · tokens
plumb_tokensExtract a deduplicated design-token table from a Figma node, including colors, typography, radii, and shadows, as $-prefixed refs for building with consistent tokens.
Instructions
Extract the deduplicated design-token table for a Figma node — colours, type styles, radii, shadows — as the $-prefixed refs the PDS node tree uses. With the Plumb plugin paired, pass a screen id or name (no file key). On the REST path, pass fileKey + id. Build with these tokens, not magic numbers.
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_tokens"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Node id whose design tokens to extract, e.g. "131:9592". | |
| url | No | Paste a full Figma URL — fileKey and node-id are auto-extracted. | |
| name | No | Screen name — plugin path; resolved against the paired file. | |
| fileKey | No | Figma file key — REST path. Omit when the Plumb plugin is paired. |