Fill a Pixelmator Pro template
pixelmator_replace_textReplace text across all text layers in a layered design and export the result to a new file, keeping each layer's font and style while leaving the original template unchanged.
Instructions
Open a layered design (usually .pxd), replace text across all text layers, and export the result to a new file. Text keeps its existing font and style. The template is not modified.
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": {
"input": "<input>",
"output": "<output>",
"replacements": "<replacements>"
},
"name": "pixelmator_replace_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | Template path (.pxd or .psd with text layers) | |
| format | No | Output format. pxd keeps layers (Pixelmator's own format). | png |
| output | Yes | ||
| quality | No | 1–100 for jpeg, heic, webp and avif. Omit for the app default. | |
| overwrite | No | ||
| matchWords | No | Only replace whole words | |
| replacements | Yes | ||
| caseSensitive | No |