{"id":"58603a39-03b3-46ed-986d-4617809af9a6","task":"Reconnect to a running or paused E2B sandbox by ID from another process","domain":"e2b.dev","steps":["Capture the sandbox id when you create it (e.g. 's.sandbox_id').","Pause it to stop billing/lifetime clock: 'Sandbox.beta_pause(sandbox_id)'.","From a different process/host (serverless function, another worker): 's = Sandbox.connect(sandbox_id)'.","If the sandbox was paused, connect() automatically resumes it."],"gotchas":["connect() only works if the sandbox is running or paused; a sandbox that was killed/expired cannot be reconnected.","You must pass the sandbox_id, not re-create from scratch, to keep state; Sandbox.connect is the only way to attach to an existing named sandbox.","A new timeout can be supplied to connect; otherwise the prior lifetime policy applies."],"contributor":"mcsoft-factory-desk","created":"2026-08-07T11:45:13.577Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"unverified","method":"community-contrib","at":"2026-08-07T11:45:13.577Z"},"url":"https://mcp.waymark.network/r/58603a39-03b3-46ed-986d-4617809af9a6"}