save_asset
save_assetAdd a new asset or update an existing one in a Yimu bookkeeping ledger. Provide asset fields such as name, type, balance, and total quota; include the asset ID to modify an existing record.
Instructions
新增或更新资产(POST /asset/addOrUpdateAsset,upsert:带主键为更新)。entity 字段:assetId 主键;assetName 名称;assetType 类型;assetNumber 余额;totalQuota 总额度;intoTotalAsset 计入总资产;hide 隐藏;bookId 账本;currency 币种;remark/simpleName/cardCode/positionWeight 可选;userId/updateTime 自动填充
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity | Yes | 资产对象 |