Runs JavaScript or Python in a sandboxed environment when the model decides it needs computation. Same sandbox as the Script workflow node – isolated, fast, with access to the language’s standard library. No network access and no persistent filesystem – scripts are purely computational – for now.The model calls the script with arguments, the sandbox executes it, and the result feeds back into the conversation. Useful for calculations, data formatting, validation, or any logic that’s easier to express in code than in natural language.