unifi_events
Filters the console event log by category, severity, device, client, or text and returns messages newest first, so you can trace security or audit activity in a time range.
Instructions
Search the console event log, newest first, messages rendered as the UI shows them. Filter by category (e.g. SECURITY), minSeverity, since/until (default last 24 h), device, client (name, IP or MAC, matched against the entry parameters) and text. Reads up to 20000 entries; if the range is longer it says how far back it got.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "unifi_events"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | Site name, id or reference; optional while the console has a single site | |
| text | No | Text to find in the rendered message or title | |
| limit | No | Rows to return (default 100, at most 1000) | |
| since | No | Start of the range: an ISO 8601 timestamp (2026-10-31T08:00:00Z) or a span back from now such as 90m, 24h, 7d or 2w | |
| until | No | End of the range (default now): an ISO 8601 timestamp (2026-10-31T08:00:00Z) or a span back from now such as 90m, 24h, 7d or 2w | |
| client | No | Client name, IP or MAC in the event | |
| device | No | Device name or MAC in the event | |
| category | No | Event category, e.g. SECURITY, AUDIT, VPN | |
| minSeverity | No | Lowest severity to return |