n8n-login
Obtain a session cookie from n8n by authenticating with email and password, enabling access to REST API endpoints not covered by the Public API.
Instructions
Login to n8n using email/password. Returns session cookie for REST API operations (e.g., list-credentials). Required because some endpoints are not available in Public API.
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": {
"clientId": "<clientId>",
"email": "<email>",
"password": "<password>"
},
"name": "n8n-login"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | n8n user email | ||
| clientId | Yes | Client ID from init-n8n | |
| password | Yes | n8n user password |