session_statistics
Retrieve detailed session statistics including message counts, breakdown by type and agent, artifact count, and time range to measure session activity and productivity.
Instructions
Get detailed statistics for a session. Messages, agents, artifacts, and timing.
AUTOMATIC TRIGGERS - Call this when:
"How active was this session?"
Measuring session productivity
Comparing sessions by message volume
Includes message counts, breakdown by type and agent, artifact count, and time range.
PARAMETERS:
session_id: Session to get statistics for
agent_id: Your agent ID (must belong to the session)
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": {
"session_id": "<session_id>",
"agent_id": "<agent_id>"
},
"name": "session_statistics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | ||
| session_id | Yes |