deleteEvent
Remove Nostr events by sending deletion requests (kind 5). Provide event IDs, reason, and optional private key and relays.
Instructions
Delete events (kind 5)
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": {
"eventIds": "<eventIds>"
},
"name": "deleteEvent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| eventIds | Yes | IDs of events to delete | |
| reason | No | Reason for deletion | |
| privateKey | No | Private key (nsec or hex). Optional when NOSTR_BUNKER_URI is configured. | |
| relays | No | Relays to publish to |