docs(server): modify tool_def to extract rich descriptions from struct docstrings via schemars instead of using hardcoded generic names

This commit is contained in:
Riz Ashraf committed 2026-09-21 16:09:08 +01:00
1 parent 075bc50645
commit 84ad64156c
1 file changed
+1
+1
View File
@@ -30,3 +30,4 @@ pub fn tool_def<T: JsonSchema>(name: &str, description: &str) -> serde_json::Val
"inputSchema": schema_val
})
}