Добавить расход
add_expenseRecord an expense in the drebedengi-mcp home accounting system by supplying a positive amount and category, with optional date, account, currency, and comment.
Instructions
Записать расход. amount — положительное число в валюте (например 349.90).
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 |
|---|---|---|---|
| date | No | Дата YYYY-MM-DD или YYYY-MM-DD HH:mm (по умолчанию — сейчас) | |
| amount | Yes | ||
| account | No | Счёт (id или название) | |
| comment | No | ||
| category | Yes | Категория расходов (id или название) | |
| currency | No | Валюта (код RUB/USD/EUR или id), по умолчанию основная |