change_directory
Changes the current working directory to a specified path, verifying the directory exists and remains within the sandbox.
Instructions
Change the current working directory. Similar to 'cd' command. The new directory must exist and be within the sandbox. / 切换当前工作目录。类似 'cd' 命令。新目录必须存在且在沙箱范围内。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | The target directory path. Can be absolute or relative to the current working directory. Use '..' to go to parent directory. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | ||
| success | Yes |