encrypt_ansible_vault
Encrypt plaintext with a password into Ansible Vault format. Optionally specify a vault ID for the encrypted content.
Instructions
Encrypt text using Ansible Vault format
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": {
"text": "<text>",
"password": "<password>"
},
"name": "encrypt_ansible_vault"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to encrypt | |
| password | Yes | Password for encryption | |
| vaultId | No | Vault ID for the encrypted content (optional) |