schema
schema: ZodObject<{
maxResults: ZodOptional<ZodNumber>;
query: ZodString;
resource: ZodOptional<ZodEnum<["messages", "threads"]>>;
}, "strip", ZodTypeAny, {
query: string;
maxResults?: number;
resource?: "messages" | "threads";
}, {
query: string;
maxResults?: number;
resource?: "messages" | "threads";
}> = ...
Type declaration
-
maxResults: ZodOptional<ZodNumber>
-
query: ZodString
-
resource: ZodOptional<ZodEnum<["messages", "threads"]>>
Type declaration
-
query: string
-
Optional
maxResults?: number
-
Optional
resource?: "messages" | "threads"
Type declaration
-
query: string
-
Optional
maxResults?: number
-
Optional
resource?: "messages" | "threads"