LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • Client
  • AsyncClient
  • Run Helpers
  • Run Trees
  • Evaluation
  • Schemas
  • Utilities
  • Wrappers
  • Anonymizer
  • Testing
  • Expect API
  • Middleware
  • Pytest Plugin
  • Deployment SDK
⌘I

Chat LangChain

What can I help with?

Enter to send·Shift+Enter new line

Menu

OverviewClientAsyncClientRun HelpersRun TreesEvaluationSchemasUtilitiesWrappersAnonymizerTestingExpect APIMiddlewarePytest PluginDeployment SDK
Language
Theme
Pythonlangsmithtypessandboxesbox_create_paramsVolume
Class●Since v0.14

Volume

Copy
Volume()

Bases

TypedDict

Constructors

Attributes

View source on GitHub
constructor
__init__
NameType
mount_pathRequired[str]
volumeRequired[str]
read_onlybool
attribute
mount_path: Required[str]
attribute
volume: Required[str]
attribute
read_only: bool

MountPath is the absolute directory inside the sandbox where the volume appears.

Volume is the volume's ID or name.

ReadOnly mounts the volume read-only; many sandboxes may do so at once.