validate_path
Checks if a relative path is safe by ensuring it stays within the workspace, blocks traversal and symlink escapes, without touching the filesystem.
Instructions
Check whether a given relative path is valid and safe (no traversal, stays within the workspace, no symlink escape) without performing any read/write operation.
Args: path: Path to validate, relative to the workspace root.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||