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 <gweale@google.com>
PiperOrigin-RevId: 830469802
This commit is contained in:
George Weale
2025-11-10 09:07:24 -08:00
committed by Copybara-Service
parent 0db2041e1a
commit c4858896ff
+4 -1
View File
@@ -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: