Open Workspace
open_workspaceOpen a local project directory to bind tasks to a workspace, supporting read-only inspection when activation is disabled and returning a file tree to orient subsequent work.
Instructions
Open a local project directory. In a ChatGPT Connector request this updates only the current conversation binding and never changes the global active workspace; local CLI calls retain the global active-workspace compatibility path. Set activate=false for read-only inspection.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Alias for root. Useful for clients that naturally send path instead of root. | |
| root | No | Project directory to open. Omit to use CODEXPRO_ROOT/current working directory. Supports ~/ paths. | |
| activate | No | Activate and bind this workspace. Default: true. Set false for read-only inspection. | |
| max_depth | No | Tree depth. Default: 3. | |
| max_files | No | Alias for maximum tree entries. Default: 500. | |
| include_tree | No | Include a compact file tree. Default: true. | |
| include_skills | No | Discover skills by name/description. Default: false for speed. | |
| conversation_id | No | Stable conversation id used to bind subsequent tasks to this workspace. | |
| bootstrap_context | No | Deprecated and ignored. Use handoff_to_agent to create .ai-bridge files. | |
| include_global_skills | No | Also scan installed user/plugin skills when include_skills=true. Default: false. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool_result | Yes |