fix(mcp): extract and elevate struct docstrings into root tool schema descriptions to restore semantic LLM visibility

This commit is contained in:
Riz Ashraf committed 2026-09-26 09:00:00 +01:00
1 parent e84c101515
commit 05e3e53217
2 files changed
+9 -3

No files matched your search

+1 -1
View File
@@ -55,7 +55,7 @@ pub struct DeleteRelationsTool {
pub relations: Vec<crate::models::Relation>,
}
/// Read the entire knowledge graph.
/// Read the entire knowledge graph. WARNING: For large graphs, use search_nodes instead to avoid context limits.
#[derive(Debug, Deserialize, Serialize, JsonSchema)]
pub struct ReadGraphTool {
/// Optional namespace to restrict the read to.