rate_photos
Assign star ratings to one or more photos in your darktable library. Set reject, unrated, or 1-5 stars to organize and filter your collection.
Instructions
Apply a star rating to one or more photos in the user's darktable library. 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>",
"rating": "<rating>"
},
"name": "rate_photos"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rating | Yes | Star rating: -1=reject, 0=unrated, 1-5=stars | |
| photo_ids | Yes | List of photo IDs (from view_photos) |