You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/google/adk/agents/config_schemas/AgentConfig.json
+57-31Lines changed: 57 additions & 31 deletions
Original file line number
Diff line number
Diff line change
@@ -681,12 +681,29 @@
681
681
"EnterpriseWebSearch": {
682
682
"additionalProperties": false,
683
683
"description": "Tool to search public web data, powered by Vertex AI Search and Sec4 compliance.",
684
-
"properties": {},
684
+
"properties": {
685
+
"excludeDomains": {
686
+
"anyOf": [
687
+
{
688
+
"items": {
689
+
"type": "string"
690
+
},
691
+
"type": "array"
692
+
},
693
+
{
694
+
"type": "null"
695
+
}
696
+
],
697
+
"default": null,
698
+
"description": "Optional. List of domains to be excluded from the search results. The default limit is 2000 domains.",
699
+
"title": "Excludedomains"
700
+
}
701
+
},
685
702
"title": "EnterpriseWebSearch",
686
703
"type": "object"
687
704
},
688
705
"Environment": {
689
-
"description": "Required. The environment being operated.",
706
+
"description": "The environment being operated.",
690
707
"enum": [
691
708
"ENVIRONMENT_UNSPECIFIED",
692
709
"ENVIRONMENT_BROWSER"
@@ -1475,31 +1492,31 @@
1475
1492
{
1476
1493
"$ref": "#/$defs/Content"
1477
1494
},
1495
+
{
1496
+
"type": "string"
1497
+
},
1498
+
{
1499
+
"$ref": "#/$defs/File"
1500
+
},
1501
+
{
1502
+
"$ref": "#/$defs/Part"
1503
+
},
1478
1504
{
1479
1505
"items": {
1480
1506
"anyOf": [
1481
1507
{
1482
-
"$ref": "#/$defs/File"
1508
+
"type": "string"
1483
1509
},
1484
1510
{
1485
-
"$ref": "#/$defs/Part"
1511
+
"$ref": "#/$defs/File"
1486
1512
},
1487
1513
{
1488
-
"type": "string"
1514
+
"$ref": "#/$defs/Part"
1489
1515
}
1490
1516
]
1491
1517
},
1492
1518
"type": "array"
1493
1519
},
1494
-
{
1495
-
"$ref": "#/$defs/File"
1496
-
},
1497
-
{
1498
-
"$ref": "#/$defs/Part"
1499
-
},
1500
-
{
1501
-
"type": "string"
1502
-
},
1503
1520
{
1504
1521
"type": "null"
1505
1522
}
@@ -1830,10 +1847,10 @@
1830
1847
"speechConfig": {
1831
1848
"anyOf": [
1832
1849
{
1833
-
"$ref": "#/$defs/SpeechConfig"
1850
+
"type": "string"
1834
1851
},
1835
1852
{
1836
-
"type": "string"
1853
+
"$ref": "#/$defs/SpeechConfig"
1837
1854
},
1838
1855
{
1839
1856
"type": "null"
@@ -1999,6 +2016,22 @@
1999
2016
],
2000
2017
"default": null,
2001
2018
"description": "Optional. Filter search results to a specific time range.\n If customers set a start time, they must set an end time (and vice versa).\n"
2019
+
},
2020
+
"excludeDomains": {
2021
+
"anyOf": [
2022
+
{
2023
+
"items": {
2024
+
"type": "string"
2025
+
},
2026
+
"type": "array"
2027
+
},
2028
+
{
2029
+
"type": "null"
2030
+
}
2031
+
],
2032
+
"default": null,
2033
+
"description": "Optional. List of domains to be excluded from the search results.\n The default limit is 2000 domains.",
2034
+
"title": "Excludedomains"
2002
2035
}
2003
2036
},
2004
2037
"title": "GoogleSearch",
@@ -2356,10 +2389,6 @@
2356
2389
"agent_class": {
2357
2390
"default": "LlmAgent",
2358
2391
"description": "The value is used to uniquely identify the LlmAgent class. If it is empty, it is by default an LlmAgent.",
2359
-
"enum": [
2360
-
"LlmAgent",
2361
-
""
2362
-
],
2363
2392
"title": "Agent Class",
2364
2393
"type": "string"
2365
2394
},
@@ -2618,7 +2647,6 @@
2618
2647
"description": "The config for the YAML schema of a LoopAgent.",
2619
2648
"properties": {
2620
2649
"agent_class": {
2621
-
"const": "LoopAgent",
2622
2650
"default": "LoopAgent",
2623
2651
"description": "The value is used to uniquely identify the LoopAgent class.",
2624
2652
"title": "Agent Class",
@@ -2774,7 +2802,6 @@
2774
2802
"description": "The config for the YAML schema of a ParallelAgent.",
2775
2803
"properties": {
2776
2804
"agent_class": {
2777
-
"const": "ParallelAgent",
2778
2805
"default": "ParallelAgent",
2779
2806
"description": "The value is used to uniquely identify the ParallelAgent class.",
2780
2807
"title": "Agent Class",
@@ -3680,7 +3707,6 @@
3680
3707
"description": "The config for the YAML schema of a SequentialAgent.",
3681
3708
"properties": {
3682
3709
"agent_class": {
3683
-
"const": "SequentialAgent",
3684
3710
"default": "SequentialAgent",
3685
3711
"description": "The value is used to uniquely identify the SequentialAgent class.",
3686
3712
"title": "Agent Class",
@@ -4413,29 +4439,29 @@
4413
4439
"default": null,
4414
4440
"description": "Optional. Tool to support URL context retrieval."
4415
4441
},
4416
-
"codeExecution": {
4442
+
"computerUse": {
4417
4443
"anyOf": [
4418
4444
{
4419
-
"$ref": "#/$defs/ToolCodeExecution"
4445
+
"$ref": "#/$defs/ToolComputerUse"
4420
4446
},
4421
4447
{
4422
4448
"type": "null"
4423
4449
}
4424
4450
],
4425
4451
"default": null,
4426
-
"description": "Optional. CodeExecution tool type. Enables the model to execute code as part of generation."
4452
+
"description": "Optional. Tool to support the model interacting directly with the\n computer. If enabled, it automatically populates computer-use specific\n Function Declarations."
4427
4453
},
4428
-
"computerUse": {
4454
+
"codeExecution": {
4429
4455
"anyOf": [
4430
4456
{
4431
-
"$ref": "#/$defs/ToolComputerUse"
4457
+
"$ref": "#/$defs/ToolCodeExecution"
4432
4458
},
4433
4459
{
4434
4460
"type": "null"
4435
4461
}
4436
4462
],
4437
4463
"default": null,
4438
-
"description": "Optional. Tool to support the model interacting directly with the computer. If enabled, it automatically populates computer-use specific Function Declarations."
4464
+
"description": "Optional. CodeExecution tool type. Enables the model to execute code as part of generation."
4439
4465
}
4440
4466
},
4441
4467
"title": "Tool",
@@ -4556,7 +4582,8 @@
4556
4582
"type": "object"
4557
4583
}
4558
4584
},
4559
-
"anyOf": [
4585
+
"description": "The config for the YAML schema to create an agent.",
4586
+
"oneOf": [
4560
4587
{
4561
4588
"$ref": "#/$defs/LlmAgentConfig"
4562
4589
},
@@ -4573,6 +4600,5 @@
4573
4600
"$ref": "#/$defs/BaseAgentConfig"
4574
4601
}
4575
4602
],
4576
-
"description": "The config for the YAML schema to create an agent.",
0 commit comments