require_recent_auth
Verify that the caller signed in within a configurable recent window before allowing sensitive actions. Set provider, account, and max age; requires Kiln Enterprise.
Instructions
Step-up check: did the person behind this call sign in recently?
Needs Kiln Enterprise.
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": "require_recent_auth"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| provider | No | On a local install, the linked sign-in identity whose last sign-in is timed, for example ``"github"`` (the default). Kiln's servers time the request's own sign-in instead. Default: "github". | |
| tenant_id | No | On a local install, the account to check; omitted, this install's license is used. On Kiln's servers, omit it or pass your own account: any other is refused. | |
| max_age_minutes | No | How recent the sign-in must be, in minutes. Defaults to ``15``; a value below 1 is refused. Default: 15. |