AIGatewayMCPToolQuery
objectThe query arguments of the exported API. If the generated query arguments are not exactly matched, this field is required.
AIGatewayMCPToolRequestBody
objectThe API requestBody specification defined in OpenAPI JSON format. For example, ‘{“content”:{“application/x-www-form-urlencoded”:{“schema”:{“type”:“object”,“properties”:{“color”:{“type”:“array”,“items”:{“type”:“string”}}}}}}}’. See https://swagger.io/docs/specification/v3_0/describing-request-body/describing-request-body/ for more details. Note that $ref is not supported.
AIGatewayMCPToolResponses
objectThe API responses specification defined in OpenAPI JSON format. This specification will be used to validate the upstream response and map it back to the structuredOutput. For example, ‘{“200”:{“content”:{“application/json”:{“schema”:{“type”:“object”,“properties”:{“result”:{“type”:“string”}}}}}}}}’. See https://swagger.io/docs/specification/v3_0/describing-responses/ for more details. Only one non-error (status code < 400) response is supported. Note that $ref is not supported.
AIGatewayMCPToolParameters
arrayThe name of the parameter.
Example:origin
The location of the parameter in the request.
Allowed values:querypathheaderbody
Example:query
A description of the parameter.
Example:The origin airport code.
Whether this parameter is required.
Example:true
JSON Schema definition for the parameter value.
AIGatewayMCPToolParameter
objectAn API parameter specification defined in OpenAPI JSON format. For example, ‘[{“name”: “city”, “in”: “query”, “description”: “Name of the city to get the weather for”, “required”: true, “schema”: {“type”: “string”}}]’. See https://swagger.io/docs/specification/v3_0/describing-parameters/ for more details.
The name of the parameter.
Example:origin
The location of the parameter in the request.
Allowed values:querypathheaderbody
Example:query
A description of the parameter.
Example:The origin airport code.
Whether this parameter is required.
Example:true
JSON Schema definition for the parameter value.