'POST /api/tools/{tool_id}/dependencies
This endpoint is also available through POST /api/tools/{tool_id}/install_dependencies,
but will be deprecated in the future.
Attempts to install requirements via the dependency resolver
parameters:
build_dependency_cache:  If true, attempts to cache dependencies for this tool
force_rebuild:           If true and cache dir exists, attempts to delete cache dir'

@expose_api
@web.require_admin
def install_dependencies(self, trans, id, **kwds):

    tool = self._get_tool(id)
    tool._view.install_dependencies(tool.requirements)
    if kwds.get('build_dependency_cache'):
        tool.build_dependency_cache(**kwds)
    return tool.tool_requirements_status
