Tools/calc
Calculator

Calculator

Active

Models approximate math and get large or precise sums wrong; this computes the exact result.

3 tools

Exact calculation: evaluate math expressions (arithmetic, powers, roots, trig, logs, factorials), convert numbers between bases (binary, hex, decimal, and more), and convert Roman numerals. Computed locally with exact results, where a model would otherwise approximate.

Developer Toolscalculatormatharithmeticbase-conversionroman-numerals

Tools (3)

Evaluate a math expression exactly (arithmetic, functions, and constants).

Free

Example prompts

  • What is 1234567 * 89 / 7?
  • Calculate sqrt(2) + sin(pi/4)
  • What is 15% of 240?
  • Compute 2 to the power of 100

Parameters

expressionstringrequired

The math expression to evaluate (e.g. "(12 + 5) * 3", "sqrt(2)", "15/100*240").

API Usage

curl -X POST "https://skill.askfaro.com/skills/calc/run" \
  -H "Authorization: Bearer faro_<your_key>" \
  -H "Content-Type: application/json" \
  -d '{
  "intent": {
    "prompt": "What is 1234567 * 89 / 7?"
  }
}'

CLI Usage

askfaro describe calc/calc.evaluate

Install pip install askfaro-cli, then askfaro auth login.

Convert a number between bases (2 to 36), e.g. binary, hex, decimal.

Free

Example prompts

  • Convert FF from hex to decimal
  • What is 255 in binary?
  • Convert 1010 from binary to decimal
  • 2026 in hexadecimal

Parameters

valueinteger,stringrequired

The number to convert, using digits valid for from_base (e.g. "FF", "1010", "255").

to_baseintegerrequired

Base to convert to (2-36).

from_baseintegeroptional

Base of the input. Defaults to 10.

API Usage

curl -X POST "https://skill.askfaro.com/skills/calc/run" \
  -H "Authorization: Bearer faro_<your_key>" \
  -H "Content-Type: application/json" \
  -d '{
  "intent": {
    "prompt": "Convert FF from hex to decimal"
  }
}'

CLI Usage

askfaro describe calc/calc.base_convert

Install pip install askfaro-cli, then askfaro auth login.

Convert between integers and Roman numerals.

Free

Example prompts

  • What is 2026 in Roman numerals?
  • Convert MMXXVI to a number
  • Roman numeral for 49

Parameters

valueinteger,stringrequired

An integer 1-3999 for to_roman, or a Roman numeral string for from_roman.

actionstringoptional

Direction of conversion. Defaults to to_roman.

API Usage

curl -X POST "https://skill.askfaro.com/skills/calc/run" \
  -H "Authorization: Bearer faro_<your_key>" \
  -H "Content-Type: application/json" \
  -d '{
  "intent": {
    "prompt": "What is 2026 in Roman numerals?"
  }
}'

CLI Usage

askfaro describe calc/calc.roman

Install pip install askfaro-cli, then askfaro auth login.