Vault Commit
vault_commitCommits all unstaged and untracked vault changes in a single commit, flushing batched writes made with commit disabled and sweeping edits from outside hive.
Instructions
Commit every unstaged and untracked change in the vault, in one commit.
Companion to vault_write(commit=False) and
vault_patch(commit=False): callers that opt out of per-write
commits batch many writes and then flush with a single
vault_commit call.
It also sweeps edits made outside hive. A path that already has a
staged change is left out and named in the result: it belongs to
whoever staged it, often another session sharing the vault. Commit
one deliberately with git commit -- <path>.
Returns the new commit SHA on success, a clean-tree notice when there is nothing to commit, or a human-readable error.
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": "vault_commit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | No | Commit message. Empty defaults to "vault: batch update". This is the only parameter — there is no `project` argument; the commit spans the whole vault working tree. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |