feat: update fields in tool calling

This commit is contained in:
Chandrapal Badshah
2025-08-11 19:22:04 +05:30
parent 5b7bf307d4
commit e9dbf58ec5
+2 -1
View File
@@ -9,13 +9,14 @@ import {
import { getFindingsSchema, getMetadataInfoSchema } from "@/types/lighthouse";
export const getFindingsTool = tool(
async ({ page, pageSize, query, sort, filters }) => {
async ({ page, pageSize, query, sort, filters, fields }) => {
return await getLighthouseFindings({
page,
pageSize,
query,
sort,
filters,
fields,
});
},
{