Scan QR code
scan_qr_codeUse this when the user shares a picture of a QR code and wants to know what it contains or where it leads. Reads every QR code in a PNG, JPEG or WebP image and returns the decoded content and its type (link, Wi-Fi, contact, event, email, phone, payment, text). Read-only; creates nothing. Do not use it for counting how many times a code was scanned (use get_qrcode_scans) or for business cards (use scan_business_card).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "scan_qr_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | No | The attached image containing the QR code. | |
| base64_image | No | The image containing the QR code as base64 (PNG, JPEG or WebP), for clients that cannot attach files. Send either image or base64_image. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||