find_callees
Retrieve all methods directly called by a specified method. Optionally exclude compiler-generated callees for cleaner results.
Instructions
Find all methods directly called by the given method.
Args:
method_fqn: Fully-qualified method name, e.g. ``com.example.Foo.bar``.
exclude_generated: When True, filter out Lombok/compiler-generated callees.
Returns:
List of dicts with keys ``fqn``, ``file_path``, ``line_start``.
Empty list if the method is not found or makes no calls.
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": {
"method_fqn": "<method_fqn>"
},
"name": "find_callees"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method_fqn | Yes | ||
| exclude_generated | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |