{
  "schema": "https://ai-atoms.com/schemas/tool-v1.json",
  "type": "tool",
  "id": "tool/git-log",
  "version": "1.0.0",
  "name": "git-log",
  "description": "Commit history for a ref / path.",
  "subtype": "command",
  "spec": {
    "function_name": "git_log",
    "summary": "Return commits for a ref or path.",
    "parameters": {
      "ref": {
        "type": "string",
        "description": "Ref to log (default: HEAD)",
        "required": false
      },
      "path": {
        "type": "string",
        "description": "Restrict to path",
        "required": false
      },
      "limit": {
        "type": "number",
        "description": "Max commits",
        "required": false
      }
    },
    "returns": {
      "type": "array",
      "description": "Commit objects {sha, author, date, subject}."
    },
    "side_effects": [
      "fs-read",
      "exec"
    ]
  },
  "authored_by": "convergent-systems-key",
  "source_url": "https://github.com/convergent-systems-co/agent-atoms/blob/main/atoms/tool-definition/git-log.json",
  "category": "coding",
  "provenance": {
    "source": "convergent-systems-co/agent-atoms",
    "source_url": "https://github.com/convergent-systems-co/agent-atoms/blob/main/atoms/tool-definition/git-log.json",
    "author": "convergent-systems-co",
    "license": "Apache-2.0",
    "notes": "Re-typed from tool-definition by scripts/migrate-policy-tool.py."
  },
  "lifecycle": "stable"
}