FileSearchResultSet: {
    hasMore: boolean;
    nextPageToken?: string;
    results: FileSearchResult[];
    totalMatches?: number;
}

The complete result set from a search operation.

Type declaration

  • hasMore: boolean

    Whether there are more results available beyond maxResults.

  • Optional nextPageToken?: string

    Token or cursor for fetching the next page of results. Undefined if hasMore is false or provider doesn't support pagination.

  • results: FileSearchResult[]

    Array of matching files.

  • Optional totalMatches?: number

    Total number of matches found (may be greater than results.length if limited by maxResults). Undefined if provider doesn't return total count.