get-powershell-documentation
Look up Sitecore PowerShell command syntax, parameters and examples for writing run-powershell-script scripts. Search by keyword, fetch full docs, or list a category.
Instructions
The Sitecore PowerShell Extensions command reference, for writing run-powershell-script scripts. Reveals progressively rather than returning the whole ~510KB corpus: call it with NO arguments first for an index of all 129 commands with one-line summaries, then call it again with 'command' for the full page — syntax, every parameter, and examples — of the one or few you need. 'search' matches names, summaries and page bodies when you know what you want to do but not which cmdlet does it; 'category' lists one group. Do not fetch pages you are not about to use.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get-powershell-documentation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| search | No | Keyword to match against command names, summaries and page bodies — use it when you know the task ('placeholder', 'workflow', 'acl') but not the cmdlet. Returns matching names and summaries, not full pages. | |
| command | No | The command name(s) to return full documentation for, e.g. 'Get-ItemTemplate' or ['Add-Rendering','Get-Rendering']. Case-insensitive. At most 5 per call. | |
| category | No | List only this group of commands: common, indexing, packaging, presentation, provider, security or session. |