agentlens_query_events
Retrieve events from an AgentLens session to inspect agent behavior. Filter by event type and limit results for focused analysis.
Instructions
Query events from an AgentLens 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": {
"sessionId": "<sessionId>"
},
"name": "agentlens_query_events"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | Session ID to query events from | |
| limit | No | Maximum number of events to return (default: 50) | |
| eventType | No | Filter by event type |