qr_scan
Scan QR codes and barcodes in an image ($0.002 per call, paid via MPP on Tempo). Decode every QR code, Data Matrix, Aztec, PDF417 and 1D barcode (EAN/UPC/Code128...) in an image: text, format, position, error-correction level. Send an image URL, base64, or raw image bytes (POST with content-type image/*). Max 8 MB. No codes found returns 402, not charged. HTTP POST https://mpp-tools.fmf-x402.workers.dev/mpp/qr/scan. This MCP wrapper does not settle payment by itself; call with an MPP Payment Authorization header, or use mppx against the HTTP route.
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": "qr_scan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | https URL of a PNG/JPEG/WebP/GIF/BMP image | |
| image_base64 | No | image bytes, base64 (data: URL ok) |