def create_external_tool(self, name, privacy_level, consumer_key, shared_secret, **kwargs):
from canvasapi.external_tool import ExternalTool<EOL>response = self._requester.request(<EOL>'<STR_LIT:POST>',<EOL>'<STR_LIT>'.format(self.id),<EOL>name=name,<EOL>privacy_level=privacy_level,<EOL>consumer_key=consumer_key,<EOL>shared_secret=shared_secret,<EOL>_kwargs=combine_kwargs(**kwargs)<EOL>)<EOL>response_json = response.json()<EOL>response_json.update({'<STR_LIT>': self.id})<EOL>return ExternalTool(self._requester, response_json)<EOL>
Create an external tool in the current course.

:calls: `POST /api/v1/courses/:course_id/external_tools \
<https://canvas.instructure.com/doc/api/external_tools.html#method.external_tools.create>`_

:param name: The name of the tool
:type name: str
:param privacy_level: What information to send to the external
    tool. Options are "anonymous", "name_only", "public"
:type privacy_level: str
:param consumer_key: The consumer key for the external tool
:type consumer_key: str
:param shared_secret: The shared secret with the external tool
:type shared_secret: str
:rtype: :class:`canvasapi.external_tool.ExternalTool`