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.
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": {
"type": "<type>",
"purpose": "<purpose>"
},
"name": "get_photo"
}
}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) |