Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Get Portal Attachment
SWAGGERHUB_GET_PORTAL_ATTACHMENTTool to get informational attachment metadata from SwaggerHub Portal. Use when you need to retrieve details about a specific attachment by its UUID. This endpoint supports both authenticated and unauthenticated access for branding attachments or public product attachments.
Get Portal Product
SWAGGERHUB_GET_PORTAL_PRODUCTRetrieve information about a specific SwaggerHub portal product using its UUID or portal-subdomain:product-slug identifier. Optionally embed related resources in the response.
Get Portal Products
SWAGGERHUB_GET_PORTAL_PRODUCTSTool to get products for a specific portal that match your criteria. Use when you need to retrieve a list of products from a portal, with optional filtering by name or slug and pagination support.
Get Portals
SWAGGERHUB_GET_PORTALSTool to search for available portals. Returns portals where you have a designer role, either at the product level or organization level.
Get Portal Templates
SWAGGERHUB_GET_PORTAL_TEMPLATESTool to get templates for a specific portal that match your criteria. Use when you need to list or search for templates within a portal by name or other filters. Supports pagination for large result sets.
Get API Version Private Settings
SWAGGERHUB_GET_PRIVATE_SETTINGSTool to get the visibility (public or private) of an API version. Use when you need to check whether a specific API version is publicly accessible or private.
List Resource Types and Roles
SWAGGERHUB_GET_RESOURCE_TYPESTool to list available resource types and assignable roles for each in a SwaggerHub organization. Use when you need to understand what roles can be assigned to different resource types like APIs, domains, projects, teams, and organizations.
Get Templates
SWAGGERHUB_GET_TEMPLATESTool to retrieve a list of templates for an owner in SwaggerHub. Use when you need to get available templates for creating new API definitions or domain models.
Get User Roles
SWAGGERHUB_GET_USER_ROLESRetrieve a page of roles assigned to a user across resources in a SwaggerHub organization, including APIs, teams, domains, and other resources.
Get YAML Definition
SWAGGERHUB_GET_YAML_DEFINITIONTool to get the OpenAPI definition in YAML format for the specified API version from SwaggerHub. Use when you need to retrieve the API specification as YAML text for parsing, storage, or processing.
List Attachments
SWAGGERHUB_LIST_ATTACHMENTSTool to retrieve all attachments for a portal or product. Use when you need to list attachments associated with either a specific portal or product. Provide either productId or portalId, not both.
Search APIs
SWAGGERHUB_SEARCH_APISSearch SwaggerHub APIs by free text and published state, with pagination and sorting.
Search APIs and Domains
SWAGGERHUB_SEARCH_APIS_AND_DOMAINSTool to search SwaggerHub APIs, domains, and templates. Use when you need to retrieve a list of currently defined APIs, domains, and/or templates in APIs.json format. Supports filtering by spec type, visibility, state, owner, and free text search with pagination and sorting.
Search Domains
SWAGGERHUB_SEARCH_DOMAINSSearch SwaggerHub domains by text or published state, with pagination and sorting.
Search Published Portal
SWAGGERHUB_SEARCH_PUBLISHED_PORTALSearch published content in a specific SwaggerHub portal for APIs, operations, schemas, or documents. The tool uses a SwaggerHub API key connection.