LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • Agent
  • Middleware
  • Backends
  • Sandboxes
  • Skills
  • Subagents
  • Configuration
  • Types
Modal
Daytona
Deno
Node VFS
Sandbox Standard Tests
  • Vitest
⌘I

LangChain Assistant

Ask a question to get started

Enter to send•Shift+Enter new line

Menu

OverviewAgentMiddlewareBackendsSandboxesSkillsSubagentsConfigurationTypes
Modal
Daytona
Deno
Node VFS
Sandbox Standard Tests
Vitest
Language
Theme
JavaScriptdeepagentsindexSandboxInfo
Interface●Since v1.7

SandboxInfo

Copy
interface SandboxInfo

Properties

View source on GitHub

Example

property
metadata: MetadataT
property
sandboxId: string

Metadata for a single sandbox instance.

This lightweight structure is returned from list operations and provides basic information about a sandbox without requiring a full connection.

Metadata for the edit operation, attached to the ToolMessage

Unique identifier of the sandbox to delete

Copy
// Using default metadata type
const info: SandboxInfo = {
  sandboxId: "sb_abc123",
  metadata: { status: "running", createdAt: "2024-01-15T10:30:00Z" },
};

// Using typed metadata
interface MyMetadata {
  status: "running" | "stopped";
  createdAt: string;
}
const typedInfo: SandboxInfo<MyMetadata> = {
  sandboxId: "sb_abc123",
  metadata: { status: "running", createdAt: "2024-01-15T10:30:00Z" },
};