List repository commits
list_commitsRetrieve commit history for a GitLab project, filtering by branch, file path, or date range to inspect changes and track development activity.
Instructions
List commits for a project, optionally scoped to a ref, path, or time range.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project": "<project>"
},
"name": "list_commits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | ||
| page | No | ||
| path | No | ||
| order | No | ||
| since | No | ||
| until | No | ||
| project | Yes | GitLab project ID or full path such as group/project. | |
| per_page | No | ||
| ref_name | No | ||
| trailers | No | ||
| with_stats | No | ||
| first_parent | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | GitLab response normalized for model use. |