list_sites
Retrieve and filter sites managed under your account to view names, statuses, configurations, and other details using the ESA MCP Server.
Instructions
用于查询当前用户下的站点列表 ,包括站点的名称、状态、配置等信息。
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_sites"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteName | No | 站点名称。用于查询的过滤条件。 | |
| siteSearchType | No | 站点名称的搜索匹配模式。默认为精确匹配,取值:; - **prefix**:前缀匹配。; - **suffix**:后缀匹配。; - **exact**:精确匹配。; - **fuzzy**:模糊匹配。 | |
| pageNumber | No | 页码。默认值:**1**。 | |
| pageSize | No | 分页大小。默认值:**500**。 | |
| tagFilter | No | 标签过滤规则。 | |
| resourceGroupId | No | 资源组ID。用于查询的过滤条件。 | |
| status | No | 站点状态。用于查询的过滤条件。 | |
| onlyEnterprise | No | 仅企业版,传**true**时代表仅查询企业版的站点。 | |
| planSubscribeType | No | 套餐订阅类型。取值:; - **basicplan**: 基础版。; - **standardplan**:标准版。; - **advancedplan**:高级版。; - **enterpriseplan**:企业版。 | |
| coverage | No | 加速区域。取值:; - **domestic**:仅中国内地。; - **global**:全球。; - **overseas**:全球(不包含中国内地)。 | |
| accessType | No | 接入类型。取值:; - **NS**:通过NS托管接入。; - **CNAME**:通过CNAME接入。 | |
| orderBy | No | 排序字段,默认按照创建时间排序,支持; - gmtCreate:站点创建时间; - visitTime:站点访问时间 |