vault_commit
Batch multiple writes to an Obsidian vault into a single commit. Returns the commit SHA or a notification when there is nothing to commit.
Instructions
Stage everything in the vault and create 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.
Returns the new commit SHA on success, a clean-tree notice when there is nothing to commit, or a human-readable error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | No | Commit message. Empty defaults to "vault: batch update". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |