Skip to content
1 min read · 51 words

Variable: E_CLAUDE_CODE_CLI_UNSUPPORTED_MEDIA_MODALITY ​

ts
const E_CLAUDE_CODE_CLI_UNSUPPORTED_MEDIA_MODALITY: CreatedException<
  [string, string, string]
>;

Defined in: src/batteries/llm/claude_code_cli/exceptions.ts:161

Thrown when a @nhtio/adk!Media whose modality cannot be represented reaches either direction of this battery under the corresponding unsupportedMediaPolicy/ unsupportedResultMediaPolicy: 'throw' — bidirectional: inbound prompt media (a -p string has no native image channel) and outbound tool-result media (only text/image MCP content blocks are supported).