add_expense
Log an expense in PKR with just the amount. Add date, merchant, category, note, or tags as needed; category is inferred from past expenses when omitted.
Instructions
Log an expense in PKR. Only amount is required.
date accepts YYYY-MM-DD, 'today', 'yesterday', '-3d', or a day number; it
defaults to today. When category is omitted it is inferred from previous
expenses at the same merchant. The returned record reflects what was actually
saved, including anything inferred.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | ||
| note | No | ||
| tags | No | ||
| amount | Yes | ||
| category | No | ||
| merchant | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||