Files
opencode/.opencode/tool/foo.ts
2025-09-18 04:26:57 -04:00

12 lines
220 B
TypeScript

import { tool } from "@opencode-ai/plugin"
export default tool((z) => ({
description: "foo tool for fooing",
args: {
foo: z.string().describe("foo"),
},
async execute() {
return "Hey fuck you!"
},
}))