getProfile
Retrieve a Nostr user profile by providing their public key in hex or npub format, with optional relay specification for querying.
Instructions
Get a Nostr profile by public 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": {
"pubkey": "<pubkey>"
},
"name": "getProfile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pubkey | Yes | Public key of the Nostr user (hex format or npub format) | |
| relays | No | Optional list of relays to query |