chore: generate
This commit is contained in:
parent
f63bdc8e08
commit
378b8ca241
1 changed files with 4 additions and 1 deletions
|
|
@ -45,7 +45,10 @@ export const ListTool = Tool.defineEffect(
|
||||||
return {
|
return {
|
||||||
description: DESCRIPTION,
|
description: DESCRIPTION,
|
||||||
parameters: z.object({
|
parameters: z.object({
|
||||||
path: z.string().describe("The absolute path to the directory to list (must be absolute, not relative)").optional(),
|
path: z
|
||||||
|
.string()
|
||||||
|
.describe("The absolute path to the directory to list (must be absolute, not relative)")
|
||||||
|
.optional(),
|
||||||
ignore: z.array(z.string()).describe("List of glob patterns to ignore").optional(),
|
ignore: z.array(z.string()).describe("List of glob patterns to ignore").optional(),
|
||||||
}),
|
}),
|
||||||
execute: (params: { path?: string; ignore?: string[] }, ctx: Tool.Context) =>
|
execute: (params: { path?: string; ignore?: string[] }, ctx: Tool.Context) =>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue