find_definition
Jump to a symbol's definition when you know its name, returning the first match with its body and other matches with signatures. Indicates whether AST/graph precision or BM25 was used.
Instructions
Jump to where a symbol is defined, when you already know its name; the first match comes with its body, the others with their signature. AST-precise with the graph layer, BM25 otherwise; each hit says which. Use search when you can only describe the code, describe_symbol for the callers and tests too.
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": {
"symbol": "<symbol>"
},
"name": "find_definition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max results. | |
| source | No | Source name. Omit when only one source applies. | |
| symbol | Yes | Identifier, e.g. `MyClass` or `MyClass.handleClick`. |