shutdown_session
Gracefully shuts down an orchestration session by creating a checkpoint, stopping workers after the current iteration, and writing a shutdown record so the session can be resumed later.
Instructions
Gracefully shut down the orchestration session. Creates a checkpoint, stops all workers (letting current iteration finish), and writes shutdown record. Use before closing laptop for resume_session recovery later.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectDir": "<projectDir>"
},
"name": "shutdown_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| checkpoint | No | Create a checkpoint before shutdown (default: true) | |
| projectDir | Yes | Absolute path to the project directory | |
| waitSeconds | No | Seconds to wait for workers to finish current iteration (default: 60) |