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
JavaScriptdeepagentstypesSupportedResponseFormat
Type●Since v1.7

SupportedResponseFormat

Union of all response format types accepted by createDeepAgent.

Matches the formats supported by LangChain's createAgent:

  • ToolStrategy<T> — from ToolStrategy.fromSchema(schema)
  • ProviderStrategy<T> — from providerStrategy(schema)
  • TypedToolStrategy<T> — from toolStrategy(schema)
  • ResponseFormat — the base union of the above single-strategy types
Copy
SupportedResponseFormat: ResponseFormat | TypedToolStrategy<any>
View source on GitHub