servicestage__ShowEnvironments
Retrieves all created ServiceStage environments for a project with optional filters by name, environment ID, enterprise project, and pagination, enabling users to list and inspect available deployment environments.
Instructions
[SERVICESTAGE] 此API用来获取所有已经创建环境。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project_id": "<project_id>"
},
"name": "servicestage__ShowEnvironments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | 环境名称 | |
| limit | No | 指定个数,明确指定的时候用于分页,取值[0, 100]。不指定的时候表示不分页,最多查询1000条记录。 | |
| order | No | desc/asc,默认desc。 | |
| offset | No | 指定查询偏移量,默认偏移量为0. | |
| order_by | No | 排序字段,默认按创建时间排序。 | |
| project_id | Yes | 租户项目ID。 | |
| environment_id | No | 环境id | |
| enterprise_project_id | No | 企业项目id |