get_module_symbols
Extract all exported symbols from TypeScript/JavaScript modules to analyze dependencies and imports, specifying root directory and module name for precise resolution.
Instructions
Get all exported symbols from a TypeScript/JavaScript module without detailed signatures
Input Schema
Name | Required | Description | Default |
---|---|---|---|
filePath | No | Context file for resolving relative imports | |
moduleName | Yes | The module to analyze (e.g., 'neverthrow', './local-module') | |
root | Yes | Root directory for resolving relative paths |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"filePath": {
"description": "Context file for resolving relative imports",
"type": "string"
},
"moduleName": {
"description": "The module to analyze (e.g., 'neverthrow', './local-module')",
"type": "string"
},
"root": {
"description": "Root directory for resolving relative paths",
"type": "string"
}
},
"required": [
"root",
"moduleName"
],
"type": "object"
}