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

Function cli_print_schema_value

src/cli/cli.c:14311–14321  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14309}
14310
14311static void cli_print_schema_value(const yyjson_val *value) {
14312 if (yyjson_is_str(value)) {
14313 fputs(yyjson_get_str(value), stdout);
14314 return;
14315 }
14316 char *json = yyjson_val_write(value, 0, NULL);
14317 if (json) {
14318 fputs(json, stdout);
14319 free(json);
14320 }
14321}
14322
14323int cbm_cli_print_tool_help(const char *tool_name) {
14324 const char *schema_str = cbm_mcp_tool_input_schema(tool_name);

Callers 1

cbm_cli_print_tool_helpFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected