Find Code Symbols and Ontology Identifiers
find_symbolSearch the indexed workspace graph for code declarations and architectural entities using exact substring matching or hybrid fuzzy semantic search to locate classes, functions, endpoints, tables, and topics by name.
Instructions
Search the indexed workspace graph for code declarations and architectural entities ('Class', 'Interface', 'Type', 'Function', 'Variable'/'Member', 'Endpoint', 'Table', 'Topic', or 'Project') using deterministic substring matching ('substring') or hybrid trigram and semantic vector similarity ('hybrid'). Use 'substring' when locating symbols by known or partial identifier name, and 'hybrid' for fuzzy or keyword discovery across routes, tables, topics, and code; to list all symbols inside a known file or folder path use get_file_outline, and to read source implementation lines use fetch_code_snippets. Queries .codeexplorer/graph.db case-insensitively (automatically routing 'Endpoint'/'Table'/'Topic'/'Project' filters or matchMode='hybrid' through ranked lexical-vector search and capping output at limit rows), returning YAML matches with kind, qualified name, file_path, and line coordinates (or an empty list if none match).
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": {
"name": "<name>"
},
"name": "find_symbol"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Required symbol name, substring, URL route fragment, table name, or domain keyword (e.g. 'OrderController', 'ValidateToken', or '/api/orders'). | |
| limit | No | Maximum number of matching symbols to return (1 to 500, default: 50; clamped to 200 in 'hybrid' mode). | |
| matchMode | No | Search strategy: 'substring' (exact and substring AST symbol match) or 'hybrid' (fuzzy trigram + semantic vector similarity across code, routes, tables, and topics). Default: 'substring'. | substring |
| symbolType | No | Optional entity filter: 'Class', 'Interface', 'Type', 'Function', 'Variable', 'Member', 'Endpoint', 'Table', 'Topic', or 'Project' ('Variable' and 'Member' are aliases). Omit to search all kinds. | |
| workspacePath | No | Optional absolute path to the target workspace root directory. Omit to use the bound workspace, active client root, or sticky session workspace. |