get_cross_repo_references
Find all references to a library symbol across one or more consumer repositories to locate downstream callers before modifying a shared API.
Instructions
Find all references to a library symbol across one or more consumer repositories. Adds each consumer_root as a workspace folder, waits for indexing, then calls get_references and partitions results by repo. Returns library_references (within the primary repo), consumer_references (map of root → locations), and warnings (roots that could not be indexed). Use before changing a shared library API to find all downstream callers.
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": {
"symbol_file": "<symbol_file>",
"line": "<line>",
"column": "<column>",
"consumer_roots": "<consumer_roots>"
},
"name": "get_cross_repo_references"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line | Yes | ||
| column | Yes | ||
| language_id | No | ||
| symbol_file | Yes | ||
| consumer_roots | Yes |