find_related_code
Locate functions, classes, and files matching a natural language description to understand where functionality lives and avoid duplicating existing code.
Instructions
Find functions, classes, and files related to a natural language description.
Use this when you know WHAT you're looking for conceptually but not WHERE it lives in the codebase. Prevents duplicating existing functionality.
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": {
"description": "<description>"
},
"name": "find_related_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| description | Yes | ||
| max_results | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||