get_module_docs
Extracts documentation comments and signatures from a Rust or WIT file, so you can review module APIs without opening the source.
Instructions
Extracts documentation comments (///) and the signatures immediately following them from a Rust or WIT file
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"filePath": "<filePath>"
},
"name": "get_module_docs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Path to the file relative to the API or WIT root, e.g. 'src/item.rs' |