reef_where_used
reef_where_usedFind where a symbol, component, route, file, or pattern is defined and used in a codebase. Uses maintained import graph and indexed references to provide accurate locations without running grep.
Instructions
Reef maintained structural query: answer where a symbol, component, route, file, or indexed pattern is defined and used from maintained symbols/imports/routes first, then supplement symbol/component answers with indexed identifier-text references and related durable findings. Does not run grep; coverage explains import-graph/text/finding limits and returns fallback tool args when maintained state has no answer.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | No | ||
| projectRef | No | ||
| query | Yes | ||
| targetKind | No | ||
| freshnessPolicy | No | ||
| limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| toolName | Yes | ||
| projectId | Yes | ||
| projectRoot | Yes | ||
| query | Yes | ||
| targetKind | No | ||
| definitions | Yes | ||
| usages | Yes | ||
| relatedFindings | Yes | ||
| coverage | Yes | ||
| totalReturned | Yes | ||
| reefExecution | Yes | ||
| fallbackRecommendation | No | ||
| warnings | Yes | ||
| _hints | Yes |