Personal health vault — read and write files in the user's private health-vault DLFS drive. Stores health documents, lab results, and records with self-sovereign encryption. No drive name needed — always operates on the user's own health vault.
| Name: | vault |
| Class: | covia.adapter.VaultAdapter |
This adapter provides 5 MCP tool(s) for AI agent integration:
| Tool Name | Description |
|---|---|
| vault_delete | Delete a file or empty directory from the user's health vault. |
| vault_write | Write a file to the user's health vault. Creates the file if it does not exist; overwrites if it does. Use vault:mkdir first to create parent directories. Accepts UTF-8 text via 'content', a JSON-serialisable value via 'value', or a content-addressed asset via 'asset'. Binary uploads from clients should use the WebDAV PUT transport at /dlfs/health-vault/{path} directly. |
| vault_list | List files and directories in the user's health vault. Omit path to list the vault root. |
| vault_mkdir | Create a directory in the user's health vault. |
| vault_read | Read a file from the user's health vault. The 'mode' parameter controls how the file is returned: 'auto' (default) returns UTF-8 text for text files, or a reference with a WebDAV URL for binaries; 'text' forces UTF-8 decoding; 'bytes' returns base64-encoded bytes; 'json' parses the file as JSON and returns the value. For binary files, prefer fetching via the WebDAV GET transport at /dlfs/health-vault/{path} rather than using 'bytes' mode. |