Upload a file into WSL
wsl_uploadCopy a file from the Windows host into a WSL distro using absolute paths, while refusing credential and MCP configuration files.
Instructions
Copy a file from this machine into the distro. The local path is resolved on the Windows side (a POSIX-looking path becomes \…), and the reply prints it — check it. Credential files and MCP configuration on the local side are refused.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session | No | Session id from wsl_connect. Optional — the file tools do not depend on a session's working directory, paths are absolute. | |
| localPath | Yes | Path on this machine, '~' expanded. | |
| remotePath | Yes | Absolute destination path in the distro (the file, not its directory). |