run_cmd
Execute CMD commands and retrieve their output for legacy batch operations, CMD-specific behavior, or when PowerShell is unavailable.
Instructions
Execute a CMD command and return the output.
Useful for legacy batch operations, tools that behave differently under CMD, or when PowerShell is unavailable.
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": {
"command": "<command>"
},
"name": "run_cmd"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | The CMD command to execute. | |
| timeout | No | Maximum execution time in seconds (1–3600). Default: 60. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||