The invention provides a function calling method and device and a computer readable medium, and the method comprises the steps: obtaining a function calling request in a
natural language form, which is input by a user, through a preset entrance of an
instant messaging application, carrying out the
natural language recognition
processing of the function calling request, obtaining the request intention and request parameters of the function calling request, and carrying out the recognition
processing of the function calling request; and matching the target tool class method in the tool set according to the request intention, and executing the
business logic of the target tool class method according to the request parameter. Wherein the tool set comprises at least one pre-registered tool class method, when a new function is needed, only the new tool class method needs to be added in the tool set, a core engine does not need to be modified, zero development access is achieved, and meanwhile the requirement is described through a
natural language of a user, so that the user experience is improved. According to the method and the
system, the required function is realized by automatically matching a proper tool method, and a user does not need to memorize multiple sets of different API operation processes, so that a traditional API development mode can be replaced, the cost is lower, and the efficiency is higher.