get_definitions
Retrieve TypeScript symbol definitions from source files to understand code structure and functionality within the NewsDigest MCP server.
Instructions
Get the definition(s) of a TypeScript symbol
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | Yes | Root directory for resolving relative paths | |
| filePath | Yes | File path (relative to root) | |
| line | Yes | Line number (1-based) or string to match in the line | |
| symbolName | Yes | Name of the symbol | |
| before | No | Number of lines to show before the definition | |
| after | No | Number of lines to show after the definition |