Create record
create_recordRecords an income or an expense; the category's type decides which. Currency defaults to the user's display currency and payment method to the one used by the most recent record (or the first payment method when there are no records yet). The date defaults to today in UTC, which can be a day off from the user's local date: pass the user's local date (YYYY-MM-DD) as date when you know it. The result lists the defaults that were applied.
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": {
"categoryId": "<categoryId>",
"amount": "<amount>"
},
"name": "create_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Day of the transaction; defaults to today in UTC, so pass the user's local date when you know it. Format: YYYY-MM-DD or an RFC 3339 timestamp such as 2026-03-05T14:30:00Z. | |
| amount | Yes | Amount in the record's currency, at least 0.01. | |
| currency | No | Currency of the amount; defaults to the user's display currency. | |
| categoryId | Yes | Category ID from list_categories. | |
| description | No | Short description, e.g. the merchant or purpose. | |
| paymentMethodId | No | Payment method ID from list_payment_methods; defaults to the payment method of the most recent record. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| record | Yes | ||
| defaultsApplied | Yes |