remove_allowed_dir
Revoke write access for a directory by removing it from the allowlist, preventing Cursor dispatch from using it as the working directory.
Instructions
Revoke a previously granted write directory. Local Cursor dispatch will fail if cwd is no longer allowed.
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": "remove_allowed_dir"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Directory path to remove from the allowlist |