show_component
Inspect project metadata for a SonarCloud component. Retrieve qualifier, tags, and branches to verify component existence or explore details.
Instructions
Return detailed metadata (qualifier, tags, branches) for a specific project/component.
Returns component information including name, qualifier (TRK for project, FIL for file, etc.), tags, and available branches. Use this to inspect project metadata or verify component existence.
Example: show_component(component="my-project", branch="main")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | No | Branch name to retrieve component from (e.g., 'main', 'develop') | |
| component | Yes | Project key or component key (e.g., 'my-project' or 'my-project:src/main.py') | |
| pullRequest | No | Pull request ID to retrieve component from (e.g., '123') |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||