Change the colors, fonts or name of a theme
patchwork_rethemeRewrite a FileMaker theme by replacing colors, swapping fonts, or changing its display name. Creates a new reversible version so you can restyle layouts without touching the source file.
Instructions
Rewrite one theme: replace colors, replace fonts, or change its display name. Read the current colors with patchwork_palette first. For colors and fonts set on layout objects rather than in the theme, use patchwork_recolor_layouts. Makes a new version; patchwork_undo reverses it.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "patchwork_retheme"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fonts | No | Old font to new font, each as "WinName,MacName": {"Arial,Helvetica": "Inter,Inter"}. | |
| theme | No | Display or internal name of the theme. Default: the theme most layouts use. | |
| colors | No | Old color to new color, as 6-digit hex without #: {"0091CE": "2F5D50"}. | |
| rename | No | New display name of the theme. | |
| dry_run | No | Only write the patch file to .patchwork/ and return its path. Nothing is applied, no version is made. | |
| message | No | What this change does, kept in the version log. Default: a short description of the change. |