v1.0.0 · MCP Tool · system · registry.pascalai.org
Execute code in multiple languages via local runtime. Operations: exec (run code snippet), exec_file (run a script file), eval_expr (evaluate expression). Supports Python, JavaScript, Lua, Shell. Requires the language runtime to be installed.
codeexecutepythonjavascriptscriptingsandbox
Input Parameters
Parameter
Type
Description
operationrequired
string
exec: run code string; exec_file: run a file; eval_expr: evaluate expression and return value. One of: exec, exec_file, eval_expr.
coderequired
string
Code to execute (for exec/eval_expr).
argsoptional
string
Command-line arguments JSON array or string.
timeoutSecoptional
integer
Execution timeout in seconds (default: 30). Default: 30.
databasePathoptional
string
SQLite database path for SQLite eval_expr operations.