SmartBear

SmartBear

MCP server for AI access to SmartBear tools, including BugSnag, Reflect, API Hub, PactFlow.

10K+

160 Tools

Packaged by
Requires Secrets
Add to Docker Desktop

Version 4.43 or later needs to be installed to add the server automatically

Use cases

Get full details on an error, including aggregated and summarized data across all events (occurrences) and details of the latest event (occurrence), such as breadcrumbs, metadata and the stacktrace. Use the filters parameter to narrow down the summaries further. **Toolset:** Errors **Parameters:** - projectId (string): Unique identifier of the project. This is optional if a current project is set and is used to set the current project for BugSnag tools. - errorId (string) *required*: Unique identifier of the error to retrieve - filters (record<string, array>): Apply filters to narrow down the error list. Use the List Project Event Filters tool to discover available filter fields. Time filters support extended ISO 8601 format (e.g. 2018-05-20T00:00:00Z) or relative format (e.g. 7d, 24h). (default: {"event.since":[{"type":"eq","value":"30d"}],"error.status":[{"type":"eq","value":"open"}]}) **Output Description:** JSON object containing: - error_details: Aggregated data about the error, including first and last seen occurrence - latest_event: Detailed information about the most recent occurrence of the error, including stacktrace, breadcrumbs, user and context - pivots: List of pivots (summaries) for the error, which can be used to analyze patterns in occurrences - url: A link to the error in the dashboard - this should be shown to the user for them to perform further analysis **Use Cases:** 1. Investigate a specific error found through the List Project Errors tool 2. Understand which types of user are affected by the error using summarized event data 3. Get error details for debugging and root cause analysis 4. Retrieve error metadata for incident reports and documentation **Examples:** 1. Get details for a specific error ```json { "errorId": "6863e2af8c857c0a5023b411" } ``` Expected Output: JSON object with error details including message, stack trace, occurrence count, and metadata **Hints:** 1. Error IDs can be found using the List Project Errors tool 2. Use this after filtering errors to get detailed information about specific errors 3. Use Get Event Details tool if you need detailed information about a specific event (occurrence) rather than the aggregated error 4. If you used a filter to get this error, you can pass the same filters here to restrict the results or apply further filters 5. The URL provided in the response points should be shown to the user in all cases as it allows them to view the error in the dashboard and perform further analysis

Gets a list of events that have grouped into the specified error **Toolset:** Events **Parameters:** - projectId (string): Unique identifier of the project. This is optional if a current project is set and is used to set the current project for BugSnag tools. - errorId (string) *required*: Unique identifier of the error - filters (record<string, array>): Apply filters to narrow down the event list. Use the List Project Event Filters tool to discover available filter fields. Time filters support extended ISO 8601 format (e.g. 2018-05-20T00:00:00Z) or relative format (e.g. 7d, 24h). (default: {"event.since":[{"type":"eq","value":"30d"}],"error.status":[{"type":"eq","value":"open"}]}) - direction (enum): Sort direction for ordering results (default: "desc") - perPage (number): How many results to return per page. (default: 30) - nextUrl (string): URL for retrieving the next page of results. Use the value in the previous response to get the next page when more results are available. Only values provided in the output from this tool can be used. Do not attempt to construct it manually. **Use Cases:** 1. Retrieving all the events for comparison to find commonalities or differences in stack traces, breadcrumbs and metadata **Examples:** 1. Get events of an error ```json { "projectId": "1234567890abcdef12345678", "errorId": "6863e2af012caf1d5c320000" } ``` Expected Output: A list of events, ordered by timestamp, with complete details including stack trace, breadcrumbs, metadata, and context

Get all spans within a specific trace **Toolset:** Performance **Parameters:** - projectId (string): Unique identifier of the project. This is optional if a current project is set and is used to set the current project for BugSnag tools. - traceId (string) *required*: Trace ID - from (string) *required*: Start time (ISO 8601 format) - to (string) *required*: End time (ISO 8601 format) - targetSpanId (string): Optional target span ID to focus on - perPage (number): How many results to return per page. (default: 30) - nextUrl (string): URL for retrieving the next page of results. Use the value in the previous response to get the next page when more results are available. Only values provided in the output from this tool can be used. Do not attempt to construct it manually. **Use Cases:** 1. Debug slow requests by viewing all operations in the trace 2. Understand the flow of a request through the system 3. Identify bottlenecks in distributed systems **Examples:** 1. Get all spans for a trace ```json { "traceId": "abc123", "from": "2024-01-01T00:00:00Z", "to": "2024-01-01T23:59:59Z" } ``` Expected Output: Array of all spans in the trace with timing and hierarchy 2. Get spans for a trace with pagination and target span ```json { "traceId": "def456", "from": "2024-01-01T00:00:00Z", "to": "2024-01-01T23:59:59Z", "targetSpanId": "span-789", "perPage": 50 } ``` Expected Output: Array of up to 50 spans focused around the target span **Hints:** 1. Traces show the complete execution path of a request 2. Use from/to parameters to narrow the time window 3. targetSpanId can be used to focus on a specific span in the trace

About

SmartBear MCP Server

MCP server for AI access to SmartBear tools, including BugSnag, Reflect, API Hub, PactFlow.

What is an MCP Server?

MCP Info

Image Building Info

AttributeDetails
Dockerfilehttps://github.com/SmartBear/smartbear-mcp/blob/46b43e73069b9614ee0bcf0082443758d3bf8aaa/Dockerfile
Commit46b43e73069b9614ee0bcf0082443758d3bf8aaa
Docker Image built byDocker Inc.
Docker Scout Health ScoreDocker Scout Health Score
Verify SignatureCOSIGN_REPOSITORY=mcp/signatures cosign verify mcp/smartbear --key https://raw.githubusercontent.com/docker/keyring/refs/heads/main/public/mcp/latest.pub
LicenceMIT License

Available Tools (160)

Tools provided by this ServerShort Description
bugsnag_get_buildBugSnag: Get Build
bugsnag_get_current_projectBugSnag: Get Current Project
bugsnag_get_errorBugSnag: Get Error
bugsnag_get_eventBugSnag: Get Event
bugsnag_get_event_details_from_dashboard_urlBugSnag: Get Event Details From Dashboard URL
bugsnag_get_events_on_an_errorBugSnag: Get Events on an Error
bugsnag_get_network_endpoint_groupingsBugSnag: Get Network Endpoint Groupings
bugsnag_get_releaseBugSnag: Get Release
bugsnag_get_span_groupBugSnag: Get Span Group
bugsnag_get_traceBugSnag: Get Trace
bugsnag_list_project_errorsBugSnag: List Project Errors
bugsnag_list_project_event_filtersBugSnag: List Project Event Filters
bugsnag_list_projectsBugSnag: List Projects
bugsnag_list_releasesBugSnag: List Releases
bugsnag_list_span_groupsBugSnag: List Span Groups
bugsnag_list_spansBugSnag: List Spans
bugsnag_list_trace_fieldsBugSnag: List Trace Fields
bugsnag_set_network_endpoint_groupingsBugSnag: Set Network Endpoint Groupings
bugsnag_update_errorBugSnag: Update Error
contract-testing_add_label_to_pacticipantContract Testing: Add Label to Pacticipant
contract-testing_admin_add_role_to_userContract Testing: Admin Add Role to User
contract-testing_admin_create_roleContract Testing: Admin Create Role
contract-testing_admin_create_system_accountContract Testing: Admin Create System Account
contract-testing_admin_create_teamContract Testing: Admin Create Team
contract-testing_admin_create_userContract Testing: Admin Create User
contract-testing_admin_delete_roleContract Testing: Admin Delete Role
contract-testing_admin_delete_teamContract Testing: Admin Delete Team
contract-testing_admin_delete_userContract Testing: Admin Delete User
contract-testing_admin_get_roleContract Testing: Admin Get Role
contract-testing_admin_get_system_account_tokensContract Testing: Admin Get System Account Tokens
contract-testing_admin_get_teamContract Testing: Admin Get Team
contract-testing_admin_get_team_userContract Testing: Admin Get Team User
contract-testing_admin_get_userContract Testing: Admin Get User
contract-testing_admin_invite_usersContract Testing: Admin Invite Users
contract-testing_admin_list_permissionsContract Testing: Admin List Permissions
contract-testing_admin_list_rolesContract Testing: Admin List Roles
contract-testing_admin_list_team_usersContract Testing: Admin List Team Users
contract-testing_admin_list_teamsContract Testing: Admin List Teams
contract-testing_admin_list_usersContract Testing: Admin List Users
contract-testing_admin_patch_team_usersContract Testing: Admin Patch Team Users
contract-testing_admin_remove_role_from_userContract Testing: Admin Remove Role from User
contract-testing_admin_remove_user_from_teamContract Testing: Admin Remove User from Team
contract-testing_admin_reset_rolesContract Testing: Admin Reset Roles
contract-testing_admin_set_team_usersContract Testing: Admin Set Team Users
contract-testing_admin_set_user_rolesContract Testing: Admin Set User Roles
contract-testing_admin_update_roleContract Testing: Admin Update Role
contract-testing_admin_update_teamContract Testing: Admin Update Team
contract-testing_admin_update_userContract Testing: Admin Update User
contract-testing_can_i_deployContract Testing: Can I Deploy
contract-testing_check_pactflow_ai_entitlementsContract Testing: Check PactFlow AI Entitlements
contract-testing_create_environmentContract Testing: Create Environment
contract-testing_create_pacticipantContract Testing: Create Pacticipant
contract-testing_create_secretContract Testing: Create Secret
contract-testing_create_webhookContract Testing: Create Webhook
contract-testing_delete_all_integrationsContract Testing: Delete All Integrations
contract-testing_delete_branchContract Testing: Delete Branch
contract-testing_delete_environmentContract Testing: Delete Environment
contract-testing_delete_integrationContract Testing: Delete Integration
contract-testing_delete_pacticipantContract Testing: Delete Pacticipant
contract-testing_delete_secretContract Testing: Delete Secret
contract-testing_delete_webhookContract Testing: Delete Webhook
contract-testing_execute_webhookContract Testing: Execute Webhook
contract-testing_get_audit_logContract Testing: Get Audit Log
contract-testing_get_bdct_consumer_by_consumer_versionContract Testing: Get BDCT Consumer by Consumer Version
contract-testing_get_bdct_consumer_contract_verification_resultsContract Testing: Get BDCT Consumer Contract Verification Results
contract-testing_get_bdct_consumer_contractsContract Testing: Get BDCT Consumer Contracts
contract-testing_get_bdct_consumer_pact_test_results_by_consumerContract Testing: Get BDCT Consumer Pact Test Results by Consumer
contract-testing_get_bdct_cross-contract_verification_resultsContract Testing: Get BDCT Cross-Contract Verification Results
contract-testing_get_bdct_provider_by_consumer_versionContract Testing: Get BDCT Provider by Consumer Version
contract-testing_get_bdct_provider_check_results_by_consumerContract Testing: Get BDCT Provider Check Results by Consumer
contract-testing_get_bdct_provider_contractContract Testing: Get BDCT Provider Contract
contract-testing_get_bdct_provider_contract_verification_resultsContract Testing: Get BDCT Provider Contract Verification Results
contract-testing_get_bdct_x-contract_test_results_by_consumerContract Testing: Get BDCT X-Contract Test Results by Consumer
contract-testing_get_branchContract Testing: Get Branch
contract-testing_get_branch_versionsContract Testing: Get Branch Versions
contract-testing_get_current_userContract Testing: Get Current User
contract-testing_get_currently_deployed_versionsContract Testing: Get Currently Deployed Versions
contract-testing_get_currently_supported_versionsContract Testing: Get Currently Supported Versions
contract-testing_get_deployed_versions_for_versionContract Testing: Get Deployed Versions for Version
contract-testing_get_environmentContract Testing: Get Environment
contract-testing_get_integrations_by_teamContract Testing: Get Integrations by Team
contract-testing_get_latest_pacticipant_versionContract Testing: Get Latest Pacticipant Version
contract-testing_get_metricsContract Testing: Get Metrics
contract-testing_get_pacticipantContract Testing: Get Pacticipant
contract-testing_get_pacticipant_labelContract Testing: Get Pacticipant Label
contract-testing_get_pacticipant_networkContract Testing: Get Pacticipant Network
contract-testing_get_pacticipant_versionContract Testing: Get Pacticipant Version
contract-testing_get_pacts_for_verificationContract Testing: Get Pacts for Verification
contract-testing_get_provider_statesContract Testing: Get Provider States
contract-testing_get_released_versions_for_versionContract Testing: Get Released Versions for Version
contract-testing_get_secretContract Testing: Get Secret
contract-testing_get_system_preferencesContract Testing: Get System Preferences
contract-testing_get_team_metricsContract Testing: Get Team Metrics
contract-testing_get_user_preferencesContract Testing: Get User Preferences
contract-testing_get_webhookContract Testing: Get Webhook
contract-testing_list_api_tokensContract Testing: List API Tokens
contract-testing_list_branchesContract Testing: List Branches
contract-testing_list_environmentsContract Testing: List Environments
contract-testing_list_integrationsContract Testing: List Integrations
contract-testing_list_labelsContract Testing: List Labels
contract-testing_list_pacticipant_versionsContract Testing: List Pacticipant Versions
contract-testing_list_pacticipantsContract Testing: List Pacticipants
contract-testing_list_pacticipants_by_labelContract Testing: List Pacticipants by Label
contract-testing_list_secretsContract Testing: List Secrets
contract-testing_list_webhooksContract Testing: List Webhooks
contract-testing_matrixContract Testing: Matrix
contract-testing_patch_pacticipantContract Testing: Patch Pacticipant
contract-testing_publish_consumer_contractsContract Testing: Publish Consumer Contracts
contract-testing_publish_provider_contractContract Testing: Publish Provider Contract
contract-testing_record_deploymentContract Testing: Record Deployment
contract-testing_record_releaseContract Testing: Record Release
contract-testing_regenerate_api_tokenContract Testing: Regenerate API Token
contract-testing_remove_label_from_pacticipantContract Testing: Remove Label from Pacticipant
contract-testing_test_execute_webhooksContract Testing: Test Execute Webhooks
contract-testing_update_environmentContract Testing: Update Environment
contract-testing_update_pacticipantContract Testing: Update Pacticipant
contract-testing_update_pacticipant_versionContract Testing: Update Pacticipant Version
contract-testing_update_secretContract Testing: Update Secret
contract-testing_update_webhookContract Testing: Update Webhook
reflect_add_prompt_stepReflect: Add Prompt Step
reflect_add_segmentReflect: Add Segment
reflect_cancel_suite_executionReflect: Cancel Suite Execution
reflect_connect_to_sessionReflect: Connect To Session
reflect_delete_previous_stepReflect: Delete Previous Step
reflect_execute_suiteReflect: Execute Suite
reflect_get_screenshotReflect: Get Screenshot
reflect_get_suite_execution_statusReflect: Get Suite Execution Status
reflect_get_test_detailReflect: Get Test Detail
reflect_get_test_statusReflect: Get Test Status
reflect_list_segmentsReflect: List Segments
reflect_list_suite_executionsReflect: List Suite Executions
reflect_list_suitesReflect: List Suites
reflect_list_testsReflect: List Tests
reflect_run_testReflect: Run Test
swagger_create_api_from_promptSwagger: Create API from Prompt
swagger_create_documentation_pageSwagger: Create Documentation Page
swagger_create_or_update_apiSwagger: Create or Update API
swagger_create_portalSwagger: Create Portal
swagger_create_portal_productSwagger: Create Portal Product
swagger_create_table_of_contentsSwagger: Create Table Of Contents
swagger_delete_portal_productSwagger: Delete Portal Product
swagger_delete_table_of_contentsSwagger: Delete Table Of Contents
swagger_get_api_definitionSwagger: Get API Definition
swagger_get_documentSwagger: Get Document
swagger_get_portalSwagger: Get Portal
swagger_get_portal_productSwagger: Get Portal Product
swagger_list_organizationsSwagger: List Organizations
swagger_list_portal_product_sectionsSwagger: List Portal Product Sections
swagger_list_portal_productsSwagger: List Portal Products
swagger_list_portalsSwagger: List Portals
swagger_list_table_of_contentsSwagger: List Table Of Contents
swagger_publish_portal_productSwagger: Publish Portal Product
swagger_resolve_organization_portalSwagger: Resolve Organization Portal
swagger_scan_api_standardizationSwagger: Scan API Standardization
swagger_scan_api_standardization_from_registrySwagger: Scan API Standardization from Registry
swagger_search_apis_and_domainsSwagger: Search APIs and Domains
swagger_standardize_apiSwagger: Standardize API
swagger_update_documentSwagger: Update Document
swagger_update_portalSwagger: Update Portal
swagger_update_portal_productSwagger: Update Portal Product

Tools Details

Tool: bugsnag_get_build

Get more details for a specific build by its ID

Toolset: Releases

Parameters:

  • projectId (string): Unique identifier of the project. This is optional if a current project is set and is used to set the current project for BugSnag tools.
  • buildId (string) required: Unique identifier of the app build

Output Description: JSON object containing build details along with stability metrics such as user and session stability, and whether it meets project targets

Use Cases: 1. View build metadata such as version, source control info, and error counts 2. Analyze a specific build to correlate with error spikes or deployments 3. See the stability targets for a project and if the build meets them

Examples:

  1. Get details for a specific build
{
  "buildId": "5f8d0d55c9e77c0017a1b2c3"
}

Expected Output: JSON object with build details including version, source control info, error counts and stability data.

Hints: 1. Build IDs can be found using the List builds tool

ParametersTypeDescription
buildIdstringUnique identifier of the app build
projectIdstringoptionalUnique identifier of the project. This is optional if a current project is set and is used to set the current project for BugSnag tools.

This tool is read-only. It does not modify its environment.


Tool: bugsnag_get_current_project

Retrieve the 'current' project on which tools should operate by default. This allows BugSnag tools to be called with no projectId parameter.

Toolset: Projects

Parameters: None

Use Cases: 1. Understand if a current project has been set

Hints: 1. If a project is returned, it can be assumed that the user expects interactions with BugSnag tools to refer to this project 2. If this tool returns no current project then other BugSnag tools will require an explicit project ID parameter 3. Call the List Projects tool to see all projects that the user has access to. Get the project ID from this list either by asking the user for the project name or slug 4. You might find a BugSnag API key in the user's code where they configure the BugSnag SDK that can be matched to a project 'apiKey' field from the project list

Tool: bugsnag_get_error

Get full details on an error, including aggregated and summarized data across all events (occurrences) and details of the latest event (occurrence), such as breadcrumbs, metadata and the stacktrace. Use the filters parameter to narrow down the summaries further.

Toolset: Errors

Parameters:

  • projectId (string): Unique identifier of the project. This is optional if a current project is set and is used to set the current project for BugSnag tools.
  • errorId (string) required: Unique identifier of the error to retrieve
  • filters (record<string, array>): Apply filters to narrow down the error list. Use the List Project Event Filters tool to discover available filter fields. Time filters support extended ISO 8601 format (e.g. 2018-05-20T00:00:00Z) or relative format (e.g. 7d, 24h). (default: {"event.since":[{"type":"eq","value":"30d"}],"error.status":[{"type":"eq","value":"open"}]})

Output Description: JSON object containing: - error_details: Aggregated data about the error, including first and last seen occurrence - latest_event: Detailed information about the most recent occurrence of the error, including stacktrace, breadcrumbs, user and context - pivots: List of pivots (summaries) for the error, which can be used to analyze patterns in occurrences - url: A link to the error in the dashboard - this should be shown to the user for them to perform further analysis

Use Cases: 1. Investigate a specific error found through the List Project Errors tool 2. Understand which types of user are affected by the error using summarized event data 3. Get error details for debugging and root cause analysis 4. Retrieve error metadata for incident reports and documentation

Examples:

  1. Get details for a specific error
{
  "errorId": "6863e2af8c857c0a5023b411"
}

Expected Output: JSON object with error details including message, stack trace, occurrence count, and metadata

Hints: 1. Error IDs can be found using the List Project Errors tool 2. Use this after filtering errors to get detailed information about specific errors 3. Use Get Event Details tool if you need detailed information about a specific event (occurrence) rather than the aggregated error 4. If you used a filter to get this error, you can pass the same filters here to restrict the results or apply further filters 5. The URL provided in the response points should be shown to the user in all cases as it allows them to view the error in the dashboard and perform further analysis

ParametersTypeDescription
errorIdstringUnique identifier of the error to retrieve
filtersobjectoptionalApply filters to narrow down the error list. Use the List Project Event Filters tool to discover available filter fields. Time filters support extended ISO 8601 format (e.g. 2018-05-20T00:00:00Z) or relative format (e.g. 7d, 24h).
projectIdstringoptionalUnique identifier of the project. This is optional if a current project is set and is used to set the current project for BugSnag tools.

This tool is read-only. It does not modify its environment.


Tool: bugsnag_get_event

Get detailed information about a specific event

Toolset: Events

Parameters:

  • projectId (string): Unique identifier of the project. This is optional if a current project is set and is used to set the current project for BugSnag tools.
  • eventId (string) required: Unique identifier of the event

Use Cases: 1. Get the full details of an event, including any thread stack traces

Examples:

  1. Get event details of an event
{
  "eventId": "6863e2af012caf1d5c320000"
}

Expected Output: JSON object with complete event details including stack trace (error trace and other threads, if present), metadata, and context

ParametersTypeDescription
eventIdstringUnique identifier of the event
projectIdstringoptionalUnique identifier of the project. This is optional if a current project is set and is used to set the current project for BugSnag tools.

This tool is read-only. It does not modify its environment.


Tool: bugsnag_get_event_details_from_dashboard_url

Get detailed information about a specific event using its dashboard URL

Toolset: Events

Parameters:

  • link (string) required: Full URL to the event details page in the BugSnag dashboard (web interface), containing project slug and event_id parameter.

Use Cases: 1. Get event details when given a dashboard URL from a user or notification 2. Extract event information from shared links or browser URLs 3. Quick lookup of event details without needing separate project and event IDs

Examples:

  1. Get event details from a dashboard URL
{
  "link": "https://app.bugsnag.com/my-org/my-project/errors/6863e2af8c857c0a5023b411?event_id=6863e2af012caf1d5c320000"
}

Expected Output: JSON object with complete event details including stack trace, metadata, and context

Hints: 1. The URL must contain both project slug in the path and event_id in query parameters 2. This is useful when users share BugSnag dashboard URLs and you need to extract the event data

ParametersTypeDescription
linkstringFull URL to the event details page in the BugSnag dashboard (web interface), containing project slug and event_id parameter.

This tool is read-only. It does not modify its environment.


Tool: bugsnag_get_events_on_an_error

Gets a list of events that have grouped into the specified error

Toolset: Events

Parameters:

  • projectId (string): Unique identifier of the project. This is optional if a current project is set and is used to set the current project for BugSnag tools.
  • errorId (string) required: Unique identifier of the error
  • filters (record<string, array>): Apply filters to narrow down the event list. Use the List Project Event Filters tool to discover available filter fields. Time filters support extended ISO 8601 format (e.g. 2018-05-20T00:00:00Z) or relative format (e.g. 7d, 24h). (default: {"event.since":[{"type":"eq","value":"30d"}],"error.status":[{"type":"eq","value":"open"}]})
  • direction (enum): Sort direction for ordering results (default: "desc")
  • perPage (number): How many results to return per page. (default: 30)
  • nextUrl (string): URL for retrieving the next page of results. Use the value in the previous response to get the next page when more results are available. Only values provided in the output from this tool can be used. Do not attempt to construct it manually.

Use Cases: 1. Retrieving all the events for comparison to find commonalities or differences in stack traces, breadcrumbs and metadata

Examples:

  1. Get events of an error
{
  "projectId": "1234567890abcdef12345678",
  "errorId": "6863e2af012caf1d5c320000"
}

Expected Output: A list of events, ordered by timestamp, with complete details including stack trace, breadcrumbs, metadata, and context

ParametersTypeDescription
errorIdstringUnique identifier of the error
directionstringoptionalSort direction for ordering results
filtersobjectoptionalApply filters to narrow down the event list. Use the List Project Event Filters tool to discover available filter fields. Time filters support extended ISO 8601 format (e.g. 2018-05-20T00:00:00Z) or relative format (e.g. 7d, 24h).
nextUrlstringoptionalURL for retrieving the next page of results. Use the value in the previous response to get the next page when more results are available. Only values provided in the output from this tool can be used. Do not attempt to construct it manually.
perPagenumberoptionalHow many results to return per page.
projectIdstringoptionalUnique identifier of the project. This is optional if a current project is set and is used to set the current project for BugSnag tools.

This tool is read-only. It does not modify its environment.


Tool: bugsnag_get_network_endpoint_groupings

Get the network endpoint grouping rules for a project

Toolset: Performance

Parameters:

  • projectId (string): Unique identifier of the project. This is optional if a current project is set and is used to set the current project for BugSnag tools.

Use Cases: 1. View current network endpoint grouping configuration 2. Understand how network requests are being grouped in performance monitoring 3. Check grouping patterns before making updates

Examples:

  1. Get network grouping rules for a project
{}

Expected Output: Array of endpoint URL patterns

Hints: 1. Network grouping patterns help consolidate similar requests into single span groups 2. Patterns use OpenAPI path templating syntax with curly braces for path parameters (e.g., /users/{userId}) 3. Wildcards () can be used in domains to match multiple subdomains (e.g., https://.example.com)

ParametersTypeDescription
projectIdstringoptionalUnique identifier of the project. This is optional if a current project is set and is used to set the current project for BugSnag tools.

This tool is read-only. It does not modify its environment.


Tool: bugsnag_get_release

Get more details for a specific release by its ID, including source control information and associated builds

Toolset: Releases

Parameters:

  • projectId (string): Unique identifier of the project. This is optional if a current project is set and is used to set the current project for BugSnag tools.
  • releaseId (string) required: Unique identifier of the app release

Output Description: JSON object containing release details along with stability metrics such as user and session stability, and whether it meets project targets

Use Cases: 1. View release metadata such as version, source control info, and error counts 2. Analyze the stability data and targets for a release 3. See the builds that make up the release

Examples:

  1. Get details for a specific release
{
  "releaseId": "5f8d0d55c9e77c0017a1b2c3"
}

Expected Output: JSON object with release details including version, source control info, error counts and stability data.

Hints: 1. Release IDs can be found using the List releases tool

ParametersTypeDescription
releaseIdstringUnique identifier of the app release
projectIdstringoptionalUnique identifier of the project. This is optional if a current project is set and is used to set the current project for BugSnag tools.

This tool is read-only. It does not modify its environment.


Tool: bugsnag_get_span_group

Get detailed performance metrics for a specific span group

Toolset: Performance

Parameters:

  • projectId (string): Unique identifier of the project. This is optional if a current project is set and is used to set the current project for BugSnag tools.
  • spanGroupId (string) required: ID of the span group
  • filters (record<string, array>): Apply filters to narrow down the span group list. Use the List Trace Fields tool to discover available filter fields. Time filters support extended ISO 8601 format (e.g. 2018-05-20T00:00:00Z) or relative format (e.g. 7d, 24h). (default: {"span.since":[{"type":"eq","value":"7d"}]})

Use Cases: 1. View detailed statistics (p50, p75, p90, p95, p99) for an operation 2. Check if performance targets are configured 3. Monitor span count to understand operation volume

Examples:

  1. Get details for an API endpoint span group
{
  "spanGroupId": "[HttpClient]GET-api.example.com"
}

Expected Output: Statistics, category, and performance target info

  1. Get span group details with device filtering
{
  "spanGroupId": "[HttpClient]GET-api.example.com",
  "filters": {
    "device.browser_name": [
      {
        "type": "eq",
        "value": "Chrome"
      }
    ]
  }
}

Expected Output: Statistics filtered for Chrome browser only

Hints: 1. Use List Span Groups first to discover available span group IDs 2. IDs are automatically URL-encoded - provide the raw ID 3. Statistics include p50, p75, p90, p95, p99 percentiles

ParametersTypeDescription
spanGroupIdstringID of the span group
filtersobjectoptionalApply filters to narrow down the span group list. Use the List Trace Fields tool to discover available filter fields. Time filters support extended ISO 8601 format (e.g. 2018-05-20T00:00:00Z) or relative format (e.g. 7d, 24h).
projectIdstringoptionalUnique identifier of the project. This is optional if a current project is set and is used to set the current project for BugSnag tools.

This tool is read-only. It does not modify its environment.


Tool: bugsnag_get_trace

Get all spans within a specific trace

Toolset: Performance

Parameters:

  • projectId (string): Unique identifier of the project. This is optional if a current project is set and is used to set the current project for BugSnag tools.
  • traceId (string) required: Trace ID
  • from (string) required: Start time (ISO 8601 format)
  • to (string) required: End time (ISO 8601 format)
  • targetSpanId (string): Optional target span ID to focus on
  • perPage (number): How many results to return per page. (default: 30)
  • nextUrl (string): URL for retrieving the next page of results. Use the value in the previous response to get the next page when more results are available. Only values provided in the output from this tool can be used. Do not attempt to construct it manually.

Use Cases: 1. Debug slow requests by viewing all operations in the trace 2. Understand the flow of a request through the system 3. Identify bottlenecks in distributed systems

Examples:

  1. Get all spans for a trace
{
  "traceId": "abc123",
  "from": "2024-01-01T00:00:00Z",
  "to": "2024-01-01T23:59:59Z"
}

Expected Output: Array of all spans in the trace with timing and hierarchy

  1. Get spans for a trace with pagination and target span
{
  "traceId": "def456",
  "from": "2024-01-01T00:00:00Z",
  "to": "2024-01-01T23:59:59Z",
  "targetSpanId": "span-789",
  "perPage": 50
}

Expected Output: Array of up to 50 spans focused around the target span

Hints: 1. Traces show the complete execution path of a request 2. Use from/to parameters to narrow the time window 3. targetSpanId can be used to focus on a specific span in the trace

ParametersTypeDescription
fromstringStart time (ISO 8601 format)
tostringEnd time (ISO 8601 format)
traceIdstringTrace ID
nextUrlstringoptionalURL for retrieving the next page of results. Use the value in the previous response to get the next page when more results are available. Only values provided in the output from this tool can be used. Do not attempt to construct it manually.
perPagenumberoptionalHow many results to return per page.
projectIdstringoptionalUnique identifier of the project. This is optional if a current project is set and is used to set the current project for BugSnag tools.
targetSpanIdstringoptionalOptional target span ID to focus on

This tool is read-only. It does not modify its environment.


Tool: bugsnag_list_project_errors

List and search errors in a project using customizable filters and pagination

Toolset: Errors

Parameters:

  • projectId (string): Unique identifier of the project. This is optional if a current project is set and is used to set the current project for BugSnag tools.
  • filters (record<string, array>): Apply filters to narrow down the error list. Use the List Project Event Filters tool to discover available filter fields. Time filters support extended ISO 8601 format (e.g. 2018-05-20T00:00:00Z) or relative format (e.g. 7d, 24h). (default: {"event.since":[{"type":"eq","value":"30d"}],"error.status":[{"type":"eq","value":"open"}]})
  • sort (enum): Field to sort the errors by (default: "last_seen")
  • direction (enum): Sort direction for ordering results (default: "desc")
  • perPage (number): How many results to return per page. (default: 30)
  • nextUrl (string): URL for retrieving the next page of results. Use the value in the previous response to get the next page when more results are available. Only values provided in the output from this tool can be used. Do not attempt to construct it manually.

Use Cases: 1. Debug recent application errors by filtering for open errors in the last 7 days 2. Generate error reports for stakeholders by filtering specific error types or severity levels 3. Monitor error trends over time using date range filters 4. Find errors affecting specific users or environments using metadata filters

Examples:

  1. Find errors affecting a specific user in the last 24 hours
{
  "filters": {
    "user.email": [
      {
        "type": "eq",
        "value": "[email protected]"
      }
    ],
    "event.since": [
      {
        "type": "eq",
        "value": "24h"
      }
    ]
  }
}

Expected Output: JSON object with a list of errors in the 'data' field, a count of the current page of results in the 'count' field, and a total count of all results in the 'total' field

  1. Get the 10 open errors with the most users affected in the last 30 days
{
  "filters": {
    "event.since": [
      {
        "type": "eq",
        "value": "30d"
      }
    ],
    "error.status": [
      {
        "type": "eq",
        "value": "open"
      }
    ]
  },
  "sort": "users",
  "direction": "desc",
  "perPage": 10
}

Expected Output: JSON object with a list of errors in the 'data' field, a count of the current page of results in the 'count' field, and a total count of all results in the 'total' field

  1. Get the next 50 results
{
  "nextUrl": "https://api.bugsnag.com/projects/515fb9337c1074f6fd000003/errors?base=2025-08-29T13%3A11%3A37Z&direction=desc&filters%5Berror.status%5D%5B%5D%5Btype%5D=eq&filters%5Berror.status%5D%5B%5D%5Bvalue%5D=open&offset=10&per_page=10&sort=users",
  "perPage": 50
}

Expected Output: JSON object with a list of errors, with a URL to the next page if more results are available and a total count of all errors matched

Hints: 1. Use List Project Event Filters tool first to discover valid filter field names for your project 2. Combine multiple filters to narrow results - filters are applied with AND logic 3. For time filters: use relative format (7d, 24h) for recent periods or ISO 8601 UTC format (2018-05-20T00:00:00Z) for specific dates 4. Common time filters: event.since (from this time), event.before (until this time) 5. The 'event.since' filter and 'error.status' filters are always applied and if not specified are set to '30d' and 'open' respectively 6. There may not be any errors matching the filters - this is not a problem with the tool, in fact it might be a good thing that the user's application had no errors 7. This tool returns paged results. The 'page_error_count' field indicates the number of results returned in the current page, and the 'total_error_count' field indicates the total number of results across all pages. 8. If the output contains a 'next_url' value, there are more results available - call this tool again supplying the next URL as a parameter to retrieve the next page. 9. Do not modify the next URL as this can cause incorrect results. The only other parameter that can be used with 'next' is 'per_page' to control the page size.

ParametersTypeDescription
directionstringoptionalSort direction for ordering results
filtersobjectoptionalApply filters to narrow down the error list. Use the List Project Event Filters tool to discover available filter fields. Time filters support extended ISO 8601 format (e.g. 2018-05-20T00:00:00Z) or relative format (e.g. 7d, 24h).
nextUrlstringoptionalURL for retrieving the next page of results. Use the value in the previous response to get the next page when more results are available. Only values provided in the output from this tool can be used. Do not attempt to construct it manually.
perPagenumberoptionalHow many results to return per page.
projectIdstringoptionalUnique identifier of the project. This is optional if a current project is set and is used to set the current project for BugSnag tools.
sortstringoptionalField to sort the errors by

This tool is read-only. It does not modify its environment.


Tool: bugsnag_list_project_event_filters

Get available event filter fields for a project

Toolset: Projects

Parameters:

  • projectId (string): Unique identifier of the project. This is optional if a current project is set and is used to set the current project for BugSnag tools.

Use Cases: 1. Discover what filter fields are available before searching for errors 2. Find the correct field names for filtering by user, environment, or custom metadata 3. Understand filter options and data types for building complex queries

Examples:

  1. Get all available filter fields
{}

Expected Output: JSON array of EventField objects containing display_id, custom flag, and filter/pivot options

Hints: 1. Use this tool before the List Errors or Get Error tools to understand available filters 2. Look for display_id field in the response - these are the field names to use in filters

ParametersTypeDescription
projectIdstringoptionalUnique identifier of the project. This is optional if a current project is set and is used to set the current project for BugSnag tools.

This tool is read-only. It does not modify its environment.


Tool: bugsnag_list_projects

List all projects in the organization that the current user has access to, or find a project matching an API key.

Toolset: Projects

Parameters:

  • apiKey (string): The API key of the BugSnag project, if known.

Use Cases: 1. Get an overview of all projects in the organization 2. Locate a project by its API key if known from the user's code

Hints: 1. Project IDs from this list can be used with other tools when no project API key is configured

ParametersTypeDescription
apiKeystringoptionalThe API key of the BugSnag project, if known.

This tool is read-only. It does not modify its environment.


Tool: bugsnag_list_releases

List releases for a project

Toolset: Releases

Parameters:

  • projectId (string): Unique identifier of the project. This is optional if a current project is set and is used to set the current project for BugSnag tools.
  • releaseStage (string): Filter releases by this stage (e.g. production, staging), defaults to 'production' (default: "production")
  • visibleOnly (boolean): Whether to only include releases that are marked as visible in the dashboard (default: false)
  • perPage (number): How many results to return per page. (default: 30)
  • nextUrl (string): URL for retrieving the next page of results. Use the value in the previous response to get the next page when more results are available. Only values provided in the output from this tool can be used. Do not attempt to construct it manually.

Output Description: JSON array of release summary objects with metadata, with a URL to the next page if more results are available

Use Cases: 1. View recent releases to correlate with error spikes 2. Filter releases by stage (e.g. production, staging) for targeted analysis

Examples:

  1. List production releases for a project
{}

Expected Output: JSON array of release objects in the production stage

  1. List staging releases for a project
{
  "releaseStage": "staging"
}

Expected Output: JSON array of release objects in the staging stage

  1. Get the next page of results
{
  "nextUrl": "/projects/515fb9337c1074f6fd000003/releases?offset=30&per_page=30"
}

Expected Output: JSON array of release objects with metadata from the next page

Hints: 1. Use the Get Release tool to get more details on a specific release, including the builds it contains 2. The release stage defaults to 'production' if not specified 3. Use visibleOnly to filter out releases that have been marked as hidden in the dashboard

ParametersTypeDescription
nextUrlstringoptionalURL for retrieving the next page of results. Use the value in the previous response to get the next page when more results are available. Only values provided in the output from this tool can be used. Do not attempt to construct it manually.
perPagenumberoptionalHow many results to return per page.
projectIdstringoptionalUnique identifier of the project. This is optional if a current project is set and is used to set the current project for BugSnag tools.
releaseStagestringoptionalFilter releases by this stage (e.g. production, staging), defaults to 'production'
visibleOnlybooleanoptionalWhether to only include releases that are marked as visible in the dashboard

This tool is read-only. It does not modify its environment.


Tool: bugsnag_list_span_groups

List span groups (operations) tracked for performance monitoring

Toolset: Performance

Parameters:

  • projectId (string): Unique identifier of the project. This is optional if a current project is set and is used to set the current project for BugSnag tools.
  • sort (enum): Field to sort by
  • direction (enum): Sort direction for ordering results (default: "desc")
  • perPage (number): How many results to return per page. (default: 30)
  • starredOnly (boolean): Show only starred span groups
  • nextUrl (string): URL for retrieving the next page of results. Use the value in the previous response to get the next page when more results are available. Only values provided in the output from this tool can be used. Do not attempt to construct it manually.
  • filters (record<string, array>): Apply filters to narrow down the span group list. Use the List Trace Fields tool to discover available filter fields. Time filters support extended ISO 8601 format (e.g. 2018-05-20T00:00:00Z) or relative format (e.g. 7d, 24h). (default: {"span.since":[{"type":"eq","value":"7d"}]})

Use Cases: 1. View all operations being tracked for performance 2. Find slow operations by sorting by duration metrics 3. Filter to starred/important span groups

Examples:

  1. List slowest operations
{
  "sort": "duration_p95",
  "direction": "desc",
  "perPage": 10
}

Expected Output: Array of span groups sorted by 95th percentile duration

  1. List starred span groups with filtering
{
  "starredOnly": true,
  "filters": {
    "span_group.category": [
      {
        "type": "eq",
        "value": "full_page_load"
      }
    ]
  }
}

Expected Output: Array of starred span groups filtered by category

Hints: 1. Span groups represent different operation types (page loads, API calls, etc.) 2. Use sort by duration_p95 or duration_p99 to find the slowest operations 3. Star important span groups for quick access 4. Use nextUrl for pagination

ParametersTypeDescription
directionstringoptionalSort direction for ordering results
filtersobjectoptionalApply filters to narrow down the span group list. Use the List Trace Fields tool to discover available filter fields. Time filters support extended ISO 8601 format (e.g. 2018-05-20T00:00:00Z) or relative format (e.g. 7d, 24h).
nextUrlstringoptionalURL for retrieving the next page of results. Use the value in the previous response to get the next page when more results are available. Only values provided in the output from this tool can be used. Do not attempt to construct it manually.
perPagenumberoptionalHow many results to return per page.
projectIdstringoptionalUnique identifier of the project. This is optional if a current project is set and is used to set the current project for BugSnag tools.
sortstringoptionalField to sort by
starredOnlybooleanoptionalShow only starred span groups

This tool is read-only. It does not modify its environment.


Tool: bugsnag_list_spans

Get individual spans belonging to a span group

Toolset: Performance

Parameters:

  • projectId (string): Unique identifier of the project. This is optional if a current project is set and is used to set the current project for BugSnag tools.
  • spanGroupId (string) required: ID of the span group
  • sort (enum): Field to sort by
  • direction (enum): Sort direction for ordering results (default: "desc")
  • perPage (number): How many results to return per page. (default: 30)
  • nextUrl (string): URL for retrieving the next page of results. Use the value in the previous response to get the next page when more results are available. Only values provided in the output from this tool can be used. Do not attempt to construct it manually.
  • filters (record<string, array>): Apply filters to narrow down the span group list. Use the List Trace Fields tool to discover available filter fields. Time filters support extended ISO 8601 format (e.g. 2018-05-20T00:00:00Z) or relative format (e.g. 7d, 24h). (default: {"span.since":[{"type":"eq","value":"7d"}]})

Use Cases: 1. Analyze individual slow operations 2. Debug performance issues by examining specific traces 3. Find patterns in operation attributes

Examples:

  1. Get slowest spans for an operation
{
  "spanGroupId": "[HttpClient]GET-api.example.com",
  "sort": "duration",
  "direction": "desc",
  "perPage": 10
}

Expected Output: Array of the 10 slowest span instances

  1. Get spans filtered by OS with pagination
{
  "spanGroupId": "[HttpClient]GET-api.example.com",
  "sort": "timestamp",
  "filters": {
    "os.name": [
      {
        "type": "eq",
        "value": "iOS"
      }
    ]
  },
  "nextUrl": "/projects/123/spans?offset=30&per_page=30"
}

Expected Output: Array of spans from iOS devices with next page navigation

Hints: 1. Sort by duration descending to find the slowest instances 2. Each span includes trace ID for further investigation

ParametersTypeDescription
spanGroupIdstringID of the span group
directionstringoptionalSort direction for ordering results
filtersobjectoptionalApply filters to narrow down the span group list. Use the List Trace Fields tool to discover available filter fields. Time filters support extended ISO 8601 format (e.g. 2018-05-20T00:00:00Z) or relative format (e.g. 7d, 24h).
nextUrlstringoptionalURL for retrieving the next page of results. Use the value in the previous response to get the next page when more results are available. Only values provided in the output from this tool can be used. Do not attempt to construct it manually.
perPagenumberoptionalHow many results to return per page.
projectIdstringoptionalUnique identifier of the project. This is optional if a current project is set and is used to set the current project for BugSnag tools.
sortstringoptionalField to sort by

This tool is read-only. It does not modify its environment.


Tool: bugsnag_list_trace_fields

Get available trace fields/attributes for filtering

Toolset: Performance

Parameters:

  • projectId (string): Unique identifier of the project. This is optional if a current project is set and is used to set the current project for BugSnag tools.

Use Cases: 1. Find available custom attributes for performance filtering 2. Understand what metadata is attached to traces 3. Build dynamic filters based on available fields

Examples:

  1. Get all trace fields
{}

Expected Output: Array of field names and types available for filtering

Hints: 1. Trace fields are custom attributes added to spans 2. Use these fields for filtering other performance queries

ParametersTypeDescription
projectIdstringoptionalUnique identifier of the project. This is optional if a current project is set and is used to set the current project for BugSnag tools.

This tool is read-only. It does not modify its environment.


Tool: bugsnag_set_network_endpoint_groupings

Set the network endpoint grouping rules for a project

Toolset: Performance

Parameters:

  • projectId (string): Unique identifier of the project. This is optional if a current project is set and is used to set the current project for BugSnag tools.
  • endpoints (array) required: Array of URL patterns by which network spans are grouped. Endpoints follow OpenAPI path templating syntax (https://swagger.io/specification/#path-templating) where path parameters use curly braces (e.g., /users/{id}). If you encounter colon-prefixed parameters (e.g., :userId from Express/React Router), convert them to curly braces (e.g., {userId}). Wildcards () can be used in domains (e.g., https://.example.com) to match multiple subdomains.

Use Cases: 1. Consolidate similar API endpoints into single span groups 2. Group dynamic URLs using path parameters (e.g., /api/users/{userId} groups /api/users/123, /api/users/456) 3. Match multiple subdomains using wildcards (e.g., https://*.example.com groups api.example.com, cdn.example.com) 4. Simplify performance monitoring by reducing span group clutter

Examples:

  1. Group API endpoints with path parameters
{
  "endpoints": [
    "/api/users/{userId}",
    "/api/products/{productId}",
    "/api/orders/{orderId}/items/{itemId}"
  ]
}

Expected Output: Success response confirming the update

  1. Group endpoints with domain wildcards and path parameters
{
  "endpoints": [
    "https://*.example.com/api/v1/{resourceId}",
    "https://api.example.com/v2/users/{userId}",
    "/graphql"
  ]
}

Expected Output: Success response confirming the update

  1. Convert colon-prefixed parameters to curly braces (e.g., from Express/React Router)
{
  "endpoints": [
    "/{organizationSlug}/{projectSlug}/performance/view-load",
    "/api/{version}/items/{itemId}"
  ]
}

Expected Output: Success response confirming the update

Hints: 1. Use Get Network Grouping first to see current patterns 2. Use OpenAPI path templating with curly braces for path parameters: /users/{userId}, /orders/{orderId}/items/{itemId} 3. Convert colon-prefixed parameters to curly braces: :organizationSlug becomes {organizationSlug}, :projectSlug becomes {projectSlug} 4. Wildcards () can be used in domains to match subdomains: https://.example.com/api 5. This replaces all existing patterns - include all patterns you want to keep 6. Well-designed patterns reduce noise in performance monitoring

ParametersTypeDescription
endpointsarrayArray of URL patterns by which network spans are grouped. Endpoints follow OpenAPI path templating syntax (https://swagger.io/specification/#path-templating) where path parameters use curly braces (e.g., /users/{id}). If you encounter colon-prefixed parameters (e.g., :userId from Express/React Router), convert them to curly braces (e.g., {userId}). Wildcards () can be used in domains (e.g., https://.example.com) to match multiple subdomains.
projectIdstringoptionalUnique identifier of the project. This is optional if a current project is set and is used to set the current project for BugSnag tools.

Tool: bugsnag_update_error

Update the status of an error

Toolset: Errors

Parameters:

  • projectId (string): Unique identifier of the project. This is optional if a current project is set and is used to set the current project for BugSnag tools.
  • errorId (string) required: Unique identifier of the error
  • operation (enum) required: The operation to apply to the error
  • issue_url (string): The URL of the issue to link to the error - required when operation is 'link_issue'
  • reopenRules (object): Reopen rules for snooze operation - required when operation is 'snooze'

Use Cases: 1. Mark an error as open, fixed or ignored 2. Discard or un-discard an error 3. Update the severity of an error 4. Snooze an error with defined conditions for when it should be reopened

Examples:

  1. Mark an error as fixed
{
  "errorId": "6863e2af8c857c0a5023b411",
  "operation": "fix"
}

Expected Output: Success response indicating the error was marked as fixed

  1. Snooze an error for 1 hour
{
  "errorId": "6863e2af8c857c0a5023b411",
  "operation": "snooze",
  "reopenRules": {
    "reopenIf": "occurs_after",
    "seconds": 3600
  }
}

Expected Output: Success response indicating the error was snoozed for 1 hour

  1. Snooze an error until 5 additional users are affected
{
  "errorId": "6863e2af8c857c0a5023b411",
  "operation": "snooze",
  "reopenRules": {
    "reopenIf": "n_additional_users",
    "additionalUsers": 5
  }
}

Expected Output: Success response indicating the error was snoozed until 5 additional users are affected

  1. Snooze an error until 10 occurrences in 24 hours
{
  "errorId": "6863e2af8c857c0a5023b411",
  "operation": "snooze",
  "reopenRules": {
    "reopenIf": "n_occurrences_in_m_hours",
    "occurrences": 10,
    "hours": 24
  }
}

Expected Output: Success response indicating the error was snoozed until 10 occurrences in 24 hours

  1. Link a Jira issue to an error
{
  "errorId": "6863e2af8c857c0a5023b411",
  "operation": "link_issue",
  "issue_url": "https://smartbear.atlassian.net/browse/PIPE-9547"
}

Expected Output: Success response indicating the Jira issue was linked to the error

  1. Unlink a Jira issue from an error
{
  "errorId": "6863e2af8c857c0a5023b411",
  "operation": "unlink_issue"
}

Expected Output: Success response indicating the Jira issue was unlinked from the error

Hints: 1. Only use valid operations - BugSnag may reject invalid values 2. When using 'snooze' operation, reopenRules parameter is required 3. When using 'link_issue' operation, issue_url parameter is required 4. Use 'unlink_issue' to remove the link between an error and its issue 5. For 'occurs_after' reopen rules, specify 'seconds' parameter 6. For 'n_additional_users' reopen rules, specify 'additionalUsers' parameter (max 100,000) 7. For 'n_occurrences_in_m_hours' reopen rules, specify both 'occurrences' and 'hours' parameters 8. For 'n_additional_occurrences' reopen rules, specify 'additionalOccurrences' parameter 9. Snoozing temporarily silences an error until the specified reopen condition is met

ParametersTypeDescription
errorIdstringUnique identifier of the error
operationstringThe operation to apply to the error
issue_urlstringoptionalThe URL of the issue to link to the error - required when operation is 'link_issue'
projectIdstringoptionalUnique identifier of the project. This is optional if a current project is set and is used to set the current project for BugSnag tools.
reopenRulesobjectoptionalReopen rules for snooze operation - required when operation is 'snooze'

Tool: contract-testing_add_label_to_pacticipant

Apply a label to a pacticipant.

Toolset: Labels

Parameters:

  • pacticipantName (string) required: Name of the pacticipant
  • labelName (string) required: Name of the label Parameters|Type|Description -|-|- labelName|string|Name of the label pacticipantName|string|Name of the pacticipant

This tool is read-only. It does not modify its environment.


Tool: contract-testing_admin_add_role_to_user

Add a single role to a user (admin).

Toolset: Admin

Parameters:

  • userId (string) required: UUID of the user
  • roleId (string) required: UUID of the role Parameters|Type|Description -|-|- roleId|string|UUID of the role userId|string|UUID of the user

This tool is read-only. It does not modify its environment.


Tool: contract-testing_admin_create_role

Create a new role with specific permissions (admin).

Toolset: Admin

Parameters:

  • name (string) required: Name of the role
  • permissions (array) required: Permissions granted by this role
  • description (string): Description of the role Parameters|Type|Description -|-|- name|string|Name of the role permissions|array|Permissions granted by this role description|stringoptional|Description of the role

This tool is read-only. It does not modify its environment.


Tool: contract-testing_admin_create_system_account

Create a new system account (admin).

Toolset: Admin

Parameters:

  • name (string) required: Name of the system account Parameters|Type|Description -|-|- name|string|Name of the system account

This tool is read-only. It does not modify its environment.


Tool: contract-testing_admin_create_team

Create a new team (admin).

Toolset: Admin

Parameters:

  • name (string) required: Name of the team
  • administratorUuids (array): UUIDs of team administrators
  • environmentUuids (array): UUIDs of environments assigned to this team
  • pacticipantNames (array): Names of pacticipants assigned to this team Parameters|Type|Description -|-|- name|string|Name of the team administratorUuids|arrayoptional|UUIDs of team administrators environmentUuids|arrayoptional|UUIDs of environments assigned to this team pacticipantNames|arrayoptional|Names of pacticipants assigned to this team

This tool is read-only. It does not modify its environment.


Tool: contract-testing_admin_create_user

Create a new user account (admin).

Toolset: Admin

Parameters:

  • email (string) required: Email address of the new user
  • name (string) required: Display name of the new user
  • firstName (string): First name
  • lastName (string): Last name
  • externalIdpId (string): External identity provider ID (for SAML/SSO)
  • externalIdpUsername (string): External IdP username (for SAML/SSO) Parameters|Type|Description -|-|- email|string|Email address of the new user name|string|Display name of the new user externalIdpId|stringoptional|External identity provider ID (for SAML/SSO) externalIdpUsername|stringoptional|External IdP username (for SAML/SSO) firstName|stringoptional|First name lastName|stringoptional|Last name

This tool is read-only. It does not modify its environment.


Tool: contract-testing_admin_delete_role

Delete a role (admin).

Toolset: Admin

Parameters:

  • roleId (string) required: UUID of the role Parameters|Type|Description -|-|- roleId|string|UUID of the role

This tool is read-only. It does not modify its environment.


Tool: contract-testing_admin_delete_team

Delete a team (admin).

Toolset: Admin

Parameters:

  • teamId (string) required: UUID of the team Parameters|Type|Description -|-|- teamId|string|UUID of the team

This tool is read-only. It does not modify its environment.


Tool: contract-testing_admin_delete_user

Delete a user account (admin).

Toolset: Admin

Parameters:

  • userId (string) required: UUID of the user Parameters|Type|Description -|-|- userId|string|UUID of the user

This tool is read-only. It does not modify its environment.


Tool: contract-testing_admin_get_role

Retrieve details for a specific role by UUID (admin).

Toolset: Admin

Parameters:

  • roleId (string) required: UUID of the role Parameters|Type|Description -|-|- roleId|string|UUID of the role

This tool is read-only. It does not modify its environment.


Tool: contract-testing_admin_get_system_account_tokens

Retrieve API tokens for a system account (admin).

Toolset: Admin

Parameters:

  • accountId (string) required: UUID of the system account Parameters|Type|Description -|-|- accountId|string|UUID of the system account

This tool is read-only. It does not modify its environment.


Tool: contract-testing_admin_get_team

Retrieve details for a specific team by UUID (admin).

Toolset: Admin

Parameters:

  • teamId (string) required: UUID of the team Parameters|Type|Description -|-|- teamId|string|UUID of the team

This tool is read-only. It does not modify its environment.


Tool: contract-testing_admin_get_team_user

Check if a specific user is a member of a team (admin).

Toolset: Admin

Parameters:

  • teamId (string) required: UUID of the team
  • userId (string) required: UUID of the user Parameters|Type|Description -|-|- teamId|string|UUID of the team userId|string|UUID of the user

This tool is read-only. It does not modify its environment.


Tool: contract-testing_admin_get_user

Retrieve details for a specific user by UUID (admin).

Toolset: Admin

Parameters:

  • userId (string) required: UUID of the user Parameters|Type|Description -|-|- userId|string|UUID of the user

This tool is read-only. It does not modify its environment.


Tool: contract-testing_admin_invite_users

Send invitations to new users (admin).

Toolset: Admin

Parameters:

  • users (array) required: List of users to invite Parameters|Type|Description -|-|- users|array|List of users to invite

This tool is read-only. It does not modify its environment.


Tool: contract-testing_admin_list_permissions

List all available permission scopes (admin).

Toolset: Admin

Parameters: None

Tool: contract-testing_admin_list_roles

List all roles defined in the workspace (admin).

Toolset: Admin

Parameters: None

Tool: contract-testing_admin_list_team_users

List all users in a specific team (admin).

Toolset: Admin

Parameters:

  • teamId (string) required: UUID of the team Parameters|Type|Description -|-|- teamId|string|UUID of the team

This tool is read-only. It does not modify its environment.


Tool: contract-testing_admin_list_teams

List all teams in the workspace (admin).

Toolset: Admin

Parameters:

  • q (string): Filter teams by name
  • page (number): Page number
  • size (number): Results per page Parameters|Type|Description -|-|- page|numberoptional|Page number q|stringoptional|Filter teams by name size|numberoptional|Results per page

This tool is read-only. It does not modify its environment.


Tool: contract-testing_admin_list_users

List all users in the workspace (admin).

Toolset: Admin

Parameters:

  • active (boolean): Filter by active/inactive status
  • q (string): Filter by name or email
  • userType (number): 0 = regular users, 1 = system accounts
  • page (number): Page number
  • size (number): Results per page Parameters|Type|Description -|-|- active|booleanoptional|Filter by active/inactive status page|numberoptional|Page number q|stringoptional|Filter by name or email size|numberoptional|Results per page userType|numberoptional|0 = regular users, 1 = system accounts

This tool is read-only. It does not modify its environment.


Tool: contract-testing_admin_patch_team_users

Add or remove individual users from a team using JSON Patch (admin).

Toolset: Admin

Parameters:

  • teamId (string) required: UUID of the team
  • operations (array) required: JSON Patch operations to apply Parameters|Type|Description -|-|- operations|array|JSON Patch operations to apply teamId|string|UUID of the team

This tool is read-only. It does not modify its environment.


Tool: contract-testing_admin_remove_role_from_user

Remove a single role from a user (admin).

Toolset: Admin

Parameters:

  • userId (string) required: UUID of the user
  • roleId (string) required: UUID of the role Parameters|Type|Description -|-|- roleId|string|UUID of the role userId|string|UUID of the user

This tool is read-only. It does not modify its environment.


Tool: contract-testing_admin_remove_user_from_team

Remove a specific user from a team (admin).

Toolset: Admin

Parameters:

  • teamId (string) required: UUID of the team
  • userId (string) required: UUID of the user Parameters|Type|Description -|-|- teamId|string|UUID of the team userId|string|UUID of the user

This tool is read-only. It does not modify its environment.


Tool: contract-testing_admin_reset_roles

Reset all roles to their factory defaults (admin).

Toolset: Admin

Parameters: None

Tool: contract-testing_admin_set_team_users

Replace all members of a team (admin).

Toolset: Admin

Parameters:

  • teamId (string) required: UUID of the team
  • uuids (array) required: UUIDs of users to set as team members (replaces existing) Parameters|Type|Description -|-|- teamId|string|UUID of the team uuids|array|UUIDs of users to set as team members (replaces existing)

This tool is read-only. It does not modify its environment.


Tool: contract-testing_admin_set_user_roles

Replace all roles assigned to a user (admin).

Toolset: Admin

Parameters:

  • userId (string) required: UUID of the user
  • roles (array) required: Array of role UUIDs to assign Parameters|Type|Description -|-|- roles|array|Array of role UUIDs to assign userId|string|UUID of the user

This tool is read-only. It does not modify its environment.


Tool: contract-testing_admin_update_role

Update an existing role's name and permissions (admin).

Toolset: Admin

Parameters:

  • roleId (string) required: UUID of the role to update
  • name (string) required: Name of the role
  • permissions (array) required: Permissions granted by this role
  • description (string): Description of the role Parameters|Type|Description -|-|- name|string|Name of the role permissions|array|Permissions granted by this role roleId|string|UUID of the role to update description|stringoptional|Description of the role

This tool is read-only. It does not modify its environment.


Tool: contract-testing_admin_update_team

Replace a team's configuration (admin).

Toolset: Admin

Parameters:

  • teamId (string) required: UUID of the team to update
  • name (string) required: Name of the team
  • administratorUuids (array): UUIDs of team administrators
  • environmentUuids (array): UUIDs of environments assigned to this team
  • pacticipantNames (array): Names of pacticipants assigned to this team Parameters|Type|Description -|-|- name|string|Name of the team teamId|string|UUID of the team to update administratorUuids|arrayoptional|UUIDs of team administrators environmentUuids|arrayoptional|UUIDs of environments assigned to this team pacticipantNames|arrayoptional|Names of pacticipants assigned to this team

This tool is read-only. It does not modify its environment.


Tool: contract-testing_admin_update_user

Update a user's profile or active status (admin).

Toolset: Admin

Parameters:

  • userId (string) required: UUID of the user to update
  • active (boolean): Whether the user is active
  • email (string): New email address
  • firstName (string): First name
  • lastName (string): Last name
  • name (string): Display name Parameters|Type|Description -|-|- userId|string|UUID of the user to update active|booleanoptional|Whether the user is active email|stringoptional|New email address firstName|stringoptional|First name lastName|stringoptional|Last name name|stringoptional|Display name

This tool is read-only. It does not modify its environment.


Tool: contract-testing_can_i_deploy

Performs a comprehensive compatibility check to determine whether a specific version of a service (pacticipant) can be safely deployed into a given environment. It analyzes the complete contract matrix of consumer-provider relationships to confirm that all required integrations are verified and compatible.

Toolset: Can I Deploy

Parameters:

  • pacticipant (string) required: The name of the pacticipant (application/service) being evaluated for deployment
  • version (string) required: The version of the pacticipant that you want to check if it's safe to deploy
  • environment (string) required: The target environment where the pacticipant version will be deployed (e.g., 'production', 'staging', 'test') Parameters|Type|Description -|-|- environment|string|The target environment where the pacticipant version will be deployed (e.g., 'production', 'staging', 'test') pacticipant|string|The name of the pacticipant (application/service) being evaluated for deployment version|string|The version of the pacticipant that you want to check if it's safe to deploy

This tool is read-only. It does not modify its environment.


Tool: contract-testing_check_pactflow_ai_entitlements

Check your PactFlow AI entitlements and credit balance if you encounter 401 Unauthorized errors or permission/credit issues when using PactFlow AI features.

Toolset: PactFlow AI Status

Use Cases: 1. Diagnose 401 unauthorized errors when attempting to use PactFlow AI features 2. Check remaining AI credits when PactFlow AI operations are rejected due to insufficient credits 3. Verify account entitlements when users receive permission denied errors for PactFlow AI functionality 4. Troubleshoot PactFlow AI access issues by retrieving current entitlement status and credit balance 5. Provide detailed error context when PactFlow AI features are unavailable due to account limitations

Tool: contract-testing_create_environment

Create a new deployment environment in PactFlow.

Toolset: Environments and Deployments

Parameters:

  • name (string) required: Unique name for the environment (e.g. 'production', 'staging')
  • production (boolean) required: Whether this is a production environment
  • displayName (string): Human-readable display name
  • teamUuids (array): UUIDs of teams that own this environment Parameters|Type|Description -|-|- name|string|Unique name for the environment (e.g. 'production', 'staging') production|boolean|Whether this is a production environment displayName|stringoptional|Human-readable display name teamUuids|arrayoptional|UUIDs of teams that own this environment

This tool is read-only. It does not modify its environment.


Tool: contract-testing_create_pacticipant

Register a new application/service (pacticipant) in the workspace.

Toolset: Pacticipants

Parameters:

  • name (string) required: Name of the pacticipant (cannot be changed after creation)
  • displayName (string): Human-readable display name
  • mainBranch (string): Name of the main/trunk branch (e.g. 'main')
  • repositoryName (string): Repository name
  • repositoryNamespace (string): Repository namespace/organisation
  • repositoryUrl (string): URL of the source repository Parameters|Type|Description -|-|- name|string|Name of the pacticipant (cannot be changed after creation) displayName|stringoptional|Human-readable display name mainBranch|stringoptional|Name of the main/trunk branch (e.g. 'main') repositoryName|stringoptional|Repository name repositoryNamespace|stringoptional|Repository namespace/organisation repositoryUrl|stringoptional|URL of the source repository

This tool is read-only. It does not modify its environment.


Tool: contract-testing_create_secret

Create a new secret for use in webhook authentication.

Toolset: Secrets

Parameters:

  • name (string) required: Name of the secret
  • value (string) required: Value of the secret
  • description (string): Description of the secret
  • teamUuid (string): UUID of the owning team (cannot be changed after creation) Parameters|Type|Description -|-|- name|string|Name of the secret value|string|Value of the secret description|stringoptional|Description of the secret teamUuid|stringoptional|UUID of the owning team (cannot be changed after creation)

This tool is read-only. It does not modify its environment.


Tool: contract-testing_create_webhook

Create a new webhook to trigger on contract events.

Toolset: Webhooks

Parameters:

  • description (string) required: Human-readable description of the webhook
  • events (array) required: Events that trigger this webhook
  • request (object) required: HTTP request to send when triggered
  • consumer (object): Restrict to a specific consumer (omit for all)
  • provider (object): Restrict to a specific provider (omit for all)
  • enabled (boolean): Whether the webhook is enabled (default: true)
  • teamUuid (string): UUID of the owning team (null for global) Parameters|Type|Description -|-|- description|string|Human-readable description of the webhook events|array|Events that trigger this webhook request|object|HTTP request to send when triggered consumer|objectoptional|Restrict to a specific consumer (omit for all) enabled|booleanoptional|Whether the webhook is enabled provider|objectoptional|Restrict to a specific provider (omit for all) teamUuid|stringoptional|UUID of the owning team (null for global)

This tool is read-only. It does not modify its environment.


Tool: contract-testing_delete_all_integrations

Delete ALL consumer-provider integrations in the workspace.

Toolset: Integrations and Network

Parameters: None

Tool: contract-testing_delete_branch

Delete a branch from a pacticipant.

Toolset: Branches and Versions

Parameters:

  • pacticipantName (string) required: Name of the pacticipant
  • branchName (string) required: Name of the branch to delete Parameters|Type|Description -|-|- branchName|string|Name of the branch to delete pacticipantName|string|Name of the pacticipant

This tool is read-only. It does not modify its environment.


Tool: contract-testing_delete_environment

Delete an environment by UUID.

Toolset: Environments and Deployments

Parameters:

  • environmentId (string) required: UUID of the environment Parameters|Type|Description -|-|- environmentId|string|UUID of the environment

This tool is read-only. It does not modify its environment.


Tool: contract-testing_delete_integration

Delete a specific consumer-provider integration.

Toolset: Integrations and Network

Parameters:

  • providerName (string) required: Name of the provider
  • consumerName (string) required: Name of the consumer Parameters|Type|Description -|-|- consumerName|string|Name of the consumer providerName|string|Name of the provider

This tool is read-only. It does not modify its environment.


Tool: contract-testing_delete_pacticipant

Delete a pacticipant and all its associated data.

Toolset: Pacticipants

Parameters:

  • pacticipantName (string) required: Name of the pacticipant to delete Parameters|Type|Description -|-|- pacticipantName|string|Name of the pacticipant to delete

This tool is read-only. It does not modify its environment.


Tool: contract-testing_delete_secret

Delete a secret by UUID.

Toolset: Secrets

Parameters:

  • secretId (string) required: UUID of the secret Parameters|Type|Description -|-|- secretId|string|UUID of the secret

This tool is read-only. It does not modify its environment.


Tool: contract-testing_delete_webhook

Delete a webhook by UUID.

Toolset: Webhooks

Parameters:

  • webhookId (string) required: UUID of the webhook Parameters|Type|Description -|-|- webhookId|string|UUID of the webhook

This tool is read-only. It does not modify its environment.


Tool: contract-testing_execute_webhook

Trigger a test execution of a specific webhook.

Toolset: Webhooks

Parameters:

  • webhookId (string) required: UUID of the webhook Parameters|Type|Description -|-|- webhookId|string|UUID of the webhook

This tool is read-only. It does not modify its environment.


Tool: contract-testing_get_audit_log

Retrieve the audit log of events in the workspace.

Toolset: Audit

Parameters:

  • since (string): Only include events at or after this ISO 8601 timestamp
  • userUuid (string): Filter events by PactFlow user UUID
  • type (string): Filter events by type (e.g. 'pact_publication')
  • sort (string): Sort order: '+timestamp' (asc, default) or '-timestamp' (desc)
  • from (string): Start result set from this audit event UUID (keyset pagination)
  • pageNumber (number): Page number
  • pageSize (number): Results per page (max 100)

Use Cases: 1. Review recent changes to pacticipants, webhooks, or secrets 2. Investigate who published a specific pact or verification 3. Filter events by user or event type for compliance reporting 4. Track deployment recording activity across environments

ParametersTypeDescription
fromstringoptionalStart result set from this audit event UUID (keyset pagination)
pageNumberintegeroptionalPage number
pageSizeintegeroptionalResults per page (max 100)
sincestringoptionalOnly include events at or after this ISO 8601 timestamp
sortstringoptionalSort order: '+timestamp' (asc, default) or '-timestamp' (desc)
typestringoptionalFilter events by type (e.g. 'pact_publication')
userUuidstringoptionalFilter events by PactFlow user UUID

This tool is read-only. It does not modify its environment.


Tool: contract-testing_get_bdct_consumer_by_consumer_version

Fetch the consumer Pact contract for a specific consumer-provider version pair in Bi-Directional Contract Testing.

Toolset: Bi-Directional Contract Testing

Parameters:

  • providerName (string) required: Name of the provider
  • providerVersionNumber (string) required: Provider version number
  • consumerName (string) required: Name of the consumer
  • consumerVersionNumber (string) required: Consumer version number Parameters|Type|Description -|-|- consumerName|string|Name of the consumer consumerVersionNumber|string|Consumer version number providerName|string|Name of the provider providerVersionNumber|string|Provider version number

This tool is read-only. It does not modify its environment.


Tool: contract-testing_get_bdct_consumer_contract_verification_results

Fetch the consumer contract verification results for a given provider version in Bi-Directional Contract Testing.

Toolset: Bi-Directional Contract Testing

Parameters:

  • providerName (string) required: Name of the provider
  • providerVersionNumber (string) required: Provider version number Parameters|Type|Description -|-|- providerName|string|Name of the provider providerVersionNumber|string|Provider version number

This tool is read-only. It does not modify its environment.


Tool: contract-testing_get_bdct_consumer_contracts

Fetch all consumer Pact contracts relevant to a given provider version in Bi-Directional Contract Testing.

Toolset: Bi-Directional Contract Testing

Parameters:

  • providerName (string) required: Name of the provider
  • providerVersionNumber (string) required: Provider version number Parameters|Type|Description -|-|- providerName|string|Name of the provider providerVersionNumber|string|Provider version number

This tool is read-only. It does not modify its environment.


Tool: contract-testing_get_bdct_consumer_pact_test_results_by_consumer

Fetch the consumer contract verification results for a specific consumer-provider version pair in Bi-Directional Contract Testing.

Toolset: Bi-Directional Contract Testing

Parameters:

  • providerName (string) required: Name of the provider
  • providerVersionNumber (string) required: Provider version number
  • consumerName (string) required: Name of the consumer
  • consumerVersionNumber (string) required: Consumer version number Parameters|Type|Description -|-|- consumerName|string|Name of the consumer consumerVersionNumber|string|Consumer version number providerName|string|Name of the provider providerVersionNumber|string|Provider version number

This tool is read-only. It does not modify its environment.


Tool: contract-testing_get_bdct_cross-contract_verification_results

Fetch the cross-contract verification results for a given provider version in Bi-Directional Contract Testing.

Toolset: Bi-Directional Contract Testing

Parameters:

  • providerName (string) required: Name of the provider
  • providerVersionNumber (string) required: Provider version number Parameters|Type|Description -|-|- providerName|string|Name of the provider providerVersionNumber|string|Provider version number

This tool is read-only. It does not modify its environment.


Tool: contract-testing_get_bdct_provider_by_consumer_version

Fetch the provider OpenAPI contract for a specific consumer-provider version pair in Bi-Directional Contract Testing.

Toolset: Bi-Directional Contract Testing

Parameters:

  • providerName (string) required: Name of the provider
  • providerVersionNumber (string) required: Provider version number
  • consumerName (string) required: Name of the consumer
  • consumerVersionNumber (string) required: Consumer version number Parameters|Type|Description -|-|- consumerName|string|Name of the consumer consumerVersionNumber|string|Consumer version number providerName|string|Name of the provider providerVersionNumber|string|Provider version number

This tool is read-only. It does not modify its environment.


Tool: contract-testing_get_bdct_provider_check_results_by_consumer

Fetch the provider contract self-verification results for a specific consumer-provider version pair in Bi-Directional Contract Testing.

Toolset: Bi-Directional Contract Testing

Parameters:

  • providerName (string) required: Name of the provider
  • providerVersionNumber (string) required: Provider version number
  • consumerName (string) required: Name of the consumer
  • consumerVersionNumber (string) required: Consumer version number Parameters|Type|Description -|-|- consumerName|string|Name of the consumer consumerVersionNumber|string|Consumer version number providerName|string|Name of the provider providerVersionNumber|string|Provider version number

This tool is read-only. It does not modify its environment.


Tool: contract-testing_get_bdct_provider_contract

Fetch the provider OpenAPI contract for a given provider version in Bi-Directional Contract Testing.

Toolset: Bi-Directional Contract Testing

Parameters:

  • providerName (string) required: Name of the provider
  • providerVersionNumber (string) required: Provider version number Parameters|Type|Description -|-|- providerName|string|Name of the provider providerVersionNumber|string|Provider version number

This tool is read-only. It does not modify its environment.


Tool: contract-testing_get_bdct_provider_contract_verification_results

Fetch the self-verification results for a provider contract version in Bi-Directional Contract Testing.

Toolset: Bi-Directional Contract Testing

Parameters:

  • providerName (string) required: Name of the provider
  • providerVersionNumber (string) required: Provider version number Parameters|Type|Description -|-|- providerName|string|Name of the provider providerVersionNumber|string|Provider version number

This tool is read-only. It does not modify its environment.


Tool: contract-testing_get_bdct_x-contract_test_results_by_consumer

Fetch the cross-contract verification results for a specific consumer-provider version pair in Bi-Directional Contract Testing.

Toolset: Bi-Directional Contract Testing

Parameters:

  • providerName (string) required: Name of the provider
  • providerVersionNumber (string) required: Provider version number
  • consumerName (string) required: Name of the consumer
  • consumerVersionNumber (string) required: Consumer version number Parameters|Type|Description -|-|- consumerName|string|Name of the consumer consumerVersionNumber|string|Consumer version number providerName|string|Name of the provider providerVersionNumber|string|Provider version number

This tool is read-only. It does not modify its environment.


Tool: contract-testing_get_branch

Retrieve details for a specific branch of a pacticipant.

Toolset: Branches and Versions

Parameters:

  • pacticipantName (string) required: Name of the pacticipant
  • branchName (string) required: Name of the branch Parameters|Type|Description -|-|- branchName|string|Name of the branch pacticipantName|string|Name of the pacticipant

This tool is read-only. It does not modify its environment.


Tool: contract-testing_get_branch_versions

Retrieve all versions published from a specific branch of a pacticipant.

Toolset: Branches and Versions

Parameters:

  • pacticipantName (string) required: Name of the pacticipant
  • branchName (string) required: Name of the branch
  • pageNumber (number): Page number
  • pageSize (number): Results per page Parameters|Type|Description -|-|- branchName|string|Name of the branch pacticipantName|string|Name of the pacticipant pageNumber|numberoptional|Page number pageSize|numberoptional|Results per page

This tool is read-only. It does not modify its environment.


Tool: contract-testing_get_current_user

Retrieve the profile of the currently authenticated user.

Toolset: User, Tokens and Preferences

Parameters: None

Tool: contract-testing_get_currently_deployed_versions

Retrieve all versions currently deployed to a given environment.

Toolset: Environments and Deployments

Parameters:

  • environmentId (string) required: UUID of the environment Parameters|Type|Description -|-|- environmentId|string|UUID of the environment

This tool is read-only. It does not modify its environment.


Tool: contract-testing_get_currently_supported_versions

Retrieve all versions currently released and supported in a given environment.

Toolset: Environments and Deployments

Parameters:

  • environmentId (string) required: UUID of the environment Parameters|Type|Description -|-|- environmentId|string|UUID of the environment

This tool is read-only. It does not modify its environment.


Tool: contract-testing_get_deployed_versions_for_version

Retrieve deployment records for a specific pacticipant version in a specific environment.

Toolset: Environments and Deployments

Parameters:

  • pacticipantName (string) required: Name of the pacticipant
  • versionNumber (string) required: Version number
  • environmentId (string) required: UUID of the environment Parameters|Type|Description -|-|- environmentId|string|UUID of the environment pacticipantName|string|Name of the pacticipant versionNumber|string|Version number

This tool is read-only. It does not modify its environment.


Tool: contract-testing_get_environment

Retrieve details for a specific environment by UUID.

Toolset: Environments and Deployments

Parameters:

  • environmentId (string) required: UUID of the environment Parameters|Type|Description -|-|- environmentId|string|UUID of the environment

This tool is read-only. It does not modify its environment.


Tool: contract-testing_get_integrations_by_team

Retrieve all consumer-provider integrations belonging to a specific team.

Toolset: Integrations and Network

Parameters:

  • teamId (string) required: UUID of the team Parameters|Type|Description -|-|- teamId|string|UUID of the team

This tool is read-only. It does not modify its environment.


Tool: contract-testing_get_latest_pacticipant_version

Retrieve the latest version of a pacticipant, optionally filtered by tag.

Toolset: Branches and Versions

Parameters:

  • pacticipantName (string) required: Name of the pacticipant
  • tag (string): Tag to filter by. If omitted, returns the overall latest version. Parameters|Type|Description -|-|- pacticipantName|string|Name of the pacticipant tag|stringoptional|Tag to filter by. If omitted, returns the overall latest version.

This tool is read-only. It does not modify its environment.


Tool: contract-testing_get_metrics

Fetch metrics across the entire workspace

Toolset: Metrics

Parameters: None

Tool: contract-testing_get_pacticipant

Retrieve details for a specific pacticipant by name.

Toolset: Pacticipants

Parameters:

  • pacticipantName (string) required: Name of the pacticipant (application or service) Parameters|Type|Description -|-|- pacticipantName|string|Name of the pacticipant (application or service)

This tool is read-only. It does not modify its environment.


Tool: contract-testing_get_pacticipant_label

Check whether a specific label is applied to a pacticipant.

Toolset: Labels

Parameters:

  • pacticipantName (string) required: Name of the pacticipant
  • labelName (string) required: Name of the label Parameters|Type|Description -|-|- labelName|string|Name of the label pacticipantName|string|Name of the pacticipant

This tool is read-only. It does not modify its environment.


Tool: contract-testing_get_pacticipant_network

Retrieve the integration network graph for a specific pacticipant.

Toolset: Integrations and Network

Parameters:

  • pacticipantName (string) required: Name of the pacticipant to get network for Parameters|Type|Description -|-|- pacticipantName|string|Name of the pacticipant to get network for

This tool is read-only. It does not modify its environment.


Tool: contract-testing_get_pacticipant_version

Retrieve details for a specific version of a pacticipant.

Toolset: Branches and Versions

Parameters:

  • pacticipantName (string) required: Name of the pacticipant
  • versionNumber (string) required: Version number to retrieve Parameters|Type|Description -|-|- pacticipantName|string|Name of the pacticipant versionNumber|string|Version number to retrieve

This tool is read-only. It does not modify its environment.


Tool: contract-testing_get_pacts_for_verification

Retrieve the pacts that a provider should verify, based on consumer version selectors and WIP/pending pact configuration.

Toolset: Contracts

Parameters:

  • providerName (string) required: Name of the provider to get pacts for
  • consumerVersionSelectors (array): Selectors specifying which consumer versions to include
  • includePendingStatus (boolean): Include the pending status in the results
  • includeWipPactsSince (string): Include WIP pacts published since this date (ISO 8601)
  • providerVersionBranch (string): Branch of the provider version being verified
  • providerVersionTags (array): Tags for the provider version being verified Parameters|Type|Description -|-|- providerName|string|Name of the provider to get pacts for consumerVersionSelectors|arrayoptional|Selectors specifying which consumer versions to include includePendingStatus|booleanoptional|Include the pending status in the results includeWipPactsSince|stringoptional|Include WIP pacts published since this date (ISO 8601) providerVersionBranch|stringoptional|Branch of the provider version being verified providerVersionTags|arrayoptional|Tags for the provider version being verified

This tool is read-only. It does not modify its environment.


Tool: contract-testing_get_provider_states

Retrieve the states of a specific provider

Toolset: Fetch Provider States

Parameters:

  • provider (string) required: name of the provider to retrieve states for Parameters|Type|Description -|-|- provider|string|name of the provider to retrieve states for

This tool is read-only. It does not modify its environment.


Tool: contract-testing_get_released_versions_for_version

Retrieve release records for a specific pacticipant version in a specific environment.

Toolset: Environments and Deployments

Parameters:

  • pacticipantName (string) required: Name of the pacticipant
  • versionNumber (string) required: Version number
  • environmentId (string) required: UUID of the environment Parameters|Type|Description -|-|- environmentId|string|UUID of the environment pacticipantName|string|Name of the pacticipant versionNumber|string|Version number

This tool is read-only. It does not modify its environment.


Tool: contract-testing_get_secret

Retrieve metadata for a specific secret by UUID.

Toolset: Secrets

Parameters:

  • secretId (string) required: UUID of the secret Parameters|Type|Description -|-|- secretId|string|UUID of the secret

This tool is read-only. It does not modify its environment.


Tool: contract-testing_get_system_preferences

Retrieve system-wide preferences.

Toolset: User, Tokens and Preferences

Parameters: None

Tool: contract-testing_get_team_metrics

Fetch metrics for all teams

Toolset: Metrics

Parameters: None

Tool: contract-testing_get_user_preferences

Retrieve the current user's preferences.

Toolset: User, Tokens and Preferences

Parameters: None

Tool: contract-testing_get_webhook

Retrieve details for a specific webhook by UUID.

Toolset: Webhooks

Parameters:

  • webhookId (string) required: UUID of the webhook Parameters|Type|Description -|-|- webhookId|string|UUID of the webhook

This tool is read-only. It does not modify its environment.


Tool: contract-testing_list_api_tokens

Retrieve API tokens for the current user.

Toolset: User, Tokens and Preferences

Parameters: None

Tool: contract-testing_list_branches

Retrieve all branches for a given pacticipant, with optional filtering and pagination.

Toolset: Branches and Versions

Parameters:

  • pacticipantName (string) required: Name of the pacticipant
  • q (string): Filter branches by name
  • pageNumber (number): Page number (default: 1)
  • pageSize (number): Results per page (default: 100) Parameters|Type|Description -|-|- pacticipantName|string|Name of the pacticipant pageNumber|numberoptional|Page number (default: 1) pageSize|numberoptional|Results per page (default: 100) q|stringoptional|Filter branches by name

This tool is read-only. It does not modify its environment.


Tool: contract-testing_list_environments

Retrieve all environments configured in the Pact Broker or PactFlow workspace.

Toolset: Environments and Deployments

Parameters: None

Tool: contract-testing_list_integrations

Retrieve all consumer-provider integrations registered in the workspace.

Toolset: Integrations and Network

Parameters: None

Tool: contract-testing_list_labels

Retrieve all labels used across the workspace.

Toolset: Labels

Parameters:

  • pageNumber (number): Page number
  • pageSize (number): Results per page Parameters|Type|Description -|-|- pageNumber|numberoptional|Page number pageSize|numberoptional|Results per page

This tool is read-only. It does not modify its environment.


Tool: contract-testing_list_pacticipant_versions

Retrieve all versions for a given pacticipant.

Toolset: Branches and Versions

Parameters:

  • pacticipantName (string) required: Name of the pacticipant
  • pageNumber (number): Page number
  • pageSize (number): Results per page Parameters|Type|Description -|-|- pacticipantName|string|Name of the pacticipant pageNumber|numberoptional|Page number pageSize|numberoptional|Results per page

This tool is read-only. It does not modify its environment.


Tool: contract-testing_list_pacticipants

Retrieve all pacticipants (applications/services) registered in the Pact Broker or PactFlow workspace.

Toolset: Pacticipants

Parameters:

  • pageNumber (number): Page number (default: 1)
  • pageSize (number): Number of results per page Parameters|Type|Description -|-|- pageNumber|numberoptional|Page number (default: 1) pageSize|numberoptional|Number of results per page

This tool is read-only. It does not modify its environment.


Tool: contract-testing_list_pacticipants_by_label

Retrieve all pacticipants that have a specific label applied.

Toolset: Labels

Parameters:

  • labelName (string) required: Label name to filter by Parameters|Type|Description -|-|- labelName|string|Label name to filter by

This tool is read-only. It does not modify its environment.


Tool: contract-testing_list_secrets

Retrieve all secrets stored in the workspace.

Toolset: Secrets

Parameters: None

Tool: contract-testing_list_webhooks

Retrieve all webhooks configured in the workspace.

Toolset: Webhooks

Parameters: None

Tool: contract-testing_matrix

Retrieve the comprehensive contract verification matrix that shows the relationship between consumer and provider versions, their associated pact files, and verification results stored in the Pact Broker or Pactflow. The matrix provides detailed visibility into which consumer and provider versions have been successfully verified against each other, and highlights failures with detailed information about the cause.

Toolset: Matrix

Parameters:

  • latestby (string): This property removes the rows for the overridden pacts/verifications from the results. The options are cvp (show only the latest row for each consumer version and provider) and cvpv (show only the latest row each consumer version and provider version). For a can-i-deploy query with one selector, it should be set to cvp. For a can-i-deploy query with two selectors, it should be set to cvpv.
  • limit (number): The limit on the number of results to return (1-1000, default: 100) (default: 100)
  • q (array) required

Use Cases: 1. Quickly identify which consumer and provider version combinations have passed or failed verification. 2. Diagnose and investigate why a particular consumer-provider verification failed. 3. Visualize the overall contract compatibility across two pacticipants / services. 4. Perform advanced queries using selectors to understand compatibility within specific branches, environments, or version ranges. 5. Support informed deployment decisions by answering 'can I deploy version X of this service to production?' 6. Expose contract verification details to non-frequent API users in a more accessible format.

ParametersTypeDescription
qarray
latestbystringoptionalThis property removes the rows for the overridden pacts/verifications from the results. The options are cvp (show only the latest row for each consumer version and provider) and cvpv (show only the latest row each consumer version and provider version). For a can-i-deploy query with one selector, it should be set to cvp. For a can-i-deploy query with two selectors, it should be set to cvpv.
limitnumberoptionalThe limit on the number of results to return (1-1000, default: 100)

This tool is read-only. It does not modify its environment.


Tool: contract-testing_patch_pacticipant

Partially update a pacticipant's metadata — only fields provided are changed.

Toolset: Pacticipants

Parameters:

  • pacticipantName (string) required: Name of the pacticipant to update
  • displayName (string): Human-readable display name
  • mainBranch (string): Name of the main/trunk branch (e.g. 'main')
  • repositoryName (string): Repository name
  • repositoryNamespace (string): Repository namespace/organisation
  • repositoryUrl (string): URL of the source repository Parameters|Type|Description -|-|- pacticipantName|string|Name of the pacticipant to update displayName|stringoptional|Human-readable display name mainBranch|stringoptional|Name of the main/trunk branch (e.g. 'main') repositoryName|stringoptional|Repository name repositoryNamespace|stringoptional|Repository namespace/organisation repositoryUrl|stringoptional|URL of the source repository

This tool is read-only. It does not modify its environment.


Tool: contract-testing_publish_consumer_contracts

Publish one or more consumer Pact contracts to the Pact Broker or PactFlow, with branch and tag metadata.

Toolset: Contracts

Parameters:

  • pacticipantName (string) required: Name of the consumer application
  • pacticipantVersionNumber (string) required: Version number of the consumer
  • contracts (array) required: Contracts to publish
  • tags (array): Version tags (e.g. 'main', 'staging')
  • branch (string): Branch name of the consumer
  • buildUrl (string): URL of the CI build that produced these contracts Parameters|Type|Description -|-|- contracts|array|Contracts to publish pacticipantName|string|Name of the consumer application pacticipantVersionNumber|string|Version number of the consumer branch|stringoptional|Branch name of the consumer buildUrl|stringoptional|URL of the CI build that produced these contracts tags|arrayoptional|Version tags (e.g. 'main', 'staging')

This tool is read-only. It does not modify its environment.


Tool: contract-testing_publish_provider_contract

Publish a provider OpenAPI contract and self-verification results to PactFlow (Bi-Directional Contract Testing).

Toolset: Contracts

Parameters:

  • providerName (string) required: Name of the provider application
  • pacticipantVersionNumber (string) required: Version number of the provider
  • contract (object) required: Provider contract (OpenAPI spec) and verification details
  • tags (array): Version tags
  • branch (string): Branch name of the provider
  • buildUrl (string): URL of the CI build Parameters|Type|Description -|-|- contract|object|Provider contract (OpenAPI spec) and verification details pacticipantVersionNumber|string|Version number of the provider providerName|string|Name of the provider application branch|stringoptional|Branch name of the provider buildUrl|stringoptional|URL of the CI build tags|arrayoptional|Version tags

This tool is read-only. It does not modify its environment.


Tool: contract-testing_record_deployment

Record that a version of a pacticipant has been deployed to an environment.

Toolset: Environments and Deployments

Parameters:

  • pacticipantName (string) required: Name of the pacticipant that was deployed
  • versionNumber (string) required: Version number that was deployed
  • environmentId (string) required: UUID of the target environment
  • applicationInstance (string): Identifies a specific instance when multiple instances of the same application are deployed to the same environment (e.g. 'blue', 'green') Parameters|Type|Description -|-|- environmentId|string|UUID of the target environment pacticipantName|string|Name of the pacticipant that was deployed versionNumber|string|Version number that was deployed applicationInstance|stringoptional|Identifies a specific instance when multiple instances of the same application are deployed to the same environment (e.g. 'blue', 'green')

This tool is read-only. It does not modify its environment.


Tool: contract-testing_record_release

Record that a version of a pacticipant has been released to an environment (for mobile/library release workflows).

Toolset: Environments and Deployments

Parameters:

  • pacticipantName (string) required: Name of the pacticipant that was released
  • versionNumber (string) required: Version number that was released
  • environmentId (string) required: UUID of the target environment Parameters|Type|Description -|-|- environmentId|string|UUID of the target environment pacticipantName|string|Name of the pacticipant that was released versionNumber|string|Version number that was released

This tool is read-only. It does not modify its environment.


Tool: contract-testing_regenerate_api_token

Regenerate (rotate) an API token by ID.

Toolset: User, Tokens and Preferences

Parameters:

  • tokenId (string) required: ID of the token to regenerate Parameters|Type|Description -|-|- tokenId|string|ID of the token to regenerate

This tool is read-only. It does not modify its environment.


Tool: contract-testing_remove_label_from_pacticipant

Remove a label from a pacticipant.

Toolset: Labels

Parameters:

  • pacticipantName (string) required: Name of the pacticipant
  • labelName (string) required: Name of the label Parameters|Type|Description -|-|- labelName|string|Name of the label pacticipantName|string|Name of the pacticipant

This tool is read-only. It does not modify its environment.


Tool: contract-testing_test_execute_webhooks

Trigger a test execution of all matching webhooks without a real event.

Toolset: Webhooks

Parameters: None

Tool: contract-testing_update_environment

Update an existing environment's metadata.

Toolset: Environments and Deployments

Parameters:

  • environmentId (string) required: UUID of the environment to update
  • name (string) required: Unique name for the environment
  • production (boolean) required: Whether this is a production environment
  • displayName (string): Human-readable display name
  • teamUuids (array): UUIDs of teams that own this environment Parameters|Type|Description -|-|- environmentId|string|UUID of the environment to update name|string|Unique name for the environment production|boolean|Whether this is a production environment displayName|stringoptional|Human-readable display name teamUuids|arrayoptional|UUIDs of teams that own this environment

This tool is read-only. It does not modify its environment.


Tool: contract-testing_update_pacticipant

Fully replace a pacticipant's metadata (display name, main branch, repository URL, etc.).

Toolset: Pacticipants

Parameters:

  • pacticipantName (string) required: Name of the pacticipant to update
  • displayName (string): Human-readable display name
  • mainBranch (string): Name of the main/trunk branch (e.g. 'main')
  • repositoryName (string): Repository name
  • repositoryNamespace (string): Repository namespace/organisation
  • repositoryUrl (string): URL of the source repository Parameters|Type|Description -|-|- pacticipantName|string|Name of the pacticipant to update displayName|stringoptional|Human-readable display name mainBranch|stringoptional|Name of the main/trunk branch (e.g. 'main') repositoryName|stringoptional|Repository name repositoryNamespace|stringoptional|Repository namespace/organisation repositoryUrl|stringoptional|URL of the source repository

This tool is read-only. It does not modify its environment.


Tool: contract-testing_update_pacticipant_version

Update metadata for a specific pacticipant version.

Toolset: Branches and Versions

Parameters:

  • pacticipantName (string) required: Name of the pacticipant
  • versionNumber (string) required: Version number to update
  • buildUrl (string): URL of the CI build that produced this version Parameters|Type|Description -|-|- pacticipantName|string|Name of the pacticipant versionNumber|string|Version number to update buildUrl|stringoptional|URL of the CI build that produced this version

This tool is read-only. It does not modify its environment.


Tool: contract-testing_update_secret

Update an existing secret's name, value, or description.

Toolset: Secrets

Parameters:

  • secretId (string) required: UUID of the secret to update
  • name (string): New name for the secret
  • value (string): New value for the secret
  • description (string): New description Parameters|Type|Description -|-|- secretId|string|UUID of the secret to update description|stringoptional|New description name|stringoptional|New name for the secret value|stringoptional|New value for the secret

This tool is read-only. It does not modify its environment.


Tool: contract-testing_update_webhook

Update an existing webhook's configuration.

Toolset: Webhooks

Parameters:

  • webhookId (string) required: UUID of the webhook to update
  • description (string): Human-readable description
  • events (array): Events that trigger this webhook
  • request (object): HTTP request to send when triggered
  • consumer (object): Restrict to a specific consumer
  • provider (object): Restrict to a specific provider
  • enabled (boolean): Whether the webhook is enabled
  • teamUuid (string): UUID of the owning team Parameters|Type|Description -|-|- webhookId|string|UUID of the webhook to update consumer|stringoptional|Restrict to a specific consumer description|stringoptional|Human-readable description enabled|booleanoptional|Whether the webhook is enabled events|arrayoptional|Events that trigger this webhook provider|stringoptional|Restrict to a specific provider request|objectoptional|HTTP request to send when triggered teamUuid|stringoptional|UUID of the owning team

This tool is read-only. It does not modify its environment.


Tool: reflect_add_prompt_step

Add a natural language prompt step to an active Reflect recording session

Toolset: Recording

Parameters:

  • sessionId (string) required: The ID of the Reflect recording session
  • prompt (string) required: The natural language prompt describing the test step. The prompt should describe a single action, assertion, or query. The prompt can only contain literal text; it cannot contain template variables, secrets, or other dynamic syntax. If we are in a Web recording, the prompt can perform browser navigation (e.g. 'Click on the back button', 'Navigate to https://www.example.com') and use the tab and enter keys to navigate (e.g. 'Press the tab key', 'Press the enter key'). Parameters|Type|Description -|-|- prompt|string|The natural language prompt describing the test step. The prompt should describe a single action, assertion, or query. The prompt can only contain literal text; it cannot contain template variables, secrets, or other dynamic syntax. If we are in a Web recording, the prompt can perform browser navigation (e.g. 'Click on the back button', 'Navigate to https://www.example.com') and use the tab and enter keys to navigate (e.g. 'Press the tab key', 'Press the enter key'). sessionId|string|The ID of the Reflect recording session

Tool: reflect_add_segment

Insert a reusable test segment into an active Reflect recording session

Toolset: Recording

Parameters:

  • sessionId (string) required: The ID of the Reflect recording session
  • segmentId (number) required: The ID of the segment to add Parameters|Type|Description -|-|- segmentId|number|The ID of the segment to add sessionId|string|The ID of the Reflect recording session

Tool: reflect_cancel_suite_execution

Cancel a reflect suite execution

Toolset: Suites

Parameters:

  • suiteId (string) required: ID of the reflect suite to cancel execution for
  • executionId (string) required: ID of the reflect suite execution to cancel Parameters|Type|Description -|-|- executionId|string|ID of the reflect suite execution to cancel suiteId|string|ID of the reflect suite to cancel execution for

This tool is read-only. It does not modify its environment.


Tool: reflect_connect_to_session

Connect to an active Reflect recording session via WebSocket to enable interactive control. When creating or editing a Reflect test using a connected recording session, follow these guidelines:

  1. After connecting to a session, get the list of segments for the session's platform type so you know what actions could be added via segments vs needing to create new steps. Do not list tests, only list segments.
  2. Before performing an action, take a screenshot to understand the current state of the application.
  3. Each add_prompt_step request should perform a single action or assertion. Do not combine multiple actions or assertions into a single step.
  4. Only perform one action at a time unless you're sure the action won't move the application to a different screen. For example, you can send multiple add_prompt_step requests to fill out individual form fields if those fields are visible on the current screen.
  5. Check the list of existing Segments to see if a Segment exists that achieves a similar goal to what you're trying to do next. If so, add the segment instead of creating new steps.
  6. If a step fails, use delete_previous_step to remove it and try a different approach.
  7. After completing a task, if the task required multiple prompt steps, add a final prompt step that validates the current state of the page based on what you see on the screen. In your validation, do not reference information that can change from run to run.

Toolset: Recording

Parameters:

  • sessionId (string) required: The ID of the Reflect recording session to connect to Parameters|Type|Description -|-|- sessionId|string|The ID of the Reflect recording session to connect to

Tool: reflect_delete_previous_step

Delete the last step added to an active Reflect recording session

Toolset: Recording

Parameters:

  • sessionId (string) required: The ID of the Reflect recording session Parameters|Type|Description -|-|- sessionId|string|The ID of the Reflect recording session

This tool may perform destructive updates.


Tool: reflect_execute_suite

Execute a reflect suite

Toolset: Suites

Parameters:

  • suiteId (string) required: ID of the reflect suite to execute Parameters|Type|Description -|-|- suiteId|string|ID of the reflect suite to execute

This tool is read-only. It does not modify its environment.


Tool: reflect_get_screenshot

Capture a screenshot from the current state of an active Reflect recording session

Toolset: Recording

Parameters:

  • sessionId (string) required: The ID of the Reflect recording session
  • format (enum): The image format for the screenshot (png or jpeg) Parameters|Type|Description -|-|- sessionId|string|The ID of the Reflect recording session format|stringoptional|The image format for the screenshot (png or jpeg)

This tool is read-only. It does not modify its environment.


Tool: reflect_get_suite_execution_status

Get the status of a reflect suite execution

Toolset: Suites

Parameters:

  • suiteId (string) required: ID of the reflect suite to get execution status for
  • executionId (string) required: ID of the reflect suite execution to get status for Parameters|Type|Description -|-|- executionId|string|ID of the reflect suite execution to get status for suiteId|string|ID of the reflect suite to get execution status for

This tool is read-only. It does not modify its environment.


Tool: reflect_get_test_detail

Get the full detail of a reflect test, including its name, description, and all recorded steps

Toolset: Tests

Parameters:

  • testId (string) required: ID of the reflect test to retrieve details for Parameters|Type|Description -|-|- testId|string|ID of the reflect test to retrieve details for

This tool is read-only. It does not modify its environment.


Tool: reflect_get_test_status

Get the status of a reflect test execution

Toolset: Tests

Parameters:

  • executionId (string) required: ID of the reflect test execution to get status for Parameters|Type|Description -|-|- executionId|string|ID of the reflect test execution to get status for

This tool is read-only. It does not modify its environment.


Tool: reflect_list_segments

Retrieve available reusable test segments for the given platform type. Segments are reusable test steps with an optional set of parameters that can used across multiple tests.

Toolset: Tests

Parameters:

  • platform (enum) required: The platform type to retrieve segments for
  • offset (number): Offset for pagination
  • limit (number): Maximum number of segments to return Parameters|Type|Description -|-|- platform|string|The platform type to retrieve segments for limit|numberoptional|Maximum number of segments to return offset|numberoptional|Offset for pagination

This tool is read-only. It does not modify its environment.


Tool: reflect_list_suite_executions

List all executions for a given suite

Toolset: Suites

Parameters:

  • suiteId (string) required: ID of the reflect suite to list executions for Parameters|Type|Description -|-|- suiteId|string|ID of the reflect suite to list executions for

This tool is read-only. It does not modify its environment.


Tool: reflect_list_suites

Retrieve a list of all reflect suites available

Toolset: Suites

Parameters: None

Tool: reflect_list_tests

List all reflect tests

Toolset: Tests

Parameters: None

Tool: reflect_run_test

Run a reflect test

Toolset: Tests

Parameters:

  • testId (string) required: ID of the reflect test to run Parameters|Type|Description -|-|- testId|string|ID of the reflect test to run

This tool is read-only. It does not modify its environment.


Tool: swagger_create_api_from_prompt

Generate and save an API definition based on a prompt using SmartBear AI. This tool automatically applies organization governance and standardization rules during API generation. The specType parameter determines the format of the generated definition. Use: 'openapi20' for OpenAPI 2.0, 'openapi30x' for OpenAPI 3.0.x, 'openapi31x' for OpenAPI 3.1.x, 'asyncapi2xx' for AsyncAPI 2.x, 'asyncapi30x' for AsyncAPI 3.0.x. Use this tool when creating APIs that comply with governance policies or when generating APIs from natural language descriptions. Use this tool when users ask to create, generate, or design APIs with governance or standardization requirements. Returns HTTP 201 for creation, HTTP 200 for update. Response includes 'operation' field indicating whether it was a 'create' or 'update' operation along with API details and SwaggerHub URL.

Toolset: Registry API

Parameters:

  • owner (string) required: API owner (organization or user, case-sensitive)
  • apiName (string) required: API name
  • prompt (string) required: The prompt describing the desired API functionality (e.g., 'Create a RESTful API for managing a pet store with endpoints for pets, orders, and inventory')
  • specType (enum): Specification type for the generated API definition. Use: 'openapi20' for OpenAPI 2.0, 'openapi30x' for OpenAPI 3.0.x (default), 'openapi31x' for OpenAPI 3.1.x, 'asyncapi2xx' for AsyncAPI 2.x, 'asyncapi30x' for AsyncAPI 3.0.x (default: "openapi30x") Parameters|Type|Description -|-|- apiName|string|API name owner|string|API owner (organization or user, case-sensitive) prompt|string|The prompt describing the desired API functionality (e.g., 'Create a RESTful API for managing a pet store with endpoints for pets, orders, and inventory') specType|stringoptional|Specification type for the generated API definition. Use: 'openapi20' for OpenAPI 2.0, 'openapi30x' for OpenAPI 3.0.x (default), 'openapi31x' for OpenAPI 3.1.x, 'asyncapi2xx' for AsyncAPI 2.x, 'asyncapi30x' for AsyncAPI 3.0.x

This tool is read-only. It does not modify its environment.


Tool: swagger_create_documentation_page

Create a documentation page in a portal product in a single tool call. Supports markdown and html content types. Returns the page location details (productId, sectionId, slug) and a draftUrl to edit it in the portal.

Toolset: Documents

Parameters:

  • portalId (string) required: Portal UUID or subdomain - unique identifier for the portal
  • productId (string) required: Product UUID - unique identifier for the product
  • pageTitle (string) required: Title of the documentation page - will be displayed in navigation (3-255 characters)
  • pageSlug (string): URL slug for the documentation page. 3-255 characters, lowercase, alphanumeric with hyphens, underscores, or dots (e.g. 'my-page'). If not provided, the slug is generated from the page title.
  • pageContent (string): Content of the documentation page. Provide HTML when contentType is 'html', Markdown when contentType is 'markdown'.
  • contentType (enum): Content type of the documentation page. 'markdown' works with both 'internal' and 'external' source. 'html' only works with 'external' source — html + internal is not supported by the API and will return an error. (default: "markdown")
  • source (enum): Where the document content is managed. 'internal': editable in both the portal UI and via API. 'external': editable via API only, not in the portal UI. Constraint: 'html' content type only supports 'external' source. (default: "internal")
  • order (number): Order position of the documentation page within its parent section or item (default: 0)
  • parentId (string): Parent table of contents item ID - null for top-level pages, or ID of parent item for nested structure Parameters|Type|Description -|-|- pageTitle|string|Title of the documentation page - will be displayed in navigation (3-255 characters) portalId|string|Portal UUID or subdomain - unique identifier for the portal productId|string|Product UUID - unique identifier for the product contentType|stringoptional|Content type of the documentation page. 'markdown' works with both 'internal' and 'external' source. 'html' only works with 'external' source — html + internal is not supported by the API and will return an error. order|numberoptional|Order position of the documentation page within its parent section or item pageContent|stringoptional|Content of the documentation page. Provide HTML when contentType is 'html', Markdown when contentType is 'markdown'. pageSlug|stringoptional|URL slug for the documentation page. 3-255 characters, lowercase, alphanumeric with hyphens, underscores, or dots (e.g. 'my-page'). If not provided, the slug is generated from the page title. parentId|stringoptional|Parent table of contents item ID - null for top-level pages, or ID of parent item for nested structure source|stringoptional|Where the document content is managed. 'internal': editable in both the portal UI and via API. 'external': editable via API only, not in the portal UI. Constraint: 'html' content type only supports 'external' source.

This tool is read-only. It does not modify its environment.


Tool: swagger_create_or_update_api

Create a new API or update an existing API in SwaggerHub Registry for Swagger Studio. The API specification type (OpenAPI, AsyncAPI) is automatically detected from the definition content. APIs are always created with fixed values: version 1.0.0, private visibility, and automock disabled (these values cannot be changed). Returns HTTP 201 for creation, HTTP 200 for update. Response includes 'operation' field indicating whether it was a 'create' or 'update' operation along with API details and SwaggerHub URL.

Toolset: Registry API

Parameters:

  • owner (string) required: Organization name (owner of the API)
  • apiName (string) required: API name
  • definition (string) required: API definition content (OpenAPI/AsyncAPI specification in JSON or YAML format). Format is automatically detected. API is created with fixed values: version 1.0.0, private visibility, automock disabled, and no project assignment. Parameters|Type|Description -|-|- apiName|string|API name definition|string|API definition content (OpenAPI/AsyncAPI specification in JSON or YAML format). Format is automatically detected. API is created with fixed values: version 1.0.0, private visibility, automock disabled, and no project assignment. owner|string|Organization name (owner of the API)

This tool is read-only. It does not modify its environment.


Tool: swagger_create_portal

Create a new portal within Swagger.

Toolset: Portals

Parameters:

  • name (string): The display name for the portal - shown to users and in branding (3-40 characters)
  • subdomain (string) required: The portal subdomain - used in the portal URL (e.g., 'myportal' for myportal.example.com). Must be unique, lowercase, 3-20 characters, alphanumeric with hyphens
  • offline (boolean): If true, the portal will not be visible to customers - useful for development/staging environments. Defaults to false
  • routing (string): Routing strategy for the portal - either 'browser' (client-side routing) or 'proxy' (server-side routing). Defaults to 'browser'
  • credentialsEnabled (boolean): Whether authentication credentials are enabled for accessing the portal. When true, users can authenticate to access private content. Defaults to true
  • swaggerHubOrganizationId (string) required: The corresponding Swagger organization UUID - required for portal creation. This links the portal to your Swagger organization. Only one Portal per Swagger organization is allowed.
  • openapiRenderer (string): OpenAPI renderer type: 'SWAGGER_UI' (Swagger UI), 'ELEMENTS' (Stoplight Elements), or 'TOGGLE' (allows switching between both with Elements as default). Defaults to 'TOGGLE'
  • pageContentFormat (string): Format for page content rendering - determines how documentation pages are processed: 'HTML', 'MARKDOWN', or 'BOTH'. Defaults to 'HTML' Parameters|Type|Description -|-|- subdomain|string|The portal subdomain - used in the portal URL (e.g., 'myportal' for myportal.example.com). Must be unique, lowercase, 3-20 characters, alphanumeric with hyphens swaggerHubOrganizationId|string|The corresponding Swagger organization UUID - required for portal creation. This links the portal to your Swagger organization. Only one Portal per Swagger organization is allowed. credentialsEnabled|booleanoptional|Whether authentication credentials are enabled for accessing the portal. When true, users can authenticate to access private content. Defaults to true name|stringoptional|The display name for the portal - shown to users and in branding (3-40 characters) offline|booleanoptional|If true, the portal will not be visible to customers - useful for development/staging environments. Defaults to false openapiRenderer|stringoptional|OpenAPI renderer type: 'SWAGGER_UI' (Swagger UI), 'ELEMENTS' (Stoplight Elements), or 'TOGGLE' (allows switching between both with Elements as default). Defaults to 'TOGGLE' pageContentFormat|stringoptional|Format for page content rendering - determines how documentation pages are processed: 'HTML', 'MARKDOWN', or 'BOTH'. Defaults to 'HTML' routing|stringoptional|Routing strategy for the portal - either 'browser' (client-side routing) or 'proxy' (server-side routing). Defaults to 'browser'

This tool is read-only. It does not modify its environment.


Tool: swagger_create_portal_product

Create a new product for a specific portal.

Toolset: Products

Parameters:

  • portalId (string) required: Portal UUID or subdomain - unique identifier for the portal instance
  • type (string) required: Product creation type - 'new' to create from scratch or 'copy' to duplicate an existing product
  • productId (string): Source product UUID to copy from - required when type is 'copy', specifies which existing product to duplicate. Omit when type is 'new'
  • name (string) required: Product display name - will be shown to users in the portal navigation and product listings (3-40 characters)
  • slug (string) required: URL-friendly identifier for the product - must be unique within the portal, used in URLs (e.g., 'my-api' becomes /my-api). 3-22 characters, lowercase, alphanumeric with hyphens, underscores, or dots
  • description (string): Product description - explains what the API/product does, shown in product listings and cards (max 110 characters)
  • public (boolean): Whether the product is publicly visible to all portal visitors - false means only authenticated users with appropriate roles can access it
  • hidden (boolean): Whether the product is hidden from the portal landing page navigation menus - useful for internal or draft products Parameters|Type|Description -|-|- name|string|Product display name - will be shown to users in the portal navigation and product listings (3-40 characters) portalId|string|Portal UUID or subdomain - unique identifier for the portal instance slug|string|URL-friendly identifier for the product - must be unique within the portal, used in URLs (e.g., 'my-api' becomes /my-api). 3-22 characters, lowercase, alphanumeric with hyphens, underscores, or dots type|string|Product creation type - 'new' to create from scratch or 'copy' to duplicate an existing product description|stringoptional|Product description - explains what the API/product does, shown in product listings and cards (max 110 characters) hidden|booleanoptional|Whether the product is hidden from the portal landing page navigation menus - useful for internal or draft products productId|stringoptional|Source product UUID to copy from - required when type is 'copy', specifies which existing product to duplicate. Omit when type is 'new' public|booleanoptional|Whether the product is publicly visible to all portal visitors - false means only authenticated users with appropriate roles can access it

This tool is read-only. It does not modify its environment.


Tool: swagger_create_table_of_contents

Create a new table of contents item in a portal product section. Supports API references, HTML content, and Markdown content types.

Toolset: Table Of Contents

Parameters:

  • sectionId (string) required: Section ID - unique identifier for the section within the product
  • type (enum) required: Type of table of contents creation - 'new' to create from scratch or 'copy' to duplicate an existing one
  • title (string) required: Title of the table of contents item - will be displayed in navigation (3-40 characters)
  • slug (string) required: URL-friendly identifier for the table of contents item - must be unique within the section (3-22 characters, lowercase, alphanumeric with hyphens/underscores/dots)
  • order (number) required: Order position of the table of contents item within its parent section or item
  • parentId (string): Parent table of contents item ID - null for top-level items, or ID of parent item for nested structure
  • content (object): Content configuration for the table of contents item Parameters|Type|Description -|-|- order|number|Order position of the table of contents item within its parent section or item sectionId|string|Section ID - unique identifier for the section within the product slug|string|URL-friendly identifier for the table of contents item - must be unique within the section (3-22 characters, lowercase, alphanumeric with hyphens/underscores/dots) title|string|Title of the table of contents item - will be displayed in navigation (3-40 characters) type|string|Type of table of contents creation - 'new' to create from scratch or 'copy' to duplicate an existing one content|objectoptional|Content configuration for the table of contents item parentId|stringoptional|Parent table of contents item ID - null for top-level items, or ID of parent item for nested structure

This tool is read-only. It does not modify its environment.


Tool: swagger_delete_portal_product

Delete a product from a specific portal

Toolset: Products

Parameters:

  • productId (string) required: Product UUID or identifier in the format 'portal-subdomain:product-slug' - unique identifier for the product Parameters|Type|Description -|-|- productId|string|Product UUID or identifier in the format 'portal-subdomain:product-slug' - unique identifier for the product

This tool is read-only. It does not modify its environment.


Tool: swagger_delete_table_of_contents

Delete table of contents entry. Performs a soft-delete of an entry from the table of contents. Supports recursive deletion of nested items.

Toolset: Table Of Contents

Parameters:

  • tableOfContentsId (string) required: The table of contents UUID, or identifier in the format 'portal-subdomain:product-slug:section-slug:table-of-contents-slug'
  • recursive (boolean): Flag to include all the nested tables of contents (default: false) Parameters|Type|Description -|-|- tableOfContentsId|string|The table of contents UUID, or identifier in the format 'portal-subdomain:product-slug:section-slug:table-of-contents-slug' recursive|booleanoptional|Flag to include all the nested tables of contents (default: false)

This tool is read-only. It does not modify its environment.


Tool: swagger_get_api_definition

Fetch resolved API definition from SwaggerHub Registry based on owner, API name, and version.

Toolset: Registry API

Parameters:

  • owner (string) required: API owner (organization or user, case-sensitive)
  • api (string) required: API name (case-sensitive)
  • version (string) required: Version identifier
  • resolved (boolean): Set to true to get the resolved version with all external $refs included (default false)
  • flatten (boolean): Set to true to create models from inline schemas in OpenAPI definition (default false) Parameters|Type|Description -|-|- api|string|API name (case-sensitive) owner|string|API owner (organization or user, case-sensitive) version|string|Version identifier flatten|booleanoptional|Set to true to create models from inline schemas in OpenAPI definition (default false) resolved|booleanoptional|Set to true to get the resolved version with all external $refs included (default false)

This tool is read-only. It does not modify its environment.


Tool: swagger_get_document

Get document content and metadata by document ID. Useful for retrieving HTML or Markdown content from table of contents items.

Toolset: Documents

Parameters:

  • documentId (string) required: Document UUID - unique identifier for the document Parameters|Type|Description -|-|- documentId|string|Document UUID - unique identifier for the document

This tool is read-only. It does not modify its environment.


Tool: swagger_get_portal

Retrieve information about a specific portal.

Toolset: Portals

Parameters:

  • portalId (string) required: Portal UUID or subdomain - unique identifier for the portal instance Parameters|Type|Description -|-|- portalId|string|Portal UUID or subdomain - unique identifier for the portal instance

This tool is read-only. It does not modify its environment.


Tool: swagger_get_portal_product

Retrieve information about a specific product resource.

Toolset: Products

Parameters:

  • productId (string) required: Product UUID or identifier in the format 'portal-subdomain:product-slug' - unique identifier for the product Parameters|Type|Description -|-|- productId|string|Product UUID or identifier in the format 'portal-subdomain:product-slug' - unique identifier for the product

This tool is read-only. It does not modify its environment.


Tool: swagger_list_organizations

Get organizations for a user. Returns a list of organizations that the authenticating user is a member of. On-Premise admin gets a list of all organizations in the system.

Toolset: Registry API

Parameters:

  • q (string): Search organizations by partial or full name (case-insensitive)
  • sortBy (enum): The property to sort the results by
  • order (enum): Sort order
  • page (number): 0-based index of the page to return
  • pageSize (number): Number of results per page to return Parameters|Type|Description -|-|- order|stringoptional|Sort order page|numberoptional|0-based index of the page to return pageSize|numberoptional|Number of results per page to return q|stringoptional|Search organizations by partial or full name (case-insensitive) sortBy|stringoptional|The property to sort the results by

This tool is read-only. It does not modify its environment.


Tool: swagger_list_portal_product_sections

Get sections for a specific product within a portal.

Toolset: Sections

Parameters:

  • productId (string) required: Product UUID or identifier in the format 'portal-subdomain:product-slug' - unique identifier for the product
  • embed (array): List of related entities to embed in the response - e.g., ['tableOfContents', 'tableOfContents.swaggerhubApi'] to include table of contents and SwaggerHub API details
  • page (number): Page number for paginated results - specifies which page of results to retrieve (default is 1)
  • size (number): Number of items per page for pagination - controls how many results are returned per page (default is 10) Parameters|Type|Description -|-|- productId|string|Product UUID or identifier in the format 'portal-subdomain:product-slug' - unique identifier for the product embed|arrayoptional|List of related entities to embed in the response - e.g., ['tableOfContents', 'tableOfContents.swaggerhubApi'] to include table of contents and SwaggerHub API details page|numberoptional|Page number for paginated results - specifies which page of results to retrieve (default is 1) size|numberoptional|Number of items per page for pagination - controls how many results are returned per page (default is 10)

This tool is read-only. It does not modify its environment.


Tool: swagger_list_portal_products

Get products for a specific portal that match your criteria.

Toolset: Products

Parameters:

  • portalId (string) required: Portal UUID or subdomain - unique identifier for the portal instance Parameters|Type|Description -|-|- portalId|string|Portal UUID or subdomain - unique identifier for the portal instance

This tool is read-only. It does not modify its environment.


Tool: swagger_list_portals

Search for available portals within Swagger. Only portals where you have at least a designer role, either at the product level or organization level, are returned.

Toolset: Portals

Tool: swagger_list_table_of_contents

Get table of contents for a section of a product within a portal.

Toolset: Table Of Contents

Parameters:

  • sectionId (string) required: Section ID - unique identifier for the section within the product
  • embed (array): List of related entities to embed in the response - e.g., ['swaggerhubApi'] to include SwaggerHub API details
  • page (number): Page number for paginated results - specifies which page of results to retrieve (default is 1)
  • size (number): Number of items per page for pagination - controls how many results are returned per page (default is 20) Parameters|Type|Description -|-|- sectionId|string|Section ID - unique identifier for the section within the product embed|arrayoptional|List of related entities to embed in the response - e.g., ['swaggerhubApi'] to include SwaggerHub API details page|numberoptional|Page number for paginated results - specifies which page of results to retrieve (default is 1) size|numberoptional|Number of items per page for pagination - controls how many results are returned per page (default is 20)

This tool is read-only. It does not modify its environment.


Tool: swagger_publish_portal_product

Publish a product's content to make it live or as preview. This endpoint publishes the current content of a product, making it visible to portal visitors. Use preview mode to test before going live. Optionally provide tableOfContentsId to get a page-specific URL. Returns publication status, a live or preview URL (null if URL building fails), product and portal metadata, and an optional warning when metadata/URL building failed — a warning does NOT mean the publish failed.

Toolset: Products

Parameters:

  • productId (string) required: Product UUID or identifier in the format 'portal-subdomain:product-slug' - unique identifier for the product
  • tableOfContentsId (string): Optional table of contents UUID, or identifier in the format 'portal-subdomain:product-slug:section-slug:table-of-contents-slug'. When provided, publishPortalProduct uses it to resolve the published URL path for the returned preview/live link.
  • preview (boolean): Whether to publish as preview (true) or live (false). Preview allows testing before going live. Defaults to false (live publication) (default: false) Parameters|Type|Description -|-|- productId|string|Product UUID or identifier in the format 'portal-subdomain:product-slug' - unique identifier for the product preview|booleanoptional|Whether to publish as preview (true) or live (false). Preview allows testing before going live. Defaults to false (live publication) tableOfContentsId|stringoptional|Optional table of contents UUID, or identifier in the format 'portal-subdomain:product-slug:section-slug:table-of-contents-slug'. When provided, publishPortalProduct uses it to resolve the published URL path for the returned preview/live link.

This tool is read-only. It does not modify its environment.


Tool: swagger_resolve_organization_portal

Resolve portal details for a Swagger organization in a single step. Given an organization UUID, returns the portal ID, subdomain, customDomain (when configured), and the list of products (with productId, productSlug, and productName) for the organization's portal. If the organization has no portal yet, a new portal is created automatically. Use this tool to obtain all portal context needed for subsequent portal and product operations.

Toolset: Portals

Parameters:

  • organizationId (string) required: Swagger organization UUID - the organization to resolve portal details for Parameters|Type|Description -|-|- organizationId|string|Swagger organization UUID - the organization to resolve portal details for

This tool is read-only. It does not modify its environment.


Tool: swagger_scan_api_standardization

Run a standardization scan against an API definition using the organization's governance and standardization rules. Accepts a raw YAML or JSON OpenAPI/AsyncAPI definition and returns a list of validation errors, the total issue count, and counts grouped by severity. Use this tool when the user provides the API definition content directly (as raw YAML or JSON) and asks to validate, scan, or check the governance or standardization of the API.

Toolset: Registry API

Parameters:

  • orgName (string) required: The organization name to use for standardization rules
  • definition (string) required: API definition content (OpenAPI/AsyncAPI specification in JSON or YAML format) to scan for standardization errors Parameters|Type|Description -|-|- definition|string|API definition content (OpenAPI/AsyncAPI specification in JSON or YAML format) to scan for standardization errors orgName|string|The organization name to use for standardization rules

This tool is read-only. It does not modify its environment.


Tool: swagger_scan_api_standardization_from_registry

Run a standardization scan on an API that already exists in SwaggerHub Registry, identified by organization name, API name, and version. Fetches the API definition from the registry internally and scans it against the organization's governance and standardization rules. Returns a list of validation errors, total issue count, counts grouped by severity, and a SwaggerHub UI URL for the scanned API. Use this tool when the user identifies the API by org name, API name, and version and asks to validate, scan, or check the governance or standardization of an existing API.

Toolset: Registry API

Parameters:

  • orgName (string) required: The organization name that owns the API and provides the standardization rules (case-sensitive)
  • apiName (string) required: API name (case-sensitive)
  • version (string) required: Version identifier Parameters|Type|Description -|-|- apiName|string|API name (case-sensitive) orgName|string|The organization name that owns the API and provides the standardization rules (case-sensitive) version|string|Version identifier

This tool is read-only. It does not modify its environment.


Tool: swagger_search_apis_and_domains

Search for APIs and Domains in SwaggerHub Registry using the comprehensive /specs endpoint and retrieve metadata including owner, name, description, summary, version, and specification.

Toolset: Registry API

Parameters:

  • query (string): Search query to filter APIs by name, description, or content
  • state (enum): Filter APIs by publication state - ALL (default), PUBLISHED, or UNPUBLISHED
  • tag (string): Filter APIs by tag
  • offset (number): Offset for pagination (0-based, default 0)
  • limit (number): Number of results per page (1-100, default 20)
  • sort (enum): Sort field - NAME, UPDATED, or CREATED (default NAME)
  • order (enum): Sort order - ASC or DESC (default ASC)
  • owner (string): Filter APIs by owner (organization or user)
  • specType (enum): Filter by specification type - API or DOMAIN (default all types) Parameters|Type|Description -|-|- limit|numberoptional|Number of results per page (1-100, default 20) offset|numberoptional|Offset for pagination (0-based, default 0) order|stringoptional|Sort order - ASC or DESC (default ASC) owner|stringoptional|Filter APIs by owner (organization or user) query|stringoptional|Search query to filter APIs by name, description, or content sort|stringoptional|Sort field - NAME, UPDATED, or CREATED (default NAME) specType|stringoptional|Filter by specification type - API or DOMAIN (default all types) state|stringoptional|Filter APIs by publication state - ALL (default), PUBLISHED, or UNPUBLISHED tag|stringoptional|Filter APIs by tag

This tool is read-only. It does not modify its environment.


Tool: swagger_standardize_api

Standardize and fix an API definition using AI to ensure compliance with governance policies. Scans the API definition for standardization errors and automatically fixes them using SmartBear AI. Optionally provide 'newVersion' (e.g. patch bump '1.0.0' → '1.0.1') to save the fixed definition as a new version — omitting it will overwrite the current version. Returns the number of errors found and the fixed definition if successful. Use this tool when users ask to standardize, fix, govern, or ensure governance compliance of APIs.

Toolset: Registry API

Parameters:

  • owner (string) required: API owner (organization or user, case-sensitive)
  • api (string) required: API name (case-sensitive)
  • version (string) required: Version identifier
  • newVersion (string): The version to save the fixed definition as (e.g. '1.0.1'). Omitting this will overwrite the current version — prefer providing a patch bump (e.g. '1.0.0' → '1.0.1') unless the user specifies otherwise. Parameters|Type|Description -|-|- api|string|API name (case-sensitive) owner|string|API owner (organization or user, case-sensitive) version|string|Version identifier newVersion|stringoptional|The version to save the fixed definition as (e.g. '1.0.1'). Omitting this will overwrite the current version — prefer providing a patch bump (e.g. '1.0.0' → '1.0.1') unless the user specifies otherwise.

This tool is read-only. It does not modify its environment.


Tool: swagger_update_document

Update the content or source of an existing document. Supports both HTML and Markdown content types.

Toolset: Documents

Parameters:

  • documentId (string) required: Document UUID - unique identifier for the document
  • content (string): The document content to update (HTML or Markdown based on document type)
  • type (enum): Content type of the document. Note: documents with type 'html' and source 'internal' cannot be edited via API — only 'html' + 'external' and all 'markdown' combinations are supported.
  • source (enum): Where the document content is managed. 'internal': editable in both portal UI and API. 'external': editable via API only. Note: 'html' + 'internal' documents cannot be updated via API. Parameters|Type|Description -|-|- documentId|string|Document UUID - unique identifier for the document content|stringoptional|The document content to update (HTML or Markdown based on document type) source|stringoptional|Where the document content is managed. 'internal': editable in both portal UI and API. 'external': editable via API only. Note: 'html' + 'internal' documents cannot be updated via API. type|stringoptional|Content type of the document. Note: documents with type 'html' and source 'internal' cannot be edited via API — only 'html' + 'external' and all 'markdown' combinations are supported.

This tool is read-only. It does not modify its environment.


Tool: swagger_update_portal

Update a specific portal's configuration.

Toolset: Portals

Parameters:

  • portalId (string) required: Portal UUID or subdomain - unique identifier for the portal instance
  • name (string): Update the portal display name - shown to users and in branding (3-40 characters)
  • subdomain (string): Update the portal subdomain - changes the portal URL. Must remain unique across all portals (3-20 characters, lowercase, alphanumeric with hyphens)
  • customDomain (boolean): Enable/disable custom domain for the portal - allows using your own domain instead of the default subdomain
  • gtmKey (string): Google Tag Manager key for analytics tracking - format: GTM-XXXXXX (max 25 characters)
  • offline (boolean): Set portal visibility - true hides portal from customers (useful for maintenance or development)
  • routing (string): Update routing strategy - 'browser' for client-side routing or 'proxy' for server-side routing
  • credentialsEnabled (boolean): Enable/disable authentication credentials for portal access - controls whether users can authenticate to view private content
  • openapiRenderer (string): Change OpenAPI renderer: 'SWAGGER_UI' (Swagger UI), 'ELEMENTS' (Stoplight Elements), or 'TOGGLE' (switch between both)
  • pageContentFormat (string): Update page content format for documentation rendering: 'HTML', 'MARKDOWN', or 'BOTH' Parameters|Type|Description -|-|- portalId|string|Portal UUID or subdomain - unique identifier for the portal instance credentialsEnabled|booleanoptional|Enable/disable authentication credentials for portal access - controls whether users can authenticate to view private content customDomain|booleanoptional|Enable/disable custom domain for the portal - allows using your own domain instead of the default subdomain gtmKey|stringoptional|Google Tag Manager key for analytics tracking - format: GTM-XXXXXX (max 25 characters) name|stringoptional|Update the portal display name - shown to users and in branding (3-40 characters) offline|booleanoptional|Set portal visibility - true hides portal from customers (useful for maintenance or development) openapiRenderer|stringoptional|Change OpenAPI renderer: 'SWAGGER_UI' (Swagger UI), 'ELEMENTS' (Stoplight Elements), or 'TOGGLE' (switch between both) pageContentFormat|stringoptional|Update page content format for documentation rendering: 'HTML', 'MARKDOWN', or 'BOTH' routing|stringoptional|Update routing strategy - 'browser' for client-side routing or 'proxy' for server-side routing subdomain|stringoptional|Update the portal subdomain - changes the portal URL. Must remain unique across all portals (3-20 characters, lowercase, alphanumeric with hyphens)

This tool is read-only. It does not modify its environment.


Tool: swagger_update_portal_product

Update a product's settings within a specific portal.

Toolset: Products

Parameters:

  • productId (string) required: Product UUID or identifier in the format 'portal-subdomain:product-slug' - unique identifier for the product
  • name (string): Update product display name - changes how it appears to users in navigation and listings (3-40 characters)
  • slug (string): Update URL-friendly identifier - must remain unique within the portal, affects product URLs (3-22 characters, lowercase, alphanumeric with hyphens/underscores/dots)
  • description (string): Update product description - explains the API/product functionality, shown in listings (max 110 characters)
  • public (boolean): Change product visibility - true makes it publicly accessible to all visitors, false restricts to authenticated users with roles
  • hidden (boolean): Change navigation visibility - true hides from portal landing page menus while keeping the product accessible via direct links Parameters|Type|Description -|-|- productId|string|Product UUID or identifier in the format 'portal-subdomain:product-slug' - unique identifier for the product description|stringoptional|Update product description - explains the API/product functionality, shown in listings (max 110 characters) hidden|booleanoptional|Change navigation visibility - true hides from portal landing page menus while keeping the product accessible via direct links name|stringoptional|Update product display name - changes how it appears to users in navigation and listings (3-40 characters) public|booleanoptional|Change product visibility - true makes it publicly accessible to all visitors, false restricts to authenticated users with roles slug|stringoptional|Update URL-friendly identifier - must remain unique within the portal, affects product URLs (3-22 characters, lowercase, alphanumeric with hyphens/underscores/dots)

This tool is read-only. It does not modify its environment.


Use this MCP Server

{
  "mcpServers": {
    "smartbear": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "BUGSNAG_PROJECT_API_KEY",
        "-e",
        "BUGSNAG_ENDPOINT",
        "-e",
        "PACT_BROKER_BASE_URL",
        "-e",
        "PACT_BROKER_USERNAME",
        "-e",
        "BUGSNAG_AUTH_TOKEN",
        "-e",
        "REFLECT_API_TOKEN",
        "-e",
        "API_HUB_API_KEY",
        "-e",
        "PACT_BROKER_TOKEN",
        "-e",
        "PACT_BROKER_PASSWORD",
        "mcp/smartbear"
      ],
      "env": {
        "BUGSNAG_PROJECT_API_KEY": "<your-bugsnag-project-api-key>",
        "BUGSNAG_ENDPOINT": "https://notify.your-server.com",
        "PACT_BROKER_BASE_URL": "https://your-tenant.pactflow.io",
        "PACT_BROKER_USERNAME": "<your-pact-broker-username>",
        "BUGSNAG_AUTH_TOKEN": "<your-bugsnag-auth-token>",
        "REFLECT_API_TOKEN": "<your-reflect-api-token>",
        "API_HUB_API_KEY": "<your-api-hub-api-key>",
        "PACT_BROKER_TOKEN": "<your-pact-broker-token>",
        "PACT_BROKER_PASSWORD": "<your-pact-broker-password>"
      }
    }
  }
}

Why is it safer to run MCP Servers with Docker?

Related servers