trace_path
Find how one code entity reaches another by showing hop routes between a start UUID or name and an end entity in the repository graph.
Instructions
How one entity reaches another, as hops. One endpoint? trace_data_flow.
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": {
"from": "<from>",
"to": "<to>"
},
"name": "trace_path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | End entity. | |
| from | Yes | Start: UUID, exact name, or name@file. | |
| limit | No | Routes returned, shortest first. | |
| to_file | No | Deprecated; pin with name@file. | |
| direction | No | `forward`, `reverse` or `either`. | either |
| from_file | No | Deprecated; pin with name@file. | |
| max_chars | No | Soft cap on reply bytes. | |
| max_depth | No | Hops between the ends (max 12). |