add_transaction
Record income or expense transactions to track financial activity and manage cash flow within the Corpus Tracker application.
Instructions
Add a new income or expense transaction. type: "income" or "expense" category: get user category from get_categories tool
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": {
"type": "<type>",
"amount": "<amount>",
"category": "<category>"
},
"name": "add_transaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | ||
| amount | Yes | ||
| category | Yes | ||
| description | No | ||
| date | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |