Create a shared link
immich_create_shared_linkCreate a shared link to grant access to an Immich album or selected assets, with optional password, expiry, and download or upload permissions.
Instructions
Create a shared link
Create a new shared link.
Immich operation: POST /shared-links · tag: Shared links
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": {
"type": "<type>"
},
"name": "immich_create_shared_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | slug (request body) | |
| type | Yes | type (request body) | |
| albumId | No | albumId (request body) | |
| assetIds | No | assetIds (request body) | |
| password | No | password (request body) | |
| expiresAt | No | expiresAt (request body) | |
| allowUpload | No | allowUpload (request body) | |
| description | No | description (request body) | |
| showMetadata | No | showMetadata (request body) | |
| allowDownload | No | allowDownload (request body) |