leave_session
Exit an active collaboration session cleanly as an individual agent when tasks are complete or requested, optionally providing a reason for other participants.
Instructions
Leave a collaboration session gracefully. Clean exit for an agent.
AUTOMATIC TRIGGERS - Call this when:
Your assigned tasks are complete
You're done with this session and moving to other work
User asks you to leave the session
DIFFERENCE from terminate_session: This is for individual agents leaving. Only the orchestrator should call terminate_session to end the entire session.
PARAMETERS:
session_id: Session to leave
agent_id: Your agent ID
reason: Optional reason for leaving (helps other agents understand)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | ||
| agent_id | Yes | ||
| session_id | Yes |