start_new_terminal
Creates a named terminal session for run_code.
A terminal keeps the last 20 results. It is bookkeeping, not a separate process.
- Tool name
- start_new_terminal
- Group
- Terminal and Python sandbox
- Risk
- none
- Needs approval
- never
- Approval rule
- No approval.
- Allowed in scheduled jobs
- No
- Default
- on
Parameters
| Name | Type | Required | Default | Meaning | Limits |
|---|---|---|---|---|---|
| name | string | No | main | A short name. |
Returns
The terminal id.
Example (made up for this page)
{}Started terminal t1 (main).Side effects
- Adds an in-memory session.
See also:Terminal and Python sandbox tools
Checked against the source at commit f4fd89f on 29 Oct 2026. Everything here is merged on the main branch; no release has been tagged yet. The source is private, so these pages are the public description.