evaluate
Execute Wolfram Language scripts and retrieve computed results, including output from Print statements and the last line's value.
Instructions
Evaluate a Wolfram Language script by running the wolframscript -print -file <script> command.
Documentation for Wolfram Language: https://context7.com/websites/reference_wolfram_language/llms.txt
IMPORTANT: The tool is returning the result of the last line executed in the script, and any expression printed explicitly with Print[].
Arguments: script (str): Wolfram Language script to execute.
Returns: str: The result of the Wolfram Language script as a string.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |