Calculator

Evaluate mathematical expressions directly in chat

The built-in Calculator tool evaluates mathematical expressions directly in chat – from basic arithmetic and grouped expressions to functions like sin, cos, sqrt, or log, plus constants and more complex terms.

Technical details

  • Method: builtin-calculator
  • Input: expression
  • Output: expression plus evaluated result

For multi-step calculations, it helps to have the assistant show the exact expression before returning the result, so you can follow how it got there.

Was this page helpful?