Create Ploi site
ploi_create_siteCreate a new site on a Ploi server by providing server ID and root domain. Supports various project types like Laravel, WordPress, and more.
Instructions
Create a new site on a Ploi server.
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": {
"server_id": "<server_id>",
"root_domain": "<root_domain>"
},
"name": "ploi_create_site"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server_id | Yes | Ploi server ID. | |
| root_domain | Yes | Root domain for the site. | |
| system_user | No | System user that owns the site files. | |
| webhook_url | No | Webhook called when site creation completes. | |
| project_root | No | Project root path. | |
| project_type | No | Application project type. | |
| web_directory | No | Web directory path. | /public |
| webserver_template | No | Webserver template ID. |