runtime_sandboxes_interpreter_contexts
List, create, restart, interrupt or remove a sandbox's interpreter contexts, each an isolated interpreter with its own variables. restart clears a context's variables; interrupt stops the running cell and keeps them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| env | No | Environment variables for the context's process. | |
| action | Yes | ||
| context | No | A context's id; each language's name is its default context, started on first use. | |
| language | No | python by default. R, Java and Go are installed on first use (tens of seconds, once) when the image lacks them. | |
| idempotencyKey | No | Optional: left out, one is made and returned as idempotencyKey. Send it back only to retry this exact call after a temporary error. |