get_module_symbols
Extract exported symbols from TypeScript/JavaScript modules to analyze dependencies and understand code structure for the NewsDigest MCP server.
Instructions
Get all exported symbols from a TypeScript/JavaScript module without detailed signatures
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": {
"root": "<root>",
"moduleName": "<moduleName>"
},
"name": "get_module_symbols"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | Yes | Root directory for resolving relative paths | |
| moduleName | Yes | The module to analyze (e.g., 'neverthrow', './local-module') | |
| filePath | No | Context file for resolving relative imports |