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

Function dc_walk_call

tests/test_mcp.c:17544–17551  ·  view source on GitHub ↗

detect_changes on the fixture; `extra` is appended to the argument object * (start it with a comma). Returns the tool's text content. */

Source from the content-addressed store, hash-verified

17542/* detect_changes on the fixture; `extra` is appended to the argument object
17543 * (start it with a comma). Returns the tool's text content. */
17544static char *dc_walk_call(dc_walk_fixture_t *fx, const char *extra) {
17545 char args[900];
17546 snprintf(args, sizeof(args), "{\"project\":\"%s\"%s}", fx->project, extra ? extra : "");
17547 char *resp = cbm_mcp_handle_tool(fx->srv, "detect_changes", args);
17548 char *text = resp ? extract_text_content(resp) : NULL;
17549 free(resp);
17550 return text;
17551}
17552
17553/* The impacted row whose qualified name ends in `.name`, from a format:"json"
17554 * answer. NULL when the row is absent. */

Callers 1

test_mcp.cFile · 0.85

Calls 2

cbm_mcp_handle_toolFunction · 0.85
extract_text_contentFunction · 0.85

Tested by

no test coverage detected