Execution Environment Toolset¶
The Execution Environment toolset provides tools for executing code and shell commands within a configured environment.
Basic Usage¶
Environment Types¶
The toolset supports various execution environments:
Local¶
Execute on the local machine:
Docker¶
Execute in a Docker container:
Remote¶
Execute on remote machines via SSH or other protocols.
Available Tools¶
| Tool | Description |
|---|---|
execute_code |
Execute code in a specific language |
execute_command |
Run shell commands |
start_process |
Start a background process |
get_process_output |
Get output from a running process |
wait_for_process |
Wait for process completion |
kill_process |
Terminate a running process |
Tool Selection¶
You can limit which tools are exposed:
Configuration Reference¶
Execution Environment Toolset¶
Configuration for execution environment toolset (code + process management).
Security Considerations¶
- Use Docker or sandboxed environments for untrusted code
- Limit available tools to only what's needed
- Set appropriate working directories and permissions