createPRComment
Post a comment on a pull request and optionally reply to a parent comment to create threaded discussions, using Nostr for decentralized collaboration.
Instructions
Publish a NIP-22 comment (kind 1111) on a pull request. Optional replyTo for threaded replies.
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": {
"prId": "<prId>",
"content": "<content>",
"privkey": "<privkey>"
},
"name": "createPRComment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prId | Yes | Root PR event id (kind 1618) | |
| relays | No | ||
| repoId | No | ||
| content | Yes | ||
| privkey | Yes | nsec or hex | |
| replyTo | No | Parent comment event id for a reply (omit to reply to the PR) | |
| ownerPubkey | No |