run_detectors
Run static analysis detectors on Solidity smart contracts to identify vulnerabilities, code quality issues, and informational findings. Filter results by detector names, impact, confidence, or exclude paths.
Instructions
Gets security findings from Slither's static analysis. Use this to find vulnerabilities, code quality issues, or informational findings in the project. Can filter by specific detectors, impact level, confidence, or exclude paths like tests. Returns findings with descriptions and source locations. Results are cached from initial analysis.
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": {
"request": "<request>"
},
"name": "run_detectors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results | Yes | ||
| success | Yes | ||
| has_more | No | True if there are more results beyond this page | |
| total_count | Yes | ||
| error_message | No | ||
| invalid_detector_names | No | Detector names that were requested but not recognized |