docs_generate_swagger_ui
Turn an OpenAPI specification into an interactive Swagger UI HTML page for visualizing and testing API endpoints.
Instructions
Generate a Swagger UI HTML page from an OpenAPI specification
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": {
"openapi_spec": "<openapi_spec>"
},
"name": "docs_generate_swagger_ui"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| theme | No | Swagger UI theme (e.g., 'default', 'dark') | |
| api_key | No | API key for authentication | |
| openapi_spec | Yes | OpenAPI specification in JSON or YAML format |