forge_lint
Lint Solidity source files in a Foundry project to catch code issues early, using an optional build profile.
Instructions
Lint Solidity source files (forge lint).
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": {
"projectPath": "<projectPath>"
},
"name": "forge_lint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profile | No | Foundry profile to use (maps to FOUNDRY_PROFILE env var) | |
| projectPath | Yes | Absolute path to the foundry project directory |