add_numbers
Sums any list of numbers with precise rounding to avoid floating-point errors. Ideal for calculating total expenses or performing arithmetic in personal finance.
Instructions
Helper tool for adding numbers together.
LLMs should use this tool for arithmetic operations to avoid calculation errors. This is especially useful for summing expenses, calculating totals, or performing any arithmetic where precision matters.
Args: numbers: List of numbers to add together. Can include negative values for subtraction.
Returns: Dictionary with the sum rounded to 2 decimal places to avoid floating-point precision issues.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| numbers | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||