get_document
Retrieve requested fields from any identity document type after user consent, for cases without a dedicated document tool.
Instructions
Retrieve fields from any document type not covered by a dedicated tool. The user will be prompted for consent before any data is returned.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | Yes | The field names to retrieve from the document | |
| purpose | Yes | Why the calling agent needs this data — shown to the user for consent | |
| document_id | No | Specific document id (required when more than one of this type is stored) | |
| document_type | Yes | The document type to retrieve (e.g. "insurance_card") |