| 14309 | } |
| 14310 | |
| 14311 | static 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 | |
| 14323 | int cbm_cli_print_tool_help(const char *tool_name) { |
| 14324 | const char *schema_str = cbm_mcp_tool_input_schema(tool_name); |
no outgoing calls
no test coverage detected