Start a ShadowGit session
start_sessionPause automatic ShadowGit snapshots for a project so related edits are grouped into one titled snapshot instead of several partial ones; start it before making changes and use checkpoint to save.
Instructions
Pause ShadowGit's automatic snapshots for a project while you make a set of related edits, so they can be saved as one snapshot with a title instead of several partial ones. A session is what the person then reviews in ShadowGit: start one when they ask you to start a ShadowGit session. Returns the existing session if one is already active. Needs the ShadowGit app running. To save the edits and resume snapshots, use checkpoint and end_session.
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": {
"description": "<description>"
},
"name": "start_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | No | Project name or absolute path. Defaults to the current project. | |
| description | Yes | What you are about to change, e.g. "Fix login redirect" |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | ||
| review | No | When the person has sent review comments still open: how many, and when to read them | |
| session_id | Yes | ||
| already_active | Yes |