add_swagger_project
Register a Swagger/OpenAPI specification by providing a project name and the JSON URL or local path, making its endpoints available for reading and parsing.
Instructions
添加一个项目的Swagger/OpenAPI配置
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>",
"swaggerUrl": "<swaggerUrl>"
},
"name": "add_swagger_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | 项目名称 | |
| swaggerUrl | Yes | Swagger/OpenAPI JSON文件的URL地址或本地文件路径 |