We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f63bdc8 commit 378b8caCopy full SHA for 378b8ca
1 file changed
packages/opencode/src/tool/ls.ts
@@ -45,7 +45,10 @@ export const ListTool = Tool.defineEffect(
45
return {
46
description: DESCRIPTION,
47
parameters: z.object({
48
- path: z.string().describe("The absolute path to the directory to list (must be absolute, not relative)").optional(),
+ path: z
49
+ .string()
50
+ .describe("The absolute path to the directory to list (must be absolute, not relative)")
51
+ .optional(),
52
ignore: z.array(z.string()).describe("List of glob patterns to ignore").optional(),
53
}),
54
execute: (params: { path?: string; ignore?: string[] }, ctx: Tool.Context) =>
0 commit comments