getRepo
Retrieve a single repository from the decentralized Git platform by ID or owner+name, enabling AI agents to access repo details directly.
Instructions
Get a single repository by ID or owner+name
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": {
"repoId": "<repoId>"
},
"name": "getRepo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| relays | No | ||
| repoId | Yes | Repository ID (e.g., "my-repo") | |
| ownerPubkey | No | Owner pubkey (optional, helps find faster) |