search_symbol
Find classes and methods in source code using a case-insensitive substring query. Returns matching symbols with their type, fully qualified name, and file path.
Instructions
Search for classes or methods by name (case-insensitive substring match).
Args:
query: Substring to search for, e.g. ``InterestCalc`` or ``calculate``.
Returns:
List of dicts with keys ``type`` (``"class"`` or ``"method"``),
``fqn``, and ``file_path``.
Results from both classes and methods are merged and returned together.
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": {
"query": "<query>"
},
"name": "search_symbol"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |