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
/** A transport that can stream HTTP requests and responses. Next ID: 6. This data type is not supported in Vertex AI. */
2016
+
exportdeclareinterfaceStreamableHttpTransport{
2017
+
/** Optional: Fields for authentication headers, timeouts, etc., if needed. */
2018
+
headers?: Record<string,string>;
2019
+
/** Timeout for SSE read operations. */
2020
+
sseReadTimeout?: string;
2021
+
/** Whether to close the client session when the transport closes. */
2022
+
terminateOnClose?: boolean;
2023
+
/** HTTP timeout for regular operations. */
2024
+
timeout?: string;
2025
+
/** The full URL for the MCPServer endpoint. Example: "https://api.example.com/mcp". */
2026
+
url?: string;
2027
+
}
2028
+
2029
+
/** A MCPServer is a server that can be called by the model to perform actions. It is a server that implements the MCP protocol. Next ID: 5. This data type is not supported in Vertex AI. */
2030
+
exportdeclareinterfaceMcpServer{
2031
+
/** The name of the MCPServer. */
2032
+
name?: string;
2033
+
/** A transport that can stream HTTP requests and responses. */
/** Tool details of a tool that the model may use to generate a response. */
2016
2038
exportdeclareinterfaceTool{
2017
2039
/** Optional. Retrieval tool type. System will always execute the provided retrieval tool(s) to get external knowledge to answer the prompt. Retrieval results are presented to the model for generation. This field is not supported in Gemini API. */
0 commit comments