Download a file from WSL
wsl_downloadCopy a file from a WSL distro to Windows using wsl.exe, returning the resolved local path for verification. Requires an existing destination directory and blocks credential and MCP config locations.
Instructions
Copy a file from the distro to this machine. The local path is resolved on the Windows side and printed in the reply — check it. The destination directory must already exist; credential locations 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 | Destination path on this machine, '~' expanded. | |
| remotePath | Yes | Absolute source path in the distro. |