replyToEvent
Compose and publish a threaded reply to a Nostr event using NIP-10, specifying content, target event, and optional root for conversation context.
Instructions
Reply to an event with NIP-10 threading
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": {
"eventId": "<eventId>",
"eventPubkey": "<eventPubkey>",
"content": "<content>"
},
"name": "replyToEvent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| eventId | Yes | ID of the event to reply to | |
| eventPubkey | Yes | Pubkey of the event author | |
| content | Yes | Reply content | |
| rootEventId | No | Root event ID for threading (NIP-10) | |
| privateKey | No | Private key (nsec or hex). Optional when NOSTR_BUNKER_URI is configured. | |
| relays | No | Relays to publish to |