MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / tool_text

Method tool_text

tests/windows/mcp_stdio.py:130–135  ·  view source on GitHub ↗
(resp)

Source from the content-addressed store, hash-verified

128
129 @staticmethod
130 def tool_text(resp):
131 if "error" in resp:
132 return None, resp["error"]
133 parts = [c.get("text", "") for c in resp.get("result", {}).get("content", [])
134 if c.get("type") == "text"]
135 return "".join(parts), None
136
137 def close(self):
138 if not self.proc:

Callers 3

graph_function_countFunction · 0.80
mainFunction · 0.80
index_and_countFunction · 0.80

Calls

no outgoing calls

Tested by 3

graph_function_countFunction · 0.64
mainFunction · 0.64
index_and_countFunction · 0.64