jms_auth_otp
Completes a pending JumpServer 2FA/TOTP challenge after MFA_OTP_REQUIRED is returned, submitting the user's 6-digit authenticator code to finish authentication.
Instructions
Complete a pending 2FA/TOTP authentication challenge when JumpServer returns MFA_OTP_REQUIRED, using the 6-digit code provided by the user.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"code": "<code>"
},
"name": "jms_auth_otp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | 6-digit TOTP code from the user's Authenticator app |