hashbrown

ServerToolCallSource

A source a server tool call produced, such as a web page a search found. Citations in an answer refer to a source by its id.

API

export type ServerToolCallSource = {
  id: string;
  kind: "url" | "file" | "document" | "record";
  title: string;
  href?: string;
  snippet?: string;
  fileId?: string;
  containerId?: string;
  cited?: boolean;
};