Update an entry
update_entryChange an existing expense or payment. Only the fields you pass are changed. Entry ids come from get_split. Works on simple, accountless splits. Secure splits (created by a signed-in user) are read-only here and must be opened in a browser.
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": {
"split": "<split>",
"entry_id": "<entry_id>"
},
"name": "update_entry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | New recipient — payments only. | |
| date | No | Date as YYYY-MM-DD. Defaults to today. | |
| split | Yes | The split key, or the whole https://split.xuper.fun/k/<key> link. | |
| amount | No | Amount in the split's currency, as a decimal (e.g. 249.50). | |
| shares | No | Uneven split. Either an exact `amount` per person (must add up to the total) or a relative `weight` per person (e.g. weight 2 for a couple). Don't combine with split_between. | |
| paid_by | No | Move the entry to a different payer. | |
| entry_id | Yes | The entry's id, from get_split. | |
| description | No | ||
| split_between | No | Names of the people sharing this cost, split equally. Defaults to everyone. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| url | Yes | ||
| title | Yes | ||
| secure | Yes | ||
| entries | Yes | ||
| settled | Yes | ||
| currency | Yes | ||
| created_at | Yes | ||
| settlement | Yes | ||
| total_spent | Yes | ||
| participants | Yes |