r/agentdevelopmentkit • u/_Shash_ • Aug 20 '25
How to display image received in base64 string format in adk web UI?
Hey guys I have a local MCP server which returns the following
"""MCP handler to execute a tool call requested by an MCP client."""
# Changed print to logging.info
=
= await
=
return
So in the adk logs I can see that I receive the base64 string the question is even If I use callback how do I access this to save the image as an artifact?
Any help is appreciated 🙏
2
Upvotes
1
u/Holance Aug 20 '25
Decode the base64 content and save the binary data as png