secure_run_command_sequence
Execute multiple commands in sequence with security restrictions, using a specific working directory, timeout, and error handling. Supports auto-commit with custom messages for successful operations.
Instructions
Execute multiple commands in sequence with security restrictions
Input Schema
Name | Required | Description | Default |
---|---|---|---|
commands | Yes | Array of commands to execute in sequence | |
commitMessage | No | Custom commit message | |
commitResult | No | Auto-commit after successful sequence | |
cwd | No | Working directory for all commands | |
stopOnError | No | Stop execution on first error (default: true) | |
timeout | No | Timeout per command in milliseconds |
Input Schema (JSON Schema)
{
"properties": {
"commands": {
"description": "Array of commands to execute in sequence",
"items": {
"type": "string"
},
"type": "array"
},
"commitMessage": {
"description": "Custom commit message",
"type": "string"
},
"commitResult": {
"description": "Auto-commit after successful sequence",
"type": "boolean"
},
"cwd": {
"description": "Working directory for all commands",
"type": "string"
},
"stopOnError": {
"description": "Stop execution on first error (default: true)",
"type": "boolean"
},
"timeout": {
"description": "Timeout per command in milliseconds",
"type": "number"
}
},
"required": [
"commands"
],
"type": "object"
}