yzyx_abook_config
Manage investment account settings and archive status: show current configuration, update selected fields, or archive/unarchive accounts by ID or name, with changes verified after writing.
Instructions
【写操作】投资账户设置与归档(经 abook_config.py 子进程)。 action=show 看设置 / set 改设置(全字段回填,只覆盖给出字段, 解析不全自动中止)/ archive 归档 / unarchive 取消归档。 定位:account_id 优先;show/archive/unarchive 可用 name(本地 账户映射名/渠道名);set 改名定位用 loc=现名、name_to=新名。 set 可改字段:name_to/memo/four_money/currency/term/returns/ perspective/view_ids(逗号分隔)。写后读回逐字段核对。
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": {
"action": "<action>"
},
"name": "yzyx_abook_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| loc | No | ||
| memo | No | ||
| name | No | ||
| term | No | ||
| action | Yes | ||
| name_to | No | ||
| returns | No | ||
| currency | No | ||
| view_ids | No | ||
| account_id | No | ||
| four_money | No | ||
| perspective | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |