Update the account
update_accountUpdate the account
Changes the account name, the low-balance alert threshold and the default gateway. Fields left out are unchanged; name: null clears the name, defaultGateway: null the default gateway. The order a request runs under: its x-klinn-gateway header, else its key's gateway, else the account's default gateway. A default gateway with guardrails locks the keys under it: a header naming another gateway is 403 gateway_locked.
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": "update_account"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | null clears it. | |
| lowBalanceUsd | No | ||
| defaultGateway | No | A chat gateway's name to make the account's default (every own model key without a gateway of its own runs through it), or null to clear it. A decisions gateway is refused: attach it to a key instead. |