save_account_book
save_account_bookCreate or update an account book by submitting its ID, name, type, and shared users, with the ID triggering an update instead of a new entry.
Instructions
新增或更新账本(POST /accountBook/addOrUpdateAccountBook,upsert:带主键为更新)。entity 字段:accountBookId 主键;bookName 账本名;bookType 账本类型;shareUsers 共享用户;字段按服务端契约传递
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": {
"entity": "<entity>"
},
"name": "save_account_book"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity | Yes | 账本对象 |