Manage QR code variants
manage_qrcode_variantsUse this when the user wants one dynamic QR code to open different destinations depending on conditions such as the scanner's device (Smart Rules). Saves up to 10 variants for that code. Call get_qrcode_variant_rules first.
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": {
"idqrcode": "<idqrcode>",
"variants": "<variants>"
},
"name": "manage_qrcode_variants"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| idqrcode | Yes | Dynamic QR code ID from `list_qrcodes`. Never guess an ID. | |
| variants | Yes | Up to 10 variants, each with a name, optional position, rules (if.all or if.any conditions) and the destination to open. Use the fields and operators from `get_qrcode_variant_rules`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||