AiGatewayToolServerUpdateParameters

Parameters for updating an AI Gateway tool server.

A2AAI GatewayAPI CenterAPI GatewayAPI ManagementEnterpriseMCPMicrosoft Azure

Properties

Name Type Description
properties object Tool server properties to update.
View JSON Schema on GitHub

JSON Schema

microsoft-azure-api-management-ai-gateway-tool-server-update-parameters-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-api-management/json-schema/microsoft-azure-api-management-ai-gateway-tool-server-update-parameters-schema.json",
  "title": "AiGatewayToolServerUpdateParameters",
  "description": "Parameters for updating an AI Gateway tool server.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-api-management-aigatewaytoolserverresources-api-openapi.yml#/components/schemas/AiGatewayToolServerUpdateParameters",
  "type": "object",
  "properties": {
    "properties": {
      "$ref": "#/$defs/AiGatewayToolServerUpdateProperties",
      "description": "Tool server properties to update."
    }
  },
  "$defs": {
    "AiGatewayAgentHookAuthorizationType": {
      "type": "string",
      "description": "Authorization kind for an agent hook.",
      "enum": [
        "anonymous",
        "managedIdentity"
      ],
      "x-ms-enum": {
        "name": "AiGatewayAgentHookAuthorizationType",
        "modelAsString": true,
        "values": [
          {
            "name": "Anonymous",
            "value": "anonymous",
            "description": "Call without authentication."
          },
          {
            "name": "ManagedIdentity",
            "value": "managedIdentity",
            "description": "Authenticate using a managed identity."
          }
        ]
      }
    },
    "AiGatewayAgentHookAuthorizationUpdate": {
      "type": "object",
      "description": "Agent-hook authorization settings to update.",
      "properties": {
        "type": {
          "$ref": "#/$defs/AiGatewayAgentHookAuthorizationType",
          "description": "Authorization kind."
        },
        "identity": {
          "$ref": "#/$defs/AiGatewayAgentHookIdentityUpdate",
          "description": "Managed identity selection."
        },
        "audience": {
          "type": "string",
          "format": "uri",
          "description": "Token audience URI."
        }
      }
    },
    "AiGatewayAgentHookIdentityType": {
      "type": "string",
      "description": "Managed identity kind selected for an agent hook.",
      "enum": [
        "systemAssigned",
        "userAssigned"
      ],
      "x-ms-enum": {
        "name": "AiGatewayAgentHookIdentityType",
        "modelAsString": true,
        "values": [
          {
            "name": "SystemAssigned",
            "value": "systemAssigned",
            "description": "Use the gateway's system-assigned identity."
          },
          {
            "name": "UserAssigned",
            "value": "userAssigned",
            "description": "Use a user-assigned identity."
          }
        ]
      }
    },
    "AiGatewayAgentHookIdentityUpdate": {
      "type": "object",
      "description": "Agent-hook managed identity settings to update.",
      "properties": {
        "type": {
          "$ref": "#/$defs/AiGatewayAgentHookIdentityType",
          "description": "Managed identity kind."
        },
        "clientId": {
          "type": "string",
          "description": "User-assigned identity client ID; omit for a system-assigned identity."
        }
      }
    },
    "AiGatewayAgentHookUpdate": {
      "type": "object",
      "description": "External hook settings to update.",
      "properties": {
        "endpoint": {
          "type": "string",
          "format": "uri",
          "description": "Hook destination HTTPS URL."
        },
        "authorization": {
          "$ref": "#/$defs/AiGatewayAgentHookAuthorizationUpdate",
          "description": "Hook authorization settings."
        },
        "headers": {
          "type": "object",
          "description": "Literal, non-secret HTTP headers.",
          "additionalProperties": {
            "type": "string"
          }
        }
      }
    },
    "AiGatewayAgentHooksUpdate": {
      "type": "object",
      "description": "Lifecycle hook settings to update.",
      "properties": {
        "preToolCall": {
          "$ref": "#/$defs/AiGatewayAgentHookUpdate",
          "description": "Hook invoked before calling a tool."
        },
        "postToolCall": {
          "$ref": "#/$defs/AiGatewayAgentHookUpdate",
          "description": "Hook invoked after calling a tool."
        }
      }
    },
    "AiGatewayContentSafetySeverity": {
      "type": "string",
      "description": "Severity threshold used by a content safety policy.",
      "enum": [
        "Low",
        "Medium",
        "High",
        "None"
      ],
      "x-ms-enum": {
        "name": "AiGatewayContentSafetySeverity",
        "modelAsString": true,
        "values": [
          {
            "name": "Low",
            "value": "Low",
            "description": "Low severity."
          },
          {
            "name": "Medium",
            "value": "Medium",
            "description": "Medium severity."
          },
          {
            "name": "High",
            "value": "High",
            "description": "High severity."
          },
          {
            "name": "None",
            "value": "None",
            "description": "Do not filter this category."
          }
        ]
      }
    },
    "AiGatewayCostLimitOverrideUpdate": {
      "type": "object",
      "description": "An ordered cost-budget override to update.",
      "properties": {
        "claims": {
          "type": "object",
          "description": "Authenticated token claims that must all match; dictionary keys are case-sensitive claim names.",
          "additionalProperties": {
            "type": "string"
          }
        },
        "apiKeyResourceId": {
          "type": "string",
          "format": "arm-id",
          "description": "Azure resource identifier of the API key selecting this override.",
          "x-ms-arm-id-details": {
            "allowedResources": [
              {
                "type": "Microsoft.ApiManagement/aigateways/apiKeys"
              },
              {
                "type": "Microsoft.ApiManagement/service/apiKeys"
              }
            ]
          }
        },
        "amount": {
          "type": "number",
          "format": "decimal",
          "description": "Override budget in US dollars."
        }
      }
    },
    "AiGatewayCounterDimension": {
      "type": "string",
      "description": "Public request dimension used to partition a policy counter.",
      "enum": [
        "identity",
        "ipAddress"
      ],
      "x-ms-enum": {
        "name": "AiGatewayCounterDimension",
        "modelAsString": true,
        "values": [
          {
            "name": "Identity",
            "value": "identity",
            "description": "Authenticated request identity."
          },
          {
            "name": "IpAddress",
            "value": "ipAddress",
            "description": "Request source IP address."
          }
        ]
      }
    },
    "AiGatewayFallbackTargetUpdate": {
      "type": "object",
      "description": "A fallback target to update on a model policy.",
      "properties": {
        "modelId": {
          "type": "string",
          "format": "arm-id",
          "description": "Resource identifier of a model in the same workspace.",
          "x-ms-arm-id-details": {
            "allowedResources": [
              {
                "type": "Microsoft.ApiManagement/aigateways/workspaces/modelProviders/models"
              },
              {
                "type": "Microsoft.ApiManagement/service/workspaces/modelProviders/models"
              }
            ]
          }
        }
      }
    },
    "AiGatewayIpFilterAction": {
      "type": "string",
      "description": "Action performed by an IP filtering policy.",
      "enum": [
        "Allow",
        "Deny"
      ],
      "x-ms-enum": {
        "name": "AiGatewayIpFilterAction",
        "modelAsString": true,
        "values": [
          {
            "name": "Allow",
            "value": "Allow",
            "description": "Allow matching addresses."
          },
          {
            "name": "Deny",
            "value": "Deny",
            "description": "Deny matching addresses."
          }
        ]
      }
    },
    "AiGatewayMcpUrlConfigurationUpdate": {
      "type": "object",
      "description": "MCP URL endpoint settings to update.",
      "properties": {
        "url": {
          "type": "string",
          "format": "uri",
          "description": "Backend MCP server endpoint."
        },
        "transport": {
          "$ref": "#/$defs/AiGatewayToolServerMcpTransport",
          "description": "MCP transport."
        }
      }
    },
    "AiGatewayOpenApiConfigurationUpdate": {
      "type": "object",
      "description": "OpenAPI-backed MCP endpoint settings to update.",
      "properties": {
        "specSource": {
          "$ref": "#/$defs/AiGatewayOpenApiSpecSourceUpdate",
          "description": "OpenAPI document source."
        }
      }
    },
    "AiGatewayOpenApiSpecSourceUpdate": {
      "type": "object",
      "description": "OpenAPI document source settings to update.",
      "properties": {
        "type": {
          "$ref": "#/$defs/AiGatewayToolServerOpenApiSourceType",
          "description": "Source type."
        },
        "contentBase64": {
          "type": "string",
          "format": "password",
          "description": "Base64-encoded OpenAPI document.",
          "x-ms-mutability": [
            "update",
            "create"
          ],
          "x-ms-secret": true
        },
        "url": {
          "type": "string",
          "format": "uri",
          "description": "URL of the OpenAPI document."
        }
      }
    },
    "AiGatewayPolicyPeriod": {
      "type": "string",
      "description": "Counter period. Token limits support minute/hour/day; cost limits support hour/day/week/month/year.",
      "enum": [
        "minute",
        "hour",
        "day",
        "week",
        "month",
        "year"
      ],
      "x-ms-enum": {
        "name": "AiGatewayPolicyPeriod",
        "modelAsString": true,
        "values": [
          {
            "name": "Minute",
            "value": "minute",
            "description": "One minute."
          },
          {
            "name": "Hour",
            "value": "hour",
            "description": "One hour."
          },
          {
            "name": "Day",
            "value": "day",
            "description": "One day."
          },
          {
            "name": "Week",
            "value": "week",
            "description": "One week, for cost limits only."
          },
          {
            "name": "Month",
            "value": "month",
            "description": "One month, for cost limits only."
          },
          {
            "name": "Year",
            "value": "year",
            "description": "One year, for cost limits only."
          }
        ]
      }
    },
    "AiGatewayPolicyScope": {
      "type": "string",
      "description": "Aggregation scope of an inline policy.",
      "enum": [
        "resource",
        "workspace"
      ],
      "x-ms-enum": {
        "name": "AiGatewayPolicyScope",
        "modelAsString": true,
        "values": [
          {
            "name": "Resource",
            "value": "resource",
            "description": "Apply the policy to its resource."
          },
          {
            "name": "Workspace",
            "value": "workspace",
            "description": "Aggregate counters across the workspace. Supported for workspace counter policies only."
          }
        ]
      }
    },
    "AiGatewayPolicyType": {
      "type": "string",
      "description": "The type of an inline AI Gateway policy.",
      "enum": [
        "tokenLimit",
        "contentSafety",
        "fallback",
        "ipFilter",
        "requestRateLimit",
        "cors",
        "costLimit",
        "toolThreatProtection",
        "agentHooks"
      ],
      "x-ms-enum": {
        "name": "AiGatewayPolicyType",
        "modelAsString": true,
        "values": [
          {
            "name": "TokenLimit",
            "value": "tokenLimit",
            "description": "Limit consumed tokens."
          },
          {
            "name": "ContentSafety",
            "value": "contentSafety",
            "description": "Filter unsafe content."
          },
          {
            "name": "Fallback",
            "value": "fallback",
            "description": "Route to fallback models after failures."
          },
          {
            "name": "IpFilter",
            "value": "ipFilter",
            "description": "Filter clients by IP address."
          },
          {
            "name": "RequestRateLimit",
            "value": "requestRateLimit",
            "description": "Limit requests over time."
          },
          {
            "name": "Cors",
            "value": "cors",
            "description": "Configure cross-origin resource sharing."
          },
          {
            "name": "CostLimit",
            "value": "costLimit",
            "description": "Limit cumulative spending in US dollars."
          },
          {
            "name": "ToolThreatProtection",
            "value": "toolThreatProtection",
            "description": "Check tool requests and responses for threats."
          },
          {
            "name": "AgentHooks",
            "value": "agentHooks",
            "description": "Invoke external pre-tool-call and post-tool-call hooks when authoring is enabled."
          }
        ]
      }
    },
    "AiGatewayPolicyUpdate": {
      "type": "object",
      "description": "An inline policy to update on an AI Gateway model or tool server.",
      "properties": {
        "type": {
          "$ref": "#/$defs/AiGatewayPolicyType",
          "description": "Policy type."
        },
        "scope": {
          "$ref": "#/$defs/AiGatewayPolicyScope",
          "description": "Aggregation scope supported by the policy and its parent resource."
        },
        "id": {
          "type": "string",
          "description": "Stable identifier for costLimit or agentHooks."
        },
        "count": {
          "type": "integer",
          "format": "int32",
          "description": "Token count allowed during a token limit period.",
          "minimum": 1
        },
        "period": {
          "$ref": "#/$defs/AiGatewayPolicyPeriod",
          "description": "Counter period. Token limits support minute/hour/day; cost limits support hour/day/week/month/year."
        },
        "counterKey": {
          "type": "array",
          "description": "Public dimensions used to partition a token, cost, or request counter.",
          "items": {
            "$ref": "#/$defs/AiGatewayCounterDimension"
          }
        },
        "amount": {
          "type": "number",
          "format": "decimal",
          "description": "Cost budget in US dollars."
        },
        "overrides": {
          "type": "array",
          "description": "Ordered cost-budget overrides.",
          "items": {
            "$ref": "#/$defs/AiGatewayCostLimitOverrideUpdate"
          },
          "x-ms-identifiers": []
        },
        "preInvocation": {
          "type": "boolean",
          "description": "Whether to check tool requests for threats."
        },
        "postInvocation": {
          "type": "boolean",
          "description": "Whether to check tool responses for threats."
        },
        "endpoint": {
          "type": "string",
          "format": "uri",
          "description": "Default HTTPS destination for agent hooks."
        },
        "authorization": {
          "$ref": "#/$defs/AiGatewayAgentHookAuthorizationUpdate",
          "description": "Default authorization for agent hooks."
        },
        "headers": {
          "type": "object",
          "description": "Literal non-secret default HTTP headers for agent hooks.",
          "additionalProperties": {
            "type": "string"
          }
        },
        "hooks": {
          "$ref": "#/$defs/AiGatewayAgentHooksUpdate",
          "description": "Lifecycle hooks to update."
        },
        "hateSeverity": {
          "$ref": "#/$defs/AiGatewayContentSafetySeverity",
          "description": "Hate-content severity threshold."
        },
        "violenceSeverity": {
          "$ref": "#/$defs/AiGatewayContentSafetySeverity",
          "description": "Violence-content severity threshold."
        },
        "sexualSeverity": {
          "$ref": "#/$defs/AiGatewayContentSafetySeverity",
          "description": "Sexual-content severity threshold."
        },
        "selfHarmSeverity": {
          "$ref": "#/$defs/AiGatewayContentSafetySeverity",
          "description": "Self-harm-content severity threshold."
        },
        "threshold": {
          "type": "integer",
          "format": "int32",
          "description": "Consecutive failure count that opens a fallback circuit."
        },
        "tripDurationSeconds": {
          "type": "integer",
          "format": "int32",
          "description": "Duration for which the fallback circuit remains open."
        },
        "fallbackTargets": {
          "type": "array",
          "description": "Ordered fallback model targets.",
          "items": {
            "$ref": "#/$defs/AiGatewayFallbackTargetUpdate"
          },
          "x-ms-identifiers": []
        },
        "action": {
          "$ref": "#/$defs/AiGatewayIpFilterAction",
          "description": "IP filtering action."
        },
        "cidrRanges": {
          "type": "array",
          "description": "CIDR ranges to allow or deny.",
          "items": {
            "type": "string"
          }
        },
        "callsPerPeriod": {
          "type": "integer",
          "format": "int32",
          "description": "Request count allowed during the configured period.",
          "minimum": 1
        },
        "periodSeconds": {
          "type": "integer",
          "format": "int32",
          "description": "Request rate limit period in seconds."
        },
        "allowedOrigins": {
          "type": "array",
          "description": "Origins allowed by a CORS policy.",
          "items": {
            "type": "string"
          }
        },
        "allowedMethods": {
          "type": "array",
          "description": "HTTP methods allowed by a CORS policy.",
          "items": {
            "type": "string"
          }
        },
        "allowedHeaders": {
          "type": "array",
          "description": "HTTP headers allowed by a CORS policy.",
          "items": {
            "type": "string"
          }
        },
        "exposeHeaders": {
          "type": "array",
          "description": "Response headers exposed to the browser.",
          "items": {
            "type": "string"
          }
        },
        "allowCredentials": {
          "type": "boolean",
          "description": "Whether browsers may send credentials."
        },
        "terminateUnmatchedRequest": {
          "type": "boolean",
          "description": "Whether unmatched CORS requests are terminated."
        },
        "preflightResultMaxAge": {
          "type": "integer",
          "format": "int32",
          "description": "Browser preflight cache duration in seconds."
        }
      }
    },
    "AiGatewayToolServerAccessState": {
      "type": "string",
      "description": "Tool server access state.",
      "enum": [
        "active",
        "blocked"
      ],
      "x-ms-enum": {
        "name": "AiGatewayToolServerAccessState",
        "modelAsString": true,
        "values": [
          {
            "name": "Active",
            "value": "active",
            "description": "Tool server is available."
          },
          {
            "name": "Blocked",
            "value": "blocked",
            "description": "Tool server is blocked."
          }
        ]
      }
    },
    "AiGatewayToolServerAuthenticationType": {
      "type": "string",
      "description": "Endpoint authentication type.",
      "enum": [
        "none",
        "header",
        "oauth2",
        "managedIdentity"
      ],
      "x-ms-enum": {
        "name": "AiGatewayToolServerAuthenticationType",
        "modelAsString": true,
        "values": [
          {
            "name": "None",
            "value": "none",
            "description": "No authentication."
          },
          {
            "name": "Header",
            "value": "header",
            "description": "Static HTTP header authentication."
          },
          {
            "name": "OAuth2",
            "value": "oauth2",
            "description": "OAuth 2.0 authentication."
          },
          {
            "name": "ManagedIdentity",
            "value": "managedIdentity",
            "description": "Managed identity authentication."
          }
        ]
      }
    },
    "AiGatewayToolServerCredentialsUpdate": {
      "type": "object",
      "description": "Tool server credentials to update.",
      "properties": {
        "type": {
          "$ref": "#/$defs/AiGatewayToolServerAuthenticationType",
          "description": "Authentication type."
        },
        "headers": {
          "type": "array",
          "description": "Static headers injected when calling the endpoint.",
          "items": {
            "$ref": "#/$defs/AiGatewayToolServerHeader"
          },
          "x-ms-identifiers": [
            "name"
          ]
        },
        "oauth2": {
          "$ref": "#/$defs/AiGatewayToolServerOauth2Authentication",
          "description": "OAuth 2.0 configuration."
        },
        "managedIdentity": {
          "$ref": "#/$defs/AiGatewayToolServerManagedIdentityAuthentication",
          "description": "Managed identity configuration."
        }
      }
    },
    "AiGatewayToolServerEndpointSourceKind": {
      "type": "string",
      "description": "Endpoint source kind.",
      "enum": [
        "mcp",
        "openApi"
      ],
      "x-ms-enum": {
        "name": "AiGatewayToolServerEndpointSourceKind",
        "modelAsString": true,
        "values": [
          {
            "name": "Mcp",
            "value": "mcp",
            "description": "MCP server endpoint."
          },
          {
            "name": "OpenApi",
            "value": "openApi",
            "description": "OpenAPI document endpoint."
          }
        ]
      }
    },
    "AiGatewayToolServerEndpointUpdate": {
      "type": "object",
      "description": "A tool server endpoint to update.",
      "properties": {
        "id": {
          "type": "string",
          "description": "Stable endpoint identifier."
        },
        "namespace": {
          "type": "string",
          "description": "Optional namespace used to prefix tool names."
        },
        "kind": {
          "$ref": "#/$defs/AiGatewayToolServerEndpointSourceKind",
          "description": "Endpoint type."
        },
        "mcp": {
          "$ref": "#/$defs/AiGatewayMcpUrlConfigurationUpdate",
          "description": "Backend MCP configuration."
        },
        "openApi": {
          "$ref": "#/$defs/AiGatewayOpenApiConfigurationUpdate",
          "description": "OpenAPI configuration."
        },
        "credentials": {
          "$ref": "#/$defs/AiGatewayToolServerCredentialsUpdate",
          "description": "Backend credentials."
        },
        "tools": {
          "type": "array",
          "description": "Upstream tool names or glob patterns to expose.",
          "items": {
            "type": "string"
          }
        },
        "required": {
          "type": "boolean",
          "description": "Whether endpoint failure fails the whole federation."
        }
      }
    },
    "AiGatewayToolServerHeader": {
      "type": "object",
      "description": "An HTTP header injected when calling a tool server endpoint.",
      "properties": {
        "name": {
          "type": "string",
          "description": "HTTP header name."
        },
        "values": {
          "type": "array",
          "format": "password",
          "description": "Secret values for the HTTP header.",
          "items": {
            "type": "string"
          },
          "x-ms-mutability": [
            "update",
            "create"
          ],
          "x-ms-secret": true
        }
      },
      "required": [
        "name",
        "values"
      ]
    },
    "AiGatewayToolServerManagedIdentityAuthentication": {
      "type": "object",
      "description": "Managed identity authentication for a tool server endpoint.",
      "properties": {
        "resource": {
          "type": "string",
          "description": "Token audience for managed identity authentication."
        },
        "clientId": {
          "type": "string",
          "description": "Client ID of a user-assigned managed identity."
        }
      },
      "required": [
        "resource"
      ]
    },
    "AiGatewayToolServerMcpTransport": {
      "type": "string",
      "description": "MCP transport protocol.",
      "enum": [
        "streamableHttp"
      ],
      "x-ms-enum": {
        "name": "AiGatewayToolServerMcpTransport",
        "modelAsString": true,
        "values": [
          {
            "name": "StreamableHttp",
            "value": "streamableHttp",
            "description": "Streamable HTTP transport."
          }
        ]
      }
    },
    "AiGatewayToolServerOauth2Authentication": {
      "type": "object",
      "description": "OAuth 2.0 authentication for a tool server endpoint.",
      "properties": {
        "issuer": {
          "type": "string",
          "format": "uri",
          "description": "Expected OAuth authorization-server issuer for remote MCP discovery."
        },
        "authorizationUrl": {
          "type": "string",
          "format": "uri",
          "description": "OAuth authorization endpoint."
        },
        "tokenUrl": {
          "type": "string",
          "format": "uri",
          "description": "OAuth token endpoint."
        },
        "clientId": {
          "type": "string",
          "description": "OAuth client identifier."
        },
        "clientSecret": {
          "type": "string",
          "format": "password",
          "description": "OAuth client secret.",
          "x-ms-mutability": [
            "update",
            "create"
          ],
          "x-ms-secret": true
        },
        "scopes": {
          "type": "array",
          "description": "OAuth scopes to request.",
          "items": {
            "type": "string"
          }
        },
        "grantType": {
          "$ref": "#/$defs/AiGatewayToolServerOauth2GrantType",
          "description": "OAuth grant type."
        },
        "authorizationParameters": {
          "type": "array",
          "description": "Additional authorization endpoint parameters.",
          "items": {
            "$ref": "#/$defs/AiGatewayToolServerOauth2Parameter"
          },
          "x-ms-identifiers": [
            "name"
          ]
        },
        "tokenParameters": {
          "type": "array",
          "description": "Additional token endpoint parameters.",
          "items": {
            "$ref": "#/$defs/AiGatewayToolServerOauth2Parameter"
          },
          "x-ms-identifiers": [
            "name"
          ]
        },
        "status": {
          "type": "string",
          "description": "Current OAuth connection status.",
          "readOnly": true
        },
        "loginLink": {
          "type": "string",
          "format": "uri",
          "description": "Login link used to complete interactive authorization.",
          "readOnly": true
        },
        "statusUpdatedUtc": {
          "type": "string",
          "format": "date-time",
          "description": "UTC timestamp of the last OAuth connection-status transition.",
          "readOnly": true
        }
      }
    },
    "AiGatewayToolServerOauth2GrantType": {
      "type": "string",
      "description": "OAuth 2.0 grant type.",
      "enum": [
        "clientCredentials",
        "authorizationCode"
      ],
      "x-ms-enum": {
        "name": "AiGatewayToolServerOauth2GrantType",
        "modelAsString": true,
        "values": [
          {
            "name": "ClientCredentials",
            "value": "clientCredentials",
            "description": "Client credentials grant."
          },
          {
            "name": "AuthorizationCode",
            "value": "authorizationCode",
            "description": "Authorization code grant."
          }
        ]
      }
    },
    "AiGatewayToolServerOauth2Parameter": {
      "type": "object",
      "description": "An additional parameter sent to an OAuth 2.0 endpoint.",
      "properties": {
        "name": {
          "type": "string",
          "description": "OAuth parameter name."
        },
        "value": {
          "type": "string",
          "description": "OAuth parameter value."
        }
      },
      "required": [
        "name",
        "value"
      ]
    },
    "AiGatewayToolServerOpenApiSourceType": {
      "type": "string",
      "description": "OpenAPI document source type.",
      "enum": [
        "inline",
        "url"
      ],
      "x-ms-enum": {
        "name": "AiGatewayToolServerOpenApiSourceType",
        "modelAsString": true,
        "values": [
          {
            "name": "Inline",
            "value": "inline",
            "description": "Inline OpenAPI document."
          },
          {
            "name": "Url",
            "value": "url",
            "description": "OpenAPI document fetched from a URL."
          }
        ]
      }
    },
    "AiGatewayToolServerType": {
      "type": "string",
      "description": "How a tool server is exposed.",
      "enum": [
        "mcp",
        "openApi",
        "connector"
      ],
      "x-ms-enum": {
        "name": "AiGatewayToolServerType",
        "modelAsString": true,
        "values": [
          {
            "name": "Mcp",
            "value": "mcp",
            "description": "Federates one or more MCP servers."
          },
          {
            "name": "OpenApi",
            "value": "openApi",
            "description": "Exposes tools generated from OpenAPI documents."
          },
          {
            "name": "Connector",
            "value": "connector",
            "description": "Exposes a connector-backed tool server."
          }
        ]
      }
    },
    "AiGatewayToolServerUpdateProperties": {
      "type": "object",
      "description": "Properties for updating an AI Gateway tool server.",
      "properties": {
        "name": {
          "type": "string",
          "description": "Display name of the tool server.",
          "x-ms-client-name": "displayName"
        },
        "description": {
          "type": "string",
          "description": "Description of the tool server."
        },
        "accessState": {
          "$ref": "#/$defs/AiGatewayToolServerAccessState",
          "description": "Whether the tool server is available to callers."
        },
        "type": {
          "$ref": "#/$defs/AiGatewayToolServerType",
          "description": "Tool server type.",
          "x-ms-client-name": "toolServerType"
        },
        "versions": {
          "type": "array",
          "description": "Runtime API versions exposed by this tool server.",
          "items": {
            "type": "string"
          }
        },
        "allowList": {
          "type": "array",
          "description": "Tool names or patterns explicitly allowed.",
          "items": {
            "type": "string"
          }
        },
        "blocked": {
          "type": "array",
          "description": "Tool names or patterns explicitly blocked.",
          "items": {
            "type": "string"
          }
        },
        "endpoints": {
          "type": "array",
          "description": "Endpoint configurations exposed by this tool server.",
          "items": {
            "$ref": "#/$defs/AiGatewayToolServerEndpointUpdate"
          },
          "x-ms-identifiers": []
        },
        "policies": {
          "type": "array",
          "description": "Inline policies applied to this tool server.",
          "items": {
            "$ref": "#/$defs/AiGatewayPolicyUpdate"
          },
          "x-ms-identifiers": []
        },
        "path": {
          "type": "string",
          "description": "Runtime path for the tool server."
        },
        "subscriptionRequired": {
          "type": "boolean",
          "description": "Whether a subscription is required to invoke the tool server."
        }
      }
 

# --- truncated at 32 KB (32 KB total) ---
# Full source: https://artifacts.apis.io/microsoft-azure-api-management/json-schema/microsoft-azure-api-management-ai-gateway-tool-server-update-parameters-schema.json

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/microsoft-azure-api-management-ai-gateway-tool-server-update-parameters"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.