createIssueComment
Publish NIP-22 comments on Git issues, supporting replies via parent comment IDs. Keep discussions threaded without affecting bounty events.
Instructions
Publish a NIP-22 comment (kind 1111) on an issue. Optional replyTo for threaded replies. Does not create/modify bounty (9806) events.
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": {
"issueId": "<issueId>",
"content": "<content>",
"privkey": "<privkey>"
},
"name": "createIssueComment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| relays | No | ||
| repoId | No | Optional; taken from issue a-tag when omitted | |
| content | Yes | ||
| issueId | Yes | Root issue event id (kind 1621) | |
| privkey | Yes | nsec or hex | |
| replyTo | No | Parent comment event id for a reply (omit to reply to the issue) | |
| ownerPubkey | No | Optional; taken from issue a-tag when omitted |