postNote
Publish content to the Nostr social network by signing notes with a private key, enabling authenticated posting with optional tags and relay selection.
Instructions
Post a note using an existing private key (authenticated posting)
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": {
"privateKey": "<privateKey>",
"content": "<content>"
},
"name": "postNote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| privateKey | Yes | Private key to sign the note with (hex format or nsec format) | |
| content | Yes | Content of the note to post | |
| tags | No | Optional tags to include with the note | |
| relays | No | Optional list of relays to publish to |