more tools

This commit is contained in:
Dax Raad
2025-06-04 13:33:25 -04:00
parent 90d85e6393
commit fb88705bdc
7 changed files with 126 additions and 24 deletions

View File

@@ -22,8 +22,8 @@ export const ListTool = Tool.define({
id: "opencode.list",
description: DESCRIPTION,
parameters: z.object({
path: z.string().optional(),
ignore: z.array(z.string()).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(),
}),
async execute(params) {
const app = App.info()