Skip to content

sandboxDataItemType

const sandboxDataItemType: ItemType<z.ZodRecord<z.ZodString, z.ZodUnknown>>;

Defined in: tool/tool.ts:19

The conversation item carrying the sandbox’s persistent data object. Each completed script run emits a new version; the latest version is the state the next run starts from, notebook-style.

Deliberately not exposed to the agent (no agent block): data is internal kernel state for passing values between scripts. A script surfaces what the agent should see by logging it — the console output in the tool result is the notebook cell’s stdout.