Git tools enable AI agents to interact with Git repositories, including status checks, commits, diffs, and branch management.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/lvndry/jazz/llms.txt
Use this file to discover all available pages before exploring further.
Tool organization
All Git tools are accessed through thegit namespace:
Read-only tools
These tools query repository state without modifications.git_status
Show current branch, modified files, staged changes, and untracked files. Parameters:Repository path (defaults to current working directory)
Resolved repository path
Current branch name
Whether repository has uncommitted changes
Git status short format output lines
Full git status output
git_log
Show commit history. Parameters:Repository path (defaults to current working directory)
Maximum commits to return (cap: 50)
Format commits as one-liners
Resolved repository path
Number of commits returned
Commit objects:
git_diff
Show differences between commits, branches, or working tree. Parameters:Repository path (defaults to current working directory)
Show staged changes (git diff —staged)
Compare with branch
Compare with commit hash
Scope diff to specific files (e.g.,
['src/foo.ts', 'docs/bar.md'])Return only changed file paths (git diff —name-only)
Maximum diff lines to return (cap: 2000)
Resolved repository path
Whether there are differences
Unified diff output (when
nameOnly: false)Changed file paths (when
nameOnly: true)Number of changed files (when
nameOnly: true)Whether diff was truncated
Total diff lines
Lines returned
Options used for diff
git_branch
List Git branches. Parameters:Repository path (defaults to current working directory)
List of branch names
Current branch name
git_blame
Show file annotations (who changed what line). Parameters:Repository path (defaults to current working directory)
File path to annotate
Start line (1-based)
End line (1-based)
Line annotations with commit info
git_reflog
Show reference log of HEAD updates. Parameters:Repository path (defaults to current working directory)
Maximum entries to return
Reflog entries with hash, action, and message
git_tag (list)
List Git tags. Parameters:Repository path (defaults to current working directory)
List of tag names
Write tools
These tools modify repository state and require user approval.git_add
Stage files for the next commit. Parameters:Repository path (defaults to current working directory)
File paths to stage (relative to repository root)
Stage all modified and untracked files (ignores
files parameter)Resolved repository path
Files added (“all files” or array of file paths)
Success message
git_commit
Create a commit from staged changes. Parameters:Repository path (defaults to current working directory)
Commit message. Use imperative mood, keep first line under 72 characters
Commit all modified tracked files, skipping staging (git commit -a)
Resolved repository path
Commit message
Full commit hash
git_push
Push commits to remote repository. Parameters:Repository path (defaults to current working directory)
Remote name
Branch name (defaults to current branch)
Force push (use with caution)
Resolved repository path
Remote pushed to
Branch pushed
git_pull
Pull changes from remote repository. Parameters:Repository path (defaults to current working directory)
Remote name
Branch name (defaults to current branch)
Resolved repository path
Pull result message
git_checkout
Switch branches or restore working tree files. Parameters:Repository path (defaults to current working directory)
Branch name to checkout
Create new branch (git checkout -b)
Restore specific files
git_merge
Merge branches. Parameters:Repository path (defaults to current working directory)
Branch to merge into current branch
Merge strategy (e.g., “recursive”, “ours”)
git_rm
Remove files from working tree and index. Parameters:Repository path (defaults to current working directory)
File paths to remove
Remove from index only (keep working tree)
git_tag (create/delete)
Create or delete tags. Parameters:Repository path (defaults to current working directory)
Tag name
Tag message (creates annotated tag)
Delete tag instead of creating