MCPcopy
hub / github.com/1Panel-dev/MaxKB / put

Method put

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

Source from the content-addressed store, hash-verified

140
141 )
142 def put(self, request: Request, workspace_id: str, tool_id: str):
143 return result.success(ToolSerializer.Operate(
144 data={'id': tool_id, 'workspace_id': workspace_id}
145 ).edit(request.data))
146
147 @extend_schema(
148 methods=['GET'],

Callers

nothing calls this directly

Calls 2

successMethod · 0.45
editMethod · 0.45

Tested by

no test coverage detected