Skip to content

Support for enums as arguments for function tool #3089

Closed

Description

@SOORAJTS2001

It seems that we can't pass enums as arguments to function tools, since it will throw error as below

As a follow up for #398

This is the code
Image

This is the error
Image

I also made the fix as a PR #3088

Activity

  1. added theissue type on Oct 3, 2025
  2. added this to the 10/27 ADK Week milestone on Oct 23, 2025
  3. yyyu-google commented on Oct 27, 2025

    @yyyu-google
    Collaborator

    Hi, I'd like to take this bug

  4. SOORAJTS2001 commented on Oct 27, 2025

    @SOORAJTS2001
    ContributorAuthor

    Hi @yyyu-google!
    I’ve already opened a PR
    for this issue — happy to help out with any follow-ups or reviews if needed.
    If someone else is planning to work on it, I’d be glad to assist or collaborate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

tools[Component] This issue is related to tools

Type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions