adapt_pattern
Adapt a pattern to a brand system. Pass a pattern slug/number and a brand (colors, typography, spacing, radius) and get back the pattern's HTML/CSS/JS with every visual token replaced by the brand's values. The pattern's behavior, motion, and structure are preserved — only its visual expression changes. This is how a client gets THEIR pattern, not a generic one. FREE, no key required.
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": {
"slug": "<slug>",
"brand": "<brand>"
},
"name": "adapt_pattern"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | pattern slug or number to adapt | |
| brand | Yes | the brand system to adapt to |