tidy_context
Retrieve the full design system contract in one call—collections, modes, token groups, component variants, and naming conventions—to avoid guessed tokens and raw hex.
Instructions
Get the design system contract in one call: collections, modes, token names grouped by intent, component variant axes, and the naming and binding conventions actually in use. Call this before writing anything into the file. Without it an agent guesses token names, and guessed names are how raw hex ends up in a component.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detail | No | summary groups tokens by naming prefix. full returns every token. Default summary. | |
| include | No | Which parts to return. Default all three. | |
| figmaFile | No | Run against a specific connected file, overriding the target lock for this call. |