find_path
Trace the shortest resolved call chain between two symbols to determine how a source function eventually calls a target function in a Python codebase.
Instructions
Find a shortest resolved call chain between two symbols. Answers 'how does foo eventually end up calling bar?' in a single hop.
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": {
"repo_path": "<repo_path>",
"source": "<source>",
"target": "<target>"
},
"name": "find_path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | ||
| target | Yes | ||
| repo_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||