nostr_publish_text_note
Publish a kind:1 text note to NOSTR with automatic tag building for replies, mentions, and hashtags.
Instructions
Convenience wrapper for publishing a kind:1 text note. Builds the e / p / t tags from the structured inputs (replies, mentions, hashtags) so the agent doesn't have to assemble them. Requires kind 1 to be in NOSTR_ALLOWED_KINDS.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | The text note's body. | |
| hashtags | No | Optional. Hashtags to attach (adds `t` tags). Don't include the `#` prefix. | |
| mention_pubkeys | No | Optional. Additional pubkeys to mention (adds `p` tags). | |
| reply_to_author | No | Optional. Author pubkey of the event being replied to (adds a `p` tag). | |
| reply_to_event_id | No | Optional. If set, the note is a reply to this event id (adds an `e` tag with marker `reply`). |