API Reference
CodeExecutionRequest
Defined in: tools/builtin/builtin.types.ts:97
A request to run a snippet of code in some language.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
code | string | Source to run. | tools/builtin/builtin.types.ts:105 |
language | string | Runtime to run under, e.g. "python", "javascript", "typescript". The backend owns which languages it supports and rejects the rest — a sandbox may only be able to isolate what it can actually run. | tools/builtin/builtin.types.ts:103 |