[search]
Gets detailed information for a symbol by stable symbol key (from search_symbols or get_symbol_at_position).
Try this tool in Playground.
| Name | Type | Required | Description |
|---|---|---|---|
| symbolKey | string | Yes | Stable symbol key. |
| includeLocations | boolean | No | Include all definition locations. Default is true. |
| includeDocumentation | boolean | No | Include XML documentation. Default is true. |
| maxDocumentationChars | number | No | Maximum documentation characters. Use 0 for unlimited. Default is 2000. |
| pathStyle | string | No | Path style: 'absolute' (default) or 'relative' (to solution root). |
| timeout_ms | number | No | Timeout in milliseconds. Use 0 to disable. Default is 30000. |
Get symbol info from a symbol key
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "get_symbol_info",
"arguments": {
"symbolKey": "..."
}
}
}{
"success": true,
"data": {
"name": "UserService",
"fullName": "MyApp.Services.UserService",
"kind": "Type",
"namespace": "MyApp.Services",
"filePath": "/path/to/UserService.cs",
"lineNumber": 12,
"projectName": "MyProject",
"accessibility": "Public",
"signature": "public class UserService",
"documentation": "...",
"locations": [
{
"filePath": "/path/to/UserService.cs",
"lineNumber": 12,
"column": 1,
"lineText": "public class UserService",
"projectName": "MyProject"
}
]
},
"error": null
}Returns rich symbol information including signature and locations