get_photo
Retrieve a stored identity photo (passport, selfie, or signature) as base64 data after obtaining explicit user consent.
Instructions
Retrieve a stored photo. Returns base64-encoded image data. The user will be prompted for consent before any data is returned.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | The type of photo to retrieve | |
| purpose | Yes | Why the calling agent needs this photo — shown to the user for consent | |
| document_id | No | Specific photo id (required when more than one of this type is stored) |