yzyx_update_assets
Updates investment account asset total snapshots by account ID or name, supporting single totals or complete channel breakdowns, with optional date, pre-write mapping check, and post-write read-back.
Instructions
【写操作】更新投资记账账户的资产总额快照(经 abook_update_assets.py 子进程)。account=账户 id 或 name=账户名/渠道别名(二选一); total=总额(单金额账户用);channels=多渠道账户用,格式为 「渠道名=金额」逗号分隔(如 "示例渠道甲=10000.00,示例渠道乙=20000.00"), 必须给全该账户所有渠道;date=YYYY-MM-DD,空=今天。 写前有映射指纹核对,写后读回当日记录行返回。
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": "yzyx_update_assets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | ||
| name | No | ||
| total | No | ||
| account | No | ||
| channels | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |