repostEvent
Repost any Nostr event by providing its ID and author's pubkey. AI agents amplify content across relays with optional private key authentication.
Instructions
Repost an event (kind 6)
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>"
},
"name": "repostEvent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| eventId | Yes | ID of the event to repost | |
| eventPubkey | Yes | Pubkey of the event author | |
| relayUrl | No | Relay URL where the original event lives | |
| privateKey | No | Private key (nsec or hex). Optional when NOSTR_BUNKER_URI is configured. | |
| relays | No | Relays to publish to |