Add Expense to Task
task_add_expenseRecord an expense for the current task by entering a description and amount. Optionally specify when the expense occurred.
Instructions
Use this when the user wants to record an expense or cost associated with the currently running task, such as travel, materials, or client entertainment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| description | Yes | Description of what the expense was for (e.g., "Taxi to client site", "Lunch meeting", "Materials") | |
| amount | Yes | Expense amount as a decimal string in the user's default currency (e.g. "12.50"). The API stores amounts as BigDecimal strings. | |
| dateTime | No | Optional timestamp for when the expense occurred in ISO 8601 format. If not provided, uses current time. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| success | Yes | Whether the expense was added successfully | |
| expenseDescription | No | The expense description | |
| amount | No | The expense amount recorded (decimal string) |