ts_go_to_source_definition
Jump to the actual implementation of a symbol, skipping TypeScript declaration files. Provide file, line, and column to locate the source definition directly.
Instructions
Go to the source definition (the implementation, not the .d.ts declaration) of a symbol
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": {
"file": "<file>",
"line": "<line>",
"col": "<col>"
},
"name": "ts_go_to_source_definition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| col | Yes | Column number (1-indexed) | |
| file | Yes | Relative file path from project root | |
| line | Yes | Line number (1-indexed) |