yapi_interface_add_cat
Create a new category in YAPI API documentation to organize interfaces by project or functionality, specifying name and optional description.
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": {
"name": "<name>"
},
"name": "yapi_interface_add_cat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | YAPI 接口页面 URL(可选),如 https://yapi.xxx.com/project/1009/interface/api/108375,会自动解析出项目 ID、接口 ID 等参数 | |
| project | No | 项目 ID(可选,不传则使用默认项目) | |
| name | Yes | 分类名称 | |
| desc | No | 分类描述(可选) |