vault_generate_and_store_secret
Generate a high-entropy secret, encrypt it locally in llm-vault-mcp, and return an opaque handle so agents can use it without exposing plaintext.
Instructions
Generate a high-entropy secret inside llm-vault-mcp via crypto.getRandomValues(), encrypt it locally with VaultKey and canonical AAD, and return only { id, vaultId, version, handle }.
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": {
"name": "<name>"
},
"name": "vault_generate_and_store_secret"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| tags | No | ||
| vaultId | No | ||
| encoding | No | ||
| folderId | No | ||
| secretId | No | ||
| byteLength | No | ||
| description | No |