Get agent events
get_agent_eventsPoll a subagent's buffered event log to track progress, filter to tool events, and resume from a sequence. Return a compact summary digest for quick status checks.
Instructions
Buffered normalized event log for an agent, for background polling. Reliable floor for progress. The response identifies the agent by both name and agent_id; prefer the name in conversation. The response always includes currentSequence (the true latest sequence for this agent, even when events is empty) so you can seek straight to "now" instead of bisecting since. Pass limit to cap how many events come back in one call (applied after types filtering); hasMore says whether more remain past nextSequence. types keeps only the listed event types — raw logs are mostly tiny message.delta text chunks, so filtering to e.g. tool.start/tool.end cuts the noise. coalesce (default false) merges consecutive message.delta events into one on read, without changing storage. summary: true returns a compact digest (state, tool counts, last few tool calls, tail of the latest message) instead of the raw log — prefer it for progress checks; pass since with it to scope the digest to events after a previous currentSequence, so repeat calls only report what's new.
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": {
"agent": "<agent>"
},
"name": "get_agent_events"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | Yes | ||
| limit | No | Caps events returned in this call | |
| since | No | ||
| types | No | Keep only events of these types | |
| summary | No | Return a compact digest (state, tool counts, last few tool calls, tail of the latest message) instead of the raw log. Prefer this for progress checks. | |
| coalesce | No | Merge consecutive message.delta events into one on read (default false; does not change what's stored) |