ToolResponsePart: {
    custom?: Record<string, unknown>;
    data?: unknown;
    media?: undefined;
    metadata?: Record<string, unknown>;
    text?: undefined;
    toolRequest?: undefined;
    toolResponse: { name: string; output?: unknown; ref?: string };
}

Tool response part.

Type declaration

  • Optionalcustom?: Record<string, unknown>
  • Optionaldata?: unknown
  • Optionalmedia?: undefined
  • Optionalmetadata?: Record<string, unknown>
  • Optionaltext?: undefined
  • OptionaltoolRequest?: undefined
  • toolResponse: { name: string; output?: unknown; ref?: string }