python_eval
Execute Python code in a sandboxed Docker container with pre-installed reverse engineering libraries (pwntools, capstone, etc.). Session state persists across calls.
Instructions
Execute Python code in a sandboxed Docker container. Pre-installed packages: pwntools, capstone, keystone, unicorn, lief, yara, pycryptodome. Session state (variables, imports) persists across 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": "python_eval"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Python code to execute | |
| timeout | No | Timeout in milliseconds (default from ESQUIE_SANDBOX_TIMEOUT or 30000) |