MCPcopy Index your code
hub / github.com/1Panel-dev/MaxKB / post

Method post

apps/tools/views/tool.py:111–114  ·  view source on GitHub ↗
(self, request: Request, workspace_id: str)

Source from the content-addressed store, hash-verified

109 RoleConstants.WORKSPACE_MANAGE.get_workspace_role(), RoleConstants.USER.get_workspace_role()
110 )
111 def post(self, request: Request, workspace_id: str):
112 return result.success(ToolSerializer.Debug(
113 data={'workspace_id': workspace_id, 'user_id': request.user.id}
114 ).debug(request.data))
115
116 class Operate(APIView):
117 authentication_classes = [TokenAuth]

Callers

nothing calls this directly

Calls 2

successMethod · 0.45
debugMethod · 0.45

Tested by

no test coverage detected