yapi_interface_get
Retrieve detailed API interface specifications from YAPI documentation by providing a URL or project/ID parameters to access comprehensive endpoint information.
Instructions
获取接口详情,可直接传入 YAPI 接口页面 URL 自动解析参数
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "yapi_interface_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | YAPI 接口页面 URL(可选),如 https://yapi.xxx.com/project/1009/interface/api/108375,会自动解析出项目 ID、接口 ID 等参数 | |
| project | No | 项目 ID(可选,不传则使用默认项目) | |
| id | No | 接口 ID(如果传了 url 则可省略) |