Skip to content
1 min read · 16 words

Type Alias: WrapperToolResultContentBlock ​

ts
type WrapperToolResultContentBlock =
  | {
      text: string;
      type: "text";
    }
  | {
      data: string;
      mimeType: string;
      type: "image";
    };

Defined in: src/batteries/llm/claude_code_cli/wire.ts:108

One MCP content block a tool-call response may carry.