secure_run_command
Execute commands securely by restricting to a predefined set of allowed commands, with options for working directory, timeout, environment variables, and auto-commit of changes.
Instructions
Execute a command with security restrictions (only allowed commands)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | Command to execute securely | |
| cwd | No | Working directory | |
| timeout | No | Command timeout in milliseconds | |
| env | No | Environment variables | |
| commitResult | No | Auto-commit changes after successful execution | |
| commitMessage | No | Custom commit message if commitResult is true |