Create sandbox
sandbox_createCreate an ephemeral interpreter sandbox in a specified project after approval to run isolated code; it returns an ID, uses billed resources, and deletes files at expiry.
Instructions
Create an ephemeral interpreter sandbox in an explicit project. Uses billed cloud resources and returns its ID. The default lifetime is 5 minutes; expiry deletes its files. No host files, environment variables, or API key are copied into it. Get the user's approval before creating it; do not retry an uncertain response blindly.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | ||
| project | Yes | ||
| lifetimeMs | No |