Agent Gateway

Protocol extension elements

Field reference for the Extension Validation and Extension Rules canvas elements: require protocol extension URIs on inbound A2A requests, and control per-URI pass-through, stripping, or rejection.

Two canvas elements govern protocol extension URIs on A2A surfaces only. Extension Validation requires specific URIs to be present on every inbound request. Extension Rules filters the extensions on inbound requests, allowing, stripping or rejecting each one by URI.

Extension Validation

The Extension Validation element lets you configure a list of protocol extension URIs that inbound requests are expected to carry, with an optional JSON schema for their content.

Applies to the request direction only. Drop it on the Access Point → Managed Agent request edge. A surface holds one Extension Validation element.

Fields

FieldRequiredDefaultDescription
Required ExtensionsYes—Extension URIs, separated by commas, the element is configured to require on every inbound request (for example https://a2a.dev/extensions/agent-identity/v1).
JSON SchemaNo—Optional JSON schema for validating the content of the required extension block.

Extension Rules

The Extension Rules element filters the protocol extensions on inbound requests by URI, allowing, stripping or rejecting each one, with a default action for any extension no rule matches.

Applies to the request direction only. Drop it on the Access Point → Managed Agent request edge. A surface holds one Extension Rules element.

Default behaviour

FieldRequiredDefaultDescription
Default BehaviorNoPass through (no filtering)Action for any extension not matched by a specific rule. Options: Pass through (no filtering), Strip unknown extensions, Reject if unknown extensions present.

Per-URI rules

Each rule targets one extension URI and overrides the default action for that extension.

FieldRequiredDefaultDescription
Extension URIYes—The full extension URI the rule applies to (for example https://a2a.dev/extensions/agent-identity/v1).
ActionYesAllowAction for this URI. Options: Require (reject if absent), Allow (pass through), Strip (silently remove), Reject if present.