run-powershell-script
Execute PowerShell scripts to manage Sitecore content, templates, workflows, publishing, users, roles, search indexes, databases, and caches through natural language commands.
Instructions
Runs a PowerShell script and returns the output.
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": {
"script": "<script>"
},
"name": "run-powershell-script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script | Yes | The Powershell script to run. |