get_totp_code
Generate a code from a stored TOTP authenticator only for an account your human asked you to create or operate. Requires an approved workspace key. Requires resources:write; viewers and read-only keys cannot generate codes. Returns code, secondsRemaining and nextCode when fewer than five seconds remain. Every generation is logged; at most 30 per workspace per minute. Never print codes in public logs.
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": {
"id": "<id>"
},
"name": "get_totp_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Resource UUID. |