Save design kit
iwork_save_design_kitSave a design kit by name for reuse anywhere a kit is accepted. kit = {"fonts": {...}, "colors": {...}, "theme": "...", "background": "#RRGGBB"} (missing parts come from the "executive" preset, or from "base": ""), or a preset name…
Instructions
Save a design kit by name for reuse anywhere a kit is accepted. kit = {"fonts": {...}, "colors": {...}, "theme": "...", "background": "#RRGGBB"} (missing parts come from the "executive" preset, or from "base": ""), or a preset name to copy. Contrast is checked (4.5:1). Never replaces a saved kit unless overwrite=true; can't reuse a preset's name. Use when the user gives brand colours and fonts directly. To capture them from an existing file use iwork_extract_design_kit.
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": {
"name": "<name>",
"kit": "<kit>"
},
"name": "iwork_save_design_kit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kit | Yes | {"fonts": {...}, "colors": {...}, "theme": "...", "background": "#RRGGBB", "base": "<preset>"} or a preset name to copy. | |
| name | Yes | Name to save under, e.g. "Acme" (letters, digits, spaces, - or _; not a preset name). | |
| overwrite | No | true = replace a saved kit with the same name. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||