Commit all config changes
git_commit_allStages and commits every change in the Home Assistant config directory with a provided message, creating a checkpoint before risky edits and skipping the commit if nothing is dirty.
Instructions
Stage and commit every change in the HA config directory.
Calls _repo(), stages everything with git add -A, and commits
message unless nothing is dirty, in which case no commit is made.
Use when: creating a checkpoint before a risky change to /config.
Not for: writing one file and checkpointing it in a single call — use
git_safe_write_with_checkpoint.
Returns: dict {"status": "committed", "sha", "message"}, or
{"status": "nothing_to_commit"} when the working tree is clean.
Errors: raises RuntimeError (from _repo()) when gitpython is not
installed or no git repo exists yet — run git_init_config first.
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": "git_commit_all"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | Commit message describing this checkpoint or change. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||