Get active visitors
get_active_visitorsRetrieve the current number of active visitors for a specified Umami website by its ID to monitor live traffic.
Instructions
Get the current number of active visitors for a website.
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": {
"websiteId": "<websiteId>"
},
"name": "get_active_visitors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| websiteId | Yes | Umami UUID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | JSON analytics data returned by Umami Compass | |
| meta | Yes |