encrypt_contest_entry
Encrypt a contest entry locally using the poster's public key and return the encrypted envelope for pinning; the plaintext never leaves the process.
Instructions
Seal a plaintext contest answer to the poster public key, locally, and return the encrypted envelope. Only the envelope may be pinned (pin_text), never the plaintext. enter_contest with content does all of this in one step.
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": {
"plaintext": "<plaintext>",
"posterPublicKey": "<posterPublicKey>"
},
"name": "encrypt_contest_entry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plaintext | Yes | Your entry in clear text, up to about 1 MB. It never leaves this process. | |
| posterPublicKey | Yes | The poster X25519 public key from the contest description (get_bounty): 43 base64url characters. |