mirror of
https://github.com/aljazceru/opencode.git
synced 2026-01-10 03:14:55 +01:00
12 lines
220 B
TypeScript
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!"
|
|
},
|
|
}))
|