update_wifi_qr

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.

Server QR for Agent qr-for-agent
Category Write
Risk class Medium
Parameters 61 required

What update_wifi_qr does on QR for Agent

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.

ParameterTypeRequiredDescription
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.

Why update_wifi_qr needs a policy

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)

Questions about update_wifi_qr

What does the update_wifi_qr tool do? +

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.

What parameters does update_wifi_qr accept? +

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.

How do I enforce a policy on update_wifi_qr? +

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.

What risk level is update_wifi_qr? +

update_wifi_qr is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.

Can I rate-limit update_wifi_qr? +

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.

How do I block update_wifi_qr completely? +

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.

What MCP server provides update_wifi_qr? +

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.

// LOOK UP ANOTHER 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 →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.