Calculator
Use the built-in Calculator tool in LibreChat agents
Archived documentation
You are reading the frozen documentation for v0.8.7, which is no longer maintained. Go to the latest docs.
Calculator is a built-in agent tool for arithmetic and symbolic calculations. It does not require an API key or environment variable.
Setup
Add Calculator to an Agent
In LibreChat, select Agents, create or edit an agent, open the agent's Tools list, select Calculator, and save the agent.
Test It
Ask the agent to calculate something that benefits from a tool call:
Calculate 12345 * 6789 and show the result.