infomaniak_create_site
Create a site on Infomaniak web hosting using a two-step process: obtain a confirmation token, then confirm to finalize the creation.
Instructions
Creates a new site on an Infomaniak web hosting. Two-phase commit: first call returns a plan with a confirmation_token, second call (same params + token) actually creates the 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": {
"hosting_id": "<hosting_id>",
"fqdn": "<fqdn>"
},
"name": "infomaniak_create_site"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fqdn | Yes | ||
| directory | No | ||
| hosting_id | Yes | ||
| environment | No | apache_php | |
| confirmation_token | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||