session.end
End an active session. Side effects: stops billing, runs host safety_restore, closes apps launched via app.launch. Always call when finished or abandoning — do not leave sessions open. Safe to call once; further observe/input on that session_id will fail.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | Session id returned by session.start |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | False when the tool failed | |
| message | Yes | Human-readable result for the agent |