get_realtime_visitors
Retrieve the current count of active real-time visitors on a website to monitor live traffic.
Instructions
Get the current count of active real-time visitors on the website right now.
Args: site_id: Domain name of the site in Plausible (e.g. 'surendranb.com'). token: Optional Plausible API token. If omitted, uses PLAUSIBLE_API_KEY environment variable.
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": {
"site_id": "<site_id>"
},
"name": "get_realtime_visitors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | No | ||
| site_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |