execute_shell
Execute shell commands in a sandboxed environment that blocks dangerous patterns like rm -rf, sudo, and curl. Uses Seatbelt sandbox for isolation.
Instructions
Execute a shell command in a sandboxed environment.
More restrictive than Python execution. Blocks dangerous patterns (rm -rf, sudo, curl, wget, etc.) and isolates in Seatbelt sandbox.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | Shell command to execute. | |
| timeout | No | Maximum execution time in seconds (1-15, default 15). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |