init_project
Links a local project to a Ploi site by creating a .ploi.json configuration file using the specified domain.
Instructions
Initialize .ploi.json config for a project by searching for a domain. Use when user wants to link a project to a Ploi site.
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": {
"project_path": "<project_path>",
"domain": "<domain>"
},
"name": "init_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | Yes | The path to the project directory (must be within the project root) | |
| domain | Yes | The domain name of the Ploi site to link | |
| overwrite | No | Overwrite an existing .ploi.json (default false) |