yapi_update_interface_basic
Update basic information of a YAPI interface by modifying only specified fields. Useful for changing title, path, method, or status while preserving other details.
Instructions
更新 YAPI 接口的基本信息(仅更新指定字段)
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_update_interface_basic"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | 接口 ID | |
| desc | No | 接口描述 | |
| path | No | 接口路径 | |
| catid | No | 接口分类 ID | |
| title | No | 接口标题 | |
| method | No | 请求方法 | |
| status | No | 接口状态 |