Record an expense
record_expenseRecord a payment made for shared household expenses, noting who paid and how to split the cost among members.
Instructions
Record that someone paid for something on the household's behalf. This is the main tool: use it the moment the user mentions paying.
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": {
"amount": "<amount>",
"description": "<description>"
},
"name": "record_expense"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | What was paid, e.g. '42.50' | |
| shares | No | Name to amount, when people owe different amounts. Must sum to the total. | |
| paid_by | No | Who paid. Omit when the speaker paid. | |
| description | Yes | What it was for, e.g. 'dinner' | |
| split_between | No | Who shares it. Omit to split across the whole household. | |
| idempotency_key | No | Repeat unchanged when resending; omit otherwise. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| settle | Yes | ||
| summary | Yes | ||
| balances | Yes | ||
| household | Yes |