save_asset_history
save_asset_historyCreate or update asset change records using an upsert operation. Add a new entry or modify an existing one by ID, capturing account, time, balance after change, change amount, and description.
Instructions
新增或更新资产变动记录(POST /assetHistory/addOrUpdateAssetHistory,upsert:带主键为更新)。entity 字段:assetHistoryId 主键;assetId 账户;time 时间;currentNum 变动后余额;changeNum 变动额;changeContent 变动说明
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_asset_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity | Yes | 资产变动记录对象 |