getPublicKey
Derive the public key from a 64-character hexadecimal private key. Input a private key to receive its corresponding public key for Nostr operations.
Instructions
Get public key from private key
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": {
"privkey": "<privkey>"
},
"name": "getPublicKey"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| privkey | Yes | 64-char hex private key |