Skip to content

Commit 8a3497b

Browse files
committed
Convert tool list string
1 parent 40156ff commit 8a3497b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

toolcall/handler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ static std::string tools_list_to_oai_json(const mcp::tools_list & tools) {
158158
}
159159
});
160160
}
161-
return tool_list;
161+
return tool_list.dump(-1);
162162
}
163163

164164
std::string toolcall::mcp_impl::tool_list() {

0 commit comments

Comments
 (0)