Defines a tool that model can call to access external knowledge.