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
kirha tools run wolfram_queryWolfram \
--input '{
"input": "<input>"
}'Uses the key saved by kirha auth login.
inputstring, requiredNatural language query for Wolfram Alpha
assumptionstringDisambiguation assumption (e.g., '*C.mercury-_*Planet-' for mercury as planet)
latlongstringLat/long coordinates (e.g., '40.42,-3.71')
locationstringLocation for geo-dependent queries
maxcharsnumber, default 6800, 100 to 10000unitsstringOne of metric, nonmetric