Initialize
Set up the shell environment in a specified project directory, configure initial files, and define mode (wcgw, architect, code-writer) for MCP server interactions. Use to start, reset, or switch workspaces and modes.
Instructions
Always call this at the start of the conversation before using any of the shell tools from wcgw.
Use
any_workspace_path
to initialize the shell in the appropriate project directory.If the user has mentioned a workspace or project root or any other file or folder use it to set
any_workspace_path
.If user has mentioned any files use
initial_files_to_read
to read, use absolute paths only (~ allowed)By default use mode "wcgw"
In "code-writer" mode, set the commands and globs which user asked to set, otherwise use 'all'.
Use type="first_call" if it's the first call to this tool.
Use type="user_asked_mode_change" if in a conversation user has asked to change mode.
Use type="reset_shell" if in a conversation shell is not working after multiple tries.
Use type="user_asked_change_workspace" if in a conversation user asked to change workspace
Input Schema
Name | Required | Description | Default |
---|---|---|---|
any_workspace_path | Yes | Workspce to initialise in. Don't use ~ by default, instead use empty string | |
code_writer_config | No | ||
initial_files_to_read | Yes | ||
mode_name | Yes | ||
task_id_to_resume | Yes | ||
thread_id | Yes | Use the thread_id created in first_call, leave it as empty string if first_call | |
type | Yes |