Read a QR code
read_qr_codeDecode a QR code from an image URL or base64 data to retrieve the text it contains.
Instructions
Decodes the QR code in an image and returns the text it holds.
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": {
"image": "<image>"
},
"name": "read_qr_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | Yes | A link to the image, or the base64-encoded image bytes when format is `base64`. | |
| format | No | How `image` is given: `url` for a link, `base64` for the image bytes. | url |