generate_report
Audit Solidity source code and produce a clean Markdown report with vulnerability detection, gas optimization suggestions, and structured findings.
Instructions
Run a full audit_contract and render the result as a clean Markdown report. Returns both the rendered Markdown and the underlying structured findings.
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": {
"source": "<source>"
},
"name": "generate_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | The full Solidity source code to audit. | |
| contractName | No | Optional contract name. | |
| format | No | Currently only 'markdown' is supported. |