| { |
| "name": "list_commits", |
| "description": "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).", |
| "inputSchema": { |
| "type": "object", |
| "properties": { |
| "author": { |
| "type": "string", |
| "description": "Author username or email address to filter commits by" |
| }, |
| "owner": { |
| "type": "string", |
| "description": "Repository owner" |
| }, |
| "page": { |
| "type": "number", |
| "description": "Page number for pagination (min 1)", |
| "minimum": 1 |
| }, |
| "path": { |
| "type": "string", |
| "description": "Only commits containing this file path will be returned" |
| }, |
| "perPage": { |
| "type": "number", |
| "description": "Results per page for pagination (min 1, max 100)", |
| "minimum": 1, |
| "maximum": 100 |
| }, |
| "repo": { |
| "type": "string", |
| "description": "Repository name" |
| }, |
| "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." |
| }, |
| "since": { |
| "type": "string", |
| "description": "Only commits after this date will be returned (ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ or YYYY-MM-DD)" |
| }, |
| "until": { |
| "type": "string", |
| "description": "Only commits before this date will be returned (ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ or YYYY-MM-DD)" |
| } |
| }, |
| "required": [ |
| "owner", |
| "repo" |
| ] |
| } |
| } |