events
Wait for events from prompted sessions and receive them with session and agent identifiers. Optionally batch events within a coalescing window to reduce overhead.
Instructions
Block until any prompted session produces events. Returns events stamped with sessionId and agentId. Supports optional Nagle-style coalescing to batch events across sessions.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "events"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeoutMs | No | Max wait time in ms. Returns empty on timeout. | |
| nagleMs | No | Coalescing window in ms. Batches events arriving within this window. Default: 0 (immediate). |