code_find_symbol
Find where functions, methods, classes, or other symbols are defined in indexed C#, Python, and TypeScript code using exact names, words, or meaning, and optionally rank related files.
Instructions
Find where a function, method, class or other symbol is defined in indexed code (C#, Python, TypeScript). match="exact" (default) takes a name as far as you know it: "Post", "Ledger.Post" or "Acme.Billing.Ledger.Post". match="words" takes words that all appear in the qualified name ("ledger post"). match="meaning" takes a description ("where invoices are written to the ledger"). With follow=true, also returns what the first definition calls, constructs or inherits and the files defining those: the files to read to see how it works. Returns definitions with path, start and end line and signature, and ranked files.
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": {
"containerId": "<containerId>",
"query": "<query>"
},
"name": "code_find_symbol"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | At most this many definitions (1-100). Default 10 | |
| match | No | "exact" (default), "words" or "meaning" | |
| query | Yes | The symbol name, words, or a description, per `match` | |
| follow | No | Also follow what the definition calls into, and rank those files | |
| containerId | Yes | Container or source ID or name |