upload_asset
Upload a local photo or video file to your Immich library. Optionally assign the new asset to an album.
Instructions
Upload a local photo or video file to Immich. Use this to ingest new media into the library. Constraints: max 25MB, allowed types: jpg, jpeg, png, heic, mp4, mov, gif, webp. Symlinks are rejected for security. The original file is NOT modified or deleted. Side effect: creates a new asset in Immich.
Args:
file_path: Absolute path to the local file (e.g. '/tmp/photo.jpg'). Must exist.
album_id: Optional album UUID to add the uploaded asset to immediately.
Returns: JSON with new asset id, filename, size_mb, and album assignment status if applicable.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| album_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |