lychee_photos
List and retrieve photos from a self-hosted Lychee gallery via /api/v2, filtering by album, page, or query and fetching individual photos by ID.
Instructions
lychee_photos covers the photos toolset (2 operations). Calls go to LYCHEE_URL under /api/v2. The Authorization header is the raw token. action help with target returns one action's parameters. Actions: list, get.
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": {
"action": "<action>"
},
"name": "lychee_photos"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | JSON object or JSON array. Passwords are redacted in output. | |
| query | No | Query parameters, such as album_id, page, and q. | |
| action | Yes | Lychee operation to call, or help. | |
| params | No | Path parameters, such as photo_id. | |
| target | No | With action help, the action whose parameters to describe. |