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 <hangfei@google.com>
This commit is contained in:
gsarthakdev
2025-04-14 20:38:09 -04:00
committed by GitHub
parent 26bab52ca8
commit 4e8b944e09
+1 -1
View File
@@ -73,7 +73,7 @@ class BaseTool(ABC):
Args: Args:
args: The LLM-filled arguments. args: The LLM-filled arguments.
ctx: The context of the tool. tool_context: The context of the tool.
Returns: Returns:
The result of running the tool. The result of running the tool.