execute_code_securely
Run Python code in a remote, isolated Azure sandbox for safe algorithm testing, data processing, and calculations, with automatic x402 micropayment handling.
Instructions
Executes Python code in a remote, isolated Azure sandbox environment with automatic x402 payment handling.
Use this tool to safely evaluate Python algorithms, process data structures, perform math calculations, or run custom scripts.
Usage Guidelines:
Code must be standard Python 3.
Script execution is subject to a 30-second timeout limit; avoid infinite loops or blocking operations.
Ensure all required imports are included within the snippet.
x402 micropayments (USDC on Base) are automatically verified per execution call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | A complete, self-contained Python 3 code string to execute within the remote sandbox environment. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |