qianji_update_bill
Edits a single income or expense bill by applying only the changed fields; when moving it to an account in another currency, include the actual amount.
Instructions
修改一笔收支账单,changes 只填要修改的字段。换到不同币种的账户须同时提供实际金额。
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": {
"billId": "<billId>",
"changes": "<changes>"
},
"name": "qianji_update_bill"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| billId | Yes | 目录或查询结果给出的数字字符串 ID | |
| changes | Yes | ||
| requestId | No | 本次操作的稳定键。宿主未提供时必填;重试或补结算时复用原键。 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bill | No | ||
| billId | No | 目录或查询结果给出的数字字符串 ID | |
| status | Yes | ||
| message | No | ||
| summary | Yes | ||
| nextCall | No | ||
| replayed | Yes | ||
| createdAt | Yes | ||
| requestId | Yes | ||
| verification | No | ||
| changedFields | No | ||
| accountCurrency | No | ||
| originalReceipt | No |