Create an API key
immich_create_api_keyCreate a new Immich API key scoped to specified permissions, enabling limited access for integrations and automation.
Instructions
Create an API key
Creates a new API key. It will be limited to the permissions specified.
Immich operation: POST /api-keys · tag: API keys
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": {
"permissions": "<permissions>"
},
"name": "immich_create_api_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | name (request body) | |
| permissions | Yes | permissions (request body) |