load_api
Load API specifications into the Swagger/OpenAPI MCP Server by providing the API ID and source URL or file path to enable exploration and interaction with endpoints.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
apiId | Yes | Unique identifier for this API | |
source | Yes | URL or file path to the OpenAPI/Swagger specification |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"apiId": {
"description": "Unique identifier for this API",
"type": "string"
},
"source": {
"description": "URL or file path to the OpenAPI/Swagger specification",
"type": "string"
}
},
"required": [
"apiId",
"source"
],
"type": "object"
}