MCPcopy Create free account
hub / github.com/ClickHouse/ai-sdk-cpp / create_tool_set

Function create_tool_set

src/tools/tool_executor.cpp:248–255  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

246}
247
248ToolSet create_tool_set(
249 const std::vector<std::pair<std::string, Tool>>& tool_list) {
250 ToolSet tools;
251 for (const auto& [name, tool] : tool_list) {
252 tools[name] = tool;
253 }
254 return tools;
255}
256
257ToolCall create_tool_call(const std::string& tool_name,
258 const JsonValue& arguments,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected