add_service
Register a named Swagger/OpenAPI source for a workspace, enabling offline API search and request examples. It saves the source reference without fetching the document.
Instructions
Add a named Swagger/OpenAPI source. It does not fetch the document.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Swagger/OpenAPI JSON URL or file URL. | |
| service | Yes | Stable service name, such as datapool. | |
| overwrite | No | ||
| workspace | Yes | Absolute path to the business project that owns .swagger-mcp. |