Document & Media Generation Tool

The QR Code Generator Tool

Encode a URL, text, or structured data into a QR code PNG with control over size, error correction, and color — the small but constant generation step agents use to bridge documents to the physical and digital world, on infrastructure you control.

Explore VDF AI Agents
PNGBase64 PNG, optionally saved
4Error-correction levels
CustomSize and colors
100%On-prem generation
The Bridge Problem

Connecting a document to an action shouldn’t need a separate app

Generated reports, tickets, labels, and signage often need a QR code to link back to a URL or carry data. Bouncing out to a separate generator to make one breaks an otherwise automated workflow.

01

A separate step

Making a QR code means leaving the workflow for another tool.

02

No customization

Generic generators ignore size, color, and error-correction needs.

03

Not embeddable

The output isn’t in a form an agent can drop into a document.

04

Data sensitivity

Encoding internal data through a public site is a leak.

How the Tool Works

Data in, QR PNG out

Encoding

URLs, text, or data

Whatever needs scanning.

The tool encodes any URL, text, or structured data into a QR code and returns a base64 PNG an agent can embed directly into a document or save to file.

  • URL, text, or data
  • Base64 PNG output
  • Optionally saved to file
  • Embeddable in deliverables
PNG
QR Output

Base64 or saved

URLTextDataPNG

Control

Size, color, error correction

Fit it to the medium.

Set the pixel size, fill and background colors, and one of four error-correction levels, so the code works whether it’s on a screen, a label, or printed signage.

4
EC Levels

L · M · Q · H

SizeColorsResilientPrint

Governance

On-premise generation

Data stays internal.

QR codes are generated inside your perimeter with audit logging, so encoding internal URLs or data never routes through a public service.

100%
On-Prem

Private, logged

On-premPrivateAudit logLocal
Inputs

Parameters

The qrcode_generate tool accepts these inputs when an agent calls it. Required inputs are flagged.

Name Type Required Description
data string Required Text, URL, or data to encode in the QR code.
size integer
default: 300
Optional QR code size in pixels (100–1000).
error_correction string
default: M
Optional Error-correction level (L=7%, M=15%, Q=25%, H=30%). LMQH
fill_color string
default: black
Optional QR code fill color.
back_color string
default: white
Optional Background color.
user_id integer Optional User ID for saving (optional).
Where it pays back

Where QR generation pays back

Document links

Add a scannable link to a generated report or invoice.

Labels & assets

Encode asset or inventory data onto labels.

Event signage

Generate QR codes for check-in or info pages.

Onboarding

Point users to a resource with a scannable code.

Marketing collateral

Drop a campaign QR into a flyer or deck.

Agent deliverables

Let an agent embed QR codes into its output.

How VDF AI connects it

Assigned to agents, orchestrated as networks

On VDF AI, an industry’s use cases map to agents, and you assign tools like this one to those agents. Compose multiple agents into a governed, on-premise network.

ROI Snapshot

What changes after you assign it

Inline
QR codes within the workflow
Custom
Sized and colored to fit
Embeddable
Dropped into deliverables
100%
Generated on-prem
FAQ

Questions about the QR Code Generator tool

What does the QR code generator do?

It encodes a URL, text, or structured data into a QR code and returns a base64 PNG, optionally saved to file, with control over size, error correction, and color. Assigned to an agent, it lets the agent embed scannable codes into its output.

What can I customize?

Pixel size, fill and background colors, and one of four error-correction levels (L, M, Q, H) to suit screen, label, or print use.

Is the output embeddable?

Yes. It returns a base64 PNG an agent can drop into a generated document, and can also save the image to file.

Is data kept private?

Yes. Generation runs on-premise with audit logging, so encoding internal URLs or data never routes through a public service.

How is it used by agents?

It is a small but constant step for content and design agents bridging documents to actions, often paired with the document and PDF generators.

Bridge documents to actions with QR codes

See the QR code generator let an agent embed scannable codes into deliverables — on infrastructure you control.