Skip to content

Commit 2e13d82

Browse files
committed
Make sure the docs tool has a path
1 parent b12a0d3 commit 2e13d82

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/mcp/crate_docs.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,12 @@ impl CrateDocs {
3131
"type": "string",
3232
"description": "The optional name of a symbol in the documentation. If not provided, the main readme for the dependency will be returned."
3333
},
34+
"file": {
35+
"type": "string",
36+
"description": "The absolute path to the `Cargo.toml` file of the project"
37+
}
3438
},
35-
"required": ["dependency"]
39+
"required": ["dependency", "file"]
3640
}),
3741
}
3842
}

0 commit comments

Comments
 (0)