apiexplorer__ShowMockData
Retrieves mock API response data from YAML-defined examples by product, API name, and status code, so you can test and validate responses without live calls.
Instructions
[APIEXPLORER] 根据Yaml中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": {
"api_name": "<api_name>",
"product_short": "<product_short>",
"status_code": "<status_code>"
},
"name": "apiexplorer__ShowMockData"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| number | No | 该状态码的第几个示例 | |
| version | No | api版本号 | |
| api_name | Yes | api名称 | |
| region_id | No | region信息 | |
| status_code | Yes | 状态码 | |
| product_short | Yes | api产品短名 |