From 3b6c0ec0b3b4f2224311888d8f7be178ed2335da Mon Sep 17 00:00:00 2001 From: Dax Date: Thu, 18 Sep 2025 03:58:21 -0400 Subject: support custom tools (#2668) --- .opencode/tool/foo.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .opencode/tool/foo.ts (limited to '.opencode/tool') diff --git a/.opencode/tool/foo.ts b/.opencode/tool/foo.ts new file mode 100644 index 000000000..3d350de10 --- /dev/null +++ b/.opencode/tool/foo.ts @@ -0,0 +1,11 @@ +import z from "zod/v4" + +export default { + description: "foo tool for fooing", + args: { + foo: z.string().describe("foo"), + }, + async execute() { + return "Hey fuck you!" + }, +} -- cgit v1.2.3