Find related files
find_related_filesFind files related to a given code path by walking graph neighbors, direct then indirect; long tails are returned as brain:// resources for further exploration.
Instructions
Graph neighbours of a path, direct then indirect; long tails move to a brain:// resource.
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": {
"file_path": "<file_path>"
},
"name": "find_related_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| repo_path | No |