package agent var SearchTool = FromFunction( func(ctx *Context, args struct { SearchFor string `description:"what to search for"` Question string `description:"the question to answer with the search results"` }) (FuncResponse, error) { return FuncResponse{}, nil }). WithName("search"). WithDescription("Search the web and read a few articles to find the answer to the question")