agentlens_sessions
List sessions with filters, view session details, or get a timeline of events. Useful for debugging, auditing, or reviewing agent activity.
Instructions
Browse and inspect AgentLens sessions.
When to use: To find past sessions, inspect session details, or view a timeline of events within a session. Useful for debugging, auditing, or reviewing agent activity.
Actions:
list: List sessions with optional filters (agentId, status, date range, tags)detail: Get full session detail with aggregatestimeline: Get timestamped event list for a session
Example: agentlens_sessions({ action: "list", agentId: "my-agent", status: "completed", limit: 10 })
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action to perform | |
| sessionId | No | Session ID (required for detail/timeline) | |
| agentId | No | Filter by agent ID (list) | |
| status | No | Filter by status: active, completed, error (list) | |
| from | No | Start date ISO (list) | |
| to | No | End date ISO (list) | |
| tags | No | Filter by tags (list) | |
| limit | No | Max results, default 20 (list) | |
| offset | No | Pagination offset (list) |