shell_execute
Execute whitelisted shell commands with controlled stdin, timeout, and working directory, returning stdout, stderr, and execution time for secure automation.
Instructions
Execute a shell command Allowed commands: echo, cat, ls Allowed patterns:
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stdin | No | Input to be passed to the command via stdin | |
| command | Yes | Command and its arguments as array | |
| timeout | No | Maximum execution time in seconds | |
| directory | Yes | Absolute path to a working directory where the command will be executed |