lint_solidity
Lint Solidity source code against your project's Solhint configuration or a supplied config object to catch rule violations.
Instructions
Lint a Solidity source string with the project or supplied Solhint config.
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": {
"code": "<code>"
},
"name": "lint_solidity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Solidity source code to lint | |
| config | No | Optional complete Solhint config object |