session_events
Waits for and returns collaboration session events since the last result—joins, leaves, saves, discards, dropped steps, and lock changes—so agents can react to live session activity.
Instructions
What happened since the last result: joins, leaves, saves, discards, removal, own steps dropped, locks taken or released, connection. Waits up to wait_seconds (at most 30) for an event.
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": "session_events"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session | No | Session handle (s1, s2 …) or session id; default: the current session | |
| wait_seconds | No |