# NousResearch/hermes-agent · Array tool schemas missing items field for Gemini

## Open now

- 1 issue, 5 PRs open on GitHub.
- #71804: Gemini rejects tool schemas when array parameters omit \`items\`
- PR #22056: fix: add permissive items to array tool schemas
- PR #71816: fix(tools): inject items into array tool schemas so Gemini accepts declarations (#71804)
- PR #71833: fix(tools): inject items schema into array types missing it (#71804)
- PR #71874: fix(tools): backfill missing items on array schemas (Gemini compatibility)
- PR #71972: fix(tools): inject items schema for array-typed parameters (#71804)

These issues and PRs address a compatibility problem where Gemini rejects tool/function declarations when array-typed parameters lack an \`items\` schema field. The work involves injecting or backfilling that missing property into array schemas.

## TL;DR

- 6 member(s): 1 open issue(s), 0 closed issue(s), 5 open PR(s), 0 merged PR(s), 0 PR(s) closed without merging.
- No fix has been merged to main; one or more PRs were attempted (see below).
- **Recommended:** review the prior/competing PR(s) below. A fix was attempted but not merged; your case may extend or revive that work.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `unresolved`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.33`: 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.

## Open related issues

- #71804: Gemini rejects tool schemas when array parameters omit \`items\`

## Prior & competing PRs

- **#22056: fix: add permissive items to array tool schemas**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`
  - files: `tests/tools/test_schema_sanitizer.py`, `tools/schema_sanitizer.py`
- **#71816: fix(tools): inject items into array tool schemas so Gemini accepts declarations (#71804)**. open
  - maintainer direction: category `partial_fix`; implication `needs_llm`; refs `d85a1700230e`, `#71804`, `#69924`, `#69928`, `#71816`, `#22056`, `#22056`, `#71816`, `#22056`, `#71816`, `#62271`, `#62271`, `#71816`, `#69924`, `#71804`, `#69928`, `#69928`, `#71816`, `#71833`, `#71816`, `#71833`, `#71874`, `#71816`, `#71972`, `#71816`, `#22056`, `#62271`, `#71816`, `#71833`, `#71874`, `#71972`, `#71816`, `#71833`, `#71972`, `#69924`, `#69928`, `#69924`, `#69928`, `#71816`, `#71874`, `#22056`, `#62271`, `#71816`, `#71833`, `#71874`, `#71972`, `#71833`, `#71972`, `#71816`, `#69928`, `#69924`, `#374151`, `#71804`, `#22056`, `#62271`, `#71816`, `#71833`, `#71874`, `#71972`
  - files: `tests/tools/test_schema_sanitizer.py`, `tools/schema_sanitizer.py`
- **#71833: fix(tools): inject items schema into array types missing it (#71804)**. open
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#22056`, `#71816`
  - files: `tools/schema_sanitizer.py`
- **#71874: fix(tools): backfill missing items on array schemas (Gemini compatibility)**. open
  - maintainer direction: category `partial_fix`; implication `needs_llm`; refs `0f51ce9796c5`, `#71804`, `#69924`, `#69928`, `#71816`, `#22056`, `#22056`, `#71816`, `#22056`, `#71816`, `#62271`, `#62271`, `#71816`, `#62271`, `#69924`, `#71804`, `#69928`, `#69928`, `#71816`, `#71833`, `#71833`, `#71816`, `#71874`, `#71874`, `#71816`, `#71972`, `#71972`, `#71816`, `#22056`, `#62271`, `#71816`, `#71833`, `#71874`, `#71972`, `#71816`, `#71833`, `#71972`, `#69924`, `#69928`, `#69924`, `#69928`, `#71816`, `#22056`, `#62271`, `#71816`, `#71833`, `#71972`, `#71816`, `#71874`, `#71816`, `#69928`, `#69924`, `#374151`, `#71804`, `#22056`, `#62271`, `#71816`, `#71833`, `#71874`, `#71972`
  - files: `tests/tools/test_schema_sanitizer.py`, `tools/schema_sanitizer.py`
- **#71972: fix(tools): inject items schema for array-typed parameters (#71804)**. open
  - maintainer direction: category `partial_fix`; implication `needs_llm`; refs `48875dc659b2`, `#71804`, `#69924`, `#69928`, `#71816`, `#22056`, `#22056`, `#71816`, `#22056`, `#71816`, `#62271`, `#62271`, `#71816`, `#69924`, `#71804`, `#69928`, `#69928`, `#71816`, `#71833`, `#71833`, `#71816`, `#71874`, `#71874`, `#71816`, `#71972`, `#71972`, `#71816`, `#22056`, `#62271`, `#71816`, `#71833`, `#71874`, `#71972`, `#71816`, `#69924`, `#69928`, `#69924`, `#69928`, `#71816`, `#22056`, `#62271`, `#71816`, `#71833`, `#71972`, `#71816`, `#71874`, `#71816`, `#69928`, `#69924`, `#374151`, `#71804`, `#22056`, `#62271`, `#71816`, `#71833`, `#71874`, `#71972`
  - files: `tools/schema_sanitizer.py`

## Fix status

- No merged fix on record.
- Subsystem: `agent`
