cbs__CollectSessionStats
Retrieves user session statistics for a specified QA bot within a project, using configurable time range, interval, and time zone for usage analysis.
Instructions
[CBS] 获取用户会话统计信息。
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": {
"project_id": "<project_id>",
"qabot_id": "<qabot_id>"
},
"name": "cbs__CollectSessionStats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_time | No | 查询的结束时间,long,UTC时间,默认值为当前时间的毫秒数。 | |
| interval | No | 统计周期目前支持month,week,day。 | |
| qabot_id | Yes | qabot编号,UUID格式。 | |
| time_zone | No | 请求所在时区,例如:中国东八区为"+08:00";美国西五区为"-05:00";默认为"UTC"。 | UTC |
| project_id | Yes | 来自公有云的Project ID,用于资源隔离。 | |
| start_time | No | 查询的起始时间,long,UTC时间,默认值为0。 | 0 |