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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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.