roslyn:get_symbol_info
Retrieve detailed semantic information about a symbol at a specific code position using zero-based coordinates. Get symbol kind, type, namespace, documentation, and location.
Instructions
Get detailed semantic information about a symbol at a specific position. IMPORTANT: Uses ZERO-BASED coordinates. If your editor shows 'Line 14, Column 5', pass line=13, column=4. Returns symbol kind, type, namespace, documentation, and location.
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": {
"filePath": "<filePath>",
"line": "<line>",
"column": "<column>"
},
"name": "roslyn:get_symbol_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line | Yes | Zero-based line number (Visual Studio line 14 = line 13 here) | |
| column | Yes | Zero-based column number (Visual Studio col 5 = col 4 here) | |
| filePath | Yes | Absolute path to source file |