You've already forked adk-python
mirror of
https://github.com/encounter/adk-python.git
synced 2026-07-09 18:19:28 -07:00
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:
committed by
Copybara-Service
parent
0db2041e1a
commit
c4858896ff
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user