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
Input Schema
Name | Required | Description | Default |
---|---|---|---|
file_path | No | ||
language | No | ||
project | Yes | ||
symbol | Yes |
Input Schema (JSON Schema)
{
"properties": {
"file_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "File Path"
},
"language": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Language"
},
"project": {
"title": "Project",
"type": "string"
},
"symbol": {
"title": "Symbol",
"type": "string"
}
},
"required": [
"project",
"symbol"
],
"title": "find_usageArguments",
"type": "object"
}