winrm_download
Copy a file from a Windows host to a permitted local path over WinRM, preserving existing files unless overwrite is enabled.
Instructions
Copy a file from the Windows host to WINRM_MCP_LOCAL_ROOT/local_path (file transfer is disabled unless the operator sets it). Existing local files are kept unless overwrite=true.
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": {
"remote_path": "<remote_path>",
"local_path": "<local_path>"
},
"name": "winrm_download"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| overwrite | No | ||
| connection | No | ||
| local_path | Yes | ||
| saved_host | No | ||
| remote_path | Yes | ||
| inventory_scope | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||