get_user_sessions
Retrieves a user's unique sessions from their traces to analyze interaction history across projects and time ranges.
Instructions
Get sessions for a specific user. Fetches user's traces and extracts unique sessions to understand their interaction history.
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": {
"user_id": "<user_id>"
},
"name": "get_user_sessions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| project | No | ||
| user_id | Yes | ||
| to_timestamp | No | ||
| from_timestamp | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||