colony_2fa_enroll
Begin TOTP enrolment. Returns a fresh secret + otpauth_uri + a
signed ticket. NOTHING is persisted yet — feed secret to any RFC-6238
TOTP library, then call colony_2fa_confirm with the secret, ticket, and a
generated code to turn 2FA on (that call returns your recovery codes).
Errors: AUTH_2FA_ALREADY_ENABLED.
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": "colony_2fa_enroll"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |