Create a library
immich_create_libraryCreate a new external library in Immich with an owner ID and optional import paths or exclusion patterns to add external media.
Instructions
Create a library
Create a new external library.
Immich operation: POST /libraries · tag: Libraries
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": {
"ownerId": "<ownerId>"
},
"name": "immich_create_library"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | name (request body) | |
| ownerId | Yes | ownerId (request body) | |
| importPaths | No | importPaths (request body) | |
| exclusionPatterns | No | exclusionPatterns (request body) |