resolve_path
Resolve relative WSL paths to absolute POSIX paths, expanding ~, ., and .. using the working directory and distro home.
Instructions
Resolve a possibly-relative WSL POSIX path (handles ~, ., ..) to an absolute POSIX path, using a working directory and the distro home.
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": {
"path": "<path>"
},
"name": "resolve_path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Working directory for relative paths | |
| path | Yes | The path to resolve | |
| distro | No | WSL distro; defaults to defaultDistro |