set_project_root
Specify the absolute path to the project root directory as a necessary first step to enable all subsequent Vitest testing operations.
Instructions
Set the project root directory for all subsequent operations. This must be called before using other tools to specify which repository to work with.
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 | Absolute path to the project root directory (must start with / on Unix or drive letter on Windows) |