save_refund
save_refundAdd or update a refund entry in the ledger by providing refund ID, associated bill, amount, and optional details as JSON.
Instructions
新增或更新退款(POST /refund/addOrUpdateRefund,upsert:带主键为更新)。entity 字段:refundId 主键;billId 关联账单;refundNum 退款金额;refundInfos 退款明细(JSON)
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_refund"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity | Yes | 退款对象 |