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

Method tool_exists

src/tools/tool_executor.cpp:129–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127}
128
129bool ToolExecutor::tool_exists(const std::string& tool_name,
130 const ToolSet& tools) {
131 return tools.find(tool_name) != tools.end();
132}
133
134ToolResult ToolExecutor::execute_sync_tool(
135 const ToolCall& tool_call,

Callers

nothing calls this directly

Calls 1

endMethod · 0.45

Tested by

no test coverage detected