resolve_cwd
Validate whether a path or project name is inside allowed roots and return the exact working directory to use for running commands.
Instructions
Verifies whether the given path (or a friendly project name) is inside the allowed roots of this MCP server and returns the exact "cwd" to use for running commands. Use this tool when you need to find out whether — and with which "cwd" — you can work in a specific project (e.g. your workspace folder). On success: { ok: true, cwd, matchedRoot, name? }; on failure: { ok: false, error, roots }. Runs no commands — it only validates the configuration.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path or friendly project name to verify |