trace
Computes a call chain from an entry symbol to a target sink such as a database or external call using bidirectional BFS, showing how code reaches dependencies.
Instructions
链路追踪:从入口符号到目标符号(如 DB/外部调用)的最短调用链(双向 BFS)
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": {
"entry": "<entry>",
"sink": "<sink>"
},
"name": "trace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sink | Yes | ||
| depth | No | 单侧限深,默认 5 | |
| entry | Yes |