Get CWE view
cwe_get_viewRead a CWE view objective, audience, status, source filter, recorded notes, and direct members in published order. Navigation views list top-level members rather than every descendant; use cwe_get_hierarchy for navigation or cwe_search_weaknesses with viewId for weakness membership closure. A filter-defined (Implicit) view lists no members: its filterDefinition is the source XPath that defines membership, and cwe_search_weaknesses with its viewId returns the weaknesses that filter selects; when the filter has a part this server does not evaluate, the guidance says so and that search returns none with a disclosure. Unknown and non-view IDs return a structured miss. Follow nextCursor for remaining direct members.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | CWE view ID such as CWE-1000 or 1000; discover with cwe_list_reference topic views. | |
| limit | No | Maximum page size; capped at 100 and a 24,000-byte response budget with disclosure. | |
| cursor | No | Opaque continuation returned by this tool. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Canonical requested CWE ID. | |
| cap | No | Effective page limit. | |
| name | No | Source view name. | |
| type | No | Source view type. | |
| error | No | Present when the call failed. Absent on success. | |
| found | No | Whether this ID resolves to a CWE view. | |
| notes | No | Notes MITRE records for this entry, in source order; absent when none are recorded. | |
| shown | No | Page item count. | |
| notice | No | Page cap disclosure. | |
| reason | No | Missing record or known non-view. | |
| status | No | Source status. | |
| members | No | Direct members in source order. | |
| audience | No | Source audience. | |
| guidance | No | View discovery or empty-members guidance. | |
| objective | No | Complete source objective in CommonMark. | |
| sourceUrl | No | Official view definition URL. | |
| truncated | No | Whether more direct members remain. | |
| pagination | No | Local result pagination. | |
| provenance | No | Loaded catalog provenance. | |
| totalCount | No | Direct members before paging. | |
| appliedFilters | No | Applied inputs and defaults. | |
| filterDefinition | No | Source XPath filter defining a filter-defined view’s membership, exactly as published. |