scan_file_content
Scans raw Solidity source code content directly to detect security vulnerabilities in inline contracts, helping identify risks before deployment.
Instructions
Scan Solidity source code content directly
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": {
"fileContent": "<fileContent>"
},
"name": "scan_file_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apiToken | No | SolidityScan API token | |
| fileName | No | Name for the contract file | Contract.sol |
| fileContent | Yes | Raw Solidity contract source code to scan | |
| projectName | No | Name for the scan project | InlineScan |