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.
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.
A separate step
Making a QR code means leaving the workflow for another tool.
No customization
Generic generators ignore size, color, and error-correction needs.
Not embeddable
The output isn’t in a form an agent can drop into a document.
Data sensitivity
Encoding internal data through a public site is a leak.
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
Base64 or saved
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.
L · M · Q · H
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.
Private, logged
Parameters
The qrcode_generate tool accepts these inputs when an agent calls it. Required inputs are flagged.
default: 300 Optional QR code size in pixels (100–1000).
default: M Optional Error-correction level (L=7%, M=15%, Q=25%, H=30%). LMQH
default: black Optional QR code fill color.
default: white Optional Background color.
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.
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.
What changes after you assign it
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.
Assign QR Code Generator to these agents
These VDF AI agents can be assigned this tool. Open an agent to see the full toolkit it can run.
Tools that work well alongside this one
Where this tool delivers value
Bridge documents to actions with QR codes
See the QR code generator let an agent embed scannable codes into deliverables — on infrastructure you control.