Get design tokens
well_get_design_tokensGet Well's colours, shape and type vocabulary, so a view you compose for Well data looks like Well rather than a generic page.
Call this ONLY when you are about to render something yourself — an HTML artifact, a report, a chart you are drawing. You do not need it to answer in prose or in a markdown table.
Do NOT use it to restyle a card a Well tool already drew. Where a tool ships its own card the host renders it, and a second styled copy of the same figures is a duplicate, not an improvement.
Returns colors (roles, not raw token names — page_background, card_surface, text_primary, accent, positive, negative, ...), series (categorical chart colours in the order to consume them), shape (corner radius and gap), fonts, and color_scheme, which tells you which ground to compose against. When it is absent the stylesheet did not declare one — pick a ground from page_background rather than assuming.
Values come from the same token package the Well app, the browser extension and the tool cards compile against, so they cannot drift from the product.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace_id | No | Target workspace. Optional: this tool describes the token itself rather than one workspace's data, so omitting it returns the same answer. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| fonts | Yes | ||
| hints | No | ||
| shape | Yes | ||
| colors | Yes | ||
| series | Yes | ||
| success | Yes | ||
| color_scheme | No |