inputSchema
{
"type": "object",
"required": [
"source"
],
"properties": {
"source": {
"type": "string",
"description": "Raw Solidity source code to analyze"
},
"filename": {
"type": "string",
"description": "Optional source file name for context in reports"
}
}
}
outputSchema
{
"type": "object",
"required": [
"vulnerabilities",
"riskScore",
"summary"
],
"properties": {
"summary": {
"type": "string"
},
"riskScore": {
"type": "number",
"maximum": 100,
"minimum": 0
},
"vulnerabilities": {
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string"
},
"location": {
"type": "string"
},
"severity": {
"enum": [
"critical",
"high",
"medium",
"low"
],
"type": "string"
},
"description": {
"type": "string"
},
"recommendation": {
"type": "string"
}
}
}
}
}
}