Skip to main content

Module code_sandbox

Module code_sandbox 

Source
Expand description

Sandboxed code execution tool.

Lets the model write and run code in a restricted subprocess — no network, no filesystem escape, hard timeout. Supports JavaScript/TypeScript (Deno) and Python. Neither runtime is bundled; we detect what’s available and report clearly when nothing is found.

Functions§

execute