LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • Agent
  • Middleware
  • Backends
  • Sandboxes
  • Skills
  • Subagents
  • 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

OverviewAgentMiddlewareBackendsSandboxesSkillsSubagentsTypes
Modal
Daytona
Deno
Node VFS
Sandbox Standard Tests
Vitest
Language
Theme
JavaScriptdeepagentsbrowserDeleteResult
Interface●Since v1.11

DeleteResult

Result from backend delete operations.

Copy
interface DeleteResult

Properties

View source on GitHub
property
error: string
property
metadata: Record<string, unknown>
property
path: string
deprecatedproperty
filesUpdate: Record<string, null> | null

Error message on failure, undefined on success

Metadata for the delete operation, attached to the ToolMessage

File path of deleted file or directory, undefined on failure

State update dict for checkpoint backends, null for external storage. Deletions are represented as null values keyed by removed path.