Skip to content

git_stage

Stage vault files for the next commit, via the Obsidian Git companion bridge. Write-family: the readOnly kill switch applies.

Domain git
Scopes write:git
Access write
Tags writes, plugin-bridge, domain:git
Profile full only
Annotation Value
Read-only no
Destructive no
Idempotent no
Accepts an idempotency key no

Idempotent is the advisory MCP idempotentHint. Destructive is also yes for a tool that asks for confirmation only on some calls.

No human confirmation is required to call this tool.

Parameter Type Required Default Description
vault string — Vault id. May be omitted when only one vault is available. length 1–64; pattern ^[a-z0-9_-]+$
paths string[] yes — items 1–200
Field Type Always present Description
vault string yes —
staged integer yes range ≥ 0

Other tools in the git domain: git_commit, git_diff, git_log, git_status.

Back to the tool catalog.