NousResearch/hermes-agent

Handling anyOf/oneOf union schemas in tool argument coercion

Cluster 23129 · mcp. Data as of

2 open items. Fix attempted, not merged.

The short answer

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

These members all concern tool argument handling for JSON schemas that use anyOf/oneOf unions, including expected-type derivation and coercion in model tools, MCP, and agent code. One member reports an MCP HTTP client issue where anyOf string/array arguments appear to be double-encoded, affecting a Jina read_url tool.

Open issues1

  • Issue#23129[Bug]: MCP HTTP client double-encodes anyOf:[string,array] arguments — Jina read_url always fails

Open PRs1

  • PR#23213fix(mcp): resolve anyOf/oneOf union types in coerce_tool_args

2 PRs closed without merging

From the close comments: closed without comment 1 · duplicate 1

  • #23347 fix(agent): coerce tool args for anyOf/oneOf union schemas · duplicate → #23213, #23129
  • #25577 fix(model_tools): derive expected types from anyOf/oneOf union schemas · closed without comment
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.50: 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.

Pick up a Lab task

Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.

Open the Lab

At a glance

Subsystem
mcp
Closed issues
0
Attempts
2 PRs closed without merging

For your agent

The same facts, typed.