bandit_check
Detect common security vulnerabilities in Python code by running Bandit. Specify paths or changed_only mode to target files and receive structured results.
Instructions
Scan Python code for common security problems with Bandit.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "bandit_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paths | No | ||
| changed_only | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| issues | No | ||
| output | Yes | ||
| fixable | No | ||
| warnings | No | ||
| exit_code | Yes | ||
| saved_tokens | No | ||
| savings_percent | No |