add_document
Add identity documents to an encrypted local vault with strict type validation, enabling secure, consent-based sharing with AI agents.
Instructions
Add a new document to the vault. The document is stored locally and encrypted. Known document types (passport, national_id, driving_license, visa, photo_*) are strictly validated.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | Yes | A human-readable label for this document, e.g. "UK Passport 2024" | |
| fields | Yes | The document field values to store | |
| document_type | Yes | The type of document (e.g. "passport", "visa") |