find_usage
Locate symbol usage across a codebase by providing project name, symbol, and optional file or language filters. Returns detailed usage locations for efficient code analysis.
Instructions
Find usage of a symbol.
Args:
project: Project name
symbol: Symbol name to find
file_path: Optional file to look in (for local symbols)
language: Language to search in
Returns:
List of usage locations
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": {
"project": "<project>",
"symbol": "<symbol>"
},
"name": "find_usage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | No | ||
| language | No | ||
| project | Yes | ||
| symbol | Yes |