apply_preset
Apply a darktable style to one or more photos using the exact style name. Returns counts of applied and missed photos.
Instructions
Apply a darktable style (preset) to one or more photos. The preset_name must exactly match a style name from list_styles. Returns counts of applied and missed photos. Requires darktable to be running with the darktable-mcp Lua plugin installed.
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": {
"photo_ids": "<photo_ids>",
"preset_name": "<preset_name>"
},
"name": "apply_preset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| photo_ids | Yes | Photo IDs (from view_photos) | |
| preset_name | Yes | Style name (must match exactly; see list_styles) |