# Show the folders of a web hosting package

> Where the web part of a package keeps what, and who owns it.

- Effect: Read - Changes nothing.
- Idempotent: yes
- Stability: beta
- MCP tool: `manitu_webhosting_web_structure_get` on https://mcp.manitu.de/mcp
- Needs: `service_webhosting`
- Page: /reference/webhosting/web/structure/get/

## MCP tool

`manitu_webhosting_web_structure_get`

### Description for the model

Shows how the web part of a web hosting package of the manitu customer account this connection works in is laid out, by its site_id from manitu_webhosting_list: the layout (legacy or current - never assume one), the user PHP runs as and the package's group, its folders with path.absolute and path.api (as target_dir of a website and manitu_webhosting_web_permission_set take it), owner and mode, and where a website's folder belongs (website_folder_template). Call it before you name a path to the customer or pick a folder for a website; how owners, group and modes work says manitu_webhosting_web_guide_get. It changes nothing.

### Arguments

- `site_id` (integer | string, required) - The site_id from manitu_webhosting_list - never guess one. (pattern `"^[1-9][0-9]*$"`; minimum `1`)

### Example

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "manitu_webhosting_web_structure_get",
    "arguments": {
      "site_id": 12345
    }
  }
}
```

## Example result

```json
{
  "site_id": 12345,
  "layout": "legacy",
  "account": {
    "web_user": "string",
    "group": "string"
  },
  "folder_list": [
    {
      "name": "example.com",
      "purpose": "string",
      "path": {
        "absolute": "string",
        "api": "string"
      },
      "owner_user": "string",
      "owner_group": "string",
      "mode": "string"
    }
  ],
  "website_folder_template": {
    "absolute": "string",
    "api": "string"
  }
}
```
