List your API domains
list_domainsRetrieve API domains available for deploying endpoints, including IDs for deploy_endpoint, with optional workspace filtering and name/slug search.
Instructions
Lists the API domains you can deploy endpoints into (id, name, slug, baseUrl). Use the returned id as deploy_endpoint's domainId. Pass workspaceId to list the domains usable for a specific workspace (e.g. a shared one — the owner's domains). If empty, create one with create_domain — no UI step needed.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_domains"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Filter domains by name/slug. | |
| workspaceId | No | List domains deployable for this workspace (its owner's). |