yapi_get_categories
Fetches interface categories for a given project ID, including category names, IDs, and summaries of interfaces within each category.
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": {
"project_id": "<project_id>"
},
"name": "yapi_get_categories"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | 项目 ID。省略时使用 token 中的 projectId。 |