add_expense
Records a new expense with amount, category, and optional details like description and time. Use for tracking personal or business spending.
Instructions
Add a new expense to the tracker.
Args:
amount: The cost of the expense.
category: The category of the expense (e.g., Food, Transport, Rent).
description: A brief description of what was purchased.
time: The time when the expense occured down to the day(default is current time).
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>"
},
"name": "add_expense"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| time | No | 2026-09-13T06:15:40.468342 | |
| amount | Yes | ||
| category | Yes | ||
| description | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |