Adapter Details: vault

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

MCP Tools

This adapter provides 5 MCP tool(s) for AI agent integration:

Tool NameDescription
vault_deleteDelete a file or empty directory from the user's health vault.
vault_writeWrite 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_listList files and directories in the user's health vault. Omit path to list the vault root.
vault_mkdirCreate a directory in the user's health vault.
vault_readRead 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.

Navigation

Back to all adapters

Back to index