If and only if the user explicitly asks you to initialize codemcp with
path, you should invoke this tool. This will return instructions which you should
IMMEDIATELY follow before continuing, in particular, it will explain other ways
you can invoke this tool.
If the user indicates they want to "amend" or "continue working" on a PR,
you should set reuse_head_chat_id=True to continue using the same chat ID.
In each subsequent request NOT including the initial request to initialize
codemcp, you must call the UserPrompt tool with the user's verbatim
request text.
Arguments:
subtool: The subtool to run (InitProject, ...)
path: The path to the file or directory to operate on
user_prompt: The user's original prompt verbatim, starting AFTER instructions to initialize codemcp (e.g., you should exclude "Initialize codemcp for PATH")
subject_line: A short subject line in Git conventional commit format (for InitProject)
reuse_head_chat_id: If True, reuse the chat ID from the HEAD commit instead of generating a new one (for InitProject)
... (there are other arguments which will be documented when you InitProject)