get_command_history
Retrieve the history of executed commands from the Windows CLI MCP server, with optional limit to control the number of entries returned. Each entry includes the command, output, timestamp, and exit code.
Instructions
Get the history of executed commands
Example usage:
{
"limit": 5
}Example response:
[
{
"command": "Get-Process",
"output": "...",
"timestamp": "2024-03-20T10:30:00Z",
"exitCode": 0
}
]Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of history entries to return (default: 10, max: 1000) |