Module sessions
Expand description
Session-to-session messaging tools for inter-agent communication.
Structsยง
- Session
Delete Tool - Permanently deletes a session and all its messages. The session key becomes invalid and must be recreated for new conversations.
- Session
Ownership Scope - Session
Reset Tool - Resets a session by clearing its message history. The session key remains valid for new messages. Useful for cleaning up stale conversations without deleting the session entry itself.
- Sessions
Current Tool - Returns the session key and metadata for the currently active session.
Reads the session key from the
TOOL_LOOP_SESSION_KEYtask-local, which is scoped around gateway and channel agent turns. - Sessions
History Tool - Reads the message history of a specific session by ID.
- Sessions
List Tool - Lists active sessions with their channel, last activity time, and message count.
- Sessions
Send Tool - Sends a message to a specific session, enabling inter-agent communication.