def calltips(request_data):
code = request_data['<STR_LIT:code>']<EOL>line = request_data['<STR_LIT>'] + <NUM_LIT:1><EOL>column = request_data['<STR_LIT>']<EOL>path = request_data['<STR_LIT:path>']<EOL>encoding = '<STR_LIT:utf-8>'<EOL>script = jedi.Script(code, line, column, path, encoding)<EOL>signatures = script.call_signatures()<EOL>for sig in signatures:<EOL><INDENT>results = (str(sig.module_name), str(sig.name),<EOL>[p.description for p in sig.params], sig.index,<EOL>sig.bracket_start, column)<EOL>return results<EOL><DEDENT>return []<EOL>
Worker that returns a list of calltips.

A calltips is a tuple made of the following parts:
  - module_name: name of the module of the function invoked
  - call_name: name of the function that is being called
  - params: the list of parameter names.
  - index: index of the current parameter
  - bracket_start

:returns tuple(module_name, call_name, params)