classify_cwe
Classify vulnerability descriptions into CWE categories. Uses a fine-tuned RoBERTa model to predict the most likely Common Weakness Enumeration categories, mapped to parent CWEs.
Instructions
Classify a vulnerability description into CWE categories.
Uses CIRCL's fine-tuned RoBERTa model to predict the most likely CWE (Common Weakness Enumeration) categories, mapped to their parent CWEs.
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": {
"description": "<description>"
},
"name": "classify_cwe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| description | Yes | The vulnerability description text (English). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||