{"version":"2.1.302","anchor":"remote-listdirectoryforremote-tool-added","canonical_anchor":"remote-listdirectoryforremote-tool-added","heading":"Remote clients can list folders on your machine under your permission rules","tier":"notice","area":"Sessions","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.302\/e\/remote-listdirectoryforremote-tool-added","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.302","markdown":"### Remote clients can list folders on your machine under your permission rules\n\nA new remote tool lets a remote client list a folder's contents, subject to the session's permission rules and with a reason given when refused\n\n**Unclear.** It is not clear which remote clients can use this tool or whether something switches it on.\n\n**What**\n\nClaude Code has a new tool, `ListDirectoryForRemote`, that a remote client can use to list the contents of a folder. It checks the path and the session's permission rules first. It gives back a capped list of entries, or a refusal with a reason:\n\n- `read_rule`, when a permission rule blocks reading the folder.\n\n- `workspace_moved`, when the project folder has moved.\n\n- `unexpected_error`, for anything else.\n\n**Why**\n\nA remote client can browse folders on your machine while still being bound by the same permission rules as the session.\n\n- Area: Sessions\n- Tier: You'll notice\n- Useful: 4\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}