apig__ListApiRuntimeDefinitionV2
Retrieves the runtime definition of a specified API in a chosen environment, defaulting to RELEASE, so you can inspect deployed API behavior and configuration.
Instructions
[APIG] 查看指定的API在指定的环境上的运行时定义,默认查询RELEASE环境上的运行时定义。
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": {
"api_id": "<api_id>",
"instance_id": "<instance_id>",
"project_id": "<project_id>"
},
"name": "apig__ListApiRuntimeDefinitionV2"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_id | Yes | API的编号 | |
| env_id | No | API的发布环境编号 | |
| project_id | Yes | 项目ID,获取方式请参见[获取项目ID](apig-api-180713009.xml)。 | |
| instance_id | Yes | 实例ID,在API网关控制台的“实例信息”中获取。 |