bort_expense_add
Add an expense to a project by entering amount in rubles or kopecks; defaults to today and 'other' category, then returns the updated project margin.
Instructions
Добавить затрату в проект: amount в рублях («1 200,50») или amount_minor в копейках; spent_on по умолчанию сегодня (BORT_TZ), категория по умолчанию other; возвращает новую маржу проекта
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "bort_expense_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | No | ||
| comment | No | ||
| currency | No | ||
| spent_on | No | ||
| project_id | No | ||
| amount_minor | No | ||
| project_name | No | ||
| category_code | No |