hover_info
Get TypeScript type details at any code position. Specify file, line, and column to see hover-style information for the symbol under the cursor.
Instructions
Quick info at a source position, similar to VS Code hover
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": "hover_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| col | Yes | Column number (1-based) | |
| file | Yes | Absolute path to the TypeScript file | |
| line | Yes | Line number (1-based) | |
| tsconfig | No | Path to tsconfig.json (auto-detected if omitted) |