In the fastmcpp::tools::Tool class constructor, the input_schema parameter strips all sub-members from the "_meta" field except for "session_id".
|
if (!args.contains("_meta") || !args["_meta"].is_object()) |
|
args["_meta"] = fastmcpp::Json::object(); |
|
args["_meta"]["session_id"] = session_id; |
In the fastmcpp::tools::Tool class constructor, the input_schema parameter strips all sub-members from the "_meta" field except for "session_id".
fastmcpp/src/mcp/handler.cpp
Lines 1960 to 1962 in 9a3ee71