| 255 | } |
| 256 | return tools; |
| 257 | } |
| 258 | |
| 259 | ToolCall create_tool_call(const std::string& tool_name, |
| 260 | const JsonValue& arguments, |
| 261 | const std::string& call_id) { |
| 262 | std::string id = call_id.empty() ? generate_tool_call_id() : call_id; |
| 263 | return ToolCall(id, tool_name, arguments); |
| 264 | } |
| 265 |
nothing calls this directly
no test coverage detected