create-powershell-script
Create a PowerShell script file (.ps1) with specified content and optional executable permission for automation.
Instructions
Create a new PowerShell script file with specified content
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"scriptPath": "<scriptPath>",
"content": "<content>"
},
"name": "create-powershell-script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scriptPath | Yes | Path where to create the PowerShell script (.ps1) | |
| content | Yes | PowerShell script content | |
| executable | No | Make the script executable (default: true) |