Skip to main content
List commits for a repository, branch, or file path

Tool details

FieldValue
Namegithub__list_commits
GroupIntegrations

Playground

Input schema

Input schema
{
  "type": "object",
  "properties": {
    "owner": {
      "type": "string",
      "description": "Repository owner"
    },
    "repo": {
      "type": "string",
      "description": "Repository name"
    },
    "sha": {
      "type": "string",
      "description": "SHA or branch name to list commits from"
    },
    "path": {
      "type": "string",
      "description": "Only include commits touching this file path"
    },
    "per_page": {
      "type": "number",
      "description": "Results per page (max 100)"
    },
    "page": {
      "type": "number",
      "description": "Page number for pagination"
    }
  },
  "required": [
    "owner",
    "repo"
  ],
  "description": "Input schema for the github__list_commits tool."
}

Output schema

This tool does not publish an output schema.