end_context
Conclude your work session by releasing file locks and clearing context to prevent conflicts and maintain a clean state for future sessions.
Instructions
End your current work context and session.
WHEN TO USE:
At the end of a conversation or coding session
When you've completed the current objective
Before switching to a completely different task
When you want to release all file locks and close the session
IMPORTANT: This will:
Release all file locks you hold
Log the end of your session
Clear your current context
BEST PRACTICE: Always call this before ending a conversation to ensure clean state for the next session.
WORKFLOW:
Complete all work and log changes with log_change()
unlock_files() - Release all locked files
end_context() - End session (THIS STEP)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | Your agent_id from register_agent() (required) |