get_national_id
Retrieve selected fields from a stored national identity card with user consent. Specify the required fields and purpose to access the data.
Instructions
Retrieve specific fields from a stored national identity card. 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": {
"fields": "<fields>",
"purpose": "<purpose>"
},
"name": "get_national_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | Yes | The national ID fields to retrieve | |
| purpose | Yes | Why the calling agent needs this data — shown to the user for consent | |
| document_id | No | Specific national ID id (required when more than one is stored) |