set_project_root
Set the target project root directory before working with projects that are not auto-detected. Call this first to ensure tools operate on the correct project.
Instructions
Sets the target project root directory.
Call this FIRST when working with a project that is not auto-detected.
Args:
path: Absolute path to the project root directory.
Returns:
Confirmation message with the new project root.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "set_project_root"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |