'POST /api/tools/{tool_id}/build_dependency_cache
Attempts to cache installed dependencies.
parameters:
force_rebuild:           If true and chache dir exists, attempts to delete cache dir'

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

    tool = self._get_tool(id)
    tool.build_dependency_cache(**kwds)
    return tool.tool_requirements_status
