addCollaborator
Add a collaborator as a maintainer to a repository. Republish the announcement with the updated maintainers list on the Nostr-based Git platform.
Instructions
Add maintainer on kind 30617 (republishes full announcement with updated maintainers tag — matches gittr UI)
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>",
"collaboratorPubkey": "<collaboratorPubkey>"
},
"name": "addCollaborator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| relays | No | ||
| repoId | Yes | ||
| privkey | No | Private key (auto-loaded) | |
| ownerPubkey | Yes | Repository owner pubkey (must sign) | |
| collaboratorPubkey | Yes | Collaborator's pubkey |