update_credentials
Update Immich server URL and API key, validating new credentials before applying. Persists changes and swaps the live connection.
Instructions
Update the Immich connection credentials. Use this when the API key has been rotated or the server URL changed. Validates credentials before applying. Side effect: persists new credentials to disk and hot-swaps the live connection.
Args:
base_url: Full Immich server URL including protocol (e.g. 'https://photos.example.com').
api_key: A valid Immich API key (generated in Immich > User Settings > API Keys).
Returns: JSON with success status, photo/video counts confirming access, and persistence path.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base_url | Yes | ||
| api_key | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |