import { tool } from "@opencode-ai/plugin" export default tool({ description: "Say hello to a person. Use this tool when explicitly asked to call the hello tool.", args: { name: tool.schema.string().describe("The name of the person to greet"), }, async execute(args) { const message = `HELLO_TOOL_CALLED ${Date.now()}: Hello, ${args.name}!` console.error(`[hobs.nvim] hello tool called with name=${JSON.stringify(args.name)}`) return message }, })