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

Tool part.

Type declaration

  • Optionalcustom?: Record<string, unknown>
  • Optionaldata?: unknown
  • Optionalmedia?: undefined
  • Optionalmetadata?: Record<string, unknown>
  • Optionaltext?: undefined
  • toolRequest: { input?: unknown; name: string; ref?: string }
  • OptionaltoolResponse?: undefined