|
名称 |
类型 |
描述 |
示例值 |
|---|---|---|---|
|
object |
协议配置。 |
||
| type |
string |
协议类型标识,用于校验与去重。 |
HTTP |
| name |
string |
展示名或别名,可选,不用于标识协议类型。 |
http |
| config |
string |
协议配置的 JSON 字符串 |
{"key":"value"} |
| path |
string |
协议路径 |
/invoke |
| pathPrefix |
string |
协议路径前缀,建议使用 config |
/v1 |
| headers |
string |
请求头 |
{"Authorization":"Bearer demo-token"} |
| method |
string |
HTTP 方法 |
GET |
| inputBodyJsonSchema |
string |
请求体 JSON 模式 |
{"type":"object"} |
| outputBodyJsonSchema |
string |
响应体 JSON 模式 |
{"type":"object"} |
| requestContentType |
string |
请求内容类型 |
application/json |
| responseContentType |
string |
响应内容类型 |
application/json |
| A2AAgentCard |
string |
A2A 智能体卡片。 |
{"name":"demo-agent"} |
| a2aAgentCard |
string |
A2A 智能体卡片。 |
{"name":"demo-agent"} |
| a2aAgentCardUrl |
string |
A2A Agent Card 地址。 |
https://example.com/.well-known/agent-card.json |
ProtocolSettings
更新时间:
复制 MD 格式
该文章对您有帮助吗?