SkillsHooksPromptsAgentsPersonasModelsPoliciesToolsTemplatesBundlesCategoriesStart here
← Tools
To toolcommandcodingfs-readexecstable

git-log

Commit history for a ref / path.

id tool/git-logv1.0.0function git_log

Signature

ParameterTypeRequiredDescription
refstringnoRef to log (default: HEAD)
pathstringnoRestrict to path
limitnumbernoMax commits
returnsarrayCommit objects {sha, author, date, subject}.

Tool definition for the model

{
  "name": "git_log",
  "description": "Return commits for a ref or path.",
  "input_schema": {
    "type": "object",
    "properties": {
      "ref": {
        "type": "string",
        "description": "Ref to log (default: HEAD)"
      },
      "path": {
        "type": "string",
        "description": "Restrict to path"
      },
      "limit": {
        "type": "number",
        "description": "Max commits"
      }
    },
    "required": []
  }
}
Author convergent-systems-key. Source convergent-systems-co/agent-atoms (original ↗). License Apache-2.0. Re-typed from tool-definition by scripts/migrate-policy-tool.py.