mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-07-24 04:51:51 +00:00
feat: update fields in tool calling
This commit is contained in:
@@ -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,
|
||||
});
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user