create_environment
Provision a persistent sandbox environment for reuse across multiple code execution and browsing sessions.
Instructions
Provision a standalone sandbox environment for reuse across multiple interactions.
Unlike passing environment=build_environment_config(...) inline to create_interaction (which forks per invocation), this persists an environment_id you can pass to create_interaction/continue_interaction directly.
Args: sources: See build_environment_config. network_allowlist: See build_environment_config. network_disabled: See build_environment_config.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "create_environment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sources | No | ||
| network_disabled | No | ||
| network_allowlist | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |