AIGatewayMCPToolQuery

object

The query arguments of the exported API. If the generated query arguments are not exactly matched, this field is required.

* Additional properties are allowed.

AIGatewayMCPToolRequestBody

object

The 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.

* Additional properties are allowed.

AIGatewayMCPToolResponses

object

The 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.

* Additional properties are allowed.

AIGatewayMCPToolParameters

array
namestringrequired

The name of the parameter.

Example:origin

instringrequired

The location of the parameter in the request.

Allowed values:querypathheaderbody

Example:query

descriptionstring

A description of the parameter.

Example:The origin airport code.

requiredboolean

Whether this parameter is required.

Example:true

schemaobject

JSON Schema definition for the parameter value.

* Additional properties are allowed.

AIGatewayMCPToolParameter

object

An 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.

* Additional properties are NOT allowed.
namestringrequired

The name of the parameter.

Example:origin

instringrequired

The location of the parameter in the request.

Allowed values:querypathheaderbody

Example:query

descriptionstring

A description of the parameter.

Example:The origin airport code.

requiredboolean

Whether this parameter is required.

Example:true

schemaobject

JSON Schema definition for the parameter value.

* Additional properties are allowed.
Example