diff options
Diffstat (limited to '.opencode/tool/foo.ts')
| -rw-r--r-- | .opencode/tool/foo.ts | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/.opencode/tool/foo.ts b/.opencode/tool/foo.ts index 44ce990e3..ac70798c0 100644 --- a/.opencode/tool/foo.ts +++ b/.opencode/tool/foo.ts @@ -1,11 +1,11 @@ import { tool } from "@opencode-ai/plugin" -export default tool((z) => ({ - description: "foo tool for fooing", +export default tool({ + description: "call this tool when you want to give up", args: { - foo: z.string().describe("foo"), + message: tool.schema.string().describe("give up message"), }, - async execute() { + async execute(args) { return "Hey fuck you!" }, -})) +}) |
