queryWolfram

3 credits per call

Query Wolfram Alpha computational knowledge engine. Returns structured plain text optimized for LLM consumption. Best practices: - Simplify queries to keywords (e.g., "France population" instead of "how many people live in France") - Use * for multiplication (e.g., "6*10^14" not "6e14") - Use single-letter variables (x, n, n1) - Include space between compound units (e.g., "ohm m" for ohm-meter) - Use named constants (e.g., "speed of light" not "299792458 m/s") - Make separate calls for multiple properties

Try it

Open in playground
kirha tools run wolfram_queryWolfram \
  --input '{
    "input": "<input>"
  }'

Uses the key saved by kirha auth login.

  • inputstring, required

    Natural language query for Wolfram Alpha

  • assumptionstring

    Disambiguation assumption (e.g., '*C.mercury-_*Planet-' for mercury as planet)

  • latlongstring

    Lat/long coordinates (e.g., '40.42,-3.71')

  • locationstring

    Location for geo-dependent queries

  • maxcharsnumber, default 6800, 100 to 10000
  • unitsstring

    One of metric, nonmetric