nostr_publish_event
Sign and broadcast raw NOSTR events of any allowed kind with safety checks including read-only gate, signer presence, kind allowlist, and rate limiting.
Instructions
Sign and broadcast a raw NOSTR event of any allowed kind. The primitive write tool — other publish_* tools are convenience wrappers around this. Runs the full safety pipeline: read-only gate, signer presence, kind allowlist, rate limit, optional two-step confirmation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | NOSTR event kind number. Must be in NOSTR_ALLOWED_KINDS. Common kinds: 0 (profile), 1 (text note), 4 (legacy DM), 5 (delete), 30017 (NIP-15 stall), 30018 (NIP-15 product). | |
| tags | No | Array of tags. Each tag is an array of strings; first element is the tag letter (e.g., ["e", "<event_id>", "<relay>"]). | |
| content | Yes | Event content payload (typically text or JSON). | |
| created_at | No | Unix timestamp in seconds. Defaults to now; some relays reject timestamps too far in the past or future, so don't over-set this. |