Overview
The Calculator tool lets your agent perform mathematical calculations during a conversation. Add it from Tools → Add → Calculator.Availability
- Built-in tool with no external integration required
- Singleton tool per agent: if one Calculator already exists, the add-menu item is disabled
Current Configuration
Calculator has no advanced setup form. When you add it, the tool is created with:- Name:
Calculator - Description:
Perform mathematical calculations
Supported Calculations
The Calculator evaluates safe mathematical expressions. It supports:- arithmetic operators:
+,-,*,/,//,%,** - parentheses for grouping
- functions:
abs,round,min,max,sum,sqrt,ceil,floor,log,log10,sin,cos,tan - constants:
pi,e
price * 0.2 for 20% of a price.
Calculator expressions are capped at 200 characters and do not support symbolic math, derivatives, integrals, or arbitrary code execution.
Recommended Prompt Pattern
Good Use Cases
- quoting totals after discounts or fees
- calculating installment amounts
- comparing percentage changes
- converting simple pricing logic into a precise spoken answer
Testing Checklist
- Add the tool in Expert Mode.
- Run a test conversation.
- Ask the agent to solve a few realistic calculations.
- Confirm the spoken answer matches the expected value.
- Check that the agent still explains the result in business language, not just raw numbers.