yapi_search_apis
Search APIs in a YApi project by keyword matching title or path. Optionally filter by HTTP method to get a precise list.
Instructions
在项目内按关键词搜索接口(匹配 title/path,可选按 method 过滤),返回接口列表。
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": {
"query": "<query>"
},
"name": "yapi_search_apis"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | 搜索关键词,按子串匹配接口 title 或 path(不区分大小写)。 | |
| method | No | 可选。按 HTTP 方法过滤。 | |
| project_id | No | 项目 ID。省略时使用 token 中的 projectId。 |