Change a code
update_codeChange where a printed website-link code points, a contact card's details, a code's name or folder, or pause and resume a changeable code. Changing the destination affects everyone who scans it from then on, so confirm with the person first. Codes can't be deleted here.
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_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The code: its id from list_codes, or a changeable code's link ending (e.g. "menu" for makemyqrcodes.com/menu) | |
| name | No | ||
| folder | No | ||
| status | No | Paused codes show a "paused" page when scanned | |
| contact | No | Contact cards: the full new card (replaces the old one) | |
| destination | No | Website-link codes: the new web address |