getApi
Retrieve parameter and return value types for any API endpoint by specifying its path and HTTP method. Provides direct Swagger/OpenAPI type details for AI assistants.
Instructions
获取指定接口的参数和返回值类型信息
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": {
"path": "<path>",
"method": "<method>"
},
"name": "getApi"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | 接口路径,如 /api/channelType/list | |
| method | Yes | HTTP 方法,如 GET, POST, PUT, DELETE |