configure
View or update code execution configuration: adjust execution mode, timeout, retries, auto-install, and Docker image.
Instructions
View or update Code Mode configuration.
Args: action: "view" to see config, "set" to update a value key: Config key to update (for action="set") value: New value (for action="set")
Available settings:
execution_mode: "direct" (fast) or "docker" (secure sandbox)
default_timeout: Default execution timeout in seconds
max_retries: Default max retry attempts
auto_install: Whether to auto-install packages (true/false)
docker_image: Docker image for sandbox mode
Examples: configure() # View current config configure(action="set", key="execution_mode", value="docker") configure(action="set", key="default_timeout", value="120")
Returns: Current configuration or update confirmation
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | view | |
| key | No | ||
| value | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |