get_cwe_weakness
Look up Common Weakness Enumeration (CWE) data by ID or get all weaknesses to analyze vulnerability information.
Instructions
Get CWE weaknesses by ID(s) or all weaknesses
Args: ids: Comma-separated CWE IDs or "all" to retrieve all weaknesses Examples: "79", "CWE-89,125", "all"
Returns: Dictionary with "Weaknesses" array or error information
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": {
"ids": "<ids>"
},
"name": "get_cwe_weakness"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |