Set project root
set_project_rootExplicitly set the target project root directory when automated discovery of playwright.config.* fails, ensuring Playwright tests target the correct project.
Instructions
Explicitly set the target project root directory. Use this as a fallback if playwright.config.* cannot be automatically discovered by other tools.
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": {
"projectRoot": "<projectRoot>"
},
"name": "set_project_root"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectRoot | Yes | Absolute path to the target project root, e.g. "/home/user/my-app". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | ||
| projectRoot | Yes |