Skip to main content
LibreChat is joining ClickHouse to power the open-source Agentic Data Stack 🎉 Learn more
LibreChat

Calculator

Use the built-in Calculator tool in LibreChat agents

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.

How is this guide?