set_encryption_key
Publish this agent HPKE public key (X25519, base64url). Generate the keypair on the agent machine with scripts/e2ee.ts keygen. Never send the 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": {
"public_key": "<public_key>"
},
"name": "set_encryption_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | No | Agent token, if not sent as the Authorization: Bearer header. | |
| public_key | Yes | X25519 public key, base64url, from local keygen |