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

Function call_tool

tests/test_integration.c:169–173  ·  view source on GitHub ↗

Helper: call a tool and return response JSON. Caller must free(). */

Source from the content-addressed store, hash-verified

167
168/* Helper: call a tool and return response JSON. Caller must free(). */
169static char *call_tool(const char *tool, const char *args) {
170 if (!g_srv)
171 return NULL;
172 return cbm_mcp_handle_tool(g_srv, tool, args);
173}
174
175TEST(integ_index_has_nodes) {
176 /* Open the indexed db directly and check node counts */

Callers 1

test_integration.cFile · 0.70

Calls 1

cbm_mcp_handle_toolFunction · 0.85

Tested by

no test coverage detected