cwe_hierarchy
Map a given CWE to its parent and child weaknesses to understand how it relates to more general or specific definitions.
Instructions
Get CWE parent/child hierarchy. Shows which weaknesses are more general (parents) and more specific (children) variants of a given CWE.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "cwe_hierarchy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | CWE ID (e.g., 'CWE-79' or just '79') |