getCommitHistory
Retrieve commit history for a repository by owner public key and repo ID. Configure branch and limit to get the exact commits needed.
Instructions
Get commit history for a repository
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": {
"ownerPubkey": "<ownerPubkey>",
"repoId": "<repoId>"
},
"name": "getCommitHistory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max commits (default 50) | |
| branch | No | Branch name (default: main) | |
| relays | No | ||
| repoId | Yes | Repository ID | |
| ownerPubkey | Yes | Repository owner pubkey |