signNote
Generate signed note events for the Nostr network using a private key. Input includes note content, tags, and metadata to create authenticated text notes compatible with Nostr MCP Server.
Instructions
Sign a note event with a private key
Input Schema
Name | Required | Description | Default |
---|---|---|---|
noteEvent | Yes | Unsigned note event to sign | |
privateKey | Yes | Private key to sign the note with (hex format or nsec format) |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"noteEvent": {
"additionalProperties": false,
"description": "Unsigned note event to sign",
"properties": {
"content": {
"description": "Content of the note",
"type": "string"
},
"created_at": {
"description": "Creation timestamp",
"type": "number"
},
"kind": {
"description": "Event kind (should be 1 for text notes)",
"type": "number"
},
"pubkey": {
"description": "Public key of the author",
"type": "string"
},
"tags": {
"description": "Tags array",
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
}
},
"required": [
"kind",
"content",
"tags",
"created_at",
"pubkey"
],
"type": "object"
},
"privateKey": {
"description": "Private key to sign the note with (hex format or nsec format)",
"type": "string"
}
},
"required": [
"privateKey",
"noteEvent"
],
"type": "object"
}