8000 Rename 'ctx' parameter to 'tool_context' for consistency (#162) · jolks/adk-python@4e8b944 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4e8b944

Browse files
gsarthakdevhangfei
andauthored
Rename 'ctx' parameter to 'tool_context' for consistency (google#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>
1 parent 26bab52 commit 4e8b944

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/google/adk/tools/base_tool.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ async def run_async(
7373
7474
Args:
7575
args: The LLM-filled arguments.
76-
ctx: The context of the tool.
76+
tool_context: The context of the tool.
7777
7878
Returns:
7979
The result of running the tool.

0 commit comments

Comments
 (0)
0