Add a Money Lover transaction
add_transactionAdd a transaction to Money Lover after explicit confirmation, preventing duplicates and validating category ownership for accurate record-keeping.
Instructions
Create one transaction only after explicit confirmation. Validates category ownership and blocks exact duplicates by default.
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": {
"walletId": "<walletId>",
"amount": "<amount>",
"date": "<date>",
"confirmWrite": "<confirmWrite>"
},
"name": "add_transaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | Transaction date, YYYY-MM-DD | |
| note | No | Optional note | |
| with | No | ||
| token | No | ||
| amount | Yes | Transaction amount | |
| walletId | Yes | Wallet identifier | |
| categoryId | No | Category ID from get_categories | |
| categoryName | No | Exact category name; resolved inside the wallet | |
| confirmWrite | Yes | Must be true after the user has explicitly approved the write | |
| allowDuplicate | No | ||
| runtimeCategoryId | No | Runtime category ID from a real browser transaction request; overrides automatic mapping |