verify_qr
Rasterise a QR code, decode it in-function with jsQR, and verify that it scans cleanly and matches the expected payload, plus return a minimum print size hint.
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": "verify_qr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | ||
| payload | No | Raw QR payload text to verify (or pass type + fields instead). | |
| background | No | #ffffff | |
| foreground | No | #000000 | |
| error_correction | No | M |