summaryrefslogtreecommitdiffhomepage
path: root/.opencode/tool/foo.ts
blob: ac70798c0252ef770f9c5f74d0546d1a87fe662b (plain)
1
2
3
4
5
6
7
8
9
10
11
import { tool } from "@opencode-ai/plugin"

export default tool({
  description: "call this tool when you want to give up",
  args: {
    message: tool.schema.string().describe("give up message"),
  },
  async execute(args) {
    return "Hey fuck you!"
  },
})