createNote
Generate unsigned kind 1 note events for the Nostr network by specifying content, tags, and a private key for signing. Integrates with the MCP server to enable LLMs to interact with Nostr.
Instructions
Create a new kind 1 note event (unsigned)
Input Schema
Name | Required | Description | Default |
---|---|---|---|
content | Yes | Content of the note to create | |
privateKey | Yes | Private key to sign the note with (hex format or nsec format) | |
tags | No | Optional tags to include with the note |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"content": {
"description": "Content of the note to create",
"type": "string"
},
"privateKey": {
"description": "Private key to sign the note with (hex format or nsec format)",
"type": "string"
},
"tags": {
"description": "Optional tags to include with the note",
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
}
},
"required": [
"privateKey",
"content"
],
"type": "object"
}