encrypt_message
Encrypts a message with AES-256-CBC using an encryption key, converting plaintext into secure ciphertext to protect data during transmission or storage.
Instructions
Encrypts a message
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": {
"message": "<message>",
"encryptionKey": "<encryptionKey>"
},
"name": "encrypt_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | The message to be encrypted | |
| encryptionKey | Yes | The key to use for encryption |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| encryptedMessage | Yes | The encrypted message (format: iv:ciphertext) |