Back to all tools
Free / no key

QR code

The API returns an image. Share the image URL (the same create-qr-code URL with the customer’s data) so they can scan it.

Setup

  1. Open Create agent or Edit agent and add a custom tool.
  2. Copy the fields below into the form. No API key is required.
  3. In your prompt, tell the agent to share the QR image URL with the customer after generating it.

Copy into custom tool form

Copy each value into the matching field when you add a custom tool on the create or edit agent page. Replace any YOUR_… placeholders with your real credentials.

Tool name

generate_qr_code

Description

Build a QR code image URL for a link or text using the free QR Server API. Share the resulting image URL (or the same query URL) with the customer so they can scan it.

Endpoint URL

Paste into Endpoint URL (https:// is added automatically).

api.qrserver.com/v1/create-qr-code/

HTTP method

GET

Tool inputs (all)

1. data (string) URL or text to encode in the QR code

Tool input: data

Input name

data

Input type

string

Input description

URL or text to encode in the QR code

Reference value

Use this as the request query or body value and choose “Tool input” in the form.

{{data}}

Request query (all)

data: {{data}} size: 250x250

Field name

data

Field value

{{data}}

Field name

size

Field value

250x250
QR code custom tool for AI agents | CXWizard