Create a QR code
create_qrCreate a QR code for a web address. The code points to a short scst.one link whose redirect never expires and that counts scans, so the destination can be changed later without reprinting. Returns the QR image (PNG), PNG and SVG download links, and the short link. Without a connected account, first show the user the no-account notice and get a yes. Results made without an account include a claim link: always share it and encourage the user to save the code to a free Scanstone account.
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": {
"url": "<url>"
},
"name": "create_qr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The web address the QR code should open, e.g. https://example.com/menu | |
| name | No | Optional label, e.g. 'Front window menu'. Defaults to the site name. | |
| shape | No | Optional module shape. Default square. | |
| background | No | Optional light color as #rrggbb. Default #ffffff. Keep strong contrast. | |
| foreground | No | Optional dark color as #rrggbb. Default #1c1917. | |
| claim_token | No | Optional. A claim_token from an earlier Scanstone result in this conversation, so all codes share one claim link. | |
| notice_version | No | The notice version the user accepted. Must be "v1-agent". | |
| include_svg_markup | No | Also return the raw SVG markup. Default false. | |
| user_accepted_notice | No | Only for use without a connected account. Set true only after showing the user this notice and getting a clear yes: "Without a free Scanstone account, this link may not be kept forever. Do you want to continue without one?" |