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
JavaScriptdeepagentsindexmultimodalBlockSupported
Function●Since v1.14

multimodalBlockSupported

Whether the model accepts a multimodal block.

Missing profile fields default to supported, since profile coverage is incomplete — except file blocks, where a missing fileMimeTypes defaults to unsupported (see fileBlockSupported).

Copy
multimodalBlockSupported(
  block: Block,
  profile: Profile,
  inToolMessage: boolean
): boolean

Parameters

NameTypeDescription
block*Block
profile*Profile
inToolMessage*boolean
View source on GitHub