mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-03-31 22:32:28 +00: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!"
|
|
},
|
|
}))
|