Live
onelence_get_liveWhat is happening right now: active visitors, events and conversions in the last few minutes (default 30, from 5 to 240). complete is false when the window held more activity than one snapshot reads, so the counts are lower bounds. Use it to watch a launch or a campaign going live; to check that a specific event arrives use onelence_verify_tracking, and for a period use onelence_get_performance.
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": "onelence_get_live"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | Site domain (e.g. example.com) or site id. Defaults to the workspace's newest active site. | |
| minutes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | ||
| site | Yes | ||
| events | Yes | ||
| object | Yes | ||
| complete | Yes | ||
| conversions | Yes | ||
| window_minutes | Yes | ||
| active_visitors | Yes |