# NousResearch/hermes-agent · Tool schema combinator compatibility fixes across AI APIs

## Open now

- Nothing open on GitHub.

Multiple bugs and fixes related to tool/function schemas using top-level combinators (anyOf, allOf, oneOf) that are rejected by OpenAI, Anthropic, and Codex APIs. A recurring concern is the schema sanitizer stripping or corrupting valid properties like dependentRequired while attempting to normalize schemas.

## TL;DR

- 15 member(s): 0 open issue(s), 6 closed issue(s), 0 open PR(s), 1 merged PR(s), 8 PR(s) closed without merging.
- A fix was merged to main in PR #64623. Verify it addresses your case.
- **Recommended:** read PR #64623 (and any competing PRs below) before filing. Confirm the merged change covers your symptom.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `partially_resolved` · deciding PR(s): `pr-64623`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_PARTIAL`): some members are connected by structural evidence (shared changed files, or a closing/superseded reference); the rest are joined by an automated relevance judgement over their text.
- Members outside that structural core may belong to a different underlying problem.
- Pairwise link density `0.12`: the share of member 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.

## Closed / duplicate issues

- #10723: \[Bug\]: Invalid schema for function 'honcho_conclude': schema must have type 'object' and not have 'oneOf'/'anyOf'/'allOf'/'enum'/'not' at the top level.
- #10812: \[Bug\]: honcho_conclude tool schema uses anyOf at root, rejected by Anthropic API (HTTP 400)
- #21311: \[Bug\]: core memory tool schema uses allOf at root, rejected by OpenAI/Anthropic
- #21322: \[Bug\]: invalid_function_parameters for memory tool on Codex/ChatGPT
- #21336: \[Bug\]: HTTP 400 from openai-codex on memory tool — top-level allOf in MEMORY_SCHEMA (regression from #19180)
- #64587: fix(tools): schema sanitizer corrupts dependentRequired on MCP tools (HTTP 400)

## Prior & competing PRs

- **#10770: fix: normalize Codex Responses tool schemas for Honcho memory tools**. closed without merge · fix tier `suggested`
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#10723`
  - _suggested-tier fix detail withheld; re-request with `?tier=all` to include it._
- **#10777: fix: batch fix for 4 issues (#10721, #10755, #10723, #10748)**. closed without merge · fix tier `suggested`
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `c03858733`, `45e1228a8`, `50d438d12`, `d67e602cc`, `d4eba82a3`, `3b5572ded`, `#10721`, `#10755`, `#10723`, `#10843`, `#10748`
  - _suggested-tier fix detail withheld; re-request with `?tier=all` to include it._
- **#10843: fix(honcho): remove top-level anyOf from conclude schema and harden validation**. closed without merge · fix tier `suggested`
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#10723`
  - _suggested-tier fix detail withheld; re-request with `?tier=all` to include it._
- **#64623: fix(schema): preserve dependentRequired property names**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`; implication `superseded`
  - files: `tests/tools/test_schema_sanitizer.py`, `tools/schema_sanitizer.py`
- **#64928: fix(tools): preserve dependentRequired in schema sanitizer (#64587)**. closed without merge · fix tier `suggested`
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#64623`
  - _suggested-tier fix detail withheld; re-request with `?tier=all` to include it._
- **#10847: fix(honcho): remove anyOf from honcho_conclude schema (fixes HTTP 400 with Anthropic API)**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#11026`, `#10864`, `#10870`, `#10952`, `#11026`
- **#10864: Remove unsupported anyOf from honcho_conclude schema**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#11026`, `#10847`, `#10870`, `#10952`
- **#10870: fix: remove anyOf from honcho_conclude schema (Anthropic API compatibility)**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#11026`, `#10847`, `#10864`, `#10952`
- **#64667: fix(tools): preserve dependentRequired in schema sanitizer (#64587)**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#64623`

## Fix status

- Merged to main in PR #64623 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-07-28`.
- Subsystem: `agent`
