feat: archive zoo_backup for home sync
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
const { parametersSchema: z, defineCustomTool } = require("@roo-code/types")
|
||||
|
||||
module.exports = defineCustomTool({
|
||||
name: "hello_test",
|
||||
description: "A simple test tool that returns a greeting. Used to verify custom tool loading works.",
|
||||
parameters: z.object({
|
||||
name: z.string().optional().describe("Name to greet. Defaults to 'World'"),
|
||||
}),
|
||||
async execute({ name }) {
|
||||
return `Hello, ${name || "World"}! Custom tools are working. Time: ${new Date().toISOString()}`
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user