get_cloud_diagram_components
Discover cloud diagrams and their layers, get layer IDs, and fetch component data for diagram-specific APIs.
Instructions
Use this when the user wants to discover all cloud infrastructure diagrams and their layers (statussheets), or to look up layer IDs needed for other diagram endpoints. Returns all diagrams with their connected layers and optionally their component data. This is the primary discovery endpoint — use it before calling endpoints that require a layer ID. Optionally filter by diagram IDs (scheme_ids) or layer IDs (layer_ids), and set include_components=true to get full component lists. Do NOT use this for cost analysis (use run_query) or diagram search (use search_cloud_diagrams).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer_ids | No | Filter to specific layer (statussheet) IDs. Omit to return all layers. | |
| scheme_ids | No | Filter to specific diagram IDs. Omit to return all diagrams. | |
| skip_empty | No | Exclude layers that have no components. Defaults to false. | |
| include_components | No | Include component data (nodes, elements, groups, links, etc.) in the response. Defaults to false for lighter responses. Enable when you need component IDs for other diagram endpoints. |