generate_theme_variant
Create a light or dark mode variant of an artboard by inverting surfaces, borders, and typography while preserving brand accents.
Instructions
Automatically creates a Light or Dark mode variant of an existing artboard by intelligently inverting surfaces, borders, and typography while preserving brand accents.
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": {
"artboardId": "<artboardId>",
"targetMode": "<targetMode>"
},
"name": "generate_theme_variant"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | Optional world X coordinate for the new artboard. | |
| y | No | Optional world Y coordinate for the new artboard. | |
| fileId | No | Optional target file ID. | |
| artboardId | Yes | ID of the source artboard. | |
| targetMode | Yes | Desired color mode for the variant. |