Add Transaction
add_transactionRecord a new transaction in a Money Lover wallet. Specify category, amount, and date; optionally add a note and related parties for expense tracking.
Instructions
Create a new transaction in a wallet.
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>",
"categoryId": "<categoryId>",
"amount": "<amount>",
"date": "<date>"
},
"name": "add_transaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | No | JWT token returned by the login tool or derived from EMAIL/PASSWORD environment variables | |
| walletId | Yes | Wallet identifier | |
| categoryId | Yes | Category identifier | |
| amount | Yes | Transaction amount as string | |
| note | No | Optional transaction note | |
| date | Yes | Display date in YYYY-MM-DD format | |
| with | No | Optional array of related parties |