Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Update guide

Vasek Mlejnsky554e23dfdca9
diff --git a/apps/docs/src/app/guide/custom-sandbox/page.mdx b/apps/docs/src/app/guide/custom-sandbox/page.mdx
index e6e0cf841..fc3f4d820 100644
--- a/apps/docs/src/app/guide/custom-sandbox/page.mdx
+++ b/apps/docs/src/app/guide/custom-sandbox/page.mdx
@@ -97,7 +97,7 @@ Postprocessing finished.
│ from e2b import Sandbox │
│ │
│ # Start sandbox │
-│ sandbox = Sandbox(id="my-agent-sandbox") │
+│ sandbox = Sandbox("my-agent-sandbox") │
│ │
│ # Interact with sandbox. Learn more here: │
│ # https://e2b.dev/docs/sandbox/overview │
@@ -110,7 +110,7 @@ Postprocessing finished.
│ import { Sandbox } from '@e2b/sdk' │
│ │
│ // Start sandbox │
-│ const sandbox = await Sandbox.create({ id: 'my-agent-sandbox' }) │
+│ const sandbox = await Sandbox.create('my-agent-sandbox') │
│ │
│ // Interact with sandbox. Learn more here: │
│ // https://e2b.dev/docs/sandbox/overview │