End a ShadowGit session
end_sessionEnds a project's active ShadowGit session to resume automatic snapshots and capture changes not saved with checkpoint.
Instructions
Resume automatic snapshots for a project by ending its active ShadowGit session. Without session_id it ends whatever session is active on the project, and succeeds with nothing to do if there is none. ShadowGit takes changes not saved with checkpoint into a snapshot as the session ends (before ShadowGit 0.3.13, the next automatic snapshot takes them).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "end_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | No | Project name or absolute path. Defaults to the current project. | |
| session_id | No | Defaults to the active session of the project |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| next | No | The step that follows a session | |
| repo | Yes | ||
| ended | Yes |