winrm_upload
Copy a local file to a Windows host over WinRM by specifying a local path and a full remote Windows path.
Instructions
Copy a local file to the Windows host. local_path is relative to WINRM_MCP_LOCAL_ROOT (file transfer is disabled unless the operator sets it); remote_path is a full Windows path.
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": {
"local_path": "<local_path>",
"remote_path": "<remote_path>"
},
"name": "winrm_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connection | No | ||
| local_path | Yes | ||
| saved_host | No | ||
| remote_path | Yes | ||
| inventory_scope | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||