Code interpreter
Run Python in a sandbox. Registered only when the host opts in.
Generated from the pinned chart source (
1aa5e22). Descriptions are the exact text the model receives.code_interpreter
Execute Python code in an isolated sandbox with numpy and pandas available and outbound network disabled. Read inputs from $INPUT_DIR and write files you want returned into $OUTPUT_DIR.
Parameters
| Name | Type | Required | Constraints | Description |
|---|---|---|---|---|
code | string | Yes | min length 1 | Python source to execute. Only the standard library plus numpy and pandas are available. |
files | object[] | — | max items 16 | |
files[].name | string | — | min length 1; max length 255 | |
files[].content | string | — | — | |
files[].encoding | enum | — | one of "utf8", "base64" | |
timeoutMs | integer | — | ≥ 1; ≤ 60000 |
Minimal input · Required fields only; placeholders are derived from the schema.
{
"code": "<code>"
}JSON Schema
…