From 4e8b944e09c7c86172537469b01f27df04bf2117 Mon Sep 17 00:00:00 2001 From: gsarthakdev Date: Mon, 14 Apr 2025 20:38:09 -0400 Subject: [PATCH] Rename 'ctx' parameter to 'tool_context' for consistency (#162) All other methods that have `tool_context` as an argument, refer to it as "tool_context" in the docstring under Args. Co-authored-by: Hangfei Lin --- src/google/adk/tools/base_tool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/google/adk/tools/base_tool.py b/src/google/adk/tools/base_tool.py index 88e9b1e..4f9e4f3 100644 --- a/src/google/adk/tools/base_tool.py +++ b/src/google/adk/tools/base_tool.py @@ -73,7 +73,7 @@ class BaseTool(ABC): Args: args: The LLM-filled arguments. - ctx: The context of the tool. + tool_context: The context of the tool. Returns: The result of running the tool.