Update the WiFi credentials of a WiFi QR code. Only works on QR codes created with type='wifi'. Note: updating WiFi data changes the QR image content.
AI agents use update_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 | — | WiFi network name. |
label | string | — | Update the label. |
hidden | boolean | — | Whether the network is hidden. |
password | string | — | WiFi password. |
short_id | string | Yes | The short ID of the WiFi QR code to update. |
encryption | string | — | Encryption type. |
Parameters from the server's own tool schema.
The tool creates or modifies data in a reversible manner by updating WiFi credentials in an existing QR code. While it changes the QR image, this change is not destructive—the original QR code object can be updated again with different credentials. This fits the Write category (create, update, post, upload). It is not Destructive because the QR code itself is not deleted, only its payload is modified.
From the tool's definition Tool description states 'Update the WiFi credentials' and 'updating WiFi data changes the QR image content.' This is a modification operation that alters stored data (WiFi credentials) reversibly.
Risk signalsHandles credentials or secrets (password)
Attacks that exploit this kind of access
Update the WiFi credentials of a WiFi QR code. Only works on QR codes created with type='wifi'. Note: updating WiFi data changes the QR image content. 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.
update_wifi_qr accepts 6 parameters: ssid, label, hidden, password, short_id, encryption. Required: short_id. 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 update_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.
update_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 update_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 update_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.
update_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 →