set_user_approval
Approve or revoke a user account to control login access; new accounts cannot sign in until approved, and the user receives an email about the change.
Instructions
[ADMIN] Approve (or revoke) a user account. New accounts cannot log in until approved. ErgoHub emails the user about the change.
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": {
"username": "<username>",
"reason": "<reason>"
},
"name": "set_user_approval"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | Why, in one sentence. ErgoHub requires it and keeps it in the audit log. | |
| approved | No | true approves the account, false revokes approval. | |
| username | Yes | Exact ErgoHub username. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||