detect_changes on the fixture; `extra` is appended to the argument object * (start it with a comma). Returns the tool's text content. */
| 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. */ |
| 17544 | static 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. */ |
no test coverage detected