From 41afeafaaeea6c6f716f11c1ac83a4bb71cb56d3 Mon Sep 17 00:00:00 2001 From: Anubhav Dhawan Date: Mon, 16 Feb 2026 16:49:11 +0530 Subject: [PATCH] refactor: remove explicit Protocol import and argument from ToolboxClient initialization example in deployment documentation (#2480) We now use `Protocol.MCP` as default and would be deprecating `Protocol.TOOLBOX` going forward. This PR makes the guide simpler and more future-proof by removing passing `Protocol.TOOLBOX`. --- docs/en/how-to/deploy_toolbox.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/docs/en/how-to/deploy_toolbox.md b/docs/en/how-to/deploy_toolbox.md index e1c09ffe58a..3991fa27d02 100644 --- a/docs/en/how-to/deploy_toolbox.md +++ b/docs/en/how-to/deploy_toolbox.md @@ -207,7 +207,6 @@ You can connect to Toolbox Cloud Run instances directly through the SDK. {{< tab header="Python" lang="python" >}} import asyncio from toolbox_core import ToolboxClient, auth_methods -from toolbox_core.protocol import Protocol # Replace with the Cloud Run service URL generated in the previous step URL = "https://cloud-run-url.app" @@ -218,7 +217,6 @@ async def main(): async with ToolboxClient( URL, client_headers={"Authorization": auth_token_provider}, - protocol=Protocol.TOOLBOX, ) as toolbox: toolset = await toolbox.load_toolset() # ...