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:
1 parent
075bc50645
commit
84ad64156c
1 file changed
+1
@@ -30,3 +30,4 @@ pub fn tool_def<T: JsonSchema>(name: &str, description: &str) -> serde_json::Val
|
||||
"inputSchema": schema_val
|
||||
})
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user