QR & codes · 1 credit
Wi-Fi QR payload
Produce the standard Wi-Fi join string agents feed into qr_code — credentials stay in your toolbox, not a public form.
What it does
Call this tool (id: wifi_qr_payload) to build a WIFI:T:…;S:…;P:…;; payload string for qr_code. Pass ssid, optional password, security (WPA|WEP|nopass), hidden.
Example use cases
- Guest Wi-Fi cards for offices, cafés, and events.
- Onboarding kits where an agent fills SSID/password then renders a QR.
- Support flows that regenerate join codes without leaving the MCP session.
How it works in Toolporten
Put wifi_qr_payload and qr_code in the same toolbox. The agent calls wifi_qr_payload for the WIFI:… string, then qr_code with that text. You get composition without exposing every Toolporten tool to the model.
MCP call example
{
"name": "wifi_qr_payload",
"arguments": {
"ssid": "GuestNet",
"password": "correct-horse",
"security": "WPA"
}
}