Code Runner
Code Runner
Tool
Execute Code With Variables
execute_code_with_variablesExecute JavaScript or Python code with dynamic input variables that can be defined and passed as key-value pairs
Pricing
Per call
$0.01
Model
flat
Pay only for what you use. No subscriptions.
Inputs
input
stringvariables
stringcode *
stringenableNetworking
booleanlanguage *
stringmemoryLimit
numbertimeout
numberTry It
API
MCP Config
Input Parameters
Additional input data for the program (stdin)
Dynamic input variables as key-value pairs. Can be a JSON object or a JSON string (e.g., {"name": "John", "age": 25, "items": [1,2,3]} or "{\"name\": \"John\", \"age\": 25}")
Code to execute
Programming language to execute
Memory limit in MB (max 512)
Execution timeout in milliseconds (max 60000)

