Skip to content

Commit e0a3070

Browse files
authored
feat: Add a new boolean for supporting authenticated extended cards (#618)
New boolean field `supportsAuthenticatedExtendedCard` that if true, indicates an extended agent card is available at an authenticated endpoint.
1 parent cafd1a6 commit e0a3070

File tree

2 files changed

+45
-36
lines changed

2 files changed

+45
-36
lines changed

specification/json/a2a.json

Lines changed: 40 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@
122122
"description": "Optional capabilities supported by the agent."
123123
},
124124
"defaultInputModes": {
125-
"description": "The set of interaction modes that the agent\nsupports across all skills. This can be overridden per-skill.\nSupported mime types for input.",
125+
"description": "The set of interaction modes that the agent supports across all skills. This can be overridden per-skill.\nSupported mime types for input.",
126126
"items": {
127127
"type": "string"
128128
},
@@ -178,6 +178,10 @@
178178
},
179179
"type": "array"
180180
},
181+
"supportsAuthenticatedExtendedCard": {
182+
"description": "true if the agent supports providing an extended agent card when the user is authenticated.\nDefaults to false if not specified.",
183+
"type": "boolean"
184+
},
181185
"url": {
182186
"description": "A URL to the address the agent is hosted at.",
183187
"type": "string"
@@ -221,11 +225,11 @@
221225
"description": "Represents a unit of capability that an agent can perform.",
222226
"properties": {
223227
"description": {
224-
"description": "Description of the skill - will be used by the client or a human\nas a hint to understand what the skill does.",
228+
"description": "Description of the skill - will be used by the client or a human \nas a hint to understand what the skill does.",
225229
"type": "string"
226230
},
227231
"examples": {
228-
"description": "The set of example scenarios that the skill can perform.\nWill be used by the client as a hint to understand how the skill can be\nused.",
232+
"description": "The set of example scenarios that the skill can perform.\nWill be used by the client as a hint to understand how the skill can be used.",
229233
"items": {
230234
"type": "string"
231235
},
@@ -254,7 +258,7 @@
254258
"type": "array"
255259
},
256260
"tags": {
257-
"description": "Set of tagwords describing classes of capabilities for this specific\nskill.",
261+
"description": "Set of tagwords describing classes of capabilities for this specific skill.",
258262
"items": {
259263
"type": "string"
260264
},
@@ -307,22 +311,22 @@
307311
"description": "Configuration details for a supported OAuth Flow",
308312
"properties": {
309313
"authorizationUrl": {
310-
"description": "The authorization URL to be used for this flow. This MUST be in the form of a URL. The OAuth2\nstandard requires the use of TLS",
314+
"description": "The authorization URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 \nstandard requires the use of TLS",
311315
"type": "string"
312316
},
313317
"refreshUrl": {
314-
"description": "The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2\nstandard requires the use of TLS.",
318+
"description": "The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2 \nstandard requires the use of TLS.",
315319
"type": "string"
316320
},
317321
"scopes": {
318322
"additionalProperties": {
319323
"type": "string"
320324
},
321-
"description": "The available scopes for the OAuth2 security scheme. A map between the scope name and a short\ndescription for it. The map MAY be empty.",
325+
"description": "The available scopes for the OAuth2 security scheme. A map between the scope name and a short \ndescription for it. The map MAY be empty.",
322326
"type": "object"
323327
},
324328
"tokenUrl": {
325-
"description": "The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard\nrequires the use of TLS.",
329+
"description": "The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard \nrequires the use of TLS.",
326330
"type": "string"
327331
}
328332
},
@@ -337,7 +341,7 @@
337341
"description": "JSON-RPC request model for the 'tasks/cancel' method.",
338342
"properties": {
339343
"id": {
340-
"description": "An identifier established by the Client that MUST contain a String, Number\nNumbers SHOULD NOT contain fractional parts.",
344+
"description": "An identifier established by the Client that MUST contain a String, Number. \nNumbers SHOULD NOT contain fractional parts.",
341345
"type": [
342346
"string",
343347
"integer"
@@ -380,7 +384,7 @@
380384
"description": "JSON-RPC success response model for the 'tasks/cancel' method.",
381385
"properties": {
382386
"id": {
383-
"description": "An identifier established by the Client that MUST contain a String, Number\nNumbers SHOULD NOT contain fractional parts.",
387+
"description": "An identifier established by the Client that MUST contain a String, Number. \nNumbers SHOULD NOT contain fractional parts.",
384388
"type": [
385389
"string",
386390
"integer"
@@ -406,18 +410,18 @@
406410
"description": "Configuration details for a supported OAuth Flow",
407411
"properties": {
408412
"refreshUrl": {
409-
"description": "The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2\nstandard requires the use of TLS.",
413+
"description": "The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2 \nstandard requires the use of TLS.",
410414
"type": "string"
411415
},
412416
"scopes": {
413417
"additionalProperties": {
414418
"type": "string"
415419
},
416-
"description": "The available scopes for the OAuth2 security scheme. A map between the scope name and a short\ndescription for it. The map MAY be empty.",
420+
"description": "The available scopes for the OAuth2 security scheme. A map between the scope name and a short \ndescription for it. The map MAY be empty.",
417421
"type": "object"
418422
},
419423
"tokenUrl": {
420-
"description": "The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard\nrequires the use of TLS.",
424+
"description": "The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard \nrequires the use of TLS.",
421425
"type": "string"
422426
}
423427
},
@@ -566,7 +570,7 @@
566570
"description": "JSON-RPC request model for the 'tasks/pushNotificationConfig/get' method.",
567571
"properties": {
568572
"id": {
569-
"description": "An identifier established by the Client that MUST contain a String, Number\nNumbers SHOULD NOT contain fractional parts.",
573+
"description": "An identifier established by the Client that MUST contain a String, Number. \nNumbers SHOULD NOT contain fractional parts.",
570574
"type": [
571575
"string",
572576
"integer"
@@ -609,7 +613,7 @@
609613
"description": "JSON-RPC success response model for the 'tasks/pushNotificationConfig/get' method.",
610614
"properties": {
611615
"id": {
612-
"description": "An identifier established by the Client that MUST contain a String, Number\nNumbers SHOULD NOT contain fractional parts.",
616+
"description": "An identifier established by the Client that MUST contain a String, Number. \nNumbers SHOULD NOT contain fractional parts.",
613617
"type": [
614618
"string",
615619
"integer"
@@ -635,7 +639,7 @@
635639
"description": "JSON-RPC request model for the 'tasks/get' method.",
636640
"properties": {
637641
"id": {
638-
"description": "An identifier established by the Client that MUST contain a String, Number\nNumbers SHOULD NOT contain fractional parts.",
642+
"description": "An identifier established by the Client that MUST contain a String, Number. \nNumbers SHOULD NOT contain fractional parts.",
639643
"type": [
640644
"string",
641645
"integer"
@@ -678,7 +682,7 @@
678682
"description": "JSON-RPC success response for the 'tasks/get' method.",
679683
"properties": {
680684
"id": {
681-
"description": "An identifier established by the Client that MUST contain a String, Number\nNumbers SHOULD NOT contain fractional parts.",
685+
"description": "An identifier established by the Client that MUST contain a String, Number. \nNumbers SHOULD NOT contain fractional parts.",
682686
"type": [
683687
"string",
684688
"integer"
@@ -704,7 +708,7 @@
704708
"description": "HTTP Authentication security scheme.",
705709
"properties": {
706710
"bearerFormat": {
707-
"description": "A hint to the client to identify how the bearer token is formatted. Bearer tokens are usually\ngenerated by an authorization server, so this information is primarily for documentation\npurposes.",
711+
"description": "A hint to the client to identify how the bearer token is formatted. Bearer tokens are usually \ngenerated by an authorization server, so this information is primarily for documentation \npurposes.",
708712
"type": "string"
709713
},
710714
"description": {
@@ -730,18 +734,18 @@
730734
"description": "Configuration details for a supported OAuth Flow",
731735
"properties": {
732736
"authorizationUrl": {
733-
"description": "The authorization URL to be used for this flow. This MUST be in the form of a URL. The OAuth2\nstandard requires the use of TLS",
737+
"description": "The authorization URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 \nstandard requires the use of TLS",
734738
"type": "string"
735739
},
736740
"refreshUrl": {
737-
"description": "The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2\nstandard requires the use of TLS.",
741+
"description": "The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2 \nstandard requires the use of TLS.",
738742
"type": "string"
739743
},
740744
"scopes": {
741745
"additionalProperties": {
742746
"type": "string"
743747
},
744-
"description": "The available scopes for the OAuth2 security scheme. A map between the scope name and a short\ndescription for it. The map MAY be empty.",
748+
"description": "The available scopes for the OAuth2 security scheme. A map between the scope name and a short \ndescription for it. The map MAY be empty.",
745749
"type": "object"
746750
}
747751
},
@@ -931,7 +935,7 @@
931935
]
932936
},
933937
"id": {
934-
"description": "An identifier established by the Client that MUST contain a String, Number\nNumbers SHOULD NOT contain fractional parts.",
938+
"description": "An identifier established by the Client that MUST contain a String, Number. \nNumbers SHOULD NOT contain fractional parts.",
935939
"type": [
936940
"string",
937941
"integer"
@@ -953,7 +957,7 @@
953957
"description": "Base interface for any JSON-RPC 2.0 request or response.",
954958
"properties": {
955959
"id": {
956-
"description": "An identifier established by the Client that MUST contain a String, Number\nNumbers SHOULD NOT contain fractional parts.",
960+
"description": "An identifier established by the Client that MUST contain a String, Number. \nNumbers SHOULD NOT contain fractional parts.",
957961
"type": [
958962
"string",
959963
"integer"
@@ -974,7 +978,7 @@
974978
"description": "Represents a JSON-RPC 2.0 Request object.",
975979
"properties": {
976980
"id": {
977-
"description": "An identifier established by the Client that MUST contain a String, Number\nNumbers SHOULD NOT contain fractional parts.",
981+
"description": "An identifier established by the Client that MUST contain a String, Number. \nNumbers SHOULD NOT contain fractional parts.",
978982
"type": [
979983
"string",
980984
"integer"
@@ -1031,7 +1035,7 @@
10311035
"description": "Represents a JSON-RPC 2.0 Result object.",
10321036
"properties": {
10331037
"id": {
1034-
"description": "An identifier established by the Client that MUST contain a String, Number\nNumbers SHOULD NOT contain fractional parts.",
1038+
"description": "An identifier established by the Client that MUST contain a String, Number. \nNumbers SHOULD NOT contain fractional parts.",
10351039
"type": [
10361040
"string",
10371041
"integer"
@@ -1081,7 +1085,7 @@
10811085
"type": "array"
10821086
},
10831087
"referenceTaskIds": {
1084-
"description": "list of tasks referenced as context by this message.",
1088+
"description": "List of tasks referenced as context by this message.",
10851089
"items": {
10861090
"type": "string"
10871091
},
@@ -1276,18 +1280,18 @@
12761280
"description": "Configuration details for a supported OAuth Flow",
12771281
"properties": {
12781282
"refreshUrl": {
1279-
"description": "The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2\nstandard requires the use of TLS.",
1283+
"description": "The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2 \nstandard requires the use of TLS.",
12801284
"type": "string"
12811285
},
12821286
"scopes": {
12831287
"additionalProperties": {
12841288
"type": "string"
12851289
},
1286-
"description": "The available scopes for the OAuth2 security scheme. A map between the scope name and a short\ndescription for it. The map MAY be empty.",
1290+
"description": "The available scopes for the OAuth2 security scheme. A map between the scope name and a short \ndescription for it. The map MAY be empty.",
12871291
"type": "object"
12881292
},
12891293
"tokenUrl": {
1290-
"description": "The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard\nrequires the use of TLS.",
1294+
"description": "The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard \nrequires the use of TLS.",
12911295
"type": "string"
12921296
}
12931297
},
@@ -1391,7 +1395,7 @@
13911395
"description": "JSON-RPC request model for the 'message/send' method.",
13921396
"properties": {
13931397
"id": {
1394-
"description": "An identifier established by the Client that MUST contain a String, Number\nNumbers SHOULD NOT contain fractional parts.",
1398+
"description": "An identifier established by the Client that MUST contain a String, Number. \nNumbers SHOULD NOT contain fractional parts.",
13951399
"type": [
13961400
"string",
13971401
"integer"
@@ -1434,7 +1438,7 @@
14341438
"description": "JSON-RPC success response model for the 'message/send' method.",
14351439
"properties": {
14361440
"id": {
1437-
"description": "An identifier established by the Client that MUST contain a String, Number\nNumbers SHOULD NOT contain fractional parts.",
1441+
"description": "An identifier established by the Client that MUST contain a String, Number. \nNumbers SHOULD NOT contain fractional parts.",
14381442
"type": [
14391443
"string",
14401444
"integer"
@@ -1467,7 +1471,7 @@
14671471
"description": "JSON-RPC request model for the 'message/stream' method.",
14681472
"properties": {
14691473
"id": {
1470-
"description": "An identifier established by the Client that MUST contain a String, Number\nNumbers SHOULD NOT contain fractional parts.",
1474+
"description": "An identifier established by the Client that MUST contain a String, Number. \nNumbers SHOULD NOT contain fractional parts.",
14711475
"type": [
14721476
"string",
14731477
"integer"
@@ -1510,7 +1514,7 @@
15101514
"description": "JSON-RPC success response model for the 'message/stream' method.",
15111515
"properties": {
15121516
"id": {
1513-
"description": "An identifier established by the Client that MUST contain a String, Number\nNumbers SHOULD NOT contain fractional parts.",
1517+
"description": "An identifier established by the Client that MUST contain a String, Number. \nNumbers SHOULD NOT contain fractional parts.",
15141518
"type": [
15151519
"string",
15161520
"integer"
@@ -1549,7 +1553,7 @@
15491553
"description": "JSON-RPC request model for the 'tasks/pushNotificationConfig/set' method.",
15501554
"properties": {
15511555
"id": {
1552-
"description": "An identifier established by the Client that MUST contain a String, Number\nNumbers SHOULD NOT contain fractional parts.",
1556+
"description": "An identifier established by the Client that MUST contain a String, Number. \nNumbers SHOULD NOT contain fractional parts.",
15531557
"type": [
15541558
"string",
15551559
"integer"
@@ -1592,7 +1596,7 @@
15921596
"description": "JSON-RPC success response model for the 'tasks/pushNotificationConfig/set' method.",
15931597
"properties": {
15941598
"id": {
1595-
"description": "An identifier established by the Client that MUST contain a String, Number\nNumbers SHOULD NOT contain fractional parts.",
1599+
"description": "An identifier established by the Client that MUST contain a String, Number. \nNumbers SHOULD NOT contain fractional parts.",
15961600
"type": [
15971601
"string",
15981602
"integer"
@@ -1808,7 +1812,7 @@
18081812
"description": "JSON-RPC request model for the 'tasks/resubscribe' method.",
18091813
"properties": {
18101814
"id": {
1811-
"description": "An identifier established by the Client that MUST contain a String, Number\nNumbers SHOULD NOT contain fractional parts.",
1815+
"description": "An identifier established by the Client that MUST contain a String, Number. \nNumbers SHOULD NOT contain fractional parts.",
18121816
"type": [
18131817
"string",
18141818
"integer"

0 commit comments

Comments
 (0)