package agent import "gitea.stevedudenhoeffer.com/steve/answer/pkg/toolbox" var AnswerTool = toolbox.FromFunction( func(ctx *Context, args struct { Answer string `description:"the answer to the question"` }) (toolbox.FuncResponse, error) { return toolbox.FuncResponse{Result: args.Answer}, nil }). WithName("answer"). WithDescription("Answer the question")