Stop session
stop_sessionEnd a running session to release in-flight units with their checkpoints, classify it as resumable, waiting, blocked, or completed, and receive the final report. Optionally mark it as failed.
Instructions
End the current run. In-flight units are released with their checkpoints and the session is classified (resumable, waiting_for_human, blocked or completed). markFailed: true ends it permanently as failed. Returns the final report.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | Handoff notes for whoever resumes. | |
| reason | Yes | ||
| sessionId | Yes | Session handle returned by start_session. | |
| markFailed | No | End the session permanently as failed. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| report | Yes | ||
| session | Yes |