tfs_list_commits
Retrieve recent commits from a Git repository, optionally filtered by branch for targeted history.
Instructions
List recent commits for a Git repository, optionally filtered by branch.
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": {
"repositoryId": "<repositoryId>"
},
"name": "tfs_list_commits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | ||
| branch | No | Branch name (without refs/heads/) | |
| project | No | ||
| repositoryId | Yes |