Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
129
bool ToolExecutor::tool_exists(const std::string& tool_name,
130
const ToolSet& tools) {
131
return tools.find(tool_name) != tools.end();
132
}
133
134
ToolResult ToolExecutor::execute_sync_tool(
135
const ToolCall& tool_call,
Callers
nothing calls this directly
Calls
1
end
Method · 0.45
Tested by
no test coverage detected