qrcanvas

v0.1.0
io.github.CloudCorpRecords/qrcanvas Checked 5 hours ago Published 21 days ago

Create and manage QR codes, short links, landing pages and forms in your Hovercode workspace.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_workspaces

List the workspaces this account can access, with their ids; the current (default) one is marked. Tools default to the current workspace, so you only need `workspace` to target a different one.

create_qr_code

Create a Hovercode QR code and return its details plus a rendered PNG. `dynamic: true` makes the destination changeable later and tracks scans; `dynamic: false` (the default, 'static') encodes the destination directly into the code image — it can never be retargeted or tracked, and this choice can't be changed after creation. If the request doesn't make the choice clear, ask the user whether it should be trackable and editable later, or fixed permanently once printed. Dynamic codes count toward the workspace's dynamic-code limit (list_workspaces' `dynamic_qr_used`/`dynamic_qr_limit`); past t…

ParameterTypeDescription
qr_data *stringWhat the code encodes: a URL for qr_type 'Link', or the text for qr_type 'Text'. For 'vCard' send `vcard` instead.
background_colorstringHex background color, or 'transparent'.
color_scopestringHow far a `primary_color` change should reach; only relevant alongside `primary_color`. Default 'whole' matches whole-code language — 'make it red', 'make the QR code dark green' — so pattern, eye…
display_namestringInternal name to find this code later.
dynamicbooleanEditable destination + scan tracking; can't be switched after creation. Counts toward the workspace's dynamic-code limit. Default false (static: fixed forever, no tracking). Ask the user if their word…
error_correctionstringQR error correction level: L, M, Q, or H (higher tolerates more damage but is denser). Already handled automatically — the renderer uses H whenever the code has a logo, Q otherwise — so leave this…
eye_colorstringHex color for the corner eyes, if different from `primary_color` (which they follow by default).
eye_stylestringCorner eye shape.
folderstringFolder id or slug to file the new code into (list_qr_codes shows each code's folder).
framestringFrame slug. A caption (`text`) works on any frame — set `text` without a `frame` and one that can show it is chosen automatically. Frames that show a caption: card, card-above, speech-bubble, speech…
frame_colorstringHex color for the frame, if different from `primary_color` (which it follows by default).
gps_trackingbooleanPrompt scanners to share location (dynamic codes).
has_borderbooleanDraw a border around the code.
logo_urlstringURL of a logo image to place in the center.
patternstringModule pattern style.
primary_colorstringHex color for the QR pattern, e.g. #111111. Eyes and frame follow this automatically — one color request styles the whole code; only set `eye_color`/`frame_color` for a code that should use a *diffe…
qr_typestringQR content type. Default 'Link'. 'vCard' encodes a contact card from `vcard`.
tagsarrayLabels to attach (created if new) so you can find these later — list_qr_codes and list_short_links search by tag.
templatestringWorkspace template id to apply as design defaults (list_templates).
textstringCaption text. Renders on any frame that supports one; if `frame` isn't also given (or the one given can't show text), a frame that can is chosen automatically.
text_secondarystringSecondary caption line, where the frame supports it.
vcardobjectContact details for qr_type 'vCard' (use instead of qr_data). Scanning saves the contact to the phone. `dynamic: true` makes the card editable later.
workspacestringWorkspace id. Optional when the account has one workspace; use list_workspaces to resolve otherwise.

build_page

Build a rich, on-brand landing page from an ordered list of typed blocks, publish it, and return its live URL + its own QR code (`qr_id`; style it with the QR design args here, restyle later with update_qr_code — don't create another). This is the 'make me a page for X' tool — e.g. an event, product, restaurant, link-in-bio, or a scan-to-enter sweepstakes. Each block is {type, content}; call list_block_types first to see every type and its content shape. Blocks render in order in a centered column; a 'header' block (name/bio/photo) is the profile.

ParameterTypeDescription
blocks *arrayOrdered page blocks. Each is {type, content}. See list_block_types.
title *stringThe page title (browser tab + SEO).
background_colorstringFor the QR code this mints: Hex background color, or 'transparent'.
bg_colorstringHex page background color.
color_scopestringFor the QR code this mints: 'whole' (default) or 'pattern_only', as in create_qr_code.
descriptionstringOptional SEO/description text.
domainstringCustom domain (else a default is used).
error_correctionstringFor the QR code this mints: QR error correction level (L, M, Q, H). Leave unset: it is chosen automatically (H with a logo, Q otherwise).
eye_colorstringFor the QR code this mints: Hex color for the corner eyes, only if different from `primary_color`.
eye_stylestringFor the QR code this mints: Corner eye shape.
framestringFor the QR code this mints: Frame slug, as in create_qr_code. Set `text` without a `frame` and one that can show it is chosen automatically.
frame_colorstringFor the QR code this mints: Hex color for the frame, only if different from `primary_color`.
has_borderbooleanFor the QR code this mints: Draw a border around the code.
logo_urlstringFor the QR code this mints: URL of a logo image to place in the center.
patternstringFor the QR code this mints: Module pattern style.
primary_colorstringFor the QR code this mints: Hex color for the QR pattern, e.g. #111111. Eyes and frame follow it automatically (rules as in create_qr_code).
publishbooleanPublish immediately (default true). false leaves it a draft.
slugstringCustom URL slug (else auto-generated).
textstringFor the QR code this mints: Caption text; a frame that can show it is chosen automatically.
text_colorstringHex text color.
text_secondarystringFor the QR code this mints: Secondary caption line, where the frame supports it.
workspacestringWorkspace id. Optional when the account has one workspace; use list_workspaces to resolve otherwise.

create_form

Create a form, define its fields, brand it, publish it, and return a shareable short link + QR in one step. Use for 'make me a form to collect X, give me a link and QR to share it'. The result's `share_url` is the public link and `qr_id` is the form's own dynamic QR code (image included) — never call create_qr_code or create_short_link for a form's link; pass QR design args (primary_color, eye_style, frame, logo_url, …) here to style that code in the same call. Supports on-brand styling (theme/colors/logo), a `redirect_url` after submit, conditional logic (`show_when` on a field) and branc…

ParameterTypeDescription
fields *arrayThe fields to collect, in order.
title *stringThe form's title.
background_colorstringFor the QR code this mints: Hex background color, or 'transparent'.
bg_colorstringHex background color.
button_colorstringHex submit-button color.
button_text_colorstringHex button-text color.
color_scopestringFor the QR code this mints: 'whole' (default) or 'pattern_only', as in create_qr_code.
descriptionstringOptional description shown above the fields.
domainstringCustom domain to publish on (else a default is used).
error_correctionstringFor the QR code this mints: QR error correction level (L, M, Q, H). Leave unset: it is chosen automatically (H with a logo, Q otherwise).
eye_colorstringFor the QR code this mints: Hex color for the corner eyes, only if different from `primary_color`.
eye_stylestringFor the QR code this mints: Corner eye shape.
framestringFor the QR code this mints: Frame slug, as in create_qr_code. Set `text` without a `frame` and one that can show it is chosen automatically.
frame_colorstringFor the QR code this mints: Hex color for the frame, only if different from `primary_color`.
has_borderbooleanFor the QR code this mints: Draw a border around the code.
logo_urlstringURL of a logo image (JPEG/PNG/GIF/WebP) to show on the form.
outcomesarrayPathways / branching endings. After submit the first outcome whose rules match decides the ending: its own thank-you title/message and/or a redirect_url (e.g. send people to a different product page p…
patternstringFor the QR code this mints: Module pattern style.
primary_colorstringFor the QR code this mints: Hex color for the QR pattern, e.g. #111111. Eyes and frame follow it automatically (rules as in create_qr_code).
redirect_urlstringURL to send respondents to after they submit.
slugstringCustom short-link slug (else auto-generated).
textstringFor the QR code this mints: Caption text; a frame that can show it is chosen automatically.
text_colorstringHex text color.
text_secondarystringFor the QR code this mints: Secondary caption line, where the frame supports it.
thank_you_messagestringShown after submitting (if no redirect).
themestringNamed color preset. Explicit colors below override it.
workspacestringWorkspace id. Optional when the account has one workspace; use list_workspaces to resolve otherwise.

get_analytics

Scan analytics over a period: totals, unique scanners, scans-by-day, and top countries/cities/OS/browsers. Pass a QR code `id` for one code, or omit it for the whole workspace (which also returns the top codes). Use this to answer 'how did my codes do this month and where were people scanning?'.

ParameterTypeDescription
daysintegerLook-back window in days (default 30, max 365).
endstringRange end, ISO date/datetime. Defaults to now when only `start` is given.
idstringQR code id for per-code analytics; omit for workspace-wide.
startstringRange start, ISO date or datetime (e.g. 2026-08-03 or 2026-08-03T14:00:00Z). Use start/end together for a fixed window instead of the rolling `days` look-back.
workspacestringWorkspace id. Optional when the account has one workspace; use list_workspaces to resolve otherwise.

list_qr_codes

List QR codes in a workspace, newest first. Optional `query` searches destination, name, and tags. `folder` narrows to one folder, `include_tags` adds each code's tags (its folder is always shown), and `include_scans` adds scan counts — use it instead of calling get_analytics once per code.

ParameterTypeDescription
folderstringFolder id or slug to filter by, or 'none' for codes in no folder.
include_scansbooleanAdd total_scans and unique_scans (lifetime) to each code.
include_tagsbooleanAdd each code's tags. (Each code's folder is always included.)
pageinteger1-based page number.
page_sizeintegerResults per page (max 200, default 25).
querystringSearch term (destination, display name, or tag).
subfoldersbooleanWith `folder`, also include codes in its subfolders.
workspacestringWorkspace id. Optional when the account has one workspace; use list_workspaces to resolve otherwise.

set_workspace

Switch the current (default) workspace by id or name. New codes, forms, and pages are created in the current workspace unless a tool is given an explicit `workspace`.

ParameterTypeDescription
workspace *stringWorkspace id or name to switch to.

create_qr_codes_bulk

Create many QR codes at once from a list — e.g. 'make codes for these 20 product URLs in our brand colors'. All codes share the design/options you pass (colors, pattern, frame, dynamic, template). Returns the created codes and any per-item errors. Max 100 per call.

ParameterTypeDescription
items *arrayURLs to encode. Each item is a URL string, or an object {url, display_name}.
background_colorstringHex background color, or 'transparent'.
color_scopestring'whole' (default) or 'pattern_only', as in create_qr_code.
dynamicbooleanMake all of them editable + tracked; can't be switched after creation. Free up to a per-plan limit, not paid-only — a large batch can exceed it partway through, which shows up as per-item errors, no…
error_correctionstringQR error correction level (L, M, Q, H). Leave unset: it is chosen automatically (H with a logo, Q otherwise).
eye_colorstringHex color for the corner eyes, only if different from `primary_color`.
eye_stylestringCorner eye shape.
framestringFrame slug, as in create_qr_code. Set `text` without a `frame` and one that can show it is chosen automatically.
frame_colorstringHex color for the frame, only if different from `primary_color`.
has_borderbooleanDraw a border around the code.
idempotency_keystringOptional client key to make retries safe: if a previous call used the same key (same workspace), the earlier result is replayed instead of creating duplicate codes. Use a fresh key per distinct batch.
logo_urlstringURL of a logo image to place in the center.
patternstringModule pattern style.
primary_colorstringHex color for the QR pattern, e.g. #111111. Eyes and frame follow it automatically (rules as in create_qr_code).
tagsarrayLabels to attach (created if new) so you can find these later — list_qr_codes and list_short_links search by tag.
templatestringWorkspace template id to apply to all.
textstringCaption text; a frame that can show it is chosen automatically.
text_secondarystringSecondary caption line, where the frame supports it.
workspacestringWorkspace id. Optional when the account has one workspace; use list_workspaces to resolve otherwise.

download_qr

Get downloadable, print-ready image links for a QR code — a high-resolution PNG and a vector SVG (best for print/large sizes). Returns URLs you can share or save.

ParameterTypeDescription
id *stringQR code id.

create_pdf_qr

Create a dynamic QR code and short link for a PDF (menus, flyers, tickets). Host the PDF by passing `pdf_url` (a link Hovercode fetches) or `pdf_base64` (the file's base64 bytes). Returns a shareable short link plus a rendered QR. Because it's dynamic you can later swap the PDF without reprinting the code — always dynamic, no static option here. Counts toward the same workspace dynamic-code limit as create_qr_code (list_workspaces' `dynamic_qr_limit`); past that limit this call returns an error.

ParameterTypeDescription
display_namestringInternal name to find this code later.
domainstringCustom short-link domain (list_workspaces shows the plan).
filenamestringName for the stored file, e.g. 'menu.pdf'.
pdf_base64stringBase64-encoded PDF bytes (data-URI prefix allowed), max 20 MB. Or use pdf_url.
pdf_urlstringURL of a PDF to fetch and host. Use this or pdf_base64.
tagsarrayLabels to attach (created if new) so you can find these later — list_qr_codes and list_short_links search by tag.
workspacestringWorkspace id. Optional when the account has one workspace; use list_workspaces to resolve otherwise.

get_qr_code

Get one QR code's details and scan analytics (total and unique scans), plus a rendered PNG.

ParameterTypeDescription
id *stringQR code id.

update_qr_code

Update a QR code in place — the same code keeps working, so it's safe for already-printed codes. Changing `qr_data` retargets a DYNAMIC code's destination. Design fields (colors, pattern, eye style, frame, logo) restyle the code WITHOUT replacing it. Also supports renaming, toggling location tracking, moving it into a folder (`folder`, or 'none' to unfile), and adding/removing tags. Returns the re-rendered QR so you can preview the result. Any combination works in one call. Only include a design field when you actually intend to change it: every one you pass is applied exactly as given, even…

ParameterTypeDescription
id *stringQR code id.
add_tagsarrayTag titles to add (created in the workspace if new).
background_colorstringHex background color, or 'transparent'.
color_scopestringHow far a `primary_color` change should reach; only relevant alongside `primary_color`. Default 'whole' matches whole-code language — 'make it red', 'make the QR code dark green' — so pattern, eye…
display_namestringNew internal name.
error_correctionstringQR error correction level: L, M, Q, or H (higher tolerates more damage but is denser). Already handled automatically — the renderer uses H whenever the code has a logo, Q otherwise — so leave this…
eye_colorstringHex color for the corner eyes, if different from `primary_color` (which they follow by default).
eye_stylestringCorner eye shape.
folderstringMove the code into this folder (id or slug from list_folders); 'none' unfiles it.
framestringFrame slug. A caption (`text`) works on any frame — set `text` without a `frame` and one that can show it is chosen automatically. Frames that show a caption: card, card-above, speech-bubble, speech…
frame_colorstringHex color for the frame, if different from `primary_color` (which it follows by default).
gps_trackingbooleanEnable/disable location prompt.
has_borderbooleanDraw a border around the code.
logo_base64stringA logo image as base64 (JPEG/PNG/GIF/WebP, under 2 MB; a data: URI prefix is fine) to place in the center — use `logo_url` instead whenever the image is reachable at a URL. Producing this string mea…
logo_roundbooleanForce the logo into a circle.
logo_urlstringURL of a logo image to place in the center.
patternstringModule pattern style.
primary_colorstringHex color for the QR pattern, e.g. #111111. Eyes and frame follow this automatically — one color request styles the whole code; only set `eye_color`/`frame_color` for a code that should use a *diffe…
qr_datastringNew destination URL/text (dynamic codes only).
remove_logobooleanRemove the code's logo.
remove_tagsarrayTags to remove from this code, by title, slug, or id.
textstringCaption text. Renders on any frame that supports one; if `frame` isn't also given (or the one given can't show text), a frame that can is chosen automatically.
text_secondarystringSecondary caption line, where the frame supports it.

delete_qr_code

Delete a QR code. Dynamic codes stop redirecting after deletion.

ParameterTypeDescription
id *stringQR code id.

get_qr_activity

List recent scan events for a dynamic QR code (time, location, device). Use this to answer questions like where or when a code was scanned.

ParameterTypeDescription
id *stringQR code id.
endstringRange end, ISO date/datetime. Defaults to now when only `start` is given.
pageinteger1-based page number.
page_sizeintegerEvents per page (max 200, default 25).
startstringRange start, ISO date or datetime (e.g. 2026-08-03 or 2026-08-03T14:00:00Z). Use start/end together for a fixed window instead of the rolling `days` look-back.

list_templates

List the workspace's saved QR design templates. Pass a template id to create_qr_code to reuse its branding.

ParameterTypeDescription
workspacestringWorkspace id. Optional when the account has one workspace; use list_workspaces to resolve otherwise.

list_folders

List the workspace's folders with their full path, code count, id and slug. Use a folder's id or slug with create_qr_code / update_qr_code (`folder`) to file codes, or with list_qr_codes to filter.

ParameterTypeDescription
workspacestringWorkspace id. Optional when the account has one workspace; use list_workspaces to resolve otherwise.

create_folder

Create a folder to organise QR codes, optionally nested under a parent. Creating a folder that already exists (same name, same parent) returns the existing one, so it's safe to call repeatedly.

ParameterTypeDescription
name *stringFolder name.
parentstringParent folder id or slug to nest under (optional).
workspacestringWorkspace id. Optional when the account has one workspace; use list_workspaces to resolve otherwise.

update_folder

Rename a folder and/or move it under another folder. `parent` 'none' moves it to the top level. Codes inside keep their filing.

ParameterTypeDescription
id *stringFolder id (from list_folders).
namestringNew folder name.
parentstringNew parent folder id or slug, or 'none' for top level.

delete_folder

Delete a folder. The codes in it (and in its subfolders) are NOT deleted — they become unfiled — and its subfolders move up to its parent.

ParameterTypeDescription
id *stringFolder id (from list_folders).

list_tags

List the workspace's tags (title + id). Tags are attached with create_qr_code (`tags`) or update_qr_code (`add_tags` / `remove_tags`), and list_qr_codes searches by tag.

ParameterTypeDescription
workspacestringWorkspace id. Optional when the account has one workspace; use list_workspaces to resolve otherwise.

update_form

Change an existing form without recreating it: edit its fields, settings (redirect, thank-you, title), or branding (theme/colors/logo), or close/reopen it. If you pass `fields`, provide the COMPLETE desired list — include each existing field's `id` (from get_form) to keep it; omit a field to remove it; leave `id` off a new field. If the form is already published, edits are re-published so they go live.

ParameterTypeDescription
id *stringForm id.
bg_colorstringHex background color.
button_colorstringHex submit-button color.
button_text_colorstringHex button-text color.
descriptionstringNew description.
fieldsarrayComplete desired field list (see note); create_form shape plus an optional `id`.
logo_urlstringURL of a logo image (JPEG/PNG/GIF/WebP) to show on the form.
outcomesarrayPathways / branching endings. After submit the first outcome whose rules match decides the ending: its own thank-you title/message and/or a redirect_url (e.g. send people to a different product page p…
redirect_urlstringURL to send respondents to after they submit.
statusstringClose (stop responses) or reopen. When set, other edits are ignored.
text_colorstringHex text color.
thank_you_messagestringShown after submitting (if no redirect).
themestringNamed color preset. Explicit colors below override it.
titlestringNew title.

list_forms

List the forms in a workspace, newest first. Optional `query` searches by title.

ParameterTypeDescription
pageinteger1-based page number.
page_sizeintegerResults per page (max 100, default 25).
querystringSearch term (matches the form title).
workspacestringWorkspace id. Optional when the account has one workspace; use list_workspaces to resolve otherwise.

get_form

Get one form's details: status, response count, share link, and QR.

ParameterTypeDescription
id *stringForm id.

get_form_responses

List a form's submissions (newest first) so you can read or summarize them — e.g. 'summarize this week's feedback' or 'any complaints in the responses?'.

ParameterTypeDescription
id *stringForm id.
pageinteger1-based page number.
page_sizeintegerResponses per page (max 100, default 25).

create_page

Create a published micro landing page (link-in-bio style) with a title and a list of links, and return its live URL (`share_url`) + its own QR code (`qr_id`; style it with the QR design args here; don't create another). Use this for 'make me a page with these links and a QR to share it'. The page is a dynamic destination you can keep; it counts toward the workspace's page limit.

ParameterTypeDescription
title *stringThe page's heading.
background_colorstringFor the QR code this mints: Hex background color, or 'transparent'.
bg_colorstringHex background color.
color_scopestringFor the QR code this mints: 'whole' (default) or 'pattern_only', as in create_qr_code.
descriptionstringOptional text shown under the title.
domainstringCustom page domain (else a default is used).
error_correctionstringFor the QR code this mints: QR error correction level (L, M, Q, H). Leave unset: it is chosen automatically (H with a logo, Q otherwise).
eye_colorstringFor the QR code this mints: Hex color for the corner eyes, only if different from `primary_color`.
eye_stylestringFor the QR code this mints: Corner eye shape.
framestringFor the QR code this mints: Frame slug, as in create_qr_code. Set `text` without a `frame` and one that can show it is chosen automatically.
frame_colorstringFor the QR code this mints: Hex color for the frame, only if different from `primary_color`.
has_borderbooleanFor the QR code this mints: Draw a border around the code.
linksarrayThe link buttons on the page, in order.
logo_urlstringFor the QR code this mints: URL of a logo image to place in the center.
patternstringFor the QR code this mints: Module pattern style.
primary_colorstringFor the QR code this mints: Hex color for the QR pattern, e.g. #111111. Eyes and frame follow it automatically (rules as in create_qr_code).
slugstringCustom URL slug (else auto-generated).
textstringFor the QR code this mints: Caption text; a frame that can show it is chosen automatically.
text_colorstringHex text color.
text_secondarystringFor the QR code this mints: Secondary caption line, where the frame supports it.
workspacestringWorkspace id. Optional when the account has one workspace; use list_workspaces to resolve otherwise.

get_page

Get one landing page's details: status, live URL, QR, and its blocks (each block's id + type) so you can edit it with update_page.

ParameterTypeDescription
id *stringPage id.

update_page

Change an existing landing page without recreating it: edit its blocks, title, description, or colors, and publish/unpublish it. Use for 'fix the typo on my page', 'add a section', or 'take the page down'. If you pass `blocks`, provide the COMPLETE desired list (same {type, content} shape as build_page; include each block's `id` from get_page to keep it, omit to remove) — leaving `blocks` off keeps the existing blocks untouched. If the page is already published, edits are re-published so they go live; pass publish:false to take it offline.

ParameterTypeDescription
id *stringPage id.
bg_colorstringHex page background color.
blocksarrayComplete desired block list (see note); each is {type, content} + optional id.
descriptionstringNew SEO/description text.
publishbooleantrue = publish/re-publish so edits go live; false = take offline (draft).
text_colorstringHex text color.
titlestringNew page title.

delete_page

Delete a landing page. Its live URL stops serving and it leaves the workspace's page list. Use for 'delete that page' / 'remove the landing page'.

ParameterTypeDescription
id *stringPage id.

list_pages

List the landing pages in a workspace, newest first.

ParameterTypeDescription
workspacestringWorkspace id. Optional when the account has one workspace; use list_workspaces to resolve otherwise.

list_block_types

List the page BLOCK TYPES available to build_page, each with its content JSON Schema. Call this first when composing a rich page so you know the vocabulary (header, link, text, image, button, video, gallery, faq, countdown, socials, divider, form, …).