Skip to content

Recommended way to handle files not directly supported by Gemini #1751

Closed

Description

@vikramsg

Currently I have a requirement to be able to read .xlsx files. However this is not supported by Gemini so if I follow the usual workflow either by passing in as an artifact or directly in prompt, ADK errors out.
https://ai.google.dev/gemini-api/docs/document-processing?lang=python#technical-details

The workaround is that I create tools to be able to read excel files and pass it back to the agent, however the issue is that this workaround doesn't quite work on adk web. I have to separate out file handling from the Agent.

What is the recommended way to tackle this issue? I want to be able to both use it as a workflow from the command line as well as in adk web.

Activity

  1. added
    question[Component] This issue is asking a question or clarification
    on Jul 2, 2025
  2. self-assigned this
    on Oct 10, 2025
  3. added theissue type on Oct 13, 2025
  4. self-assigned this
    on Nov 5, 2025
  5. locked and limited conversation to collaborators on Nov 8, 2025
  6. converted this issue into a discussion #3450 on Nov 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

question[Component] This issue is asking a question or clarification

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions