run_script
Execute PowerShell or batch scripts within the workspace boundary, with optional arguments and configurable timeout.
Instructions
Execute a PowerShell (.ps1) or batch (.bat/.cmd) script file.
Resolves the script path relative to the current working directory. The script must exist within the configured workspace boundary.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | Optional arguments to pass to the script. | |
| path | Yes | Path to the script file (.ps1, .bat, or .cmd). | |
| timeout | No | Maximum execution time in seconds. Default: 120. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||