postNote
Publish a text note to Nostr by creating, signing, and broadcasting it in a single call. Supports custom tags and relay selection. Use private key or remote signer for authentication.
Instructions
Create, sign, and publish a text note (all-in-one)
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": {
"content": "<content>"
},
"name": "postNote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | Text content of the note | |
| tags | No | Event tags | |
| privateKey | No | Private key (nsec or hex). Optional when NOSTR_BUNKER_URI is configured. | |
| relays | No | Relays to publish to |