account_update
Edit an account's name, type, balance, currency, card number, notes, or archive status. Balance updates create an adjustment transaction by default, or modify opening balance with adjustBalance=false.
Instructions
修改账户(名称/类型/余额/币种/卡号/备注/归档)。传 balance 时默认生成一条「余额调整」流水(收入或支出),使账户余额等于目标值;adjustBalance=false 则直接改期初余额。同一用户下账户名不可重复。
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": {
"id": "<id>"
},
"name": "account_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| icon | No | ||
| name | No | ||
| note | No | ||
| type | No | ||
| color | No | ||
| cardNo | No | ||
| userId | No | ||
| balance | No | ||
| archived | No | ||
| currency | No | ||
| adjustNote | No | ||
| adjustBalance | No |