colab_session_create
Creates a new Colab session with optional name, GPU/TPU variant, and high-memory request, enabling a configured runtime for notebooks.
Instructions
Create a new Colab session.
Args: name: Optional session name (auto-generated if omitted) gpu: GPU variant: T4, L4, G4, H100, A100 tpu: TPU variant: v5e1, v6e1 high_mem: Request high-RAM machine shape (requires Pro/Pro+)
Returns: Session info including name, session_id, hardware, shape, variant, status
Raises: ToolError: SESSION_ALREADY_EXISTS, QUOTA_EXCEEDED, AUTH_EXPIRED, CLI_ERROR
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gpu | No | ||
| tpu | No | ||
| name | No | ||
| high_mem | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| shape | Yes | ||
| status | No | CREATING | |
| variant | Yes | ||
| hardware | Yes | ||
| session_id | Yes |