List visitors chatting right now
list_active_sessionsList active sessions for a website, showing current page, visitor country, session duration, and whether a human has taken over the conversation.
Instructions
List the visitors currently in a chat: which page they are on, their country, how long they have been there, and whether a human has taken the conversation over. Needs the Standard plan or higher.
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": "list_active_sessions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many sessions to return (1-100, default 25). | |
| website_id | No | Numeric id of the website, from list_websites. Omit to use the account's primary website. |