apply_brand_kit
Apply a reusable Brand Kit to an existing deck and, by default, validate and report planned field changes without writing. Existing deck settings stay unless overrides are enabled.
Instructions
Apply a reusable Brand Kit from config/brands/<brand_kit>.json to an existing deck inside decks/. Dry-run by default (write=false): validates the updated deck and reports planned field changes without modifying the file. Explicit deck settings are preserved unless override_existing=true. Fails closed on unknown brand_kit IDs, invalid slugs, or schema violations. Call list_brands first to inspect available kits.
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": {
"deck": "<deck>",
"brand_kit": "<brand_kit>"
},
"name": "apply_brand_kit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deck | Yes | Path to the deck JSON file inside decks/ (e.g. decks/radar-pro.json) | |
| write | No | When true, atomically save the updated deck; when false (default), dry-run only | |
| brand_kit | Yes | Brand Kit ID from list_brands (e.g. dup-labs, investor-clean, dev-launch) | |
| override_existing | No | When true, overwrite explicit deck fields with kit values; when false (default), only fill missing fields |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| path | Yes | ||
| changes | Yes | ||
| written | Yes | ||
| brand_kit | Yes | ||
| override_existing | Yes |