Tools / qr.decode
QR code reader
qr.decode
Reads the QR code in a PNG or JPEG image, given as a URL or base64.
MediaLaunch set1 unit per callnot cachedMCP: qr_decodev1.0.0
When to use it
Use to read a QR code from a screenshot or photo. Only QR codes are decoded; 1D barcodes are not supported in this version. Images over 12 megapixels are rejected.
Input
| Field | Type | Description |
|---|---|---|
url | string (≤ 2048 chars) | Absolute http or https URL of the file. Use instead of base64. |
base64 | string (≤ 14000000 chars) | Base64-encoded file bytes, up to 10 MB once decoded. Use instead of url. |
Output
Returns data with: found, count, results: [{text, bytes, corners: [{x, y}]}].
Request
curl -X POST https://agentops.tools/v1/qr.decode \
-H 'content-type: application/json' \
-d '{"url":"https://api.qrserver.com/v1/create-qr-code/?size=200x200&data=hello"}'Over MCP the tool is named qr_decode. Over A2A its skill id is qr.decode. Same input, same envelope.