# Open website builder

> The link that opens the editor of a websitebuilder in the browser - logged in.

- Effect: Write - Changes the account. Agents ask first.
- Idempotent: yes
- Stability: beta
- MCP tool: `manitu_webhosting_web_vhost_websitebuilder_get` on https://mcp.manitu.de/mcp
- REST: `POST https://api.manitu.de/v1/webhosting/web/vhost/websitebuilder/get`
- Needs: `service_webhosting`
- Page: /reference/webhosting/web/vhost/websitebuilder/get/

**Changes the account. Agents say what will happen and wait for an explicit yes before calling it.**

## MCP tool

`manitu_webhosting_web_vhost_websitebuilder_get`

### Description for the model

Returns the link that opens manitu's website builder for a website of type websitebuilder of a web hosting package of the manitu customer account this connection works in, by site_id and fqdn from manitu_webhosting_web_vhost_list. The link logs in WITHOUT a password: give it to the customer only, as a link to click, and do not repeat it elsewhere. Refused with a conflict for another type (not_a_websitebuilder) or when the package has no website builder (feature_not_in_package). Ask the customer for an explicit yes first.

### Arguments

- `site_id` (integer | string, required) - The site_id from manitu_webhosting_list - never guess one. (pattern `"^[1-9][0-9]*$"`; minimum `1`)
- `fqdn` (string, required) - The websitebuilder from manitu_webhosting_web_vhost_list (type websitebuilder). Never guess one. (minLength `3`; maxLength `253`)

### Example

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "manitu_webhosting_web_vhost_websitebuilder_get",
    "arguments": {
      "site_id": 12345,
      "fqdn": "example.com"
    }
  }
}
```

## REST

`POST https://api.manitu.de/v1/webhosting/web/vhost/websitebuilder/get`

### Authentication

One of `X-API-Key`, `Authorization: Bearer …` - never more than one in a request.

### Request body

JSON; unknown fields are refused.

- `site_id` (integer | string, required) - The site_id from manitu_webhosting_list - never guess one. (pattern `"^[1-9][0-9]*$"`; minimum `1`)
- `fqdn` (string, required) - The websitebuilder from manitu_webhosting_web_vhost_list (type websitebuilder). Never guess one. (minLength `3`; maxLength `253`)

### Response

In `data`; the rest of the body as on every call.

- `fqdn` (string, required) - The websitebuilder.
- `url` (string, required) - Opens the editor, logged in - a secret: for the customer only.

### Statuses

- `200` Success.
- `400` The request does not match the declared input schema.
- `401` No credential was presented, or it was not recognised.
- `403` The credential is not permitted to use this operation.
- `500` The server failed. Nothing about the request was wrong. Whether a change took effect is not known - check before trying it again.
- `503` The channel this operation forwards through is unavailable.

### Example

```sh
curl -X POST 'https://api.manitu.de/v1/webhosting/web/vhost/websitebuilder/get' \
  -H 'X-API-Key: $API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"site_id":12345,"fqdn":"example.com"}'
```

## Example result

```json
{
  "fqdn": "example.com",
  "url": "https://www.example.com/"
}
```
