Skip to content

Commit aeaa4da

Browse files
authored
feat: support new tools in AI Studio (#534)
1 parent 38c54b8 commit aeaa4da

File tree

3 files changed

+269
-47
lines changed

3 files changed

+269
-47
lines changed

openapi.json

Lines changed: 134 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"url": "http://www.apache.org/licenses/LICENSE-2.0"
1515
},
1616
"version": "2024.0",
17-
"x-box-commit-hash": "8181654fe0"
17+
"x-box-commit-hash": "c96bf15203"
1818
},
1919
"servers": [
2020
{
@@ -25599,7 +25599,7 @@
2559925599
"x-box-tag": "ai"
2560025600
},
2560125601
"AiAgentSpreadsheetTool": {
25602-
"description": "AI agent processor used to handle spreadsheets and tabular data.",
25602+
"description": "The AI agent tool used to handle spreadsheets and tabular data.",
2560325603
"type": "object",
2560425604
"properties": {
2560525605
"model": {
@@ -26477,7 +26477,7 @@
2647726477
]
2647826478
},
2647926479
"AiStudioAgentAsk": {
26480-
"description": "The AI Agent to be used for ask.",
26480+
"description": "The AI agent to be used to handle queries.",
2648126481
"type": "object",
2648226482
"properties": {
2648326483
"type": {
@@ -26497,27 +26497,48 @@
2649726497
"x-box-tag": "ai_studio"
2649826498
},
2649926499
"description": {
26500-
"description": "The description of the AI Agent.",
26500+
"description": "The description of the AI agent.",
2650126501
"type": "string",
2650226502
"example": "This is ASK Agent"
2650326503
},
2650426504
"custom_instructions": {
26505-
"description": "Custom instructions for the agent.",
26505+
"description": "Custom instructions for the AI agent.",
2650626506
"type": "string",
2650726507
"example": "This is a custom instruction",
2650826508
"nullable": true
2650926509
},
26510+
"suggested_questions": {
26511+
"description": "Suggested questions for the AI agent. If null, suggested question will be generated. If empty, no suggested questions will be displayed.",
26512+
"type": "array",
26513+
"items": {
26514+
"type": "string"
26515+
},
26516+
"example": [
26517+
"What is in this file?",
26518+
"What are the main highlights of this document?"
26519+
],
26520+
"maxItems": 4
26521+
},
2651026522
"long_text": {
2651126523
"$ref": "#/components/schemas/AiStudioAgentLongTextTool"
2651226524
},
2651326525
"basic_text": {
2651426526
"$ref": "#/components/schemas/AiStudioAgentBasicTextTool"
2651526527
},
26528+
"basic_image": {
26529+
"$ref": "#/components/schemas/AiStudioAgentBasicTextTool"
26530+
},
26531+
"spreadsheet": {
26532+
"$ref": "#/components/schemas/AiStudioAgentSpreadsheetTool"
26533+
},
2651626534
"long_text_multi": {
2651726535
"$ref": "#/components/schemas/AiStudioAgentLongTextTool"
2651826536
},
2651926537
"basic_text_multi": {
2652026538
"$ref": "#/components/schemas/AiStudioAgentBasicTextTool"
26539+
},
26540+
"basic_image_multi": {
26541+
"$ref": "#/components/schemas/AiStudioAgentBasicTextTool"
2652126542
}
2652226543
},
2652326544
"required": [
@@ -26530,11 +26551,11 @@
2653026551
"x-box-tag": "ai_studio"
2653126552
},
2653226553
"AiStudioAgentAskResponse": {
26533-
"description": "The AI Agent to be used for ask.",
26554+
"description": "The AI agent to be used to ask questions.",
2653426555
"type": "object",
2653526556
"properties": {
2653626557
"type": {
26537-
"description": "The type of AI agent used to handle queries.",
26558+
"description": "The type of AI agent used to ask questions.",
2653826559
"type": "string",
2653926560
"example": "ai_agent_ask",
2654026561
"enum": [
@@ -26550,27 +26571,48 @@
2655026571
"x-box-tag": "ai_studio"
2655126572
},
2655226573
"description": {
26553-
"description": "The description of the AI Agent.",
26574+
"description": "The description of the AI agent.",
2655426575
"type": "string",
2655526576
"example": "This is ASK Agent"
2655626577
},
2655726578
"custom_instructions": {
26558-
"description": "Custom instructions for the agent.",
26579+
"description": "Custom instructions for the AI agent.",
2655926580
"type": "string",
2656026581
"example": "This is a custom instruction",
2656126582
"nullable": true
2656226583
},
26584+
"suggested_questions": {
26585+
"description": "Suggested questions for the AI agent. If null, suggested question will be generated. If empty, no suggested questions will be displayed.",
26586+
"type": "array",
26587+
"items": {
26588+
"type": "string"
26589+
},
26590+
"example": [
26591+
"What is in this file?",
26592+
"What are the main highlights of this document?"
26593+
],
26594+
"maxItems": 4
26595+
},
2656326596
"long_text": {
2656426597
"$ref": "#/components/schemas/AiStudioAgentLongTextToolResponse"
2656526598
},
2656626599
"basic_text": {
2656726600
"$ref": "#/components/schemas/AiStudioAgentBasicTextToolResponse"
2656826601
},
26602+
"basic_image": {
26603+
"$ref": "#/components/schemas/AiStudioAgentBasicTextToolResponse"
26604+
},
26605+
"spreadsheet": {
26606+
"$ref": "#/components/schemas/AiStudioAgentSpreadsheetToolResponse"
26607+
},
2656926608
"long_text_multi": {
2657026609
"$ref": "#/components/schemas/AiStudioAgentLongTextToolResponse"
2657126610
},
2657226611
"basic_text_multi": {
2657326612
"$ref": "#/components/schemas/AiStudioAgentBasicTextToolResponse"
26613+
},
26614+
"basic_image_multi": {
26615+
"$ref": "#/components/schemas/AiStudioAgentBasicTextToolResponse"
2657426616
}
2657526617
},
2657626618
"required": [
@@ -26673,11 +26715,11 @@
2667326715
"x-box-tag": "ai"
2667426716
},
2667526717
"AiStudioAgentExtract": {
26676-
"description": "The AI Agent to be used for extraction.",
26718+
"description": "The AI agent to be used for metadata extraction.",
2667726719
"type": "object",
2667826720
"properties": {
2667926721
"type": {
26680-
"description": "The type of AI agent to be used for extraction.",
26722+
"description": "The type of AI agent to be used for metadata extraction.",
2668126723
"type": "string",
2668226724
"example": "ai_agent_extract",
2668326725
"enum": [
@@ -26693,12 +26735,12 @@
2669326735
"x-box-tag": "ai_studio"
2669426736
},
2669526737
"description": {
26696-
"description": "The description of the AI Agent.",
26738+
"description": "The description of the AI agent.",
2669726739
"type": "string",
2669826740
"example": "This is ASK Agent"
2669926741
},
2670026742
"custom_instructions": {
26701-
"description": "Custom instructions for the agent.",
26743+
"description": "Custom instructions for the AI agent.",
2670226744
"type": "string",
2670326745
"example": "This is a custom instruction",
2670426746
"nullable": true
@@ -26708,6 +26750,9 @@
2670826750
},
2670926751
"basic_text": {
2671026752
"$ref": "#/components/schemas/AiStudioAgentBasicTextTool"
26753+
},
26754+
"basic_image": {
26755+
"$ref": "#/components/schemas/AiStudioAgentBasicTextTool"
2671126756
}
2671226757
},
2671326758
"required": [
@@ -26720,11 +26765,11 @@
2672026765
"x-box-tag": "ai_studio"
2672126766
},
2672226767
"AiStudioAgentExtractResponse": {
26723-
"description": "The AI Agent to be used for extraction.",
26768+
"description": "The AI agent to be used for metadata extraction.",
2672426769
"type": "object",
2672526770
"properties": {
2672626771
"type": {
26727-
"description": "The type of AI agent to be used for extraction.",
26772+
"description": "The type of AI agent to be used for metadata extraction.",
2672826773
"type": "string",
2672926774
"example": "ai_agent_extract",
2673026775
"enum": [
@@ -26740,12 +26785,12 @@
2674026785
"x-box-tag": "ai_studio"
2674126786
},
2674226787
"description": {
26743-
"description": "The description of the AI Agent.",
26788+
"description": "The description of the AI agent.",
2674426789
"type": "string",
2674526790
"example": "This is ASK Agent"
2674626791
},
2674726792
"custom_instructions": {
26748-
"description": "Custom instructions for the agent.",
26793+
"description": "Custom instructions for the AI agent.",
2674926794
"type": "string",
2675026795
"example": "This is a custom instruction",
2675126796
"nullable": true
@@ -26755,6 +26800,9 @@
2675526800
},
2675626801
"basic_text": {
2675726802
"$ref": "#/components/schemas/AiStudioAgentBasicTextToolResponse"
26803+
},
26804+
"basic_image": {
26805+
"$ref": "#/components/schemas/AiStudioAgentBasicTextToolResponse"
2675826806
}
2675926807
},
2676026808
"required": [
@@ -26811,8 +26859,47 @@
2681126859
"title": "AI agent long text tool",
2681226860
"x-box-tag": "ai"
2681326861
},
26862+
"AiStudioAgentSpreadsheetTool": {
26863+
"description": "The AI agent tool used to handle spreadsheets and tabular data.",
26864+
"type": "object",
26865+
"allOf": [
26866+
{
26867+
"$ref": "#/components/schemas/AiAgentSpreadsheetTool"
26868+
},
26869+
{
26870+
"properties": {}
26871+
}
26872+
],
26873+
"title": "AI agent spreadsheet tool",
26874+
"x-box-tag": "ai"
26875+
},
26876+
"AiStudioAgentSpreadsheetToolResponse": {
26877+
"description": "The AI agent tool used to handle spreadsheets and tabular data.",
26878+
"type": "object",
26879+
"allOf": [
26880+
{
26881+
"$ref": "#/components/schemas/AiStudioAgentSpreadsheetTool"
26882+
},
26883+
{
26884+
"properties": {
26885+
"warnings": {
26886+
"description": "Warnings concerning tool.",
26887+
"type": "array",
26888+
"items": {
26889+
"type": "string"
26890+
},
26891+
"example": [
26892+
"MODEL_INACTIVE"
26893+
]
26894+
}
26895+
}
26896+
}
26897+
],
26898+
"title": "AI agent spreadsheet tool",
26899+
"x-box-tag": "ai"
26900+
},
2681426901
"AiStudioAgentTextGen": {
26815-
"description": "The AI agent used for generating text.",
26902+
"description": "The AI agent to be used to generate text.",
2681626903
"type": "object",
2681726904
"properties": {
2681826905
"type": {
@@ -26832,16 +26919,28 @@
2683226919
"x-box-tag": "ai_studio"
2683326920
},
2683426921
"description": {
26835-
"description": "The description of the AI Agent.",
26922+
"description": "The description of the AI agent.",
2683626923
"type": "string",
2683726924
"example": "This is ASK Agent"
2683826925
},
2683926926
"custom_instructions": {
26840-
"description": "Custom instructions for the agent.",
26927+
"description": "Custom instructions for the AI agent.",
2684126928
"type": "string",
2684226929
"example": "This is a custom instruction",
2684326930
"nullable": true
2684426931
},
26932+
"suggested_questions": {
26933+
"description": "Suggested questions for the AI agent. If null, suggested question will be generated. If empty, no suggested questions will be displayed.",
26934+
"type": "array",
26935+
"items": {
26936+
"type": "string"
26937+
},
26938+
"example": [
26939+
"What is in this file?",
26940+
"What are the main highlights of this document?"
26941+
],
26942+
"maxItems": 4
26943+
},
2684526944
"basic_gen": {
2684626945
"$ref": "#/components/schemas/AiStudioAgentBasicGenTool"
2684726946
}
@@ -26856,7 +26955,7 @@
2685626955
"x-box-tag": "ai_studio"
2685726956
},
2685826957
"AiStudioAgentTextGenResponse": {
26859-
"description": "The AI agent used for generating text.",
26958+
"description": "The AI agent to be used to generate text.",
2686026959
"type": "object",
2686126960
"properties": {
2686226961
"type": {
@@ -26876,16 +26975,28 @@
2687626975
"x-box-tag": "ai_studio"
2687726976
},
2687826977
"description": {
26879-
"description": "The description of the AI Agent.",
26978+
"description": "The description of the AI agent.",
2688026979
"type": "string",
2688126980
"example": "This is ASK Agent"
2688226981
},
2688326982
"custom_instructions": {
26884-
"description": "Custom instructions for the agent.",
26983+
"description": "Custom instructions for the AI agent.",
2688526984
"type": "string",
2688626985
"example": "This is a custom instruction",
2688726986
"nullable": true
2688826987
},
26988+
"suggested_questions": {
26989+
"description": "Suggested questions for the AI agent. If null, suggested question will be generated. If empty, no suggested questions will be displayed.",
26990+
"type": "array",
26991+
"items": {
26992+
"type": "string"
26993+
},
26994+
"example": [
26995+
"What is in this file?",
26996+
"What are the main highlights of this document?"
26997+
],
26998+
"maxItems": 4
26999+
},
2688927000
"basic_gen": {
2689027001
"$ref": "#/components/schemas/AiStudioAgentBasicGenToolResponse"
2689127002
}

openapi/openapi-v2025.0.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"url": "http://www.apache.org/licenses/LICENSE-2.0"
1515
},
1616
"version": "2025.0",
17-
"x-box-commit-hash": "8181654fe0"
17+
"x-box-commit-hash": "c96bf15203"
1818
},
1919
"servers": [
2020
{

0 commit comments

Comments
 (0)