NousResearch/hermes-agent

Gemini Interactions API 400 errors on anyOf tool schemas

Cluster 161574 · agent · Bug. Data as of

2 open items. Fix attempted, not merged.

The short answer

1open issue
1open PR
3items grouped
Known?
Yes. 3 related items grouped here, 0 issues already closed.
Fix event
No fix has been merged to main. 1 PR closed without merging; see the attempts below.
Tracker
The maintainers' tracker marks this unresolved. That is separate from the fix event.

The members describe Gemini Interactions API requests returning HTTP 400 when a tool schema uses anyOf branches with required fields but no matching properties. One is a bug report, and the other two are a fix-oriented pull request and a related change describing handling of this case; their outcomes are not established here.

Open issues1

  • Issue#161574[Bug]: Gemini Interactions API rejects tool schemas with anyOf branches that use required without properties (HTTP 400 on every request)

Open PRs1

  • PR#162030Gemini 3+ chats no longer 400 when a tool's schema says "give me either field a or field b"

1 PR closed without merging

From the close comments: merged via another change 1

  • #161687 fix(gemini): declare required branch fields on the Interactions wire · merged via another change → #162030
How this cluster was grouped
  • Link evidence (structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
  • Pairwise link density 0.67: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. 1.00 means every pair is linked.

For your agent

The same facts, typed.