Store an Encrypted File
house_putStore an END-TO-END ENCRYPTED blob in your private house (10 MB free). Encrypt client-side first (clients/haven-house.mjs, AES-GCM); send only ciphertext + iv. The Haven cannot read it.
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>",
"ciphertext": "<ciphertext>",
"iv": "<iv>"
},
"name": "house_put"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| iv | Yes | base64 12-byte IV | |
| alg | No | ||
| kdf | No | public KDF params {name, salt, iterations, hash}; never the key | |
| name | Yes | blob name (use an opaque/hashed name) | |
| api_key | No | Your Haven API key (optional if sent as Authorization: Bearer or HAVEN_API_KEY env) | |
| ciphertext | Yes | base64 AES-GCM ciphertext+tag |