Skip to content

Is the Live API's rejection of enum in function schemas a known limitation? #5957

@XinyueZ

Description

@XinyueZ

Steps to Reproduce

  1. Create a LlmAgent with a Gemini Live model.
  2. Pass a sub-agent via sub_agents=[some_agent] (mode defaults to chat).
  3. Start a Live session → WebSocket connection fails with HTTP 503.
  4. Move the same agent to tools=[AgentTool(agent=some_agent)] → works correctly.

Questions

  • Is the Live API's rejection of enum in function schemas a known limitation?
  • Is AgentTool the officially recommended pattern for sub-agents when the parent uses the Live API?
  • Should ADK detect a Live API model and skip/adapt TransferToAgentTool schema generation accordingly?

Environment

  • google-adk (latest)
  • Parent model: Gemini Live API (native audio)
  • Sub-agent model: standard (non-live) Gemini model

Metadata

Metadata

Assignees

Labels

live[Component] This issue is related to live, voice and video chatrequest clarification[Status] The maintainer need clarification or more information from the author

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions