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:
# 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"
--inputintegrate 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, --totaltimeout--maxchars.--maxchars 800.--maxchars 2500 for most multi-line or explanation-heavy results. 1) retry with --assumption ... (use WA-provided suggestions when available),
2) only then rephrase/simplify --input.
skills/wolfram-alpha-llm/scripts/wa_llm.py--auth bearer: sends Authorization: Bearer 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共 1 个版本