record_balance
Record a money exchange with a friend: specify who paid, and track the resulting debt.
Instructions
Record a money exchange with a friend.
direction options: "i_paid" → I paid for them → they owe me ₹amount "they_paid" → They paid for me → I owe them ₹amount
Examples:
"Rahul owes me ₹500 for recharge" → direction='i_paid', friend_id=Rahul's id
"I paid ₹120 for Prince for chai" → direction='i_paid', friend_id=Prince's id
"Jay paid ₹200 for my food at Domino's" → direction='they_paid', friend_id=Jay's id
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | ||
| reason | No | ||
| direction | Yes | ||
| friend_id | Yes | ||
| expense_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||