firewall_check_code
Analyzes code strings for security threats by detecting dangerous patterns in syntax trees, preventing malicious code execution without requiring files.
Instructions
Check if code string is safe (without requiring a file).
Args: code: The code to check language: Programming language (default: python)
Returns: Same as firewall_check
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": "firewall_check_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| language | No | python |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||