account_security
Read how the shop decides who a caller is. Use it when an operation answers authentication_required or admin_required and you want to know why. Returns the caller's session, whether the admin console would admit it, and what a recovery session may not do.
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_security"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session | Yes | The caller's session; authenticated is false for a guest. | |
| authority | Yes | Who holds credentials for this shop, in one sentence. | |
| admin_access | Yes | The admin gate's verdict for the caller. | |
| recovery_boundary | Yes | What a session made through account recovery may do, and the paths that refuse it. |