fernet_decrypt
Decrypt Fernet ciphertext using a Base64-encoded key and ciphertext to recover the original plain text.
Instructions
Decrypt Fernet ciphertext.
Args: key: Base64-encoded Fernet key. ciphertext: Base64-encoded ciphertext.
Returns: Decrypted plain text string.
Raises: cryptography.fernet.InvalidToken: If decryption fails.
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": {
"key": "<key>",
"ciphertext": "<ciphertext>"
},
"name": "fernet_decrypt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| ciphertext | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |