Upload asset
immich_upload_assetUpload a new asset to an Immich server by providing file data plus creation and modification timestamps.
Instructions
Upload asset
Uploads a new asset to the server.
Immich operation: POST /assets · tag: Assets
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": {
"assetData": "<assetData>",
"fileCreatedAt": "<fileCreatedAt>",
"fileModifiedAt": "<fileModifiedAt>"
},
"name": "immich_upload_asset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | ||
| slug | No | ||
| duration | No | duration (request body) | |
| filename | No | filename (request body) | |
| metadata | No | metadata (request body) | |
| assetData | Yes | assetData (request body) | |
| isFavorite | No | isFavorite (request body) | |
| visibility | No | visibility (request body) | |
| sidecarData | No | sidecarData (request body) | |
| fileCreatedAt | Yes | fileCreatedAt (request body) | |
| fileModifiedAt | Yes | fileModifiedAt (request body) | |
| livePhotoVideoId | No | livePhotoVideoId (request body) | |
| x-immich-checksum | No | sha1 checksum that can be used for duplicate detection before the file is uploaded |