end_session
End a session and trigger failure distillation to capture lessons from unsuccessful outcomes.
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) |