execute_mathematica
Run Mathematica code to perform calculations and verify mathematical derivations. Supports output in text, LaTeX, or Mathematica format.
Instructions
Execute Mathematica code and return the result
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"code": "<code>"
},
"name": "execute_mathematica"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Mathematica code to execute | |
| format | No | Output format (text, latex, or mathematica) | text |