summaryrefslogtreecommitdiffhomepage
path: root/.opencode/tool/foo.ts
blob: 44ce990e3e84257b9e04f595cf8a7fc925f7d8fb (plain)
1
2
3
4
5
6
7
8
9
10
11
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!"
  },
}))