Wolfram Compute
wolfram_computeEvaluate Wolfram Language code in a real Wolfram kernel, symbolic math (Integrate, Solve, DSolve, Simplify, Series, Limit), exact arithmetic, matrix algebra, number theory, unit conversion, and any Wolfram Language expression. Answers "integrate x^2 sin x", "solve this equation symbolically", "eigenvalues of this matrix". Give actual Wolfram Language code. Example: wolfram_compute({ code: "Integrate[x^2 Sin[x], x]" })
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"code": "Integrate[x^2 Sin[x], x]"
},
"name": "wolfram_compute"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Wolfram Language code to evaluate, e.g. "Solve[x^2 + 3x - 4 == 0, x]" or "Eigenvalues[{{1,2},{3,4}}]" | |
| time_constraint_seconds | No | Evaluation time limit in seconds, 1-60 (default 30) |