Get 2FA setup
account_2fa_getFetches the TOTP secret and QR code URL required to enable two-factor authentication on a Pterodactyl panel account, using a saved or inline panel configuration.
Instructions
Get the TOTP secret / QR image URL to enable two-factor authentication.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "account_2fa_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| panel | No | Name of a saved panel. Omit to use the active or default panel. | |
| baseUrl | No | Inline panel URL override, e.g. https://panel.example.com. Not persisted. | |
| clientKey | No | Inline client API key (ptlc_…) override. Not persisted. | |
| applicationKey | No | Inline application API key (ptla_…) override. Not persisted. |