|
693 | 693 | } |
694 | 694 | } |
695 | 695 | } |
| 696 | + }, |
| 697 | + "tools": { |
| 698 | + "methods": { |
| 699 | + "execute": { |
| 700 | + "description": "Executes a specific tool.", |
| 701 | + "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/tools/{toolsId}:execute", |
| 702 | + "httpMethod": "POST", |
| 703 | + "id": "connectors.projects.locations.connections.tools.execute", |
| 704 | + "parameterOrder": [ |
| 705 | + "name" |
| 706 | + ], |
| 707 | + "parameters": { |
| 708 | + "name": { |
| 709 | + "description": "Required. Resource name of the Tool. Format: projects/{project}/locations/{location}/connections/{connection}/tools/{tool}", |
| 710 | + "location": "path", |
| 711 | + "pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+/tools/[^/]+$", |
| 712 | + "required": true, |
| 713 | + "type": "string" |
| 714 | + } |
| 715 | + }, |
| 716 | + "path": "v2/{+name}:execute", |
| 717 | + "request": { |
| 718 | + "$ref": "ExecuteToolRequest" |
| 719 | + }, |
| 720 | + "response": { |
| 721 | + "$ref": "ExecuteToolResponse" |
| 722 | + }, |
| 723 | + "scopes": [ |
| 724 | + "https://www.googleapis.com/auth/cloud-platform" |
| 725 | + ] |
| 726 | + }, |
| 727 | + "list": { |
| 728 | + "description": "Lists all available tools.", |
| 729 | + "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/tools", |
| 730 | + "httpMethod": "GET", |
| 731 | + "id": "connectors.projects.locations.connections.tools.list", |
| 732 | + "parameterOrder": [ |
| 733 | + "parent" |
| 734 | + ], |
| 735 | + "parameters": { |
| 736 | + "pageSize": { |
| 737 | + "description": "Page size.", |
| 738 | + "format": "int32", |
| 739 | + "location": "query", |
| 740 | + "type": "integer" |
| 741 | + }, |
| 742 | + "pageToken": { |
| 743 | + "description": "Page token.", |
| 744 | + "location": "query", |
| 745 | + "type": "string" |
| 746 | + }, |
| 747 | + "parent": { |
| 748 | + "description": "Required. Resource name of the Connection. Format: projects/{project}/locations/{location}/connections/{connection}", |
| 749 | + "location": "path", |
| 750 | + "pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$", |
| 751 | + "required": true, |
| 752 | + "type": "string" |
| 753 | + } |
| 754 | + }, |
| 755 | + "path": "v2/{+parent}/tools", |
| 756 | + "response": { |
| 757 | + "$ref": "ListToolsResponse" |
| 758 | + }, |
| 759 | + "scopes": [ |
| 760 | + "https://www.googleapis.com/auth/cloud-platform" |
| 761 | + ] |
| 762 | + } |
| 763 | + } |
696 | 764 | } |
697 | 765 | } |
698 | 766 | } |
|
701 | 769 | } |
702 | 770 | } |
703 | 771 | }, |
704 | | - "revision": "20250807", |
| 772 | + "revision": "20250813", |
705 | 773 | "rootUrl": "https://connectors.googleapis.com/", |
706 | 774 | "schemas": { |
707 | 775 | "AccessCredentials": { |
|
1106 | 1174 | }, |
1107 | 1175 | "type": "object" |
1108 | 1176 | }, |
| 1177 | + "ExecuteToolRequest": { |
| 1178 | + "description": "Request message for ConnectorAgentService.ExecuteTool", |
| 1179 | + "id": "ExecuteToolRequest", |
| 1180 | + "properties": { |
| 1181 | + "parameters": { |
| 1182 | + "additionalProperties": { |
| 1183 | + "description": "Properties of the object.", |
| 1184 | + "type": "any" |
| 1185 | + }, |
| 1186 | + "description": "Input parameters for the tool.", |
| 1187 | + "type": "object" |
| 1188 | + } |
| 1189 | + }, |
| 1190 | + "type": "object" |
| 1191 | + }, |
| 1192 | + "ExecuteToolResponse": { |
| 1193 | + "description": "Response message for ConnectorAgentService.ExecuteTool", |
| 1194 | + "id": "ExecuteToolResponse", |
| 1195 | + "properties": { |
| 1196 | + "result": { |
| 1197 | + "additionalProperties": { |
| 1198 | + "description": "Properties of the object.", |
| 1199 | + "type": "any" |
| 1200 | + }, |
| 1201 | + "description": "Output from the tool execution.", |
| 1202 | + "type": "object" |
| 1203 | + } |
| 1204 | + }, |
| 1205 | + "type": "object" |
| 1206 | + }, |
1109 | 1207 | "Field": { |
1110 | 1208 | "description": "Message contains EntityType's Field metadata.", |
1111 | 1209 | "id": "Field", |
|
1906 | 2004 | }, |
1907 | 2005 | "type": "object" |
1908 | 2006 | }, |
| 2007 | + "ListToolsResponse": { |
| 2008 | + "description": "Response message for ConnectorAgentService.ListTools", |
| 2009 | + "id": "ListToolsResponse", |
| 2010 | + "properties": { |
| 2011 | + "nextPageToken": { |
| 2012 | + "description": "Next page token.", |
| 2013 | + "type": "string" |
| 2014 | + }, |
| 2015 | + "tools": { |
| 2016 | + "description": "List of available tools.", |
| 2017 | + "items": { |
| 2018 | + "$ref": "Tool" |
| 2019 | + }, |
| 2020 | + "type": "array" |
| 2021 | + } |
| 2022 | + }, |
| 2023 | + "type": "object" |
| 2024 | + }, |
1909 | 2025 | "MaintenancePolicy": { |
1910 | 2026 | "description": "Defines policies to service maintenance events.", |
1911 | 2027 | "id": "MaintenancePolicy", |
|
2590 | 2706 | }, |
2591 | 2707 | "type": "object" |
2592 | 2708 | }, |
| 2709 | + "Tool": { |
| 2710 | + "description": "Message representing a single tool.", |
| 2711 | + "id": "Tool", |
| 2712 | + "properties": { |
| 2713 | + "description": { |
| 2714 | + "description": "Description of the tool.", |
| 2715 | + "type": "string" |
| 2716 | + }, |
| 2717 | + "inputSchema": { |
| 2718 | + "$ref": "JsonSchema", |
| 2719 | + "description": "JSON schema for the input parameters of the tool." |
| 2720 | + }, |
| 2721 | + "name": { |
| 2722 | + "description": "Name of the tool.", |
| 2723 | + "type": "string" |
| 2724 | + }, |
| 2725 | + "outputSchema": { |
| 2726 | + "$ref": "JsonSchema", |
| 2727 | + "description": "JSON schema for the output of the tool." |
| 2728 | + } |
| 2729 | + }, |
| 2730 | + "type": "object" |
| 2731 | + }, |
2593 | 2732 | "UpdateEntitiesWithConditionsResponse": { |
2594 | 2733 | "description": "Response message for EntityService.UpdateEntitiesWithConditions", |
2595 | 2734 | "id": "UpdateEntitiesWithConditionsResponse", |
|
0 commit comments