{
  "schema": "https://agent-atoms.com/schemas/atom-v1.json",
  "type": "tool-definition",
  "id": "git-log",
  "version": "1.0.0",
  "name": "git-log",
  "description": "Commit history for a ref / path.",
  "tool_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"]
  }
}
