Files
opencode/.opencode/tool/foo.ts
2025-09-18 05:42:59 -04:00

12 lines
261 B
TypeScript

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!"
},
})