AgentCapabilities

定义代理支持的 A2A 功能集

JSON 表示法
{
  "streaming": boolean,
  "pushNotifications": boolean,
  "extensions": [
    {
      object (AgentExtension)
    }
  ]
}
字段
streaming

boolean

代理是否支持流式响应

pushNotifications

boolean

代理是否可以向客户端 Webhook 发送推送通知

extensions[]

object (AgentExtension)

此代理支持的扩展程序。

AgentExtension

代理支持的扩展程序的声明。

JSON 表示法
{
  "uri": string,
  "description": string,
  "required": boolean,
  "params": {
    object
  }
}
字段
uri

string

扩展程序的 URI。示例:“https://developers.google.com/identity/protocols/oauth2”

description

string

此代理如何使用此扩展程序的说明。示例:“Google OAuth 2.0 身份验证”

required

boolean

客户端是否必须遵循扩展程序的特定要求。示例:false

params

object (Struct format)

扩展程序的可选配置。