[symbols]
Recommended first-call router for code navigation. Starts with semantic symbol discovery by default, then routes to references, implementations, callers, hierarchy, file outline, or literal text search.
Try this tool in Playground.
| Name | Type | Required | Description |
|---|---|---|---|
| query | string | Yes | Name, identifier, symbol query, file path, or literal text depending on intent. |
| intent | string | No | Routing mode: 'auto' (default), 'symbol', 'references', 'implementations', 'callers', 'hierarchy', 'fileOutline', or 'literalText'. |
| scope | json | No | Optional scope object. Supports Glider search-scope shapes such as project or file scoping. |
| kinds | string | No | Optional symbol kind filter for symbol routing, for example 'Type,Method,Property'. |
| pathStyle | string | No | Path style: 'absolute' (default) or 'relative' (to solution root). |
| skip | number | No | Pagination offset for candidate/result pages. Default is 0. |
| take | number | No | Pagination size. Default is 50. |
Start with semantic discovery for a type name
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "find_code",
"arguments": {
"query": "SolutionManager",
"intent": "auto",
"kinds": "Type"
}
}
}{
"success": true,
"data": {
"query": "SolutionManager",
"intent": "symbol",
"routedTool": "search_symbols",
"candidateCount": 2,
"candidates": [
{
"symbolKey": "...",
"name": "SolutionManager",
"fullName": "Glider.Services.SolutionManager",
"kind": "Type",
"filePath": "/path/to/SolutionManager.cs",
"lineNumber": 12,
"projectName": "Glider"
}
],
"hints": {
"nextSteps": [
"Use a returned symbolKey with find_references, find_implementations, find_callers, or get_type_hierarchy",
"Use intent=literalText only for comments, strings, config-like text, or non-symbol text"
]
}
},
"meta": {
"durationMs": 123,
"cancelled": false,
"timedOut": false,
"timeoutMs": 1200000
},
"error": null
}Route to references for a known symbol name
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "find_code",
"arguments": {
"query": "ISolutionManager",
"intent": "references",
"kinds": "Type"
}
}
}{
"success": true,
"data": {
"query": "SolutionManager",
"intent": "symbol",
"routedTool": "search_symbols",
"candidateCount": 2,
"candidates": [
{
"symbolKey": "...",
"name": "SolutionManager",
"fullName": "Glider.Services.SolutionManager",
"kind": "Type",
"filePath": "/path/to/SolutionManager.cs",
"lineNumber": 12,
"projectName": "Glider"
}
],
"hints": {
"nextSteps": [
"Use a returned symbolKey with find_references, find_implementations, find_callers, or get_type_hierarchy",
"Use intent=literalText only for comments, strings, config-like text, or non-symbol text"
]
}
},
"meta": {
"durationMs": 123,
"cancelled": false,
"timedOut": false,
"timeoutMs": 1200000
},
"error": null
}Get a compact outline for a C# file
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "find_code",
"arguments": {
"query": "Glider.Server/Tools/CodeFinderTools.cs",
"intent": "fileOutline"
}
}
}{
"success": true,
"data": {
"query": "SolutionManager",
"intent": "symbol",
"routedTool": "search_symbols",
"candidateCount": 2,
"candidates": [
{
"symbolKey": "...",
"name": "SolutionManager",
"fullName": "Glider.Services.SolutionManager",
"kind": "Type",
"filePath": "/path/to/SolutionManager.cs",
"lineNumber": 12,
"projectName": "Glider"
}
],
"hints": {
"nextSteps": [
"Use a returned symbolKey with find_references, find_implementations, find_callers, or get_type_hierarchy",
"Use intent=literalText only for comments, strings, config-like text, or non-symbol text"
]
}
},
"meta": {
"durationMs": 123,
"cancelled": false,
"timedOut": false,
"timeoutMs": 1200000
},
"error": null
}Use literal text search for non-symbol text
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "find_code",
"arguments": {
"query": "No solution loaded. Use load first.",
"intent": "literalText"
}
}
}{
"success": true,
"data": {
"query": "SolutionManager",
"intent": "symbol",
"routedTool": "search_symbols",
"candidateCount": 2,
"candidates": [
{
"symbolKey": "...",
"name": "SolutionManager",
"fullName": "Glider.Services.SolutionManager",
"kind": "Type",
"filePath": "/path/to/SolutionManager.cs",
"lineNumber": 12,
"projectName": "Glider"
}
],
"hints": {
"nextSteps": [
"Use a returned symbolKey with find_references, find_implementations, find_callers, or get_type_hierarchy",
"Use intent=literalText only for comments, strings, config-like text, or non-symbol text"
]
}
},
"meta": {
"durationMs": 123,
"cancelled": false,
"timedOut": false,
"timeoutMs": 1200000
},
"error": null
}Returns symbol candidates, disambiguation candidates, or the wrapped result from the routed downstream tool. Zero symbol matches return success=false for symbol-routed intents.