diff options
Diffstat (limited to '.opencode')
| -rw-r--r-- | .opencode/tool/foo.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.opencode/tool/foo.ts b/.opencode/tool/foo.ts index 3d350de10..44ce990e3 100644 --- a/.opencode/tool/foo.ts +++ b/.opencode/tool/foo.ts @@ -1,6 +1,6 @@ -import z from "zod/v4" +import { tool } from "@opencode-ai/plugin" -export default { +export default tool((z) => ({ description: "foo tool for fooing", args: { foo: z.string().describe("foo"), @@ -8,4 +8,4 @@ export default { async execute() { return "Hey fuck you!" }, -} +})) |
