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

Function mcp_test_semantic_page

tests/test_mcp.c:4586–4591  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4584}
4585
4586static yyjson_doc *mcp_test_semantic_page(cbm_mcp_server_t *srv, const char *args,
4587 char **out_response, char **out_inner) {
4588 *out_response = cbm_mcp_handle_tool(srv, "search_graph", args);
4589 *out_inner = extract_text_content(*out_response);
4590 return *out_inner ? yyjson_read(*out_inner, strlen(*out_inner), 0) : NULL;
4591}
4592
4593/* Semantic rows are their own ranked result set. Structural limit/offset must
4594 * neither choose their page nor make a budget-trimmed tail unrecoverable. */

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