lychee_search
Searches and initializes photo search operations in a self-hosted Lychee gallery via the API, letting MCP clients query albums and images with parameters such as album_id, page, and q.
Instructions
lychee_search covers the search 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: init, search.
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_search"
}
}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. |