Change where a QR code leads
update_qr_codeChange the target URL (or title, or pause/activate) of an existing code. Printed copies keep working and now lead to the new target. Needs the API key of the owner or the edit_url of an anonymous code.
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": {
"code": "<code>"
},
"name": "update_qr_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The short code, e.g. "k7Fq2" (the part after ?c= in the short URL) | |
| title | No | ||
| active | No | false pauses the code (scanners see a friendly note) | |
| edit_key | No | For codes created without an API key: the edit_url (or its key) returned at creation | |
| target_url | No |