find_function
Locate function and method definitions by name to get exact file and line references for code navigation and change impact analysis.
Instructions
Find function and method definitions by name, with file and line.
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_function"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | List everything instead of stopping at 200 items. | |
| name | Yes | Function or method name; literal text with optional .* wildcards. |