Command reference ยท Cursor CLI
agent sandbox reset
Resets the sandbox configuration to its default values.
agent sandbox reset discards custom sandbox configuration (e.g. allow/readonly paths, network setting) and restores the default values.
โ WHEN TO USE IT?
Restore a clean starting point after experimenting with paths/rules
agent sandbox reset
โ WHEN NOT TO?
Only a single setting needs to change, not all of them
agent sandbox reset resets the entire configuration, not just one value.
Better: Use agent sandbox enable/disable or the --allow-paths/--network flags on sandbox run in a targeted way
SOURCES
- Cursor Docs โ CLI Reference: Parameters โ cursor.com