execute_code_stream
Execute code and stream progress and partial output as it runs, with an extended timeout for long-running tasks.
Instructions
Execute code and STREAM progress + partial output as it runs.
Unlike execute_code (which returns only at exit), this reports progress notifications to the client while the program runs, so agents can see output before the process finishes. Returns the same result shape and applies the SAME ceilings: max_memory_mb, max_output_kb and max_cpu are forwarded to the executor exactly as execute_code forwards them.
One difference, deliberate: the wall-clock cap is 300s here against execute_code's 120s, because streaming exists for runs long enough to want progress.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| stdin | No | ||
| no_net | No | ||
| max_cpu | No | ||
| timeout | No | ||
| language | Yes | ||
| provider | No | ||
| max_memory_mb | No | ||
| max_output_kb | No |