{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/kortexio-io/json-schema/kortexio-io-replace-mcp-integrations-request-schema.json",
  "title": "ReplaceMcpIntegrationsRequest",
  "x-generated": "2026-11-14",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/kortexio-io-openapi.json#/components/schemas/ReplaceMcpIntegrationsRequest",
  "type": "object",
  "properties": {
    "agenticEnabled": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "integrations": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "#/$defs/UpsertMcpIntegrationRequest"
      }
    }
  },
  "additionalProperties": false,
  "$defs": {
    "UpsertMcpIntegrationRequest": {
      "type": "object",
      "properties": {
        "name": {
          "type": [
            "string",
            "null"
          ]
        },
        "url": {
          "type": [
            "string",
            "null"
          ]
        },
        "authMode": {
          "type": [
            "string",
            "null"
          ]
        },
        "authToken": {
          "type": [
            "string",
            "null"
          ]
        },
        "allowEgress": {
          "type": "boolean"
        },
        "oAuthTokenUrl": {
          "type": [
            "string",
            "null"
          ]
        },
        "oAuthClientId": {
          "type": [
            "string",
            "null"
          ]
        },
        "oAuthClientSecret": {
          "type": [
            "string",
            "null"
          ]
        },
        "oAuthScope": {
          "type": [
            "string",
            "null"
          ]
        },
        "oAuthAudience": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "additionalProperties": false
    }
  }
}