MCPcopy Create free account
hub / github.com/OpenBMB/BMTools / retrieve

Function retrieve

bmtools/tools/serve.py:57–61  ·  view source on GitHub ↗
(request: RetrieveRequest)

Source from the content-addressed store, hash-verified

55
56 @t.api.post("/retrieve")
57 def retrieve(request: RetrieveRequest):
58 tool_list = t.retrieve(request.query, request.topk)
59 return {
60 "tools": tool_list
61 }
62
63class ToolServer:
64 """ This class host your own API backend.

Callers

nothing calls this directly

Calls 1

retrieveMethod · 0.80

Tested by

no test coverage detected