搜索 YApi 接口
search_apiSearch YApi interfaces by keyword to find matching API names and paths.
Instructions
根据关键字搜索 YApi 接口,使用 YApi 内置搜索 API,匹配接口名称和路径。
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": {
"keyword": "<keyword>"
},
"name": "search_api"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keyword | Yes | 用于搜索接口名称或路径的关键字 | |
| projectId | No |