From c4858896ff085bedcfbc42b2010af8bd78febdd0 Mon Sep 17 00:00:00 2001 From: George Weale Date: Mon, 10 Nov 2025 09:07:24 -0800 Subject: [PATCH] fix: Update description for `load_artifacts` tool The tool description now clarifies that `load_artifacts` should be called when a user uploads files, to make those artifacts accessible within the session. Co-authored-by: George Weale PiperOrigin-RevId: 830469802 --- src/google/adk/tools/load_artifacts_tool.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/google/adk/tools/load_artifacts_tool.py b/src/google/adk/tools/load_artifacts_tool.py index 09a14292..0e913805 100644 --- a/src/google/adk/tools/load_artifacts_tool.py +++ b/src/google/adk/tools/load_artifacts_tool.py @@ -37,7 +37,10 @@ class LoadArtifactsTool(BaseTool): def __init__(self): super().__init__( name='load_artifacts', - description='Loads the artifacts and adds them to the session.', + description=("""Loads artifacts into the session for this request. + +NOTE: Call when you need access to artifacts (for example, uploads saved by the +web UI)."""), ) def _get_declaration(self) -> types.FunctionDeclaration | None: