yapi_get_interface
Fetch YApi API interface details by ID, including method, path, parameters, and responses. Optionally returns full raw data.
Instructions
根据接口 ID 获取方法、路径、描述、入参和出参;可选返回原始全量数据
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": {
"id": "<id>"
},
"name": "yapi_get_interface"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | 接口 ID | |
| full | No | 是否返回 YApi 原始全量数据,默认 false |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |