mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-23 18:54:21 +01:00
12 lines
261 B
TypeScript
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!"
|
|
},
|
|
})
|