log_expense
Log an expense to track monthly spending, deduct it from your salary, and see the updated remaining balance.
Instructions
Adds a new expense to the month's total. Deducts it from the salary and instantly computes the remaining balance.
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": {
"name": "<name>",
"month": "<month>",
"description": "<description>",
"amount_in_dollars": "<amount_in_dollars>"
},
"name": "log_expense"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| month | Yes | ||
| description | Yes | ||
| amount_in_dollars | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |