run_code
Run agent code (python / javascript / bash) in an isolated sandbox (no network, CPU/RAM/time limits) and get stdout/stderr/exit_code back. Charged from agent balance; returns payment_required if insufficient (then topup_balance and retry).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | ||
| timeout | No | ||
| agent_id | Yes | ||
| language | No | python |