@@ -16342,6 +16342,7 @@ components:
1634216342 - udp
1634316343 - icmp
1634416344 - websocket
16345+ - mcp
1634516346 example: http
1634616347 type: string
1634716348 x-enum-varnames:
@@ -16353,6 +16354,7 @@ components:
1635316354 - UDP
1635416355 - ICMP
1635516356 - WEBSOCKET
16357+ - MCP
1635616358 SyntheticsAPITestType:
1635716359 default: "api"
1635816360 description: Type of the Synthetic test, `api`.
@@ -16475,6 +16477,8 @@ components:
1647516477 - $ref: "#/components/schemas/SyntheticsAssertionJSONSchemaTarget"
1647616478 - $ref: "#/components/schemas/SyntheticsAssertionXPathTarget"
1647716479 - $ref: "#/components/schemas/SyntheticsAssertionJavascript"
16480+ - $ref: "#/components/schemas/SyntheticsAssertionMCPServerCapabilitiesTarget"
16481+ - $ref: "#/components/schemas/SyntheticsAssertionMCPRespectsSpecification"
1647816482 SyntheticsAssertionBodyHashOperator:
1647916483 description: Assertion operator to apply.
1648016484 enum:
@@ -16610,6 +16614,49 @@ components:
1661016614 type: string
1661116615 x-enum-varnames:
1661216616 - JAVASCRIPT
16617+ SyntheticsAssertionMCPRespectsSpecification:
16618+ description: An assertion that verifies the MCP server response respects the MCP specification.
16619+ properties:
16620+ type:
16621+ $ref: "#/components/schemas/SyntheticsAssertionMCPRespectsSpecificationType"
16622+ required:
16623+ - type
16624+ type: object
16625+ SyntheticsAssertionMCPRespectsSpecificationType:
16626+ description: Type of the assertion.
16627+ enum:
16628+ - mcpRespectsSpecification
16629+ example: mcpRespectsSpecification
16630+ type: string
16631+ x-enum-varnames:
16632+ - MCP_RESPECTS_SPECIFICATION
16633+ SyntheticsAssertionMCPServerCapabilitiesTarget:
16634+ description: An assertion that checks that an MCP server advertises the expected capabilities.
16635+ properties:
16636+ operator:
16637+ $ref: "#/components/schemas/SyntheticsAssertionOperator"
16638+ target:
16639+ description: List of MCP server capabilities to assert against.
16640+ example:
16641+ - completions
16642+ items:
16643+ $ref: "#/components/schemas/SyntheticsMCPServerCapability"
16644+ type: array
16645+ type:
16646+ $ref: "#/components/schemas/SyntheticsAssertionMCPServerCapabilitiesType"
16647+ required:
16648+ - type
16649+ - operator
16650+ - target
16651+ type: object
16652+ SyntheticsAssertionMCPServerCapabilitiesType:
16653+ description: Type of the assertion.
16654+ enum:
16655+ - mcpServerCapabilities
16656+ example: mcpServerCapabilities
16657+ type: string
16658+ x-enum-varnames:
16659+ - MCP_SERVER_CAPABILITIES
1661316660 SyntheticsAssertionOperator:
1661416661 description: Assertion operator to apply.
1661516662 enum:
@@ -16712,6 +16759,8 @@ components:
1671216759 - connection
1671316760 - multiNetworkHop
1671416761 - jitter
16762+ - mcpToolNameLength
16763+ - mcpToolCount
1671516764 example: statusCode
1671616765 type: string
1671716766 x-enum-varnames:
@@ -16736,6 +16785,8 @@ components:
1673616785 - CONNECTION
1673716786 - MULTI_NETWORK_HOP
1673816787 - JITTER
16788+ - MCP_TOOL_NAME_LENGTH
16789+ - MCP_TOOL_COUNT
1673916790 SyntheticsAssertionXPathOperator:
1674016791 description: Assertion operator to apply.
1674116792 enum:
@@ -18044,6 +18095,31 @@ components:
1804418095 $ref: "#/components/schemas/SyntheticsLocation"
1804518096 type: array
1804618097 type: object
18098+ SyntheticsMCPProtocolVersion:
18099+ description: The MCP protocol version used by the step. See https://modelcontextprotocol.io/specification.
18100+ enum:
18101+ - "2025-06-18"
18102+ example: "2025-06-18"
18103+ type: string
18104+ x-enum-varnames:
18105+ - VERSION_2025_06_18
18106+ SyntheticsMCPServerCapability:
18107+ description: A capability advertised by an MCP server.
18108+ enum:
18109+ - completions
18110+ - experimental
18111+ - logging
18112+ - prompts
18113+ - resources
18114+ - tools
18115+ type: string
18116+ x-enum-varnames:
18117+ - COMPLETIONS
18118+ - EXPERIMENTAL
18119+ - LOGGING
18120+ - PROMPTS
18121+ - RESOURCES
18122+ - TOOLS
1804718123 SyntheticsMobileStep:
1804818124 description: The steps used in a Synthetic mobile test.
1804918125 properties:
@@ -18933,15 +19009,24 @@ components:
1893319009 - UPLOAD_FILES
1893419010 - WAIT
1893519011 SyntheticsTestCallType:
18936- description: The type of gRPC call to perform.
19012+ description: |-
19013+ The type of call to perform. Used by gRPC steps (`healthcheck`, `unary`)
19014+ and MCP steps (`init`, `tool_list`, `tool_call`). Valid values depend on
19015+ the parent step's `subtype`.
1893719016 enum:
1893819017 - healthcheck
1893919018 - unary
19019+ - init
19020+ - tool_list
19021+ - tool_call
1894019022 example: unary
1894119023 type: string
1894219024 x-enum-varnames:
1894319025 - HEALTHCHECK
1894419026 - UNARY
19027+ - INIT
19028+ - TOOL_LIST
19029+ - TOOL_CALL
1894519030 SyntheticsTestCiOptions:
1894619031 description: CI/CD options for a Synthetic test.
1894719032 properties:
@@ -19442,6 +19527,8 @@ components:
1944219527 isMessageBase64Encoded:
1944319528 description: Whether the message is base64 encoded.
1944419529 type: boolean
19530+ mcpProtocolVersion:
19531+ $ref: "#/components/schemas/SyntheticsMCPProtocolVersion"
1944519532 message:
1944619533 description: Message to send for UDP or WebSocket tests.
1944719534 type: string
@@ -19486,6 +19573,14 @@ components:
1948619573 description: Timeout in seconds for the test.
1948719574 format: double
1948819575 type: number
19576+ toolArgs:
19577+ additionalProperties: {}
19578+ description: Arguments to pass to the MCP tool. Free-form object whose shape depends on the tool. Used when `callType` is `tool_call`.
19579+ type: object
19580+ toolName:
19581+ description: The name of the MCP tool to call. Required when `callType` is `tool_call`.
19582+ example: search
19583+ type: string
1948919584 url:
1949019585 description: URL to perform the test with.
1949119586 example: "https://example.com"
0 commit comments