LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
LangSmith
  • Client
  • Run Trees
  • Traceable
  • Evaluation
  • Schemas
  • Langchain
  • Jest
  • Vitest
  • Wrappers
  • Anonymizer
  • Traceable
  • Jestlike
  • Vercel
  • Anthropic
  • Sandbox
⌘I

LangChain Assistant

Ask a question to get started

Enter to send•Shift+Enter new line

Menu

LangSmith
ClientRun TreesTraceableEvaluationSchemasLangchainJestVitestWrappersAnonymizerTraceableJestlikeVercelAnthropicSandbox
Language
Theme
JavaScriptlangsmithexperimentalsandboxSandboxClientupdateVolume
Method●Since v0.6

updateVolume

Update a volume's name and/or size.

You can update the display name, size, or both in a single request. Only storage size increases are allowed (storage backend limitation).

Copy
updateVolume(name: string, options: UpdateVolumeOptions): Promise<Volume>

Parameters

NameTypeDescription
name*string

Current volume name.

options*UpdateVolumeOptions

Update options.

View source on GitHub