You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Question: Best way to pass an image to Agent with a tool #2955
Use a URL, the agent will take this url as a parameter to the tool.
Set google/adk/agents/ run_comfig.py file
save_input_blobs_as_artifacts: bool = True
Then the user can upload the image in the Adk web, and the agent can take the artifact file name as a parameter to the tool.
Activity
Yung-Chih-Lo commentedon Sep 17, 2025
same question
zhangp365 commentedon Sep 28, 2025
I usually use two methods:
save_input_blobs_as_artifacts: bool = True
Then the user can upload the image in the Adk web, and the agent can take the artifact file name as a parameter to the tool.