add_transaction
Create a new transaction in your Money Lover wallet to track expenses and income. Specify amount, category, date, and optional notes for accurate financial recording.
Instructions
Create a new transaction in a wallet.
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 |
Input Schema (JSON Schema)
{
"properties": {
"amount": {
"description": "Transaction amount as string",
"minLength": 1,
"type": "string"
},
"categoryId": {
"description": "Category identifier",
"minLength": 1,
"type": "string"
},
"date": {
"description": "Display date in YYYY-MM-DD format",
"pattern": "\\d{4}-\\d{2}-\\d{2}",
"type": "string"
},
"note": {
"description": "Optional transaction note",
"type": "string"
},
"token": {
"description": "JWT token returned by the login tool or derived from EMAIL/PASSWORD environment variables",
"minLength": 1,
"type": "string"
},
"walletId": {
"description": "Wallet identifier",
"minLength": 1,
"type": "string"
},
"with": {
"description": "Optional array of related parties",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"walletId",
"categoryId",
"amount",
"date"
],
"type": "object"
}