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

Chat LangChain

What can I help with?

Enter to send·Shift+Enter new line

Menu

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

DeleteResult

Result from backend delete operations.

Copy
interface DeleteResult

Properties

property
error: string

Error message on failure, undefined on success

property
metadata: Record<string, unknown>

Metadata for the delete operation, attached to the ToolMessage

property
path: string

File path of deleted file or directory, undefined on failure

deprecatedproperty
filesUpdate: Record<string, null> | null

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

View source on GitHub