get_endpoint_detail
Retrieve detailed information for a single API endpoint, including parameters and response definitions. Automatically detects the service from the endpoint path.
Instructions
获取单个API接口的详细信息,包括参数和响应定义。会根据path自动推断对应的服务(如/api/village/...会使用village服务)。
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": "get_endpoint_detail"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | API接口路径,如 "/api/village/VillageNursing/GetPageList" | |
| method | Yes | HTTP方法,如 "get", "post", "put", "delete" | |
| swagger_url | No | Swagger JSON文档的URL(可选,会根据path自动推断服务) |