Tool · Websites
list_website_domains
List the domains hosted on one of the caller's hosting services, by service ID: the main domain plus any addon domains, subdomains, and parked (alias) domains, each with its document root. The result is the complete set for that account. Use it to discover which domain to pass to get_website_logs or to map a site to its directory on the server.
Read-onlyIdempotentscope read:websites
Invoked over the MCP transport with a tools/call request naming this tool.
Authorization #
Requires a valid OAuth 2.1 bearer access_token whose grant includes the read:websites scope — View the domains and document roots hosted on your hosting accounts. The broker resolves the caller from the token and returns only records the account owns.
Parameters #
service_idintegerRequired
The hosting service ID whose hosted domains to list. Obtain it via list_services.
Response #
200 · application/json
domainsarray<object>
domainstring
typestring
One of: main addon sub parked other
document_rootstring
Errors #
| Result | When |
|---|---|
| { "error": "not_found" } | The requested item does not exist, or it belongs to another account. Cross-account IDs are indistinguishable from missing ones by design. |