resolveRepoByNostrId
Resolve a repository by owner's Nostr identity (npub or hex) and repo name, returning clone URLs and relays for decentralized Git access.
Instructions
Resolve repo by Nostr identity (npub or hex) and repo name. Returns cloneUrl (prefer git.gittr.space), cloneUrls, relays for location-agnostic use.
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": {
"ownerNpubOrHex": "<ownerNpubOrHex>",
"repoId": "<repoId>"
},
"name": "resolveRepoByNostrId"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| relays | No | ||
| repoId | Yes | Repository name | |
| ownerNpubOrHex | Yes | Owner as npub (NIP-19) or 64-char hex |