Get a CWE entry
get_cweReturn a MITRE Common Weakness Enumeration entry: name, description, abstraction, related weaknesses, common consequences, mitigations, and the official cwe.mitre.org URL. Accepts weaknesses, categories, and views. Read-only. Fetched on demand and cached for up to a day.
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": {
"cweId": "<cweId>"
},
"name": "get_cwe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cweId | Yes | CWE id, for example CWE-79 or 79. |