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.
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": {
"document_type": "<document_type>",
"label": "<label>",
"fields": "<fields>"
},
"name": "add_document"
}
}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") |