Install
Works with Drupal: ^10.5 || ^11Using Composer to manage Drupal site dependencies
Alternative installation files
Release notes
This is a same-day fast follow to 1.0.0-beta5, fixing a single regression that broke AI provider integrations. It contains one change on top of beta5 and is a safe drop-in update — no configuration, schema, or API changes.
Who is affected
Sites using the AI connector (tool_ai_connector, e.g. with the AI module's agents) on 1.0.0-beta5. Any agent whose tool list included a tool with a free-form multiple map input — most prominently tool_belt_field_set_value — failed outright on Anthropic with:
Error invoking model response: tools.N.custom.input_schema: JSON schema is invalid. It must match JSON Schema draft 2020-12
The whole request is rejected, so every tool call from such an agent failed, not just the affected tool. MCP integrations were not affected.
What happened
beta4 started emitting an empty map's properties schema member as an explicit empty object ({}). beta5 gave field_set_value's value input its stable list-of-item-maps shape (#3582999), which put that empty object inside an items schema. The AI connector passes items subtrees to the provider payload as-is, but its schema conversion cast the empty object to a PHP array — re-encoding it as []. JSON Schema draft 2020-12 requires properties to be an object, so strict providers (Anthropic, on both native and OpenAI-compatible endpoints) rejected the payload.
Changes since 1.0.0-beta5
- #3583008: AI connector renders empty map item schemas as invalid JSON Schema, breaking Anthropic tool calls. The converter now drops empty
propertiesmembers — semantically identical, since an emptypropertiesconstrains nothing — with regression test coverage.
Recommendation
All beta5 sites using the AI connector should update immediately. Sites on beta5 using only MCP, or still on beta4, are unaffected by this regression but should update on their normal schedule.