authenticate_user
Verify user credentials and generate authentication tokens for accessing PocketBase database resources. Provide email and password to obtain secure session tokens with configurable auto-refresh settings.
Instructions
Authenticate a user and get auth token
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": {
"email": "<email>",
"password": "<password>"
},
"name": "authenticate_user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| autoRefreshThreshold | No | Time in seconds that will trigger token auto refresh before its expiration (default: 30 minutes) | |
| collection | No | Auth collection name (default: 'users') | |
| Yes | User email or identity field value | ||
| password | Yes | User password |