MCPcopy Create free account
hub / github.com/AGenUI/AGenUI / getAllFunctionCalls

Method getAllFunctionCalls

core/src/function_call/agenui_functioncall_manager.cpp:103–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101
102
103std::vector<FunctionCallConfig> FunctionCallManager::getAllFunctionCalls() const {
104 std::lock_guard<std::recursive_mutex> lock(_mutex);
105
106 std::vector<FunctionCallConfig> configs;
107
108 // Add C++ functionCalls
109 for (const auto& pair : _cppFunctionCalls) {
110 configs.emplace_back(pair.second->getConfig());
111 }
112
113 // Add platform functionCalls
114 for (const auto& pair : _functionCalls) {
115 configs.emplace_back(pair.second.config);
116 }
117
118 return configs;
119}
120
121nlohmann::json FunctionCallManager::exportCatalog() const {
122 std::lock_guard<std::recursive_mutex> lock(_mutex);

Callers 1

TESTFunction · 0.80

Calls 1

getConfigMethod · 0.65

Tested by 1

TESTFunction · 0.64