Log transaction
log_transactionCreate one personal expense transaction from explicit structured fields. Expense-only: do not use for income, salary deposits, account transfers, bank credential storage, budgets, investment advice, or calendar tasks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | ||
| note | No | Optional short note to store with the transaction. | |
| amount | Yes | Positive decimal amount encoded as a string. Must not include currency symbols or thousands separators. | |
| source | No | ||
| category | Yes | Expense category name selected from list_categories when possible. | |
| currency | Yes | ISO 4217 currency code, e.g. USD, EUR, GBP. | |
| merchant | No | Merchant or payee name in plain text, preferably in English when the user asks to save in English. | |
| timezone | Yes | IANA timezone used to interpret dates and relative words like today or yesterday, e.g. 'UTC'. | |
| subcategory | No | ||
| category_color | No | ||
| client_request_id | No | Optional idempotency key. Omit for normal one-off calls. | |
| duplicate_confirmation | No | Confirmation payload used only after a duplicate transaction warning. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||