Update client status
update_client_statusSet a client's account status to active, inactive, or fraud. Inactive/fraud clients cannot log in; fraud additionally blocks new orders.
Instructions
Set a client's status to active, inactive or fraud. Wraps Clients.edit(client_id, {status}). Inactive/fraud clients cannot log in; fraud also blocks orders.
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": {
"client_id": "<client_id>",
"status": "<status>"
},
"name": "update_client_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | New status | |
| client_id | Yes | Numeric client ID |