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

Method get

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

Source from the content-addressed store, hash-verified

166 )
167 @log(menu='Tool', operate='Get tool')
168 def get(self, request: Request, workspace_id: str, tool_id: str):
169 return result.success(ToolSerializer.Operate(
170 data={'id': tool_id, 'workspace_id': workspace_id}
171 ).one())
172
173 @extend_schema(
174 methods=['DELETE'],

Callers

nothing calls this directly

Calls 2

successMethod · 0.45
oneMethod · 0.45

Tested by

no test coverage detected