Create new transaction
createTransactionCreate income, expense, or investment transactions with amount, category, and payment mode to record and analyze spending patterns in Budgetsco.
Instructions
Create new transaction.
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": {
"amount": "<amount>",
"category": "<category>",
"paymentMode": "<paymentMode>",
"type": "<type>"
},
"name": "createTransaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Type of the transaction | |
| amount | Yes | Amount of the transaction | |
| category | Yes | Category of the transaction. Try to be as specific as possible since this helps in better analysis of spending patterns. | |
| description | No | Description of the transaction | |
| paymentMode | Yes | Payment mode | |
| transactionId | No | Id of the existing transaction. If creating a new transaction, this should be null or undefined. | |
| isNewCustomCategory | No | Is this a new custom category? |