snapshot
Stage and commit changes with a message, then push to remote only when push=True, avoiding unexpected network operations.
Instructions
git add (pathspec-scoped) + commit; push only if push=True (defaults off to avoid a surprise network operation).
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": {
"message": "<message>"
},
"name": "snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| push | No | ||
| message | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sha | No | ||
| pushed | No | ||
| message | No | ||
| committed | Yes | ||
| initialized_repo | No |