Create a QR code that encodes WiFi credentials. When scanned by a phone camera, it offers to auto-join the WiFi network. No internet connection needed to join — the credentials are encoded directly in the QR image.
AI agents use create_wifi_qr to create or update resources in QR for Agent — usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your QR for Agent environment.
| Parameter | Type | Required | Description |
|---|---|---|---|
ssid | string | Yes | WiFi network name (SSID). |
label | string | — | Label for this QR code. |
format | string | — | Image format. |
hidden | boolean | — | Whether the network is hidden. Default: false. |
logo_url | string | — | Logo URL or data URI. |
password | string | — | WiFi password. Omit for open networks (use encryption='nopass'). |
dot_style | string | — | Dot shape. |
encryption | string | — | Encryption type. Default: WPA. |
frame_text | string | — | CTA text on frame (max 30 chars). |
frame_color | string | — | Frame background color. |
frame_style | string | — | Frame style around QR. |
corner_style | string | — | Corner shape. |
Parameters from the server's own tool schema.
This tool creates new data (a QR code) reversibly. While encoding WiFi credentials in a QR code could be sensitive, the tool itself does not execute WiFi network changes, delete data, or move money.
From the tool's definition Tool name is 'create_wifi_qr' and description states it will 'Create a QR code that encodes WiFi credentials' — this is a creation action that modifies state by generating a new QR code artifact.
Risk signalsHandles credentials or secrets (password) · High parameter count (15 properties)
Attacks that exploit this kind of access
Create a QR code that encodes WiFi credentials. When scanned by a phone camera, it offers to auto-join the WiFi network. No internet connection needed to join — the credentials are encoded directly in the QR image. It is categorised as a Write tool in the QR for Agent MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
create_wifi_qr accepts 12 parameters: ssid, label, format, hidden, logo_url, password, dot_style, encryption, frame_text, frame_color, frame_style, corner_style. Required: ssid. The full parameter table on this page comes from the server's own tool schema.
Register the QR for Agent MCP server in PolicyLayer and add a rule for create_wifi_qr: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches QR for Agent. Nothing to install.
create_wifi_qr is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the create_wifi_qr rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for create_wifi_qr. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
create_wifi_qr is provided by the QR for Agent MCP server (qr-for-agent). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
Every MCP server has a record like this.
Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.
Teams ship this data inside their own products. See what a licence covers →