From 2e4427c4252ebcc23b93c77a6abdf9d8349a1ab1 Mon Sep 17 00:00:00 2001 From: gsarthakdev Date: Sun, 13 Apr 2025 21:27:03 -0400 Subject: [PATCH] Rename 'ctx' parameter to 'tool_context' for consistency All other methods that have `tool_context` as an argument, refer to it as "tool_context" in the docstring under Args. --- 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 88e9b1ea..4f9e4f3f 100644 --- a/src/google/adk/tools/base_tool.py +++ b/src/google/adk/tools/base_tool.py @@ -73,7 +73,7 @@ async def run_async( 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.