MCPcopy Create free account
hub / github.com/antirez/ds4 / tool_call_free

Function tool_call_free

ds4_server.c:649–654  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

647 free(*dst);
648 *dst = tmp;
649 return true;
650}
651
652static bool json_content_replace(const char **p, char **dst) {
653 char *tmp = NULL;
654 if (!json_content(p, &tmp)) return false;
655 free(*dst);
656 *dst = tmp;
657 return true;

Callers 2

tool_calls_freeFunction · 0.85
parse_tool_calls_valueFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected