Log Auth Event
lyzr_log_auth_eventLog user login and logout events into the audit log. Track authentication activity with optional user email and metadata for security monitoring.
Instructions
Log a login or logout event from the frontend into the audit log.
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": {
"event_type": "<event_type>"
},
"name": "lyzr_log_auth_event"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| metadata | No | Additional metadata for the event | |
| event_type | Yes | Event type: 'login' or 'logout' | |
| user_email | No | User email or display name |