Show the folders of a web hosting package
Where the web part of a package keeps what, and who owns it.
manitu_webhosting_web_structure_get on https://mcp.manitu.de/mcpAnnotations as tools/list sends them
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_idinteger | stringrequiredThe site_id from manitu_webhosting_list - never guess one.
Result structuredContent, checked against the schema
site_idintegerrequiredlayoutstringrequiredWhich of two layouts: current - every new package, and those moved in the platform migration at the end of 2025, htdocs is web/htdocs; legacy - the older one, htdocs is web. Never assume one: paths differ.
accountobjectrequiredThe package's Unix account - both named site<id> today, but two roles.
account.web_userstringrequiredThe user the web server and PHP run as - not an FTP or SSH user.
account.groupstringrequiredThe package's group - the web server, PHP and every FTP and SSH user of the package are in it. Files are meant to be read- and writable for it, never for others.
folder_listarray of objectrequiredfolder_list[].namestringrequiredfolder_list[].purposestring | nullrequiredfolder_list[].pathobjectrequiredfolder_list[].path.absolutestringrequiredAbsolute, ending in "/" - as an SSH user of the package sees it. An FTP user sees the part below its own start folder.
folder_list[].path.apistring | nullrequiredRelative to the web root, ending in "/" - as the API takes folders (target_dir of a website, directory of manitu_webhosting_web_permission_set); null above the web root.
folder_list[].owner_userstringrequiredfolder_list[].owner_groupstringrequiredfolder_list[].modestringrequiredOctal, as the folder is set up.
website_folder_templateobjectrequiredWhere a website's folder belongs - {fqdn} is its full name, e.g. www.example.com.
website_folder_template.absolutestringrequiredwebsite_folder_template.apistringrequiredAs target_dir of manitu_webhosting_web_vhost_create takes it.
Not offered over REST - only to agents over MCP.