decode_qr
Decode ZATCA TLV-encoded QR codes from invoices. Extracts all embedded tag values into a readable JSON format for verification and inspection.
Instructions
Decode a ZATCA TLV-encoded QR code string.
Useful for verifying or inspecting existing QR codes from ZATCA-compliant invoices. Extracts all encoded tag values.
Args: qr_base64: Base64-encoded TLV string from a ZATCA QR code
Returns: JSON with decoded tag names and their values
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": {
"qr_base64": "<qr_base64>"
},
"name": "decode_qr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| qr_base64 | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |