Git tools

In Code mode the agent can inspect repository state without leaving the chat.

Available tools

Tool Typical use
git_status Staged/unstaged summary
git_diff View changes (optionally scoped)
git_log Recent commits
git_show One commit or file at a revision
git_blame Line attribution

These are read-oriented helpers for context — the agent may still use exec_shell for git commit / git push when you ask, subject to approval.

When to use

Office mode

Git tools are not registered for Office task type. Use Code mode for repo work.

Tips

Related: File tools · Shell