Create (encrypt) a vault locally
zib_create_vaultEncrypt a letter and optional attachments with a recovery phrase, then write a local vault file (0600). Enable split mode to create four parts, any two of which open the vault.
Instructions
Encrypt a letter (from letter_file or letter_text) and optional attachments with the phrase in phrase_file. Writes the encrypted vault to out_file (0600); nothing is uploaded yet. With split=true also writes 4 part files (any 2 open the vault) into parts_dir. Returns only paths and the expiry date.
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": {
"phrase_file": "<phrase_file>",
"out_file": "<out_file>"
},
"name": "zib_create_vault"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| split | No | ||
| out_file | Yes | Path to a local file (created with mode 0600 when written). | |
| parts_dir | No | ||
| attachments | No | ||
| letter_file | No | ||
| letter_text | No | ||
| phrase_file | Yes | Path to a local file (created with mode 0600 when written). |