_export_public_key
Export a public key to formats like PEM, with choices for curve and point encoding. Use this to convert keys for sharing or storage.
Instructions
Export a public key to various formats
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": {
"public_key": "<public_key>"
},
"name": "_export_public_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| public_key | Yes | ||
| curve | No | NIST256p | |
| format | No | pem | |
| point_encoding | No | uncompressed |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |