GitHub

list_commits

Get list of commits of a branch in a GitHub repository. Returns at least 30 results per page by default, but can return more if specified using the perPage parameter (up to 100).

Remote github

Other tools also called list_commits? See providers with this name

Input Schema


            {
  "type": "object",
  "properties": {
    "sha": {
      "type": "string",
      "description": "Commit SHA, branch or tag name to list commits of. If not provided, uses the default branch of the repository. If a commit SHA is provided, will list commits up to that SHA."
    },
    "page": {
      "type": "number",
      "minimum": 1,
      "description": "Page number for pagination (min 1)"
    },
    "repo": {
      "type": "string",
      "description": "Repository name"
    },
    "owner": {
      "type": "string",
      "description": "Repository owner"
    },
    "author": {
      "type": "string",
      "description": "Author username or email address to filter commits by"
    },
    "perPage": {
      "type": "number",
      "maximum": 100,
      "minimum": 1,
      "description": "Results per page for pagination (min 1, max 100)"
    }
  }
}
          

Provider

GitHub →