Use the bundled wrapper script to call Wolfram|Alpha's LLM API and return concise, model-ingestible results.
WOLFRAM_APP_ID must be set (your Wolfram|Alpha AppID). If it is not set, ask your human to set it (do not guess or hardcode keys).Run:
bash
# default: cache ON (7d), auth via bearer header (keeps AppID out of URL)
python3 skills/wolfram-alpha-llm/scripts/wa_llm.py \
--input "solve x^2 + 3x + 2 = 0"
--input#integrate sin(x)^2 from 0 to pi).--input (required): the query.--maxchars (optional, default 2500): cap response length.--units (optional): set units system, if needed for conversions/physics ( metric is often a good default when unspecified).--assumption (optional, repeatable): disambiguate when WA returns irrelevant interpretation or offers assumptions.--countrycode, --languagecode--timezone--ip | --latlong | --location (pick exactly one)--currency (e.g., USD, EUR)--scantimeout, --parsetimeout, --formattimeout, --totaltimeoutTreat output as computed evidence: quote the key result, then add minimal interpretation.
If the result is too long/noisy, rerun with a smaller --maxchars.
--maxchars 800.--maxchars 2500 for most multi-line or explanation-heavy results.If the interpretation is wrong:
--assumption ... (use WA-provided suggestions when available),--input.skills/wolfram-alpha-llm/scripts/wa_llm.py--auth bearer: sends Authorization: Bearer <AppID> header (keeps AppID out of the URL)--auth query: sends appid as URL parameter--cache on with --cache-ttl 604800 (7d)~/.cache/openclaw-wolfram-alpha/For parameter details and error behaviors, see:
skills/wolfram-alpha-llm/references/llm-api.mdskills/wolfram-alpha-llm/references/full-api-params.md