apply_template
Apply a predefined PP3 template to a RAW file for quick processing with a specific style. Optionally add a device preset for crop/resize and get an inline preview.
Instructions
Apply a built-in or custom PP3 template to a RAW file and process it.
Use this for quick processing with a predefined style. Optionally apply a device preset for crop/resize on top of the template. Returns an inline thumbnail when include_preview is True. Params: file_path, template_name, output_format, output_dir, device_preset, include_preview, preview_max_width
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": {
"file_path": "<file_path>",
"template_name": "<template_name>"
},
"name": "apply_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| template_name | Yes | ||
| output_format | No | jpeg | |
| output_dir | No | ||
| device_preset | No | ||
| include_preview | No | ||
| preview_max_width | No |