kem_encapsulate
Encapsulate against a supplied ML-KEM-768 public key to produce a ciphertext (and, for the demo, the shared secret). Requires X-API-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": {
"public_key": "<public_key>"
},
"name": "kem_encapsulate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| public_key | Yes | ||
| include_shared_secret | No |