get_callers
Retrieve all functions calling a given function, with options to set call depth and target workspace for accurate code graph analysis.
Instructions
Find functions that call the given function.
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": {
"function_name": "<function_name>"
},
"name": "get_callers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | Call depth (default: 1) | |
| function_name | Yes | Function name to look up | |
| workspace_path | No | Target workspace (default: last configured) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |