verify_code
Parses Python source with AST to detect and block unsafe execution or deserialization calls before code runs.
Instructions
Parse Python code via AST and block unsafe execution or deserialization calls.
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": "verify_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Python source snippet. |