fix(mcp): extract and elevate struct docstrings into root tool schema descriptions to restore semantic LLM visibility
This commit is contained in:
1 parent
e84c101515
commit
05e3e53217
2 files changed
+9
-3
No files matched your search
+1
-1
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user