| 121 | } |
| 122 | |
| 123 | bool ToolExecutor::validate_tool_call(const ToolCall& tool_call, |
| 124 | const Tool& tool) { |
| 125 | // Basic validation - check if the arguments match the expected schema |
| 126 | return validate_json_schema(tool_call.arguments, tool.parameters_schema); |
| 127 | } |
| 128 | |
| 129 | bool ToolExecutor::tool_exists(const std::string& tool_name, |
| 130 | const ToolSet& tools) { |
nothing calls this directly
no outgoing calls
no test coverage detected