getBranches
Retrieve a repository's branches using owner public key and repository ID, with support for optional relay specification.
Instructions
Get branches 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": "getBranches"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| relays | No | ||
| repoId | Yes | Repository ID | |
| ownerPubkey | Yes | Repository owner pubkey |