Diff Presets
diff_presetsCompare two UI presets to identify differences in tokens, components, or layouts, helping developers understand changes between base and override configurations.
Instructions
Compare two presets and return what changed between them. Useful for understanding what a client override changes vs the base.
Args:
preset_a (string): First preset ID
preset_b (string): Second preset ID
scope ('tokens' | 'components' | 'layouts' | 'all'): What to compare (default: 'all')
Returns: Object with added, removed, and changed keys with before/after values.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"preset_a": "<preset_a>",
"preset_b": "<preset_b>"
},
"name": "diff_presets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| preset_a | Yes | First preset ID | |
| preset_b | Yes | Second preset ID | |
| scope | No | What to compare | all |