end_session
Close a working session and, if the outcome was a failure, distill key lessons to preserve knowledge for future problem-solving.
Instructions
End a session and trigger failure distillation if the session outcome was a failure
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| outcome | Yes | Outcome of the session | |
| sessionId | Yes | ID of the session to end | |
| distillFailures | No | Whether to automatically distill lessons on failure outcome (default: true) |